Claims
- 1. A database management system, comprising:
a conversion unit for assigning an object ID which is a unique value to each natural object which is information to be manipulated and used by a user, and bidirectionally converting the natural object and the object ID one to one; and a database unit for storing the object ID as an entity of a table, wherein said conversion unit and said database unit are held as a permanent object; and a data manipulating process is performed using the object ID.
- 2. A database management system, comprising:
a conversion unit for assigning an object ID which is a unique value to each natural object which is information to be manipulated and used by a user, and bidirectionally converting the natural object and the object ID one to one; and a database unit for storing a plurality of tables storing the object ID as an entity of a table having a database structure in which a direct link to a record among related tables can be obtained by the object ID.
- 3. The system according to claim 2, wherein
said link among the related tables refers to that among the table having external reference relationship, and an object ID of a foreign key of a reference-from table is a value directly indicating a position of a record of a reference-to table.
- 4. The system according to claim 3, wherein
said conversion unit bidirectionally converts each natural object and object ID belonging to each object type, and assigning the object ID to each natural object in an order of entry consecutively at equal intervals.
- 5. The system according to claim 3, wherein
when the object ID is assigned as a natural number starting from 0, said conversion unit computes a position of the record of a reference-to table using an object ID of a foreign key of the reference-from table by a following equation (1) position of corresponding record (physical address)=a+b*n (1) (a: leading address of reference-to table, b: byte size of record of reference-to table, n: value of foreign key).
- 6. The system according to claim 4, wherein
when a natural object which belongs to an object type corresponding to a primary key of the table, and is to be converted has been entered in a record adding process to any of the tables, or when a natural object which belongs to an object type corresponding to a foreign key of the table, and is to be converted has not been entered, then said conversion unit does not allow the record adding process to be performed.
- 7. The system according to claim 3, wherein
said conversion unit assigns an object ID associated one to one to a complex natural object corresponding to the complex key to a foreign key of a table which is a reference-to table having a complex key as a primary key.
- 8. The system according to claim 3, wherein
said database unit further comprises a reserved reference index indicating an inverse reference of many-to-one external reference relationship by the foreign key.
- 9. The system according to claim 2, wherein
said conversion unit converts a natural object into an object ID using an array storing natural objects in an ascending order and a tree.
- 10. The system according to claim 8, wherein
a plurality of trees are provided corresponding to each group obtained by classifying natural objects.
- 11. A computer-readable storage medium storing, as an entity of a table, each object ID one to one associated with each natural object which is information to be manipulated and used by a user.
- 12. A computer-readable storage medium for storing a table storing an object ID associated with each natural object in a field of a foreign key, and having a database structure directly indicating a position of a record of a reference-to table by the object ID.
- 13. A data manipulating method, comprising:
assigning an object ID which is a unique value to each natural object which is information to be manipulated and used by a user while equal intervals can be set consecutively; storing the object ID as an entity of a table in a database; and data manipulation is performed while bidirectionally converting a natural object and an object ID one to one using an object ID stored in the database.
- 14. The method according to claim 13, wherein
a position of the record of a reference-to table is obtained using an object ID of a foreign key in a reference-from table of the database and a predetermined equation as necessary.
- 15. A database management system which provides a service to an external unit by performing a process corresponding to a request relating to a natural object recognizable in a real world when a request for data manipulations to add, delete, update, etc. data on a database is received from an external unit, comprising:
an object conversion unit converting each of a plurality of natural objects and each of a plurality of object IDs of consecutive data according to a predetermined rule in a unique relationship and a bidirectional manner; and a database storing a table of a hierarchical structure comprising the object IDs converted by said object conversion unit as a permanent object holding data during a period in which the system is utilized in either an operation mode in which a service is offered to an external unit, or in an inoperable mode in which a service is stopped, wherein said tables of the hierarchical structure stored in said database are formed by a data structure by connecting a lower table with another lower table through at least one upper table on a chain and in a bidirectional manner by providing an object ID, as a foreign key in an upper table forming an arbitrary hierarchy with a lower table, functioning as a pointer directly and uniquely designating a target row in the lower table without searching the target row, and an object ID, which indicates the row in the lower table, directly designating all rows that have foreign keys designating the target row in the upper table without searching.
- 16. The system according to claim 15, wherein
said conversion unit converts each of a plurality of natural objects and each of a plurality of object IDs of data uniquely computable in a predetermined arithmetic operation in a unique relationship and a bidirectional manner.
- 17. The system according to claim 16, wherein
said conversion unit converts each of a plurality of natural objects and each of a plurality of object IDs of data uniquely computable in an arithmetic operation in a unique relationship and a bidirectional manner.
- 18. The system according to claim 15, wherein
said object conversion unit converts each of a plurality of natural objects and each of a plurality of object IDs of an arithmetic progression starting with “p” at equal intervals of “q” in a unique relationship and a bidirectional manner.
- 19. The system according to claim 18, wherein
a physical address of a row in a first table connected using as a pointer an object ID of an arbitrary row and column in a second table can be computed by an equation of physical address=a+b*(n−p)÷q (where a indicates a leading address of the first table, b indicates a byte size of a row in the first table; and n indicates a value of the object ID).
- 20. The system according to claim 15, wherein
said object conversion unit converts each of a plurality of natural objects and each of a plurality of object IDs of consecutive integers equal to or larger than “0” in a unique relationship and a bidirectional manner.
- 21. The system according to claim 20, wherein
a physical address of a row in a first table connected using as a pointer an object ID of an arbitrary row and column in a second table can be computed by an equation of physical address=a+b*n (where a indicates a leading address of the first table, b indicates a byte size of a row in the first table; and n indicates a value of the object ID).
- 22. The system according to claim 15, wherein
when data of an object ID which is a foreign key of the table is a value of “i”, the row of the other table is an i-th row.
- 23. The system according to claim 15, wherein
said foreign key of the table has the same value as a composite object ID of a plurality of columns in the other table, and uniquely designates a row of the other table using the composite object ID as a pointer.
- 24. A method of generating a data structure comprising a plurality of steps in a database management system which offers a service to an external unit by executing a process request when a request for data manipulations to add, delete, update, etc. data on a database is received from an external unit relating to a natural object recognizable in a real world, comprising the steps of:
converting each of a plurality of natural objects and each of a plurality of object IDs of consecutive data according to a predetermined rule in a unique relationship and a bidirectional manner; and storing a database when storing a table of a hierarchical structure comprising the object IDs converted from the natural objects as a permanent object holding data during a period in which the system is utilized in either an operation mode in which a service is offered to an external unit, or in an inoperable mode in which a service is stopped in a data structure by connecting a lower table with another lower table through at least one upper table on a chain and in a bidirectional manner by providing an object ID, as a foreign key in an upper table forming an arbitrary hierarchy with a lower table, functioning as a pointer directly and uniquely designating a target row in the lower table without searching the target row, and an object ID, which indicates the row in the lower table, directly designating all rows that have foreign keys designating the target row in the upper table without searching.
- 25. The method according to claim 24, wherein
in said step of converting each of the plurality of natural objects and each of the plurality of object IDs in a bidirectional manner, said natural objects are converted using an array and a tree index for storage in a storing order.
- 26. The method according to claim 25, wherein
in said step of converting each of the plurality of natural objects and each of the plurality of object IDs in a bidirectional manner, said natural objects are converted in a hash search method.
- 27. The method according to claim 25, wherein
said method is realized by a program downloaded to a database management system from a portable storage medium or a program downloaded to a database management system from an external information processing device through a network.
- 28. A storage medium storing data to be processed in a database management system, wherein
a table of a hierarchical structure comprising a plurality of object IDs of consecutive data according to a predetermined rule converted in a unique relationship from a plurality of natural objects is stored as a permanent object storing data during a period in which the system is utilized in either an operation mode in which a service is offered to an external unit, or in an inoperable mode in which a service is stopped, and the stored tables of the hierarchical structure have a data structure formed by connecting a lower table with another lower table through at least one upper table on a chain and in a bidirectional manner by providing an object ID, as a foreign key in an upper table forming an arbitrary hierarchy with a lower table, functioning as a pointer directly and uniquely designating a target row in the lower table without searching the target row, and an object ID, which indicates the row in the lower table, directly designating all rows that have foreign keys designating the target row in the upper table without searching.
CROSS REFERENCE
[0001] This patent application is a Continuation in part application of the previous U.S. patent application, titled “DATABASE MANAGEMENT SYSTEM, METHOD, AND STORAGE MEDIUM THEREFOR”, filed on Jan. 16, 2003, application Ser. No. 10/345,210 and filed on Apr. 8, 2003, application Ser. No. 10/408,129, herein incorporated by reference.
Provisional Applications (2)
|
Number |
Date |
Country |
|
60384409 |
Jun 2002 |
US |
|
60381782 |
May 2002 |
US |
Continuations (1)
|
Number |
Date |
Country |
Parent |
10345210 |
Jan 2003 |
US |
Child |
10408129 |
Apr 2003 |
US |
Continuation in Parts (1)
|
Number |
Date |
Country |
Parent |
10408129 |
Apr 2003 |
US |
Child |
10682734 |
Oct 2003 |
US |