Memory device with data scrubbing capability and methods
US-2024393961-A1 · Nov 28, 2024 · US
US2018074729A1 · US · A1
| Field | Value |
|---|---|
| Publication number | US-2018074729-A1 |
| Application number | US-201715410953-A |
| Country | US |
| Kind code | A1 |
| Filing date | Jan 20, 2017 |
| Priority date | Sep 14, 2016 |
| Publication date | Mar 15, 2018 |
| Grant date | — |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
The present application discloses a data storage method and apparatus. A specific implementation of the method includes: acquiring to-be-serialized data and a description file related to the to-be-serialized data, wherein the to-be-serialized data includes a data name and a data value, and the description file includes a file identifier and at least one data element, the data element includes at least one data item, and the data item includes a data item name and a data type; allocating a memory space to the data item according to the data type; finding, according to a preset matching relationship between the to-be-serialized data and the data item, a data item matched with the to-be-serialized data; and storing the data value into the memory space of the found data item as a data item value of the found data item. This implementation improves the data storage efficiency.
Opening claim text (preview).
What is claimed is: 1 . A data storage method, comprising: acquiring to-be-serialized data and a description file related to the to-be-serialized data, the to-be-serialized data comprising a data name and a data value, and the description file comprising a file identifier and at least one data element, the data element comprising at least one data item, and the data item comprising a data item name and a data type; allocating a memory space to the data item according to the data type; finding, according to a preset matching relationship between the to-be-serialized data and the data item, a data item matched with the data name; and storing the data value into the memory space for the found data item as a data item value of the found data item. 2 . The method according to claim 1 , wherein the allocating a memory space to the data item according to the data type comprises: generating a storage address according to a file identifier of a file to which the data item belongs, a data element identifier of a data element to which the data item belongs, and the data item name, the storage address pointing to the memory space allocated to the data item. 3 . The method according to claim 2 , wherein the storing the data value into the memory space of the found data item as a data item value of the found data item comprises: determining whether a type of the data value is consistent with the data type of the found data item; determining whether the data value falls within a predetermined data range of the data item value of the found data item, in response to the type of the data value being consistent with the data type of the found data item; and storing the data value into the memory space of the found data item as the data item value in response to the data value falling within the data range. 4 . The method according to claim 1 , wherein after the data value is stored into the memory space of the found data item as a data item value of the found data item, the method further comprises: encrypting the data item value; and transmitting the encrypted data item value. 5 . The method according to claim 4 , wherein the method further comprises: setting a reading mode identifier for the data item, the reading mode identifier comprising a mandatory reading identifier or an optional reading identifier, and the reading mode being used for indicating a mode in which a process that receives the transmitted data item value reads the transmitted data item value; and wherein the allocating a memory space to the data item according to the data type further comprises: allocating the memory space to the data item according to the data type and the reading mode identifier. 6 . A data storage apparatus, comprising: an acquiring unit, configured to acquire to-be-serialized data and a description file related to the to-be-serialized data, the to-be-serialized data comprising a data name and a data value, and the description file comprising a file identifier and at least one data element, the data element comprising at least one data item, and the data item comprising a data item name and a data type; an allocation unit, configured to allocate a memory space to the data item according to the data type; a search unit, configured to find, according to a preset matching relationship between the to-be-serialized data and the data items, a data item matched with the data name; and a storage unit, configured to store the data value into the memory space of the found data item as a data item value of the found data item. 7 . The apparatus according to claim 6 , wherein the allocation unit is further configured to: generate a storage address according to a file identifier of a file to which the data item belongs, a data element identifier of a data element to which the data item belongs, and the data item name, wherein the storage address points to the memory space allocated to the data item. 8 . The apparatus according to claim 7 , wherein the search unit is further configured to: determine whether a type of the data value is consistent with the data type of the found data item; determine whether the data value falls within a predetermined data range of the data item value of the found data item, in response to that the type of the data value being consistent with the data type of the found data item; and store the data value into the memory space of the found data item as the data item value in response to the data value falling within the data range. 9 . The apparatus according to claim 6 , wherein the apparatus further comprises: an encryption unit, configured to encrypt the data item value; and a transmission unit, configured to transmit the encrypted data item value. 10 . The apparatus according to claim 9 , wherein the apparatus further comprises: a setting unit, configured to set a reading mode identifier for the data item, the reading mode identifier comprising a mandatory reading identifier or an optional reading identifier, wherein the reading mode is used for indicating a mode in which a process that receives the transmitted data item value reads the transmitted data item value; and the allocation unit is further configured to: allocate the memory space to the data item according to the data type and the reading mode identifier. 11 . A non-transitory computer storage medium storing a computer program, which when executed by a computer, cause the computer to perform operations, the operations comprising: acquiring to-be-serialized data and a description file related to the to-be-serialized data, the to-be-serialized data comprising a data name and a data value, and the description file comprising a file identifier and at least one data element, the data element comprising at least one data item, and the data item comprising a data item name and a data type; allocating a memory space to the data item according to the data type; finding, according to a preset matching relationship between the to-be-serialized data and the data item, a data item matched with the data name; and storing the data value into the memory space for the found data item as a data item value of the found data item. 12 . The non-transitory computer storage medium according to claim 11 , wherein the allocating a memory space to the data item according to the data type comprises: generating a storage address according to a file identifier of a file to which the data item belongs, a data element identifier of a data element to which the data item belongs, and the data item name, the storage address pointing to the memory space allocated to the data item. 13 . The non-transitory computer storage medium according to claim 12 , wherein the storing the data value into the memory space of the found data item as a data item value of the found data item comprises: determining whether a type of the data value is consistent with the data type of the found data item; determining whether the data value falls within a predetermined data range of the data item value of the found data item, in response to the type of the data value being consistent with the data type of the found data item; and storing the data value into the memory space of the found data item as the data item value in response to the data value falling within the data range. 14 . The non-transitory computer storage medium according to claim 11 , wherein after the data value is stored into the memory space of the found data item as a data item value of the found data item, the operations further comprises: encrypting the data item value; and transmitting th
by allocating resources to storage systems · CPC title
Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS] · CPC title
Replication mechanisms · CPC title
in relation to data integrity, e.g. data losses, bit errors · CPC title
Indexing; Data structures therefor; Storage structures · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.