Method and system for generating string-based addresses
First Claim
1. A method comprising:
- generating, by a processor, a first address string based on a set of attributes of a first object included in a database and a set of attributes of a second object included in the database, the set of attributes of the first object containing the second object and the set of attributes of the second object referencing a third object from the database, the first address string indicating, based on the set of attributes of the first object containing the second object and the set of attributes of the second object referencing the third object, a first relationship that deletion of the first object from the database will lead to deletion of the second object and a second relationship that deletion of the second object will not lead to deletion of the third object;
storing the first object in a first location in an object storage area associated with the database;
storing the second object in a second location in the object storage area, the second location being based on the first relationship indicated by the first address string;
storing the third object in a third location in the object storage area, the third location being based on the second relationship indicated by the first address string; and
storing the first address string in an address string storage area in association with the first object, the first address string including a first indicator of the first location, a second indicator of the second location, and a third indicator of the third location.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and system are described that may generate and process address strings, for example, for database entities such as objects. An example method may include generating a first address string representing a first relational path associated with a first database query retrieval of a first object, and storing the first address string in association with the first object. Another example method may include receiving a query requesting information associated with an entity related to one or more objects included in a database. The method may further include retrieving a first address string based on a search of address strings to determine address strings that indicate the entity, the first address string representing a first relational path associated with a database query retrieval of a first object, and retrieving the first object based on the retrieved first address string.
28 Citations
24 Claims
-
1. A method comprising:
-
generating, by a processor, a first address string based on a set of attributes of a first object included in a database and a set of attributes of a second object included in the database, the set of attributes of the first object containing the second object and the set of attributes of the second object referencing a third object from the database, the first address string indicating, based on the set of attributes of the first object containing the second object and the set of attributes of the second object referencing the third object, a first relationship that deletion of the first object from the database will lead to deletion of the second object and a second relationship that deletion of the second object will not lead to deletion of the third object; storing the first object in a first location in an object storage area associated with the database; storing the second object in a second location in the object storage area, the second location being based on the first relationship indicated by the first address string; storing the third object in a third location in the object storage area, the third location being based on the second relationship indicated by the first address string; and storing the first address string in an address string storage area in association with the first object, the first address string including a first indicator of the first location, a second indicator of the second location, and a third indicator of the third location. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method comprising:
-
receiving, by a processor, a query requesting one or more non-identified objects, the one or more non-identified objects being associated with an identified object; retrieving, from a string address storage area, a first address string based on a search for address strings that indicate the identified object, the first address string indicating; an identity of each of the identified object, a second object, and a third object; a location in the object storage area of each of the identified object, the second object, and the third object; a first relational path associated with a database query retrieval of the identified object, the second object, and the third object; an indication that deleting the second object from the object storage area will lead to deletion of the third object from the object storage area; an indication that deleting the third object from the storage area will not lead to deletion of the identified object from the storage area; and retrieving the second object or the third object based on the location in the object storage area indicated by the retrieved first address string. - View Dependent Claims (13)
-
-
14. A method for querying relational information associated with a first data object, a second data object, and a third data object stored in an object storage area, the method comprising:
-
generating, by a processor, a first relational string based on a set of attributes of the first data object and a set of attributes of the second data object, the set of attributes of the first data object identifying a relationship between the first data object and the second data object and the set of attributes of the second data object identifying a relationship between the second data object and the third data object, the relational string indicating; that deletion of the first data object will lead to deletion of the second data object; that deletion of the second data object will not lead to deletion of the third data object; a first location of the first data object in the object storage area; a second location in the object storage area for the second data object, the second location being based on the first location and the relationship between the first data object and the second data object; and a third location in the object storage area for the third data object, the third location being based on the relationship between the second data object and the third data object; storing a plurality of relational strings in an address string storage area, the plurality of relational strings including the first relational string; storing the first data object in the first location; storing the second object in the second location; storing the third data object in the third location; and in response to a query related to relational information associated with the third data object, searching the stored plurality of the relational strings to retrieve the first relational string, the first relational string indicating; the first and second data objects related to the third data object; the relationships between the first and second data objects and between the second and third data objects; and the locations of each of the first, second, and third data objects.
-
-
15. A system comprising:
-
a processor coupled to a memory, the processor being configured to; generate a first address string based on a set of attributes of a first object included in a database of the memory and a set of attributes of a second object included in the database, the set of attributes of the first object containing the second object and the set of attributes of the second object referencing a third object, the first address string indicating, based on the set of attributes of the first object containing the second object, a first relationship that deletion of the first object from the database requires also deleting the second object, the first address string also indicating, based on the set of attributes of the second object referencing the third object, a second relationship that deletion of the second object from the database does not require deleting the third object; store the first object in a first location in an object storage area associated with the database; store the second object in a second location in the object storage area, the second location being based on the first relationship indicated by the first address string; store the third object in a third location in the object storage area, the third location being based on the second relationship indicated by the first address string; and store the first address string in an address string storage area associated with the database in association with the first object, the first address string including a first indicator of the first location, a second indicator of the second location, and a third indicator of the third location. - View Dependent Claims (16, 17, 18, 19)
-
-
20. A computer program product being stored on a non-transitory computer-readable medium and being configured to cause a data processing apparatus to:
-
generate a first address string based on a set of attributes of a first object included in a database and a set of attributes of a second object included in the database, the set of attributes of the first object containing the second object from the database and the set of attributes of the second object referencing a third object from the database, the first address string indicating, based on the set of attributes of the first object containing the second object, a first relationship that deleting the first object from the database requires also deleting the second object from the database, and based on the set of attributes of the second object referencing the third object, a second relationship that deleting the second object from the database does not require deleting the third object from the database; store the first object in a first location in an object storage area associated with the database; store the second object in a second location in the object storage area, the second location being based on the first relationship indicated by the first address string; store the third object in a third location in the object storage area, the third location being based on the second relationship indicated by the first address string; and store the first address string in an address string storage area associated with the database in association with the first object, the first address string including a first indicator of the first location, a second indicator of the second location, and a third indicator of the third location. - View Dependent Claims (21, 22)
-
-
23. A method comprising:
-
generating, by a processor, a first address string based on a set of attributes of a first object included in a database and a set of attributes of a second object included in the database, the set of attributes of the first object containing the second object and the set of attributes of the second object referencing a third object from the database, the first address string indicating, based on the set of attributes of the first object containing the second object and the set of attributes of the second object referencing the third object, a first relationship that deletion of the first object from the database will require deletion of the second object and a second relationship that deletion of the second object will not require deletion of the third object; storing the first object in a first location in an object storage area associated with the database; storing the second object in a second location in the object storage area, the second location being based on the relationship indicated by the first address string; storing the third object in a third location in the object storage area, the third location being based on the second relationship indicated by the first address string; storing the first address string in an address string storage area in association with the first object, the first address string including a first indicator of the first location, a second indicator of the second location, and a third indicator of the third location; receiving a query requesting information associated with the third object specified in the first address string; retrieving the first address string based on a search of address strings to determine address strings that indicate the third object; and retrieving the first object based on the retrieved first address string.
-
-
24. A method comprising:
-
generating, by a processor, a first address string based on a set of attributes of a first object included in a database and a set of attributes of a second object included in the database, the set of attributes of the first object containing the second object and the set of attributes of the second object referencing a third object from the database, the first address string indicating, based on the set of attributes of the first object containing the second object and the set of attributes of the second object referencing the third object, a first relationship that deletion of the first object from the database will require deletion of the second object and a second relationship that deletion of the second object will not require deletion of the third object; storing the first object in a first location in an object storage area associated with the database; storing the second object in a second location in the object storage area, the second location being based on the relationship indicated by the first address string; storing the third object in a third location in the object storage area, the third location being based on the second relationship indicated by the first address string; storing the first address string in an address string storage area in association with the first object, the first address string including a first indicator of the first location, a second indicator of the second location, and a third indicator of the third location; receiving a query requesting information associated with the third object specified in the first address string; retrieving the first address string based on a search of address strings to determine address strings that indicate the third object; and retrieving the second object based on the retrieved first address string.
-
Specification