IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
UP-0999864
(2004-11-29)
|
등록번호 |
US-7627547
(2009-12-16)
|
발명자
/ 주소 |
- Jain, Namit
- Ge, Fei
- Murthy, Ravi
- Muralidhar, Subramanian
- Agarwal, Nipun
- Sedlar, Eric
|
출원인 / 주소 |
- Oracle International Corporation
|
대리인 / 주소 |
Hickman Palermo Truong & Becker LLP
|
인용정보 |
피인용 횟수 :
1 인용 특허 :
126 |
초록
▼
A method and apparatus for processing path-based database operations is provided. According to one aspect, a "parent row ID" column is added to a directory links table. For each row in the table, the value of the "parent row ID" column indicates the row ID, in the table, of the node that is that row
A method and apparatus for processing path-based database operations is provided. According to one aspect, a "parent row ID" column is added to a directory links table. For each row in the table, the value of the "parent row ID" column indicates the row ID, in the table, of the node that is that row's node's parent in the file hierarchy. To determine whether a particular node is within a specified path of the file hierarchy, the particular node's pathname is derived by visiting child-to-parent links indicated in the table and prepending, to the front of a pathname being constructed for the particular node, node names indicated in the visited rows. Each parent node's row in the directory links table is located using the "parent row ID" column of the child node's row. The resulting pathname is compared with the specified path to determine whether the particular node exists therein.
대표청구항
▼
What is claimed is: 1. A method of processing path-based database operations, the method comprising: locating a first database table row containing an identifier in a database column for a first directory node in a hierarchy, wherein the first database table row is located at a storage location ind
What is claimed is: 1. A method of processing path-based database operations, the method comprising: locating a first database table row containing an identifier in a database column for a first directory node in a hierarchy, wherein the first database table row is located at a storage location indicated by a first row identifier, and wherein the first database table row contains a second row identifier that indicates a storage location of a second database table row, wherein the second database table row contains a different identifier in said database column for a second directory node that is a parent of the first directory node in the hierarchy; and prepending, to the front of a path name that is being formed, a node name that is indicated in the second database table row; wherein the steps of locating and prepending are performed by a computing device. 2. The method of claim 1, wherein the second database table row includes a third row identifier that indicates a storage location of a third database table row, wherein the third database table row contains an identifier for a third directory node that is a parent of the second directory node in the hierarchy. 3. The method of claim 2, further comprising: prepending, to the front of the path name, a node name that is indicated in the third database table row. 4. The method of claim 1, further comprising: determining, based on the path name, whether the first directory node is in a specified path of the hierarchy. 5. The method of claim 1, wherein locating the first database table row is performed in response to receiving a request to determine whether the first directory node is in a specified path of the hierarchy. 6. The method of claim 5, further comprising: determining whether an entity from which the request was received is associated with a security level that is less than a security level that is indicated by the second database table row; and in response to a determination that the entity from which the request was received is associated with a security level that is less than the security level that is indicated by the second database table row, generating an indication that the entity is not allowed to determine whether the first directory node is in the specified path. 7. The method of claim 1, further comprising: determining whether a path that contains the second directory node is contained in a cache; and in response to a determination that the path is contained in the cache, prepending, to the front of the path name, a string that corresponds to the path. 8. A volatile or non-volatile computer-readable storage medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform steps comprising: locating a first database table row containing an identifier in a database column for a first directory node in a hierarchy, wherein the first database table row is located at a storage location indicated by a first row identifier, and wherein the first database table row contains a second row identifier that indicates a storage location of a second database table row, wherein the second database table row contains a different identifier in said database column for a second directory node that is a parent of the first directory node in the hierarchy; and prepending, to the front of a path name that is being formed, a node name that is indicated in the second database table row. 9. The volatile or non-volatile computer-readable storage medium of claim 8, wherein the second database table row includes a third row identifier that indicates a storage location of a third database table row, wherein the third database table row contains an identifier for a third directory node that is a parent of the second directory node in the hierarchy. 10. The volatile or non-volatile computer-readable storage medium of claim 9, further comprising prepending, to the front of the path name, a node name that is indicated in the third database table row. 11. The volatile or non-volatile computer-readable storage medium of claim 8, further comprising determining, based on the path name, whether the first directory node is in a specified path of the hierarchy. 12. The volatile or non-volatile computer-readable storage medium of claim 8, wherein locating the first database table row is performed in response to receiving a request to determine whether the first directory node is in a specified path of the hierarchy. 13. The volatile or non-volatile computer-readable storage medium of claim 12, further comprising: determining whether an entity from which the request was received is associated with a security level that is less than a security level that is indicated by the second database table row; and in response to a determination that the entity from which the request was received is associated with a security level that is less than the security level that is indicated by the second database table row, generating an indication that the entity is not allowed to determine whether the first directory node is in the specified path. 14. The volatile or non-volatile computer-readable storage medium of claim 8, further comprising: determining whether a path that contains the second directory node is contained in a cache; and in response to a determination that the path is contained in the cache, prepending, to the front of the path name, a string that corresponds to the path. 15. The method of claim 1, wherein the first database table row and the second database table row are both contained in a particular relational database table, wherein the particular relational database table contains a parent row identifier column, and wherein, for each particular database table row of a plurality of rows in the particular relational database table, the particular database table row contains, in a cell of the parent row identifier column, a row identifier of a parent directory node of a directory node whose node name is indicated in the particular database table row. 16. The volatile or non-volatile computer-readable storage medium of claim 8, wherein the first database table row and the second database table row are both contained in a particular relational database table, wherein the particular relational database table contains a parent row identifier column, and wherein, for each particular database table row of a plurality of rows in the particular relational database table, the particular database table row contains, in a cell of the parent row identifier column, a row identifier of a parent directory node of a directory node whose node name is indicated in the particular database table row. 17. The method of claim 1, wherein the first database table row contains a value in a cell in a node name column that indicates a node name of the first directory node; and wherein the second database table row contains a value in a cell in the node name column that indicates a node name of the second directory node. 18. The volatile or non-volatile computer-readable storage medium of claim 8, wherein the first database table row contains a value in a cell in a node name column that indicates a node name of the first directory node; and wherein the second database table row contains a value in a cell in the node name column that indicates a node name of the second directory node.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.