Data structure determining method for hierarchically structured data corresponding to identifiers and apparatus thereof
First Claim
1. A data structure determining method for hierarchically structured data including two or more data pieces having a hierarchical relationship, comprising the steps of:
- adding an identifier to a data piece that is an element of the hierarchically structured data;
determining whether or not there are two or more data pieces with the same identifier in a hierarchical data sequence including a first data piece and a second data piece placed below the first data piece, by retrieving data pieces in different hierarchical levels and comparing identifiers of the data pieces in the different hierarchical levels; and
determining that an infinite hierarchical structure takes place when there are two or more data pieces with the same identifier if the second data piece is placed below the first data piece.
1 Assignment
0 Petitions
Accused Products
Abstract
A structure of hierarchically structured data including two or more data pieces having a hierarchical relationship is determined. An identifier is added to a data piece that is an element of the hierarchically structured data. The method determines whether or not there are two or more data pieces with the same identifier as the identifier of a first data piece, in a hierarchical data sequence composed of the first data piece and a second data piece placed below the first data piece, determines that an infinite hierarchical structure takes place when there are two or more data pieces with the same identifier if the second data piece is placed below the first data piece, and determines that an infinite hierarchical structure does not take place when there are not two or more data pieces with the same identifier, even if the second data piece is placed below the first data piece. Corresponding to the determined result, the data placement that results in an occurrence of an infinite hierarchical structure can be prevented.
20 Citations
21 Claims
-
1. A data structure determining method for hierarchically structured data including two or more data pieces having a hierarchical relationship, comprising the steps of:
-
adding an identifier to a data piece that is an element of the hierarchically structured data; determining whether or not there are two or more data pieces with the same identifier in a hierarchical data sequence including a first data piece and a second data piece placed below the first data piece, by retrieving data pieces in different hierarchical levels and comparing identifiers of the data pieces in the different hierarchical levels; and determining that an infinite hierarchical structure takes place when there are two or more data pieces with the same identifier if the second data piece is placed below the first data piece. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data structure determining apparatus for hierarchically structured data comprised of two or more data pieces having a hierarchical relationship, comprising:
-
data storing means for storing a data piece that has an identifier and that is an element of the hierarchically structured data; and processing means for determining whether or not there are two or more data pieces with the same identifier in a hierarchical data sequence comprising a first data piece and a second data piece placed below the first data piece, by retrieving data pieces in different hierarchical levels and comparing identifiers of the data pieces in the different hierarchical levels, and determining that an infinite hierarchical structure takes place when there are two or more data pieces with the same identifier if the second data piece is placed below the first data piece. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A data structure determining method for hierarchically structured data including two or more data pieces having a hierarchical relationship, comprising the steps of:
-
determining that an infinite hierarchial structure takes place when there are two or more same data pieces in a hierarchical data sequence in which a data piece is newly placed, by retrieving data pieces in different hierarchical levels and comparing the data pieces in the different hierarchical levels; and determining that an infinite hierarchical structure does not take place when there are not the same data pieces in the hierarchical data sequence in which the data piece is placed. - View Dependent Claims (18)
-
-
19. A method for managing hierarchically structured data pieces including a destination data piece having a corresponding destination identifier, comprising the steps of:
-
adding a new identifier to a new data piece placed in a hierarchical level of a hierarchical sequence different from the destination data piece; determining whether the destination data piece can have a lower hierarchical structure; retrieving and comparing the destination data piece and the new data piece; and adding the new data piece to the lower hierarchical structure of the destination data piece, if the new identifier is different from the destination identifier. - View Dependent Claims (20)
-
-
21. A method for structuring data pieces as elements of hierarchically structured data, including a first data piece positioned in a first hierarchical level of a hierarchical data sequence, and a second data piece positioned in a second hierarchical level of the hierarchical data sequence different from the first hierarchical level, comprising the steps of:
-
retrieving and comparing the first data piece and the second data piece; and determining that an infinite hierarchical structure takes place when the first data piece is the same as the second data piece.
-
Specification