DATA MANAGEMENT METHOD, DATA MANAGEMENT PROGRAM, AND DATA MANAGEMENT DEVICE
First Claim
1. A data management method which is used in a data management device comprising a data storage unit, an object referring module, and an object area reclaim module, and manages data stored in the data storage unit,the data corresponding to an entry which includes a reference to another entry and being managed in a set which is a collection of pieces of the data,the set corresponding to a linked list in which the entry corresponding to the data is linked in order of addition of the data to the set,the entry including an insertion time sequence number inserted into the linked list and deletion identification information indicating whether or not the data has been deleted from the set,the data management method including the steps of:
- separating, by the object area reclaim module, the entry from the linked list in a thread different from the thread of the object referring module in a case where the data has been deleted from the set;
sequentially referring to, by the object referring module, the data corresponding to the entry by tracing the linked entries from a head entry of the linked list;
comparing, by the object referring module, the insertion time sequence number of a reference entry corresponding to the data to be referred to with the insertion time sequence number of an entry linking the reference entry; and
sequentially referring to, by the object referring module, the data corresponding to the entry from an entry linked to a referred-to entry in which the data has already been referred to in a case where the insertion time sequence number of the reference entry is later than the insertion time sequence number of the entry linking the reference entry.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided is a data management method. Data corresponds to an entry including a reference to another entry and is managed in a set which is a collection of pieces of the data. The set corresponds to a linked list where the entry corresponding to the data is linked in order of addition of the data. The entry includes an insertion time sequence number inserted into the linked list and information indicating if the data has been deleted from the set. In that case, the entry is separated from the linked list at a predetermined timing. The linked list is traced to refer to the data. When the insertion time sequence number of the reference entry is later than the insertion time sequence number of the entry which has already been referred to, it is judged that the reference entry has been separated from the linked list.
-
Citations
13 Claims
-
1. A data management method which is used in a data management device comprising a data storage unit, an object referring module, and an object area reclaim module, and manages data stored in the data storage unit,
the data corresponding to an entry which includes a reference to another entry and being managed in a set which is a collection of pieces of the data, the set corresponding to a linked list in which the entry corresponding to the data is linked in order of addition of the data to the set, the entry including an insertion time sequence number inserted into the linked list and deletion identification information indicating whether or not the data has been deleted from the set, the data management method including the steps of: -
separating, by the object area reclaim module, the entry from the linked list in a thread different from the thread of the object referring module in a case where the data has been deleted from the set; sequentially referring to, by the object referring module, the data corresponding to the entry by tracing the linked entries from a head entry of the linked list; comparing, by the object referring module, the insertion time sequence number of a reference entry corresponding to the data to be referred to with the insertion time sequence number of an entry linking the reference entry; and sequentially referring to, by the object referring module, the data corresponding to the entry from an entry linked to a referred-to entry in which the data has already been referred to in a case where the insertion time sequence number of the reference entry is later than the insertion time sequence number of the entry linking the reference entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A storage medium recorded with a data management program which is used in a data management device comprising a data storage unit and an object area reclaim module, and is executed for managing data stored in the data storage unit,
the data corresponding to an entry which includes a reference to another entry and being managed in a set which is a collection of pieces of the data, the set corresponding to a linked list in which the entry corresponding to the data is linked in order of addition of the data to the set, the entry including an insertion time sequence number inserted into the linked list and deletion identification information indicating whether or not the data has been deleted from the set, the object area reclaim module separating the entry from the linked list in a thread different from the thread in which the program is being executed in a case where the data has been deleted from the set, the program including procedures of: -
sequentially referring to the data corresponding to the entry by tracing the linked entries from a head entry of the linked list; comparing the insertion time sequence number of a reference entry corresponding to the data to be referred to with the insertion time sequence number of an entry linking the reference entry; and sequentially referring to the data from an entry linked to a referred-to entry in which the data has already been referred to in a case where the insertion time sequence number of the reference entry is later than the insertion time sequence number of the entry linking the reference entry.
-
-
13. A data management device, comprising:
-
a data storage unit; an object referring module; and an object area reclaim module, the data management device managing data stored in the data storage unit, wherein; the data corresponds to an entry which includes a reference to another entry and is managed in a set which is a collection of pieces of the data; the set corresponds to a linked list in which the entry corresponding to the data is linked in order of addition of the data to the set; the entry includes an insertion time sequence number inserted into the linked list and deletion identification information indicating whether or not the data has been deleted from the set; the object area reclaim module separates the entry from the linked list in a thread different from the thread of the object referring module in a case where the data has been deleted from the set; and the object referring module is configured to; sequentially refer to the data corresponding to the entry by tracing the linked entries from a head entry of the linked list; compare the insertion time sequence number of a reference entry corresponding to the data to be referred to with the insertion time sequence number of an entry linking the reference entry; and sequentially refer to the data corresponding to the entry from an entry linked to a referred-to entry in which the data has already been referred to in a case where the insertion time sequence number of the reference entry is later than the insertion time sequence number of the entry linking the reference entry.
-
Specification