US20040139122A1 - Data management system using a plurality of data operation modules - Google Patents

Data management system using a plurality of data operation modules Download PDF

Info

Publication number
US20040139122A1
US20040139122A1 US10/750,889 US75088904A US2004139122A1 US 20040139122 A1 US20040139122 A1 US 20040139122A1 US 75088904 A US75088904 A US 75088904A US 2004139122 A1 US2004139122 A1 US 2004139122A1
Authority
US
United States
Prior art keywords
data
module
data operation
operation modules
modules
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/750,889
Inventor
Tatsunori Kanai
Toshiki Kizu
Seiji Maeda
Hiroshi Yao
Osamu Torii
Hirokuni Yano
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to US10/750,889 priority Critical patent/US20040139122A1/en
Publication of US20040139122A1 publication Critical patent/US20040139122A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5055Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering software capabilities, i.e. software resources associated or available to the machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99941Database schema or data structure
    • Y10S707/99944Object-oriented database structure
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99941Database schema or data structure
    • Y10S707/99944Object-oriented database structure
    • Y10S707/99945Object-oriented database structure processing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99941Database schema or data structure
    • Y10S707/99948Application of database or data structure, e.g. distributed, multimedia, or image

Definitions

  • the present invention relates to a data management system and a data management method for providing data management and operation functions in a computer.
  • Data to be handled in a computer are usually managed by using a file system or a database management system.
  • the file system manages very basic data called byte sequences by attaching names to them.
  • the data of the byte sequences managed by the file systems are called files.
  • the application program can carry out basic operations for writing new data into files or reading already written data from files.
  • the file system provides a data model called byte sequences which are both basic and flexible.
  • the byte sequences is a data model that is conceptually at very low level, so that it is necessary for the application program to define and use data management structure and operations unique to that application program on the byte sequences in order to use this data model for solving various problems actually encountered in the computer. For this reason, the data independency is low and it is difficult to share data among a plurality of application programs.
  • the database management system provides more sophisticated functions specific to a specific data model by presupposing the use of the specific data model.
  • the most widely used database management system is the relational database management system based on the relational data model.
  • the relational database management system manages all data by expressing them on tables, and provides functions for searching data stored in the table by specifying a key, or searching related data in a plurality of tables using an operation called JOIN.
  • the application program can carry out the processing using various operation functions provided by the relational database management system if the necessary data can be defined in forms of tables.
  • There are also database management systems using data models other than the relational data model such as the network data model and the object data model.
  • the database management system In the case of managing data by using the database management system, the data management and operation are separated from the application program and carried out at the database management system side. Namely, the independency of data can be realized so that it becomes easier to utilize one data by sharing it among a plurality of application programs.
  • the database management system provides functions such as the management of consistency required for the transaction processing, the exclusive control in the case of processing by sharing data among a plurality of application programs, and the recovery processing at a time of a fault occurrence.
  • the database management system provides various management and operation functions by specifying the specific data model which is conceptually at high level, so that the data independency is high and it is easy to share data among a plurality of application programs.
  • an application program that matches with the data model provided by the database management system can be designed easily and a high performance can be achieved easily, an application program that does not match the data model is difficult to design and it is hard to achieve a high performance. From a viewpoint of the flexibility of data, the available degrees of freedom are limited compared with the file system, and the expandability of the management and operation functions for new data or data model is also poor.
  • a data management system for applying operations on data outputted from a data storage system and providing data to a processing of an application program
  • the data management system comprising: a memory unit configured to store a plurality of data operation modules for operating data which have different operation contents; and an operation unit configured to read out data requested by the application program from the data storage system, select those data operation modules that should carry out the operations with respect to the data such that the data will be in compliance with a data model suitable for the processing that the application program wishes to carry out, from the plurality of data operation modules, such that the data to which the operations are applied by selected data operation modules are given to the application program.
  • a data management method in a data management system for applying operations on data outputted from a data storage system and providing data to a processing of an application program
  • the data management method comprising the steps of: reading out data requested by the application program from the data storage system upon receiving a request for processing with respect to a desired data stored in the data storage system from the application program; selecting those data operation modules that should carry out the operations with respect to the data such that the data will be in compliance with a data model suitable for the processing that the application program wishes to carry out, from a plurality of data operation modules for operating data which have different operation contents, that are provided in advance; applying the operations to the data by selected data operation modules and giving the data to which the operations are applied by the selected data operation modules to the application program.
  • a computer usable medium having computer readable program codes embodied therein for causing a computer to function as a data management system for applying operations on data outputted from a data storage system and providing data to a processing of an application program
  • the computer readable program codes include: a first computer readable program code for causing said computer to read out data requested by the application program from the data storage system upon receiving a request for processing with respect to a desired data stored in the data storage system from the application program; a second computer readable program code for causing said computer to select those data operation modules that should carry out the operations with respect to the data such that the data will be in compliance with a data model suitable for the processing that the application program wishes to carry out, from a plurality of data operation modules for operating data which have different operation contents, that are provided in advance; and a third computer readable program code for causing said computer to apply the operations to the data by selected data operation modules and giving the data to which the operations are applied by the selected data operation modules to the
  • FIG. 1 is a diagram showing an exemplary structure of data to be managed by the data management system according to the present invention.
  • FIG. 2 is a diagram showing an exemplary relationships between properties and data entities for the data shown in FIG. 1.
  • FIG. 3 is a block diagram showing a general exemplary configuration of the data management system according to one embodiment of the present invention.
  • FIG. 4 is a block diagram showing a more specific exemplary configuration of the data management system according to one embodiment of the present invention.
  • FIG. 5 is a diagram showing an example of a data operation module management table used in the data management system of FIG. 3 and FIG. 4.
  • FIG. 6 is a diagram showing an example of a name management table used in the data management system of FIG. 3 and FIG. 4.
  • FIG. 7 is a diagram showing an exemplary manner of using a file system module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 8 is a diagram showing an exemplary description describing a manner of using a file system module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 9 is a diagram showing an exemplary manner of using an XML module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 10 is a diagram showing an exemplary description describing a manner of using an XML module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 11 is a diagram showing an exemplary management format for managing pairs of a key and a value as XML documents by a Key-Value module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 12 is a diagram showing an exemplary manner of using a Key-Value module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 13 is a diagram showing an exemplary description describing a manner of using a Key-Value module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 14 is a diagram showing an exemplary management format for managing properties by a Key-Value module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 15 is a diagram showing an exemplary manner of using a property module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 16 is a diagram showing an exemplary description describing a manner of using a property module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 17 is a diagram showing an exemplary management format for managing directories by a Key-Value module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 18 is a diagram showing an exemplary manner of using a directory module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 19 is a diagram showing an exemplary description describing a manner of using a directory module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 20 is a schematic diagram showing an exemplary flow of data open processing in the data management system of FIG. 3 and FIG. 4.
  • FIG. 21 is a diagram showing exemplary rules indicating correspondences between categories and data operation modules that can be used in the data management system of FIG. 3 and FIG. 4.
  • FIG. 22 is a diagram showing an exemplary rule for ⁇ file/> that can be used in the data management system of FIG. 3 and FIG. 4.
  • FIG. 23 is a schematic diagram showing an exemplary flow of data creation processing in the data management system of FIG. 3 and FIG. 4.
  • FIG. 24 is a diagram showing an exemplary rule having a context that can be used in the data management system of FIG. 3 and FIG. 4.
  • FIG. 25 is a diagram showing an exemplary manner of using a rule having a context in the data management system of FIG. 3 and FIG. 4.
  • FIG. 26 is a flow chart showing an exemplary procedure for a rule search in the data management system of FIG. 3 and FIG. 4.
  • FIGS. 27A, 27B and 27 C are diagrams showing one example of a structure of directories and data, and two rules for two directories that can be used in the data management system of FIG. 3 and FIG. 4.
  • FIGS. 28A, 28B, 28 C, 28 D and 28 E are diagrams showing another example of a structure of directories and data, two rules for two directories, and two module hierarchies for two data that can be used in the data management system of FIG. 3 and FIG. 4.
  • FIG. 29 is a diagram showing an exemplary manner of using an expanded Key-Value module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 30 is a diagram showing an exemplary description describing a manner of using an expanded Key-Value module in the data management system of FIG. 3 and FIG. 4.
  • FIG. 1 to FIG. 30 one embodiment of a data management system according to the present invention will be described in detail.
  • WebDAV For such a data management method, it is possible to use WebDAV, but the present invention is not limited to that case.
  • the specification of WebDAV is disclosed in “HTTP Extensions for Distributed Authoring—WEBDAV” (RFC 2518).
  • a hierarchical structure of names is managed by directories.
  • the directory can have arbitrary number of other directories and data at its lower hierarchical levels.
  • three data “data1”, “data2” and “data3” and three directories “dir1”, “dir2” and “dir3” are shown, where three data are managed by names such as “/dir1/dir2/data1”, “/dir1/dir2/data2” and “/dir1/dir3/data3”.
  • data and directories are referred to as resources, and directories are also referred to as collections.
  • the data managed by the data management system of this embodiment can be any of binary data as in the file system, structured data such as XML documents, and database-like data to be accessed by specifying a value of a key. Besides these it is also possible to manage data based on various extended data models. Details of XML are disclosed in “Extensible Markup Language (XML) 1.0” (World Wide Web Consortium).
  • each directory ( 201 ) or data ( 202 ) has a property ( 203 ) which is a set of a pair formed by an attribute name and an attribute value.
  • the property is used for recording various information such as its directory, a file creation date, access rights, an owner, etc.
  • the directories and properties are also managed as data.
  • the data management structure in the example of FIG. 1 can be viewed as shown in FIG. 2 from a viewpoint of the implementation, where data that are entities of the directories ( 302 and 304 , for example) have information indicating properties of their children directories or data ( 303 and 307 , for example), and data of properties ( 303 and 307 , for example) have information indicating entities of the corresponding directories or data ( 304 and 308 , for example).
  • the data model expressing directories and the data model expressing properties are provided.
  • FIG. 3 shows a general exemplary configuration of the data management system according to this embodiment.
  • the file system 3 manages files in the stable memory devices such as hard disks 31 , for example.
  • the stable memory device is a memory device such as hard disk, for example, in which the stored content will not disappear even when the power is turned off.
  • the data management system 1 carries out file operations for managing the file system 3 upon receiving requests from the application programs 2 .
  • the data model conversion conversion from the binary data recorded in the file to XML, for example
  • the operation functions in some data model are provided with respect to the application programs 2 .
  • rectangles depicted inside each dashed line enclosure represent the data operation modules of the identical function (this also applies to FIG. 4 described below).
  • three rectangles depicted inside a dashed line enclosure corresponding to the first data operation module manager 12 - 1 all represent the data operation modules 112 - 1 of the identical function (this also applies similarly to the other data operation modules 112 - 2 and 112 - 3 .)
  • the data operation module 112 -i provides some data management and operation functions with respect to its user (the application program 2 or the resource manager 11 ). For example, as will be described below, a function for enabling management and operation of binary files as XML documents or an associative memory function using a pair of a key and a value on the XML documents is provided. Namely, the role of the data operation module is to make the lower level data or data models appear as other types of data or data models, and provide management and operation functions with respect to these other types of data or data models at the same time.
  • a set of one or more data operation modules 112 -i provide management and operation functions for one data, with respect to the application program 2 or the resource manager 11 .
  • the application program 2 or the resource manager 11 carries out the processing with respect to data, directories and properties in the file system 3 by utilizing the data management system 1
  • one or more data operation modules 112 -i are used in combination according to the data model, the operation content, etc., as in an exemplary case shown in FIG. 3.
  • an entity of the data operation module 112 -i exists for each operation target data. Consequently, when a plurality of operation entities (the application programs 2 or the resource manager 11 ) are operated simultaneously, in practice there can be cases where a plurality of data operation modules 112 -i of the identical function are existing (or used) simultaneously as in the exemplary case shown in FIG. 3, cases where only one data operation module 112 -i is existing (or used), and cases where no data operation module 112 -i is existing (or used).
  • the data operation modules 112 -i of the identical function are managed by the corresponding one data operation module manager 12 -i.
  • data operation modules 112 -i to be managed by each data operation module manager 12 -i may be plural, one or none.
  • the data operation module manager ( 1 ) is managing three data operation modules ( 1 )
  • the data operation module manager ( 2 ) is managing five data operation modules ( 2 )
  • the data operation module manager (n) is managing seven data operation modules (n).
  • a relationship between the data operation module manager 12 -i and the data operation modules 112 -i is equivalent to a relationship between a class and instances in the object-oriented programming language.
  • the data operation module manager 12 -i alone is to be programmed, and the data operation modules 112 -i can be created or deleted according to the need during the operation.
  • the resource manager 11 has a function for making a set up to enable a desired operation by combining necessary data operation modules 112 -i upon receiving a data operation request from the application program 2 .
  • the resource manager 11 has a name management table 22 for managing correspondences between names of currently used data and the data operation modules, and a data operation module management table 21 to be used at a time of combining the data operation modules.
  • FIG. 4 shows a more specific exemplary configuration of this data management system.
  • This data management system 1 has five types of data operation module managers including a file system module manager 12 , an XML module manager 13 , a Key-Value module manager 14 , a directory module manager 15 and a property module manager 16 . Also, in correspondence to them, five types of data operation modules 112 - 116 will be used according to the need. Note that the state of existence (the state of utilization) of the data operation modules shown in FIG. 4 represents only an example at some moment, and will be changed according to the data operation state by the data operation subject. Also, in FIG. 4, the reference numerals 112 - 114 for the corresponding modules are partially omitted for the sake of simplicity.
  • FIG. 5 shows an exemplary structure of the data operation module management table 21 in the resource manager 11 .
  • the data operation module management table 21 records a correspondence between a name of each data operation module and a pointer to the data operation module manager that manages that data operation module.
  • the names of the data operation module is specified by the XML elements such as ⁇ Propm/> and ⁇ xmlm/>. These names of the data operation modules will be used in describing “a manner of combination” of the data operation modules necessary in accessing respective data.
  • FIG. 6 shows an exemplary structure of the name management table 22 managed by the resource manager 11 .
  • the name management table 22 records a correspondence among a name of each currently used directory or data, a pointer to a property module for its property, and a pointer to a directory module for its directory in the case of the directory.
  • the property module 116 is a data operation module expressing the property
  • the directory module 115 is a data operation module expressing the directory.
  • the names are given by “/dir1”, “/dir1/dir2/data1”, etc.
  • the column for a pointer to the property module and a column for a pointer to the directory module are depicted as empty, but appropriate pointers to the property modules and pointers to the directory modules will be entered in these columns in practice.
  • the first data operation module is the file system module.
  • the file system module 112 is a data operation module which has a role of abstracting the file system 3 provided below the data management system 1 . Its main function is to provide read/write operations with respect to binary data recorded in the file system 3 .
  • Examples of the operations to be provided by the file system module 112 with respect to binary data include the following.
  • READ Read out data of a specified length starting from a specified offset.
  • the file system module 112 In the case of accessing binary data by using the file system module 112 , usually the file system module 112 alone is used as shown in FIG. 7. In this example, the content of a file with a name “f2468” that is recorded in the lower level file system 3 is exhibited to the upper level application program 2 as binary data.
  • the second data operation module is the XML module.
  • the XML module 113 stores a tree structure data for the XML documents in an internal representation, on binary data provided by the file system module 112 provided below this XML module 113 , and enables operations with respect to the tree structure data, such as reading of a document in the tree structure and addition/deletion of a partial tree.
  • Examples of the operations to be provided by the XML module 113 with respect to XML documents include the following.
  • CHILD Extract the first child element or text.
  • PREV Extract a previous element or text which has the same parent.
  • ADDFIRST Add a new element or text as the first child.
  • ADDLAST Add a new element or text as the last child.
  • the XML module 113 In the case of accessing data of the XML document by using the XML module 113 , usually the XML module 113 and the file system module 112 are used in combination as shown in FIG. 9.
  • the third data operation module is the Key-Value module.
  • the Key-Value module 114 is a data operation module for storing a plurality of pairs of a key and a value, and enabling associative access by specifying a key with respect to the stored set of pairs of a key and a value.
  • the Key-Value module 114 stores the set of pairs of a key and a value in forms of XML documents. Consequently, the Key-Value module 114 provides an associative memory function on XML documents provided by the XML module 113 .
  • Examples of the operations to be provided by the Key-Value module 114 include the following.
  • FIND Extract a value of a specified key.
  • the Key-Value module 114 manages the set of pairs of a key and a value as XML documents in a format as shown in FIG. 11.
  • each ⁇ entry> element has one pair of a key and a value
  • each ⁇ key> element has a key
  • each ⁇ value> element has a value.
  • This example records a state in which a key “OSAKA” has a value “TAKOYAKI”, and a key “HAKATA” has a value “KARASHIMENTAIKO”.
  • the pairs of a key and a value are managed by arranging them serially, but it is also possible to use an implementation for enabling faster search by using the well known data structure such as binary tree or B-TREE.
  • One of the features of the present invention is that such an internal implementation of the Key-Value module 114 can be changed without affecting the other data operation modules and the application program 2 that uses the Key-Value module 114 .
  • the fourth data operation module is the property module.
  • The, property module 116 is used by the data management system 1 (the resource manager 11 ) for internal management.
  • the data management system 1 manages a set of pairs of an attribute name and an attribute value of the property on the associative memory function provided by the Key-Value module 114 .
  • Examples of the operations of the property to be provided by the property module 116 include the following.
  • FINDPROP Search a value of a specified attribute name.
  • FIG. 14 shows an example of an XML document in the case where the property module 116 manages pairs of an attribute name and an attribute value of the property as an XML document by using the Key-Value module 114 .
  • FIG. 14 is an example for the property of the data “data1”.
  • each ⁇ key> element indicates an attribute name of the property
  • each ⁇ value> element indicates an attribute value of the property.
  • there are three attributes including “creationdate” indicating creation date and time of the data, “owner” indicating an owner of the data, and “module” for describing a manner of combination of the data operation modules that is necessary in accessing the entity of this data.
  • the respective ⁇ value> elements indicate their attribute values.
  • the “module” attribute has a role for connecting the property of the data to the entity of the data in the data management system 1 of this embodiment.
  • the resource manager 11 selects and combined the necessary data operation modules according to the information written in this “module” attribute.
  • the property module 116 In the case of accessing data by using the property module 116 , usually the property module 116 , the Key-Value module 114 , the XML module 113 and the file system module 112 are used in combination as shown in FIG. 15.
  • the fifth data operation module is the directory module.
  • the directory module 115 is used by the data management system 1 (the resource manager 11 ) for internal management, similarly as the property module 116 .
  • the data management system 1 is managing the directory as a correspondence between a key given by a directory name or a data name that is existing below that directory and a value given by information on a manner of combination of the data operation modules necessary in accessing its property.
  • the correspondences are managed on the associative memory function provided by the Key-Value module 114 .
  • Examples of the operations of the directory to be provided by the directory module 115 include the following.
  • FIG. 17 shows an example of an XML document in the case where the directory module 115 manages pairs of a directory name or a data name that exists below the directory and information on a manner of combination of the data operation modules necessary in accessing its property, as an XML document by using the Key-Value module 114 .
  • FIG. 17 is an example for the entity of the directory “dir2” shown in FIG. 1.
  • each ⁇ key> element indicates a name of a directory or a data that is a child
  • each ⁇ value> element indicates information on a manner of combination of the data operation modules necessary in accessing its property.
  • two data “data1” and “data2” are managed as children.
  • the resource manager 11 first searches ⁇ value> of the entry having “data1” as ⁇ key> from the entity of the directory “dir2” shown in FIG. 17, and selects and combines the data operation modules for accessing data of the property of “data1” according to the description written in that ⁇ value>.
  • the property module 116 that manages information as shown in FIG. 14 is created so that this is recorded in the name management table 22 , while a value of the “module” attribute is extracted from data of the property, and the data operation modules necessary in accessing data of the XML document corresponding to the entity of “data1” are selected and combined using the extracted value of the “module” attribute.
  • a pointer of the XML module 113 that is created as a result of this is then given to the application program 2 .
  • the directory module 115 In the case of accessing data by using the directory module 115 , usually the directory module 115 , the Key-Value module 114 , the XML module 113 and the file system module 112 are used in combination as shown in FIG. 18.
  • the resource manager 11 selects and combines the data operation modules necessary in accessing data specified by the description recorded in data of the property or the directory. This operation will now be described for an exemplary case shown in FIG. 20. Here, the specific examples shown in FIG. 1 and FIG. 14 will be used.
  • FIG. 20 shows the internal operation of the data management system 1 in the case where the application program 2 commanded the resource manager 11 of the data management system 1 to open the data “/dir1/dir2/data1”. In the following, the flow of the processing will be described along the numbers indicated in FIG. 20.
  • the application program 2 commands the data management system 1 to open “/dir1/dir2/data1”. This command is received by the resource manager 11 .
  • the resource manager 11 Upon receiving this command, the resource manager 11 extracts a value of the “module” attribute from the property of “data1”.
  • this value is given in the following form. ⁇ xmlm> ⁇ fsm> ⁇ file> ⁇ name>f3617 ⁇ /name> ⁇ /file> ⁇ /fsm> ⁇ /xmlm>
  • the resource manager 11 checks the data operation module manager corresponding to ⁇ xmlm> by referring to the data operation module management table 21 .
  • the XML module manager 13 is selected as the corresponding one.
  • the XML module manager 13 is commanded by an OPEN command to create the XML module 113 with the following information. ⁇ fsm> ⁇ file> ⁇ name>f3617 ⁇ /name> ⁇ /file> ⁇ /fsm>
  • the resource manager 11 checks the data operation module manager corresponding to ⁇ fsm> which is the uppermost element in the argument of OPEN_MODULE, using the data operation module management table 21 .
  • it is the file system module manager 12 so that the file system module manager 12 is selected.
  • the file system module manager 12 is command by an OPEN command to create a file system module 112 with the following information.
  • the file system module manager 12 ascertains that the file name is f3617 from information regarding the file that is given by the argument of OPEN, and commands the file system 3 to open this file.
  • the file system 3 opens the specified f3617, and returns its handle to the file system module manager 12 that is a source of a call.
  • the file system module manager 12 creates a file system module 112 that uses the handle of the file f3617 in the file system 3 .
  • the created file system module will be referred to as “ ⁇ ”.
  • the file system module manager 12 returns the handle of the created file system module ⁇ to the resource manager 11 that is a source of a call.
  • the resource manager 11 returns the handle of the file system module ⁇ to the XML module manager 113 that is a source of a call for OPEN_MODULE.
  • the XML module manager 13 creates the XML module 113 for realizing the structure of the XML document on the binary data managed by the file system module ⁇ .
  • the created XML module will be referred to as “ ⁇ ”.
  • the XML module manager 13 returns the handle of the XML module ⁇ to the resource manager 11 which is a source of a call for OPEN.
  • the resource manager 11 returns the handle of the XML module ⁇ to the application program 2 which is a source of a call for OPEN.
  • the application program 2 hereafter carries out the processing while commanding operations of the XML document to the XML module ⁇ .
  • the category of data is a name indicating a type of data, and in this embodiment, it is assumed that the following category names are available.
  • ⁇ property/> a category name of properties
  • ⁇ directory/> a category name of directories
  • association/> a category name of associative memories
  • ⁇ document/> a category name of XML documents
  • ⁇ binary/> a category name of binary data
  • ⁇ file/> a category name of files
  • FIG. 21 shows an example of such rules.
  • the rule describes data of which category can be realized by which data operation module.
  • the rule that begins with ⁇ rule> contains a category description section that begins with ⁇ category> and a data operation module description section that begins with ⁇ expand>.
  • the first rule specifies that the property module ( 116 ) indicated by ⁇ propm/> should be used in order to operate data of the property category ⁇ property/>.
  • the directory module ( 115 ) indicated by ⁇ dirm/> should be used for data of the directory category ⁇ directory/>
  • the XML module ( 113 ) indicated by ⁇ xmlm/> should be used for data of the XML document category ⁇ document/>, and so on.
  • At least one rule is managed for each category in this manner.
  • the rule for ⁇ file/> category is used for describing parameters regarding the file system 3 .
  • the data operation module description section of the rule corresponding to ⁇ file/> category merely describes ⁇ file/> so that no special information is provided in this case.
  • the file system 3 has a plurality of partitions, for example, it is possible to provide an element ⁇ partition/> below ⁇ file/> that corresponds to ⁇ file/> category as shown in FIG. 22, such that a file is created in the first partition if its value is “1”. If this rule is encountered when the file system module 112 attempts to create data of ⁇ file/> category, i.e., a file, the file is created in the first partition. If this rule is absent, the file system 3 will create the file in a default partition.
  • FIG. 23 shows an exemplary operation in the case where the application program 2 commanded the data management system 1 by a CREATE command to create data of the XML document type with a name “/dir1/dir3/data3”. In the following, the flow of the processing will be described along the numbers indicated in FIG. 23.
  • the application program 2 commands the data management system 1 by the CREATE command to create data of ⁇ document/> category with a name “/dir1/dir3/data3”. This command is received by the resource manager 11 .
  • the resource manager 11 Upon receiving this command, the resource manager 11 searches out a rule from the category name ⁇ document/>, and ascertains that this can be realized by the XML module. Consequently, the resource manager 11 commands the XML module manager 13 by a CREATE command to newly create an entity of data.
  • the XML module manager 13 needs binary data for its own use so that the XML module manager 13 requests the resource manager 11 by a CREATE_MODULE command to create data of ⁇ binary/> category.
  • the resource manager 11 searches out a rule corresponding to ⁇ binary/> category, and ascertain that this can be realized by the file system module. Consequently, the resource manager 11 commands the file system module manager 12 by a CREATE command to newly create an entity of data.
  • the file system module manager 12 needs information for the purpose of requesting a creation of a file to the file system 3 for its own use, so that the file system module manager 12 requests the resource manager 11 by a CREATE_MODULE command to search information regarding data of ⁇ file/> category.
  • the resource manager 11 searches out a rule corresponding to ⁇ file/> category, and returns a value (which is ⁇ file/> here) of its ⁇ expand/> section to the file system module manager 12 which is a source of a call.
  • a value which is ⁇ file/> here
  • the operation in the case of ⁇ file/> category is different from the operation in the case of ⁇ document/> category or ⁇ binary/> category described above.
  • the file system module manager 12 commands the file system 3 to create a new file, by using the information received from the resource manager 11 .
  • the file system 3 creates a new file and returns information on its name, etc., to the file system module manager 12 .
  • the file system module manager 12 returns information of a newly created file which will be necessary in opening this data hereafter.
  • the resource manager 11 adds an element ⁇ fsm/> for identifying the file system module which is the data operation module for handling the information returned from the file system module manager 12 , to the information returned from the file system module manager 12 , and returns the resulting information to the XML module manager 13 that issued the CREATE_MODULE command.
  • the XML module manager 13 receives the description of the data operation modules necessary in accessing the binary data for its own use from the resource manager 11 , and returns it as a result of CREATE.
  • the resource manager adds an element ⁇ xmlm/> for identifying the XML module which is the data operation module for handling the information returned from the XML module manager 13 , to the information returned from the XML module manager 13 .
  • ⁇ context/> a portion enclosed by ⁇ context/> is the context.
  • the rule that has the context indicates that the data operation module in the ⁇ expand> section is to be used in the case where not only the category is the same but also a position at which the data operation module corresponding to that category will be used (a position or an order of a combination of the data operation modules in the hierarhical structure, for example) is a correct position specified by the context.
  • a position at which the data operation module corresponding to that category will be used a position or an order of a combination of the data operation modules in the hierarhical structure, for example
  • the example shown in FIG. 24 indicates that the data operation module indicated by ⁇ dtdm/> is to be used only in the case where the category is ⁇ document/> and the data operation module indicated by ⁇ dtdm/> does not exist in upper levels.
  • the data operation module indicated by ⁇ dtdm/> is a DTD module 117 which is data operation module for monitoring whether a structure given by DTD (a definition of a structure of an XML document) is satisfied or not with respect to XML documents.
  • the lower level modules used by ⁇ dtdm/> are those that can operate data of the XML document category, and ⁇ dtdm/> itself behaves as if it is the data operation module that operates on data of the XML document category when viewed from the user.
  • the directories (hierarchical levels of data) are sequentially (according to priority levels defined in accordance with the hierarchical levels of data) traced from that data toward the root (steps S 11 , S 13 ), and the data operation module is determined by using a rule (a selection method for selecting data operation modules) satisfying the conditions of the category and the context that is found first in the course of tracing (steps S 12 , S 14 ).
  • ⁇ xmls/> is a name of a sequential XML module and ⁇ xmlr/> is a name of a random XML module.
  • the sequential XML module and the random XML module are both a data operation module for storing a tree structure data of XML documents in an expanded form on the binary data provided by the file system module and providing operations with respect to the tree structure data.
  • the operation functions provided by these data operation modules with respect to the application program or the like that uses them are the same as the XML module.
  • the sequential XML module uses an internal data structure by which the sequential accesses to XML documents become faster while the random XML module uses a data structure by which random accesses to XML documents become faster.
  • the selection rule can be set such that different data operation modules are selected for different directories, or alternatively such that different data operation modules are selected for different conditions in the ⁇ context/> section of the rules.
  • FIG. 29 shows an example of such a data operation module.
  • an expanded Key-Value module that can be used in place of the Key-Value module as the data operation module of ⁇ association/> category is shown as an example.
  • the expanded Key-Value module 118 is similar to the Key-Value module in that it has correspondences between a key and a value as XML documents, but differs in that it also has an index in a form of binary data such that the fast search is possible using this index.
  • ⁇ kva/> is a name indicating the expanded Key-Value module 118 .
  • ⁇ kvainfo/> specific to ⁇ kva/> is provided.
  • ⁇ data/> records a manner of combination of the data operation modules necessary for accessing the XML document recording a key and a value
  • ⁇ index/> records a manner of combination of the data operation modules necessary for accessing the binary data recording the index.
  • the data operation modules that should be selected and the order in which they should be used are specified in the data management system 1 , but it is also possible for the application program 2 to specify a manner of combination of the data operation modules, and it is possible to use both of these schemes together.
  • the application program 2 acquires by its independent operation an information for specifying the data operation modules that should be selected and the order in which operations should be applied to data (such as information of FIG. 14, for example), and the application program 2 notifies a manner of combination of the data operation modules to the data management system 1 according to this information.
  • a plurality of data operation modules having different operation functions are provided for the purpose of operating data, and when a request for a processing with respect to a desired data is received from the application program, the operations are applied to this data by selecting the data operation modules that should carry out the operations with respect to that data such that this data will be in compliance with the data model (a data structure that can be interpreted by the application program, data with attached functions that can be used by the application program, etc.) suitable for the processing that the application program wishes to carry out, so that it is possible to provide a data management system and a data management method capable of realizing improved flexibility, independency and expandability together.
  • the data model a data structure that can be interpreted by the application program, data with attached functions that can be used by the application program, etc.
  • the data management and operation using arbitrary data model become possible by combining the necessary data operation modules on some data model provided by some data storage system (a general file system for outputting binary data such as a System for outputting data exactly as read out from the hard disk, a special file system with an additional function for outputting data after converting the binary data into XML data for example, etc.), e.g., on the binary data provided by the file system, so that the flexible data management function can be provided.
  • some data storage system a general file system for outputting binary data such as a System for outputting data exactly as read out from the hard disk, a special file system with an additional function for outputting data after converting the binary data into XML data for example, etc.
  • the application programs and the data operation modules are separated so that there is an advantage that there is no need to describe a processing necessary for the data operation in the application program, unlike the case of using the conventional file system. For this reason, even in the case of sharing data by a plurality of application programs, the sharing can be realized easily because the processing necessary for the data operation is provided by the data operation modules. Moreover, it is possible to expand the function or exchange the data operation modules, without making any change in the application program. In other words, it is possible to realize a high data independency.
  • the data management function with an improved expandability that enables the addition of a data operation module with a new function, the upgrading of the function of the existing data operation module independently from the application program, and the addition of variations for providing the data operation modules with a variety of characteristics even among the data operation modules for handling data of the same category.
  • the data management system of the above described embodiments can be conveniently implemented in a form of a software package.
  • Such a software package can be a computer program product which employs a storage medium including stored computer code which is used to program a computer to perform the disclosed function and process of the present invention.
  • the storage medium may include, but is not limited to, any type of conventional floppy disks, optical disks, CD-ROMs, magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, or any other suitable media for storing electronic instructions.

Abstract

A data management system capable of realizing improved flexibility, independency and expandability together is disclosed. The data management system is formed by a memory unit configured to store a plurality of data operation modules for operating data which have different operation functions, and an operation unit configured to read out data requested by the application program from the data storage system, select those data operation modules that should carry out the operations with respect to the data such that the data will be in compliance with a data model suitable for the processing that the application program wishes to carry out, from the plurality of data operation modules, such that the data to which the operations are applied by selected data operation modules are given to the application program.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention relates to a data management system and a data management method for providing data management and operation functions in a computer. [0002]
  • 2. Description of the Background Art [0003]
  • Data to be handled in a computer are usually managed by using a file system or a database management system. [0004]
  • The file system manages very basic data called byte sequences by attaching names to them. The data of the byte sequences managed by the file systems are called files. The application program can carry out basic operations for writing new data into files or reading already written data from files. [0005]
  • Thus the file system provides a data model called byte sequences which are both basic and flexible. However, the byte sequences is a data model that is conceptually at very low level, so that it is necessary for the application program to define and use data management structure and operations unique to that application program on the byte sequences in order to use this data model for solving various problems actually encountered in the computer. For this reason, the data independency is low and it is difficult to share data among a plurality of application programs. [0006]
  • On the other hand, the database management system provides more sophisticated functions specific to a specific data model by presupposing the use of the specific data model. The most widely used database management system is the relational database management system based on the relational data model. The relational database management system manages all data by expressing them on tables, and provides functions for searching data stored in the table by specifying a key, or searching related data in a plurality of tables using an operation called JOIN. The application program can carry out the processing using various operation functions provided by the relational database management system if the necessary data can be defined in forms of tables. There are also database management systems using data models other than the relational data model such as the network data model and the object data model. [0007]
  • In the case of managing data by using the database management system, the data management and operation are separated from the application program and carried out at the database management system side. Namely, the independency of data can be realized so that it becomes easier to utilize one data by sharing it among a plurality of application programs. In addition, the database management system provides functions such as the management of consistency required for the transaction processing, the exclusive control in the case of processing by sharing data among a plurality of application programs, and the recovery processing at a time of a fault occurrence. [0008]
  • Thus the database management system provides various management and operation functions by specifying the specific data model which is conceptually at high level, so that the data independency is high and it is easy to share data among a plurality of application programs. However, although an application program that matches with the data model provided by the database management system can be designed easily and a high performance can be achieved easily, an application program that does not match the data model is difficult to design and it is hard to achieve a high performance. From a viewpoint of the flexibility of data, the available degrees of freedom are limited compared with the file system, and the expandability of the management and operation functions for new data or data model is also poor. [0009]
  • SUMMARY OF THE INVENTION
  • It is therefore an object of the present invention to provide a data management system and a data management method capable of realizing improved flexibility, independency and expandability together. [0010]
  • According to one aspect of the present invention there is provided a data management system for applying operations on data outputted from a data storage system and providing data to a processing of an application program, the data management system comprising: a memory unit configured to store a plurality of data operation modules for operating data which have different operation contents; and an operation unit configured to read out data requested by the application program from the data storage system, select those data operation modules that should carry out the operations with respect to the data such that the data will be in compliance with a data model suitable for the processing that the application program wishes to carry out, from the plurality of data operation modules, such that the data to which the operations are applied by selected data operation modules are given to the application program. [0011]
  • According to another aspect of the present invention there is provided a data management method in a data management system for applying operations on data outputted from a data storage system and providing data to a processing of an application program, the data management method comprising the steps of: reading out data requested by the application program from the data storage system upon receiving a request for processing with respect to a desired data stored in the data storage system from the application program; selecting those data operation modules that should carry out the operations with respect to the data such that the data will be in compliance with a data model suitable for the processing that the application program wishes to carry out, from a plurality of data operation modules for operating data which have different operation contents, that are provided in advance; applying the operations to the data by selected data operation modules and giving the data to which the operations are applied by the selected data operation modules to the application program. [0012]
  • According to another aspect of the present invention there is provided a computer usable medium having computer readable program codes embodied therein for causing a computer to function as a data management system for applying operations on data outputted from a data storage system and providing data to a processing of an application program, the computer readable program codes include: a first computer readable program code for causing said computer to read out data requested by the application program from the data storage system upon receiving a request for processing with respect to a desired data stored in the data storage system from the application program; a second computer readable program code for causing said computer to select those data operation modules that should carry out the operations with respect to the data such that the data will be in compliance with a data model suitable for the processing that the application program wishes to carry out, from a plurality of data operation modules for operating data which have different operation contents, that are provided in advance; and a third computer readable program code for causing said computer to apply the operations to the data by selected data operation modules and giving the data to which the operations are applied by the selected data operation modules to the application program. [0013]
  • Other features and advantages of the present invention will become apparent from the following description taken in conjunction with the accompanying drawings.[0014]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a diagram showing an exemplary structure of data to be managed by the data management system according to the present invention. [0015]
  • FIG. 2 is a diagram showing an exemplary relationships between properties and data entities for the data shown in FIG. 1. [0016]
  • FIG. 3 is a block diagram showing a general exemplary configuration of the data management system according to one embodiment of the present invention. [0017]
  • FIG. 4 is a block diagram showing a more specific exemplary configuration of the data management system according to one embodiment of the present invention. [0018]
  • FIG. 5 is a diagram showing an example of a data operation module management table used in the data management system of FIG. 3 and FIG. 4. [0019]
  • FIG. 6 is a diagram showing an example of a name management table used in the data management system of FIG. 3 and FIG. 4. [0020]
  • FIG. 7 is a diagram showing an exemplary manner of using a file system module in the data management system of FIG. 3 and FIG. 4. [0021]
  • FIG. 8 is a diagram showing an exemplary description describing a manner of using a file system module in the data management system of FIG. 3 and FIG. 4. [0022]
  • FIG. 9 is a diagram showing an exemplary manner of using an XML module in the data management system of FIG. 3 and FIG. 4. [0023]
  • FIG. 10 is a diagram showing an exemplary description describing a manner of using an XML module in the data management system of FIG. 3 and FIG. 4. [0024]
  • FIG. 11 is a diagram showing an exemplary management format for managing pairs of a key and a value as XML documents by a Key-Value module in the data management system of FIG. 3 and FIG. 4. [0025]
  • FIG. 12 is a diagram showing an exemplary manner of using a Key-Value module in the data management system of FIG. 3 and FIG. 4. [0026]
  • FIG. 13 is a diagram showing an exemplary description describing a manner of using a Key-Value module in the data management system of FIG. 3 and FIG. 4. [0027]
  • FIG. 14 is a diagram showing an exemplary management format for managing properties by a Key-Value module in the data management system of FIG. 3 and FIG. 4. [0028]
  • FIG. 15 is a diagram showing an exemplary manner of using a property module in the data management system of FIG. 3 and FIG. 4. [0029]
  • FIG. 16 is a diagram showing an exemplary description describing a manner of using a property module in the data management system of FIG. 3 and FIG. 4. [0030]
  • FIG. 17 is a diagram showing an exemplary management format for managing directories by a Key-Value module in the data management system of FIG. 3 and FIG. 4. [0031]
  • FIG. 18 is a diagram showing an exemplary manner of using a directory module in the data management system of FIG. 3 and FIG. 4. [0032]
  • FIG. 19 is a diagram showing an exemplary description describing a manner of using a directory module in the data management system of FIG. 3 and FIG. 4. [0033]
  • FIG. 20 is a schematic diagram showing an exemplary flow of data open processing in the data management system of FIG. 3 and FIG. 4. [0034]
  • FIG. 21 is a diagram showing exemplary rules indicating correspondences between categories and data operation modules that can be used in the data management system of FIG. 3 and FIG. 4. [0035]
  • FIG. 22 is a diagram showing an exemplary rule for <file/> that can be used in the data management system of FIG. 3 and FIG. 4. [0036]
  • FIG. 23 is a schematic diagram showing an exemplary flow of data creation processing in the data management system of FIG. 3 and FIG. 4. [0037]
  • FIG. 24 is a diagram showing an exemplary rule having a context that can be used in the data management system of FIG. 3 and FIG. 4. [0038]
  • FIG. 25 is a diagram showing an exemplary manner of using a rule having a context in the data management system of FIG. 3 and FIG. 4. [0039]
  • FIG. 26 is a flow chart showing an exemplary procedure for a rule search in the data management system of FIG. 3 and FIG. 4. [0040]
  • FIGS. 27A, 27B and [0041] 27C are diagrams showing one example of a structure of directories and data, and two rules for two directories that can be used in the data management system of FIG. 3 and FIG. 4.
  • FIGS. 28A, 28B, [0042] 28C, 28D and 28E are diagrams showing another example of a structure of directories and data, two rules for two directories, and two module hierarchies for two data that can be used in the data management system of FIG. 3 and FIG. 4.
  • FIG. 29 is a diagram showing an exemplary manner of using an expanded Key-Value module in the data management system of FIG. 3 and FIG. 4. [0043]
  • FIG. 30 is a diagram showing an exemplary description describing a manner of using an expanded Key-Value module in the data management system of FIG. 3 and FIG. 4.[0044]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • Referring now to FIG. 1 to FIG. 30, one embodiment of a data management system according to the present invention will be described in detail. [0045]
  • In this embodiment, the exemplary case of managing data in a hierarchical name space by attaching properties to data in the data management system will be described. [0046]
  • For such a data management method, it is possible to use WebDAV, but the present invention is not limited to that case. The specification of WebDAV is disclosed in “HTTP Extensions for Distributed Authoring—WEBDAV” (RFC 2518). [0047]
  • In the data management system of this embodiment, in order to manage data by attaching hierarchical names, a hierarchical structure of names is managed by directories. Namely, the directory can have arbitrary number of other directories and data at its lower hierarchical levels. For example, in an example of the hierarchical structure shown in FIG. 1, three data “data1”, “data2” and “data3” and three directories “dir1”, “dir2” and “dir3” are shown, where three data are managed by names such as “/dir1/dir2/data1”, “/dir1/dir2/data2” and “/dir1/dir3/data3”. Note that, in the WebDAV, data and directories are referred to as resources, and directories are also referred to as collections. [0048]
  • The data managed by the data management system of this embodiment can be any of binary data as in the file system, structured data such as XML documents, and database-like data to be accessed by specifying a value of a key. Besides these it is also possible to manage data based on various extended data models. Details of XML are disclosed in “Extensible Markup Language (XML) 1.0” (World Wide Web Consortium). [0049]
  • As shown in FIG. 1, each directory ([0050] 201) or data (202) has a property (203) which is a set of a pair formed by an attribute name and an attribute value. The property is used for recording various information such as its directory, a file creation date, access rights, an owner, etc.
  • In the data management system of this embodiment, the directories and properties are also managed as data. For example, the data management structure in the example of FIG. 1 can be viewed as shown in FIG. 2 from a viewpoint of the implementation, where data that are entities of the directories ([0051] 302 and 304, for example) have information indicating properties of their children directories or data (303 and 307, for example), and data of properties (303 and 307, for example) have information indicating entities of the corresponding directories or data (304 and 308, for example). In other words, it can be said that the data model expressing directories and the data model expressing properties are provided.
  • FIG. 3 shows a general exemplary configuration of the data management system according to this embodiment. [0052]
  • Note that, in this embodiment, the case of using the file system as a data storage system will be described. In FIG. 3, the [0053] file system 3 manages files in the stable memory devices such as hard disks 31, for example. Here, the stable memory device is a memory device such as hard disk, for example, in which the stored content will not disappear even when the power is turned off.
  • In short, the [0054] data management system 1 carries out file operations for managing the file system 3 upon receiving requests from the application programs 2. For example, the data model conversion (conversion from the binary data recorded in the file to XML, for example) for data in the file system 3 and the operation functions in some data model are provided with respect to the application programs 2.
  • As shown in FIG. 3, the [0055] data management system 1 comprises three types of constituent elements, including a resource manager 11, n types of data operation module managers 12-1 to 12-n, where n is an integer greater than or equal to 1, and n types of data operation modules 112-i corresponding to the data operation module managers 12-i (i=1 to n).
  • Note that, in FIG. 3, rectangles depicted inside each dashed line enclosure represent the data operation modules of the identical function (this also applies to FIG. 4 described below). For example, in FIG. 3, three rectangles depicted inside a dashed line enclosure corresponding to the first data operation module manager [0056] 12-1 all represent the data operation modules 112-1 of the identical function (this also applies similarly to the other data operation modules 112-2 and 112-3.)
  • The data operation module [0057] 112-i provides some data management and operation functions with respect to its user (the application program 2 or the resource manager 11). For example, as will be described below, a function for enabling management and operation of binary files as XML documents or an associative memory function using a pair of a key and a value on the XML documents is provided. Namely, the role of the data operation module is to make the lower level data or data models appear as other types of data or data models, and provide management and operation functions with respect to these other types of data or data models at the same time.
  • In the [0058] data management system 1 of this embodiment, a set of one or more data operation modules 112-i provide management and operation functions for one data, with respect to the application program 2 or the resource manager 11. Namely, in the case where the application program 2 or the resource manager 11 carries out the processing with respect to data, directories and properties in the file system 3 by utilizing the data management system 1, one or more data operation modules 112-i are used in combination according to the data model, the operation content, etc., as in an exemplary case shown in FIG. 3.
  • Note that, in this embodiment, the exemplary case of using hierarchically combined data operation modules ranging from the lowest level data operation module up to a hierarchical level according to a request of the [0059] application program 2 or the like, as shown in FIGS. 7, 9, 12, 15, 18, 25 and 28.
  • Also, an entity of the data operation module [0060] 112-i exists for each operation target data. Consequently, when a plurality of operation entities (the application programs 2 or the resource manager 11) are operated simultaneously, in practice there can be cases where a plurality of data operation modules 112-i of the identical function are existing (or used) simultaneously as in the exemplary case shown in FIG. 3, cases where only one data operation module 112-i is existing (or used), and cases where no data operation module 112-i is existing (or used).
  • The data operation modules [0061] 112-i of the identical function are managed by the corresponding one data operation module manager 12-i. As described above, data operation modules 112-i to be managed by each data operation module manager 12-i may be plural, one or none. In the example of FIG. 3, the data operation module manager (1) is managing three data operation modules (1), the data operation module manager (2) is managing five data operation modules (2), and the data operation module manager (n) is managing seven data operation modules (n).
  • Also, in this embodiment, a relationship between the data operation module manager [0062] 12-i and the data operation modules 112-i is equivalent to a relationship between a class and instances in the object-oriented programming language. In the case of actually realizing the data operation module manager 12-i and the data operation modules 112-i in the object-oriented manner, the data operation module manager 12-i alone is to be programmed, and the data operation modules 112-i can be created or deleted according to the need during the operation.
  • The [0063] resource manager 11 has a function for making a set up to enable a desired operation by combining necessary data operation modules 112-i upon receiving a data operation request from the application program 2. The resource manager 11 has a name management table 22 for managing correspondences between names of currently used data and the data operation modules, and a data operation module management table 21 to be used at a time of combining the data operation modules.
  • Next, this data management system will be described in further detail. [0064]
  • FIG. 4 shows a more specific exemplary configuration of this data management system. [0065]
  • This [0066] data management system 1 has five types of data operation module managers including a file system module manager 12, an XML module manager 13, a Key-Value module manager 14, a directory module manager 15 and a property module manager 16. Also, in correspondence to them, five types of data operation modules 112-116 will be used according to the need. Note that the state of existence (the state of utilization) of the data operation modules shown in FIG. 4 represents only an example at some moment, and will be changed according to the data operation state by the data operation subject. Also, in FIG. 4, the reference numerals 112-114 for the corresponding modules are partially omitted for the sake of simplicity.
  • FIG. 5 shows an exemplary structure of the data operation module management table [0067] 21 in the resource manager 11.
  • The data operation module management table [0068] 21 records a correspondence between a name of each data operation module and a pointer to the data operation module manager that manages that data operation module.
  • In the example of FIG. 5, the names of the data operation module is specified by the XML elements such as <Propm/> and <xmlm/>. These names of the data operation modules will be used in describing “a manner of combination” of the data operation modules necessary in accessing respective data. [0069]
  • FIG. 6 shows an exemplary structure of the name management table [0070] 22 managed by the resource manager 11.
  • The name management table [0071] 22 records a correspondence among a name of each currently used directory or data, a pointer to a property module for its property, and a pointer to a directory module for its directory in the case of the directory. Note that, as will be described below, the property module 116 is a data operation module expressing the property, and the directory module 115 is a data operation module expressing the directory.
  • In the example of FIG. 6, the names are given by “/dir1”, “/dir1/dir2/data1”, etc. Also, in FIG. 6, the column for a pointer to the property module and a column for a pointer to the directory module are depicted as empty, but appropriate pointers to the property modules and pointers to the directory modules will be entered in these columns in practice. [0072]
  • In the following, the functions of the data operation modules in the exemplary configuration of FIG. 4 will be described. [0073]
  • The first data operation module is the file system module. [0074]
  • The [0075] file system module 112 is a data operation module which has a role of abstracting the file system 3 provided below the data management system 1. Its main function is to provide read/write operations with respect to binary data recorded in the file system 3.
  • Examples of the operations to be provided by the [0076] file system module 112 with respect to binary data include the following.
  • (1) READ: Read out data of a specified length starting from a specified offset. [0077]
  • (2) WRITE: Write data of a specified length starting from a specified offset. [0078]
  • In the case of accessing binary data by using the [0079] file system module 112, usually the file system module 112 alone is used as shown in FIG. 7. In this example, the content of a file with a name “f2468” that is recorded in the lower level file system 3 is exhibited to the upper level application program 2 as binary data.
  • In the case of accessing binary data as in FIG. 7, “a manner of combination of the data operation modules” will be described as shown in FIG. 8, for example. Here, an element <fsm> that represents the file system module is followed by an element <file> which has the management information in the [0080] lower file system 3, and then by <name>f2468</name> indicating the actual management name.
  • In such “a manner of combination of the data operation module” is managed by the [0081] resource manager 11 by describing it in the entity of the property or the directory of the corresponding data.
  • The second data operation module is the XML module. [0082]
  • The [0083] XML module 113 stores a tree structure data for the XML documents in an internal representation, on binary data provided by the file system module 112 provided below this XML module 113, and enables operations with respect to the tree structure data, such as reading of a document in the tree structure and addition/deletion of a partial tree.
  • At this point, it is possible to use a DOM interface disclosed in “Document Object Model (DOM) [0084] Level 1 Specification” (World Wide Web Consortium), for example, as an interface for operating the tree structure data of the XML documents. It is also possible to use the other original interface if desired.
  • Examples of the operations to be provided by the [0085] XML module 113 with respect to XML documents include the following.
  • (1) CHILD: Extract the first child element or text. [0086]
  • (2) NEXT: Extract a next element or text which has the same parent. [0087]
  • (3) PREV: Extract a previous element or text which has the same parent. [0088]
  • (4) PARENT: Extract a parent element. [0089]
  • (5) REMOVE: Remove a specified element or text. [0090]
  • (6) ADDFIRST: Add a new element or text as the first child. [0091]
  • (7) ADDLAST: Add a new element or text as the last child. [0092]
  • In the case of accessing data of the XML document by using the [0093] XML module 113, usually the XML module 113 and the file system module 112 are used in combination as shown in FIG. 9.
  • At this point, “a manner of combination of the data operation modules” will be described as shown in FIG. 10, for example. Here, an element <xmlm> that represents the XML module is followed by information of the file system module that is provided below this XML module. [0094]
  • The third data operation module is the Key-Value module. [0095]
  • The Key-[0096] Value module 114 is a data operation module for storing a plurality of pairs of a key and a value, and enabling associative access by specifying a key with respect to the stored set of pairs of a key and a value. In this embodiment, the Key-Value module 114 stores the set of pairs of a key and a value in forms of XML documents. Consequently, the Key-Value module 114 provides an associative memory function on XML documents provided by the XML module 113.
  • Examples of the operations to be provided by the Key-[0097] Value module 114 include the following.
  • (1) FIND: Extract a value of a specified key. [0098]
  • (2) ADD: Register a specified pair of a key and a value. [0099]
  • (3) REMOVE: Remove a pair of a specified key and a value associated with that key. [0100]
  • The Key-[0101] Value module 114 manages the set of pairs of a key and a value as XML documents in a format as shown in FIG. 11. In FIG. 11, each <entry> element has one pair of a key and a value, each <key> element has a key, and each <value> element has a value. This example records a state in which a key “OSAKA” has a value “TAKOYAKI”, and a key “HAKATA” has a value “KARASHIMENTAIKO”.
  • In the example of FIG. 11, the pairs of a key and a value are managed by arranging them serially, but it is also possible to use an implementation for enabling faster search by using the well known data structure such as binary tree or B-TREE. One of the features of the present invention is that such an internal implementation of the Key-[0102] Value module 114 can be changed without affecting the other data operation modules and the application program 2 that uses the Key-Value module 114.
  • In the case of accessing data by using the Key-[0103] Value module 114, usually the Key-Value module 114, the XML module 113 and the file system module 112 are used in combination as shown in FIG. 12.
  • At this point, “a manner of combination of the data operation modules” will be described as shown in FIG. 13, for example. Here, an element <kvm> that represents the Key-Value module is followed by information of the XML module that is provided below this Key-Value module, and then by information of the file system module that is provided below that XML module. [0104]
  • The fourth data operation module is the property module. [0105]
  • The, [0106] property module 116 is used by the data management system 1 (the resource manager 11) for internal management. In this embodiment, the data management system 1 manages a set of pairs of an attribute name and an attribute value of the property on the associative memory function provided by the Key-Value module 114.
  • Examples of the operations of the property to be provided by the [0107] property module 116 include the following.
  • (1) FINDPROP: Search a value of a specified attribute name. [0108]
  • (2) ADDPROP: Add a specified pair of an attribute name and an attribute value. [0109]
  • (3) REMPROP: Remove a pair of a specified attribute name and its attribute value. [0110]
  • FIG. 14 shows an example of an XML document in the case where the [0111] property module 116 manages pairs of an attribute name and an attribute value of the property as an XML document by using the Key-Value module 114. FIG. 14 is an example for the property of the data “data1”.
  • In FIG. 14, each <key> element indicates an attribute name of the property, and each <value> element indicates an attribute value of the property. Here, there are three attributes including “creationdate” indicating creation date and time of the data, “owner” indicating an owner of the data, and “module” for describing a manner of combination of the data operation modules that is necessary in accessing the entity of this data. The respective <value> elements indicate their attribute values. [0112]
  • Here, the “module” attribute has a role for connecting the property of the data to the entity of the data in the [0113] data management system 1 of this embodiment. As will be described below, in the case where the application program 2 accesses the entity of the data having this property by opening it, the resource manager 11 selects and combined the necessary data operation modules according to the information written in this “module” attribute.
  • In the case of accessing data by using the [0114] property module 116, usually the property module 116, the Key-Value module 114, the XML module 113 and the file system module 112 are used in combination as shown in FIG. 15.
  • At this point, “a manner of combination of the data operation modules” will be described as shown in FIG. 16, for example. Here, an element <propm> that represents the property module is followed by information of the Key-Value module that is provided below this property module, and then by information of the XML module that is provided below that Key-Value module, and then by information of the file system module that is provided below that XML module. [0115]
  • The fifth data operation module is the directory module. [0116]
  • The [0117] directory module 115 is used by the data management system 1 (the resource manager 11) for internal management, similarly as the property module 116. The data management system 1 is managing the directory as a correspondence between a key given by a directory name or a data name that is existing below that directory and a value given by information on a manner of combination of the data operation modules necessary in accessing its property. In this embodiment, the correspondences are managed on the associative memory function provided by the Key-Value module 114.
  • Examples of the operations of the directory to be provided by the [0118] directory module 115 include the following.
  • (1) LOOKUP: Look up a property data of a data of a specified name. [0119]
  • (2) MKDIR: Add a new directory as a child. [0120]
  • (3) MKDATA: Add new data as a child. [0121]
  • (4) RMDIR: Remove a directory. [0122]
  • (5) RMDATA: Remove a data. [0123]
  • FIG. 17 shows an example of an XML document in the case where the [0124] directory module 115 manages pairs of a directory name or a data name that exists below the directory and information on a manner of combination of the data operation modules necessary in accessing its property, as an XML document by using the Key-Value module 114. FIG. 17 is an example for the entity of the directory “dir2” shown in FIG. 1. In FIG. 17, each <key> element indicates a name of a directory or a data that is a child, each <value> element indicates information on a manner of combination of the data operation modules necessary in accessing its property. Here, two data “data1” and “data2” are managed as children.
  • In the case where the [0125] application program 2 requests an access to data “data1”, the resource manager 11 first searches <value> of the entry having “data1” as <key> from the entity of the directory “dir2” shown in FIG. 17, and selects and combines the data operation modules for accessing data of the property of “data1” according to the description written in that <value>. As a result, the property module 116 that manages information as shown in FIG. 14 is created so that this is recorded in the name management table 22, while a value of the “module” attribute is extracted from data of the property, and the data operation modules necessary in accessing data of the XML document corresponding to the entity of “data1” are selected and combined using the extracted value of the “module” attribute. A pointer of the XML module 113 that is created as a result of this is then given to the application program 2.
  • In the case of accessing data by using the [0126] directory module 115, usually the directory module 115, the Key-Value module 114, the XML module 113 and the file system module 112 are used in combination as shown in FIG. 18.
  • At this point, “a manner of combination of the data operation modules” will be described as shown in FIG. 19, for example. Here, an element <dirm> that represents the directory module is followed by information of the Key-Value module that is provided below this directory module, and then by information of the XML module that is provided below that Key-Value module, and then by information of the file system module that is provided below that XML module. [0127]
  • As already mentioned above, the [0128] resource manager 11 selects and combines the data operation modules necessary in accessing data specified by the description recorded in data of the property or the directory. This operation will now be described for an exemplary case shown in FIG. 20. Here, the specific examples shown in FIG. 1 and FIG. 14 will be used.
  • FIG. 20 shows the internal operation of the [0129] data management system 1 in the case where the application program 2 commanded the resource manager 11 of the data management system 1 to open the data “/dir1/dir2/data1”. In the following, the flow of the processing will be described along the numbers indicated in FIG. 20.
  • (1) The [0130] application program 2 commands the data management system 1 to open “/dir1/dir2/data1”. This command is received by the resource manager 11.
  • Here, it is assumed that the property of “/dir1/dir2/data1” is already registered and managed in an accessible state in the name management table [0131] 22 by the resource manager 11. If the property of “dir1/dir2/data1” is not accessible yet, it is set in the accessible state by combining the necessary data operation modules using information in the directory “dir2”, and registered In the name management table 22.
  • Upon receiving this command, the [0132] resource manager 11 extracts a value of the “module” attribute from the property of “data1”. Here, as shown in FIG. 14, this value is given in the following form.
    <xmlm>
     <fsm>
      <file>
       <name>f3617</name>
      </file>
     </fsm>
    </xmlm>
  • (2) Next, the [0133] resource manager 11 checks the data operation module manager corresponding to <xmlm> by referring to the data operation module management table 21. In this case, the XML module manager 13 is selected as the corresponding one. Then, the XML module manager 13 is commanded by an OPEN command to create the XML module 113 with the following information.
    <fsm>
     <file>
      <name>f3617</name>
     </file>
    </fsm>
  • (3) The [0134] XML module manager 13 that is commanded to create a new XML module 113 by the OPEN command first requests a creation of the data operation module necessary in accessing binary data for its own use, to the resource manager 11 by using OPEN_MODULE. At this point, the following information on the data operation module to be created is also given.
    <fsm>
     <file>
      <name>f3617</name>
     </file>
    </fsm>
  • (4) The [0135] resource manager 11 checks the data operation module manager corresponding to <fsm> which is the uppermost element in the argument of OPEN_MODULE, using the data operation module management table 21. Here, it is the file system module manager 12 so that the file system module manager 12 is selected. Then, the file system module manager 12 is command by an OPEN command to create a file system module 112 with the following information.
    <file>
     <name>f3617</name>
    </file>
  • (5) The file [0136] system module manager 12 ascertains that the file name is f3617 from information regarding the file that is given by the argument of OPEN, and commands the file system 3 to open this file.
  • (6) The [0137] file system 3 opens the specified f3617, and returns its handle to the file system module manager 12 that is a source of a call.
  • (7) The file [0138] system module manager 12 creates a file system module 112 that uses the handle of the file f3617 in the file system 3. Here, the created file system module will be referred to as “α”.
  • (8) The file [0139] system module manager 12 returns the handle of the created file system module α to the resource manager 11 that is a source of a call.
  • (9) The [0140] resource manager 11 returns the handle of the file system module α to the XML module manager 113 that is a source of a call for OPEN_MODULE.
  • (10) The [0141] XML module manager 13 creates the XML module 113 for realizing the structure of the XML document on the binary data managed by the file system module α. Here, the created XML module will be referred to as “β”.
  • (11) The [0142] XML module manager 13 returns the handle of the XML module β to the resource manager 11 which is a source of a call for OPEN.
  • (12) The [0143] resource manager 11 returns the handle of the XML module β to the application program 2 which is a source of a call for OPEN.
  • (13) The [0144] application program 2 hereafter carries out the processing while commanding operations of the XML document to the XML module β.
  • Now, up to this point, the operation in the case where a manner of combination of the data operation modules for accessing a given data is written in the property or the directory has been described. However, in the case of creating data initially, it is necessary to determine a manner of combination of the data operation modules somehow. [0145]
  • In the following, a procedure for determining a manner of combination of the necessary data operation modules from a category of data to be created by using rules will be described as an exemplary procedure to be carried out in such a case. [0146]
  • Here, the category of data is a name indicating a type of data, and in this embodiment, it is assumed that the following category names are available. [0147]
    <property/> : a category name of properties
    <directory/> : a category name of directories
    <association/> : a category name of associative memories
    <document/> : a category name of XML documents
    <binary/> : a category name of binary data
    <file/> : a category name of files
  • A correspondence between the category and the data operation module that can actually operate data of that category is managed as a rule. FIG. 21 shows an example of such rules. As shown in FIG. 21, the rule describes data of which category can be realized by which data operation module. The rule that begins with <rule> contains a category description section that begins with <category> and a data operation module description section that begins with <expand>. [0148]
  • For example, in the example of FIG. 21, the first rule specifies that the property module ([0149] 116) indicated by <propm/> should be used in order to operate data of the property category <property/>. Similarly, the directory module (115) indicated by <dirm/> should be used for data of the directory category <directory/>, the XML module (113) indicated by <xmlm/> should be used for data of the XML document category <document/>, and so on. At least one rule is managed for each category in this manner.
  • By using a scheme for determining the correspondence between the category and the data operation module according to the rules, it is possible to change the data operation module to be used, even in the cases of creating data of the same category, by changing the rule. [0150]
  • Note that the rule for <file/> category is used for describing parameters regarding the [0151] file system 3. In the example of FIG. 21, the data operation module description section of the rule corresponding to <file/> category merely describes <file/> so that no special information is provided in this case.
  • Also, when the [0152] file system 3 has a plurality of partitions, for example, it is possible to provide an element <partition/> below <file/> that corresponds to <file/> category as shown in FIG. 22, such that a file is created in the first partition if its value is “1”. If this rule is encountered when the file system module 112 attempts to create data of <file/> category, i.e., a file, the file is created in the first partition. If this rule is absent, the file system 3 will create the file in a default partition.
  • Next, with reference to FIG. 23, a procedure for creating a new data in the data management system of this embodiment will be described. Here, it is assumed that the rules as shown in FIG. 21 are given in advance. How these rules are actually given will be described later. [0153]
  • FIG. 23 shows an exemplary operation in the case where the [0154] application program 2 commanded the data management system 1 by a CREATE command to create data of the XML document type with a name “/dir1/dir3/data3”. In the following, the flow of the processing will be described along the numbers indicated in FIG. 23.
  • (1) The [0155] application program 2 commands the data management system 1 by the CREATE command to create data of <document/> category with a name “/dir1/dir3/data3”. This command is received by the resource manager 11.
  • Here, it is assumed that the property of “/dir1/dir3/data3” is already registered and managed in an accessible state in the name management table [0156] 22 by the resource manager 11. If the property of “dir1/dir3/data3” is not accessible yet, it is set in the accessible state by combining the necessary data operation modules using information in the directory “dir3”, and registered in the name management table 22.
  • (2) Upon receiving this command, the [0157] resource manager 11 searches out a rule from the category name <document/>, and ascertains that this can be realized by the XML module. Consequently, the resource manager 11 commands the XML module manager 13 by a CREATE command to newly create an entity of data.
  • (3) The [0158] XML module manager 13 needs binary data for its own use so that the XML module manager 13 requests the resource manager 11 by a CREATE_MODULE command to create data of <binary/> category.
  • (4) The [0159] resource manager 11 searches out a rule corresponding to <binary/> category, and ascertain that this can be realized by the file system module. Consequently, the resource manager 11 commands the file system module manager 12 by a CREATE command to newly create an entity of data.
  • (5) The file [0160] system module manager 12 needs information for the purpose of requesting a creation of a file to the file system 3 for its own use, so that the file system module manager 12 requests the resource manager 11 by a CREATE_MODULE command to search information regarding data of <file/> category.
  • (6) The [0161] resource manager 11 searches out a rule corresponding to <file/> category, and returns a value (which is <file/> here) of its <expand/> section to the file system module manager 12 which is a source of a call. Here, the operation in the case of <file/> category is different from the operation in the case of <document/> category or <binary/> category described above.
  • (7) The file [0162] system module manager 12 commands the file system 3 to create a new file, by using the information received from the resource manager 11.
  • (8) The [0163] file system 3 creates a new file and returns information on its name, etc., to the file system module manager 12.
  • (9) The file [0164] system module manager 12 returns information of a newly created file which will be necessary in opening this data hereafter.
  • (10) The [0165] resource manager 11 adds an element <fsm/> for identifying the file system module which is the data operation module for handling the information returned from the file system module manager 12, to the information returned from the file system module manager 12, and returns the resulting information to the XML module manager 13 that issued the CREATE_MODULE command.
  • (11) The [0166] XML module manager 13 receives the description of the data operation modules necessary in accessing the binary data for its own use from the resource manager 11, and returns it as a result of CREATE.
  • (12) The resource manager adds an element <xmlm/> for identifying the XML module which is the data operation module for handling the information returned from the [0167] XML module manager 13, to the information returned from the XML module manager 13. This describes a manner of combination of the data operation modules necessary for accessing an entity of data “/dir1/dir3/data3”, so that this is recorded as a value of the “module” attribute of the property. This completes the processing so that the operation returns to the application program 2.
  • By the procedure up to this point, the information on a manner of combination of the data operation modules necessary in accessing data to be newly created is recorded in the property. However, the actual access to the data cannot be made at this stage yet, so that usually the above described open processing for the data is carried out next to actually access the data. [0168]
  • Note that the above description is directed to an exemplary case where a manner of combination of the data operation modules necessary for accessing data is determined by the CREATE operation provided by the [0169] data management system 1, and the data is set in the accessible state by actually combining the data operation modules by the OPEN operation provided by the data management system 1 according to the result of the determination, but it is of course also easily possible to processing the CREATE operation and the OPEN operation simultaneously.
  • Now, it is possible to describe a context in the rules for searching the data operation modules from the category of data. as in an example shown in FIG. 24. [0170]
  • In FIG. 24, a portion enclosed by <context/> is the context. In the context, it is possible to specify a logical expression obtained by combining the category name such as <document/> and the data operation module name such as <xmlm/> using logical computation operators such as <and/>, <or/> and <not/>. [0171]
  • The rule that has the context indicates that the data operation module in the <expand> section is to be used in the case where not only the category is the same but also a position at which the data operation module corresponding to that category will be used (a position or an order of a combination of the data operation modules in the hierarhical structure, for example) is a correct position specified by the context. For example, the example shown in FIG. 24 indicates that the data operation module indicated by <dtdm/> is to be used only in the case where the category is <document/> and the data operation module indicated by <dtdm/> does not exist in upper levels. [0172]
  • Here, the data operation module indicated by <dtdm/> is a [0173] DTD module 117 which is data operation module for monitoring whether a structure given by DTD (a definition of a structure of an XML document) is satisfied or not with respect to XML documents. The lower level modules used by <dtdm/> are those that can operate data of the XML document category, and <dtdm/> itself behaves as if it is the data operation module that operates on data of the XML document category when viewed from the user.
  • When the rule of FIG. 24 is combined with the rules of FIG. 21 such that the rules are searched in this order, as shown in FIG. 25, the data operation modules will be combined such that the [0174] XML module 113 is placed over the file system module 112, and the DTD module 117 is placed over that in the case of accessing data of the XML document category.
  • Note that a DTD module manager will be provided in the case of using the [0175] DTD module 117.
  • The description up to this point assumed that the rules for searching the data operation modules from the category of data are given in advance. In practice, it is possible to apply the rules flexibly by registering these rules in the property of the directory or the data, and searching for a rule that matches with the given category and context by a procedure as shown in FIG. 26. [0176]
  • Namely, at a time of creating an entity of some data, the directories (hierarchical levels of data) are sequentially (according to priority levels defined in accordance with the hierarchical levels of data) traced from that data toward the root (steps S[0177] 11, S13), and the data operation module is determined by using a rule (a selection method for selecting data operation modules) satisfying the conditions of the category and the context that is found first in the course of tracing (steps S12, S14).
  • In this way, in the case where “dir2” and “dir3” exist below “dir1” as shown in FIG. 27A for example, if a rule for <file/> that creates a file in a partition No. [0178] 0 is provided for “dir1” as shown in FIG. 27B and a rule for <file/> that creates a file in a partition No. 1 is provided for “dir2” as shown in FIG. 27C, it is possible to realize a control such that a file to be created below “dir2” will be created in the partition No. 1 by the default setting while any other file to be created will be created in the partition No. 0 by the default setting.
  • This also applies similarly to data of the other categories so that it is possible to realize a control such that different data operation modules will be used even for the same XML document, depending on the directories. [0179]
  • For example, suppose that a data with a name “data1” exists below the directory “dir2” and a data with a name “data2” exists below the directory “dir3” as shown in FIG. 28A. In this case, a rule as shown in FIG. 28B is provided for “dir1” and a rule as shown in FIG. 28C is provided for “dir2”. Here, <xmls/> is a name of a sequential XML module and <xmlr/> is a name of a random XML module. [0180]
  • The sequential XML module and the random XML module are both a data operation module for storing a tree structure data of XML documents in an expanded form on the binary data provided by the file system module and providing operations with respect to the tree structure data. The operation functions provided by these data operation modules with respect to the application program or the like that uses them are the same as the XML module. However, the sequential XML module uses an internal data structure by which the sequential accesses to XML documents become faster while the random XML module uses a data structure by which random accesses to XML documents become faster. [0181]
  • By providing rules as shown in FIG. 28B and FIG. 28C, it is possible to realize a control such that the random XML module will be used in the case of creating an XML document below “dir2” while the sequential XML module will be used in the case of creating an XML document below “dir1” (including the case of creating an XML document below “dir3” but excluding the case of creating an XML document below “dir2”). [0182]
  • In this example, suppose that “data1” and “data2” are both data that are created as XML documents. Then, the module hierarchical structure for “data1” that exists below “dir2” becomes as shown in FIG. 28D, for example, whereas the module hierarchical structure for “data2” that exists below “dir3” becomes as shown in FIG. 28E, for example. [0183]
  • Similarly as in this example, it is possible to provide two or more different data operation modules on the same hierarchical level (the [0184] sequential XML module 1132 and the random XML module 1131 in the above example) from which one that will be used can be selected. The selection rule can be set such that different data operation modules are selected for different directories, or alternatively such that different data operation modules are selected for different conditions in the <context/> section of the rules.
  • Note that it is preferable to provide a default rule that matches with all categories in the root directory, because if no such rule is provided, there could be cases where it becomes impossible to find the necessary data operation module cannot. [0185]
  • In the examples described up to this point, a manner of combination of the data operation modules necessary in accessing data is a simple stacking of the data operation modules. However, in the data management system of this embodiment, it is also possible to use a data operation module that is designed to be used in combination with other data operation modules. [0186]
  • FIG. 29 shows an example of such a data operation module. [0187]
  • Here, an expanded Key-Value module that can be used in place of the Key-Value module as the data operation module of <association/> category is shown as an example. The expanded Key-[0188] Value module 118 is similar to the Key-Value module in that it has correspondences between a key and a value as XML documents, but differs in that it also has an index in a form of binary data such that the fast search is possible using this index.
  • For such an expanded Key-[0189] Value module 118, a manner of combination of the data operation modules will be described in a format shown in FIG. 30. Here, <kva/> is a name indicating the expanded Key-Value module 118. In the above described examples, a description of the lower level data operation modules to be used by that data operation module is placed below the name of the data operation module, but here information <kvainfo/> specific to <kva/> is provided. In <kvainfo/>, there are two elements <data/> and <index/>, where <data/> records a manner of combination of the data operation modules necessary for accessing the XML document recording a key and a value, while <index/> records a manner of combination of the data operation modules necessary for accessing the binary data recording the index.
  • Note that an expanded Key-Value module manager will be provided in the case of using the expanded Key-[0190] Value module 118.
  • Also, the case of using a general file system as a data storage system has been described above, but it is also possible to apply the present invention to a data storage system that outputs data in the other data model such as XML data. In the case of using XML data as the data model to be handled by the data storage system, the hierarchical levels of the file system module and the XML module can be omitted and new XML modules for applying the XML data handled by the data storage system to this data management system can be provided according to the need, in the configuration of FIG. 4, for example. [0191]
  • Also, in the above, the data operation modules that should be selected and the order in which they should be used are specified in the [0192] data management system 1, but it is also possible for the application program 2 to specify a manner of combination of the data operation modules, and it is possible to use both of these schemes together.
  • In the case of specifying a manner of combination of the data operation modules from the [0193] application program 2, it is possible to use a method in which an information for specifying the data operation modules that should be selected and the order in which operations should be applied to data (such as information of FIG. 14, for example) is notified from the data management system 1 to the application program 2, and the application program 2 notifies a manner of combination of the data operation modules to the data management system 1 according to this information.
  • Alternatively, it is possible to use a method in which the [0194] application program 2 acquires by its independent operation an information for specifying the data operation modules that should be selected and the order in which operations should be applied to data (such as information of FIG. 14, for example), and the application program 2 notifies a manner of combination of the data operation modules to the data management system 1 according to this information.
  • For example, in the example of FIG. 20, when the [0195] application program 2 commands the data management system 1 to open “/dir1/dir2/data1” in (1), instead of using a command in a form of OPEN (/dir1/dir2/data1), this will be commanded using a command in the following form.
    Open (<xmlm>
      <fsm>
       <file>
        <name>f3617</name>
       </file>
      </fsm>
     </xmlm>)
  • As described, according to the present invention, a plurality of data operation modules having different operation functions are provided for the purpose of operating data, and when a request for a processing with respect to a desired data is received from the application program, the operations are applied to this data by selecting the data operation modules that should carry out the operations with respect to that data such that this data will be in compliance with the data model (a data structure that can be interpreted by the application program, data with attached functions that can be used by the application program, etc.) suitable for the processing that the application program wishes to carry out, so that it is possible to provide a data management system and a data management method capable of realizing improved flexibility, independency and expandability together. [0196]
  • According to the present invention, the data management and operation using arbitrary data model (such as XML document or associative memory in the case where the data storage system is the file system, for example) become possible by combining the necessary data operation modules on some data model provided by some data storage system (a general file system for outputting binary data such as a System for outputting data exactly as read out from the hard disk, a special file system with an additional function for outputting data after converting the binary data into XML data for example, etc.), e.g., on the binary data provided by the file system, so that the flexible data management function can be provided. [0197]
  • Also, according to the present invention, the application programs and the data operation modules are separated so that there is an advantage that there is no need to describe a processing necessary for the data operation in the application program, unlike the case of using the conventional file system. For this reason, even in the case of sharing data by a plurality of application programs, the sharing can be realized easily because the processing necessary for the data operation is provided by the data operation modules. Moreover, it is possible to expand the function or exchange the data operation modules, without making any change in the application program. In other words, it is possible to realize a high data independency. [0198]
  • Also, according to the present invention, it is possible to provide the data management function with an improved expandability that enables the addition of a data operation module with a new function, the upgrading of the function of the existing data operation module independently from the application program, and the addition of variations for providing the data operation modules with a variety of characteristics even among the data operation modules for handling data of the same category. [0199]
  • It is to be noted that the above described embodiments according to the present invention may be conveniently implemented using a conventional general purpose digital computer programmed according to the teachings of the present specification, as will be apparent to those skilled in the computer art. Appropriate software coding can readily be prepared by skilled programmers based on the teachings of the present disclosure, as will be apparent to those skilled in the software art. [0200]
  • In particular, the data management system of the above described embodiments can be conveniently implemented in a form of a software package. [0201]
  • Such a software package can be a computer program product which employs a storage medium including stored computer code which is used to program a computer to perform the disclosed function and process of the present invention. The storage medium may include, but is not limited to, any type of conventional floppy disks, optical disks, CD-ROMs, magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, or any other suitable media for storing electronic instructions. [0202]
  • It is also to be noted that, besides those already mentioned above, many modifications and variations of the above embodiments may be made without departing from the novel and advantageous features of the present invention. Accordingly, all such modifications and variations are intended to be included within the scope of the appended claims. [0203]

Claims (9)

1. A data management system for applying operations on data outputted from a data storage system and providing data to a processing of an application program, the data management system comprising:
a plurality of data operation modules configured to operate data which have different operation functions; and
a resource manager having a data operation module management table to be used at a time of combining the plurality of data operation modules, the resource manager configured to receive a data operation request from the application program, refer the data operation module management table and make a set up to enable a desired operation by combining necessary data operation modules of the plurality of data operation modules.
2. The data management system of claim 1, further comprising:
a plurality of data operation module managers each configured to manage one or more corresponding data operation modules of the plurality of data operation modules respectively.
3. The data management system of claim 2, wherein the data operation module management table records a correspondence between a name of each of the plurality of data operation modules and a pointer to one of the plurality of data operation module managers that manages the one or more corresponding data operation modules.
4. A data management method in a data management system having a plurality of data operation modules configured to operate data which have different operation functions for applying operations on data outputted from a data storage system and providing data to a processing of an application program, the data management method comprising:
receiving a data operation request from the application program;
referring a data operation module management table which is used at a time of combining the plurality of data operation modules; and
making a set up to enable a desired operation by combining necessary data operation modules of the plurality of data operation modules.
5. The data management method of claim 4, further comprising:
managing one or more corresponding data operation modules of the plurality of data operation modules respectively at each of a plurality data operation managers.
6. The data management method of claim 5, wherein the data operation module management table records a correspondence between a name of each of the plurality of data operation modules and a pointer to a data operation module manager that manages the one or more corresponding data operation modules.
7. A computer program product for causing a computer to function as a data management system having a plurality of data operation modules configured to operate data which have different operation functions, for applying operations on data outputted from a data storage system and providing data to a processing of an application program, the computer program product comprising:
a first computer program code for causing the computer to receive a data operation request from the application program;
a second computer program code for causing the computer to refer a data operation module management table which is used at a time of combining the plurality of data operation modules; and
a third computer program code for causing the computer to make a set up to enable a desired operation by combing necessary data operation modules of the plurality of data operation modules.
8. The computer program product of claim 7, further comprising:
a fourth computer program code for causing the computer to manage one or more corresponding data operation modules of the plurality of data operation modules respectively at each of a plurality data operation managers.
9. The computer program product of claim 8, wherein the data operation module management table records a correspondence between a name of each of the plurality of data operation modules and a pointer to one of the plurality of data operation module managers that manages the one or more corresponding data operation modules.
US10/750,889 1999-09-30 2004-01-05 Data management system using a plurality of data operation modules Abandoned US20040139122A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/750,889 US20040139122A1 (en) 1999-09-30 2004-01-05 Data management system using a plurality of data operation modules

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP27826199A JP4167359B2 (en) 1999-09-30 1999-09-30 Data management system and data management method
JPP11-278261 1999-09-30
US09/666,128 US6714946B1 (en) 1999-09-30 2000-09-20 Data management system using a plurality of data operating modules
US10/750,889 US20040139122A1 (en) 1999-09-30 2004-01-05 Data management system using a plurality of data operation modules

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US09/666,128 Continuation US6714946B1 (en) 1999-09-30 2000-09-20 Data management system using a plurality of data operating modules

Publications (1)

Publication Number Publication Date
US20040139122A1 true US20040139122A1 (en) 2004-07-15

Family

ID=17594885

Family Applications (2)

Application Number Title Priority Date Filing Date
US09/666,128 Expired - Fee Related US6714946B1 (en) 1999-09-30 2000-09-20 Data management system using a plurality of data operating modules
US10/750,889 Abandoned US20040139122A1 (en) 1999-09-30 2004-01-05 Data management system using a plurality of data operation modules

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US09/666,128 Expired - Fee Related US6714946B1 (en) 1999-09-30 2000-09-20 Data management system using a plurality of data operating modules

Country Status (7)

Country Link
US (2) US6714946B1 (en)
EP (1) EP1091295B1 (en)
JP (1) JP4167359B2 (en)
KR (1) KR100405745B1 (en)
CN (1) CN1203430C (en)
DE (1) DE60038933D1 (en)
TW (1) TW486634B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9872087B2 (en) 2010-10-19 2018-01-16 Welch Allyn, Inc. Platform for patient monitoring
US10915507B1 (en) * 2014-08-21 2021-02-09 Amazon Technologies, Inc. Data conversion handler for a run-time execution environment

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4378029B2 (en) * 1999-04-27 2009-12-02 キヤノン株式会社 Data processing method and apparatus, and storage medium
EP1304616B1 (en) * 2001-10-18 2010-03-17 Sun Microsystems, Inc. Method for processing a data file using a plug-in
US7617502B2 (en) * 2002-11-06 2009-11-10 Scientific-Atlanta, Llc Managing peripheral device drivers
ATE357012T1 (en) * 2002-12-11 2007-04-15 Fraysen Systems Ltd PROCESS DATA MANAGEMENT
FR2849568B1 (en) * 2002-12-26 2005-04-29 Orange France SYSTEM AND METHOD FOR MANAGING RESOURCES IN A TERMINAL CONNECTED TO A COMMUNICATION NETWORK
US20040215747A1 (en) * 2003-04-11 2004-10-28 Jonathan Maron System and method for a configuration repository
US20060069774A1 (en) * 2004-06-17 2006-03-30 International Business Machine Corporation Method and apparatus for managing data center using Web services
US7516122B2 (en) * 2004-12-02 2009-04-07 Computer Associates Think, Inc. System and method for implementing a management component that exposes attributes
JP4804836B2 (en) * 2005-08-31 2011-11-02 三菱電機株式会社 Data generation apparatus and data generation program
CN102026147A (en) * 2009-09-17 2011-04-20 中兴通讯股份有限公司 Business subscriber data management system and method for realizing business subscriber data management
CN101739292B (en) * 2009-12-04 2016-02-10 曙光信息产业(北京)有限公司 Based on isomeric group operation self-adapting dispatching method and the system of application characteristic
JP5762878B2 (en) 2011-08-08 2015-08-12 株式会社東芝 Memory system having a key-value store
JP5524144B2 (en) 2011-08-08 2014-06-18 株式会社東芝 Memory system having a key-value store system
CN104216729B (en) * 2013-06-05 2017-10-13 阿里巴巴集团控股有限公司 The logic module of application system updates implementation method and device
CN105786491A (en) * 2016-02-23 2016-07-20 浪潮通信信息系统有限公司 Intelligent imperative data management system based on data description
CN110019254A (en) * 2017-07-17 2019-07-16 中兴通讯股份有限公司 Processing method, device and the computer readable storage medium of planning region increment record

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5113522A (en) * 1989-05-17 1992-05-12 International Business Machines Corporation Data processing system with system resource management for itself and for an associated alien processor
US5261080A (en) * 1987-08-21 1993-11-09 Wang Laboratories, Inc. Matchmaker for assisting and executing the providing and conversion of data between objects in a data processing system storing data in typed objects having different data formats
US5581787A (en) * 1988-11-15 1996-12-03 Hitachi, Ltd. Processing system and method for allocating address space among adapters using slot ID and address information unique to the adapter's group
US5727158A (en) * 1995-09-22 1998-03-10 Integra Soft, Inc. Information repository for storing information for enterprise computing system
US6167564A (en) * 1998-09-17 2000-12-26 Unisys Corp. Software system development framework
US20020194251A1 (en) * 2000-03-03 2002-12-19 Richter Roger K. Systems and methods for resource usage accounting in information management environments
US6502102B1 (en) * 2000-03-27 2002-12-31 Accenture Llp System, method and article of manufacture for a table-driven automated scripting architecture
US6523027B1 (en) * 1999-07-30 2003-02-18 Accenture Llp Interfacing servers in a Java based e-commerce architecture
US20040103173A1 (en) * 2002-08-13 2004-05-27 International Business Machines Corporation Adaptive resource management method and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR940004389B1 (en) * 1989-10-13 1994-05-23 인터내셔널 비지네스 머신즈 코포레이션 Method and system for access plan generation to relational data base
JPH05342179A (en) * 1992-06-11 1993-12-24 Kobe Nippon Denki Software Kk Data processing method for data base client/server distributed processing system
US5446880A (en) * 1992-08-31 1995-08-29 At&T Corp. Database communication system that provides automatic format translation and transmission of records when the owner identified for the record is changed
JPH0695935A (en) * 1992-09-11 1994-04-08 Shikoku Nippon Denki Software Kk Record format change system for database
US5504886A (en) * 1993-07-02 1996-04-02 International Business Machines Corporation System and method for applying user supplied relation definitions to application files for a relational database
US5581797A (en) * 1993-10-22 1996-12-03 Lucent Technologies Inc. Method and apparatus for displaying hierarchical information of a large software system
WO1998055908A2 (en) * 1997-06-04 1998-12-10 Pangea Systems, Inc. Method and apparatus for obtaining results from multiple computer applications

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5261080A (en) * 1987-08-21 1993-11-09 Wang Laboratories, Inc. Matchmaker for assisting and executing the providing and conversion of data between objects in a data processing system storing data in typed objects having different data formats
US5581787A (en) * 1988-11-15 1996-12-03 Hitachi, Ltd. Processing system and method for allocating address space among adapters using slot ID and address information unique to the adapter's group
US5113522A (en) * 1989-05-17 1992-05-12 International Business Machines Corporation Data processing system with system resource management for itself and for an associated alien processor
US5727158A (en) * 1995-09-22 1998-03-10 Integra Soft, Inc. Information repository for storing information for enterprise computing system
US6167564A (en) * 1998-09-17 2000-12-26 Unisys Corp. Software system development framework
US6523027B1 (en) * 1999-07-30 2003-02-18 Accenture Llp Interfacing servers in a Java based e-commerce architecture
US20020194251A1 (en) * 2000-03-03 2002-12-19 Richter Roger K. Systems and methods for resource usage accounting in information management environments
US6502102B1 (en) * 2000-03-27 2002-12-31 Accenture Llp System, method and article of manufacture for a table-driven automated scripting architecture
US20040103173A1 (en) * 2002-08-13 2004-05-27 International Business Machines Corporation Adaptive resource management method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9872087B2 (en) 2010-10-19 2018-01-16 Welch Allyn, Inc. Platform for patient monitoring
US10915507B1 (en) * 2014-08-21 2021-02-09 Amazon Technologies, Inc. Data conversion handler for a run-time execution environment

Also Published As

Publication number Publication date
EP1091295B1 (en) 2008-05-21
US6714946B1 (en) 2004-03-30
JP4167359B2 (en) 2008-10-15
TW486634B (en) 2002-05-11
KR20010067262A (en) 2001-07-12
EP1091295A3 (en) 2003-09-03
DE60038933D1 (en) 2008-07-03
CN1203430C (en) 2005-05-25
KR100405745B1 (en) 2003-11-15
JP2001101042A (en) 2001-04-13
EP1091295A2 (en) 2001-04-11
CN1290899A (en) 2001-04-11

Similar Documents

Publication Publication Date Title
US6714946B1 (en) Data management system using a plurality of data operating modules
US6826582B1 (en) Method and system for using file systems for content management
JP2708331B2 (en) File device and data file access method
US5412808A (en) System for parsing extended file names in an operating system
US6029170A (en) Hybrid tree array data structure and method
US6871245B2 (en) File system translators and methods for implementing the same
US6366921B1 (en) System and method for data manipulation in a dynamic object-based format
US6430563B1 (en) Integrated knowledge provider with logical hyperlinks
EP0801773B1 (en) Storage plane organization and storage systems based thereon
CN1906613B (en) System and method for generating extensible file system metadata and file system content processing
EP1347394B1 (en) Schema-oriented content management system
US8271530B2 (en) Method and mechanism for managing and accessing static and dynamic data
US7467163B1 (en) System and method to manipulate large objects on enterprise server data management system
US7720869B2 (en) Hierarchical structured abstract file system
US6647391B1 (en) System, method and article of manufacture for fast mapping from a propertied document management system to a relational database
US7617250B2 (en) Semantic file system
KR101689782B1 (en) Method for accessing files of a file system according to metadata and device implementing the method
US6941309B2 (en) Object integrated management system
Brahmia et al. Schema versioning in conventional and emerging databases
US20030204530A1 (en) Method, apparatus and computer program product for file system referrals
CN112835638A (en) Configuration information management method and device based on embedded application program
JPH0358249A (en) Access method of file
US20040167871A1 (en) Content mining for virtual content repositories
CN109918355A (en) Realize the virtual metadata mapped system and method for the NAS based on object storage service
Deppisch et al. Managing complex objects in the Darmstadt database kernel system

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION