IP Library Granted Patent US 11,586,629
Granted Patent B2
US 11,586,629 · App. 15/947,019 · Granted Feb 21, 2023

Method and device of storing data object

Inventors: Fengtao Xie (Xi'an, CN); Yuehua Dai (Xi'an, CN); Haizhu Shao (Xi'an, CN)
Assignee: Samsung Electronics Co., Ltd.
G06F16/24552G06F16/13G06F16/182G06F16/2291G06F16/2358
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,586,629
App. No.
15/947,019
Granted
Feb 21, 2023
Kind
B2
Abstract

A method of storing a data object includes dividing data of a data object into a first part of data and a second part of data, in response to receiving a writing request for a data object, the first part of data including a data field of the data object, the second part of data including a meta data of the data object; writing the first part of data into a first data file stored in a first external storage device; and writing, into a second data file stored in a second external storage device, first location information, and the second part of data, the first location information including location information of the first part of data within the first external storage device.

Claims (67)

1. A method of storing a data object, the method comprising:

receiving a writing request for a data object, the data object including a data field and meta data;

dividing the data object, including the data field and the meta data, into a first part of data and a second part of data, in response to receiving the writing request for the data object, such that the first part of data includes the data field of the data object, the second part of data includes the meta data of the data object, the first part of data is larger than the second part of data, and the second part of the data includes data with a higher access frequency than the first part of data;

writing the first part of data into a first data file stored in a first external storage device; and

writing first location information and the second part of data into a second data file stored in a second external storage device,

wherein the first location information includes location information of the first part of data within the first external storage device, and

wherein the meta data of the data object includes information describing a data property of the data object.

2. The method of claim 1 , wherein,

a length of the data field included in the first part of data is larger than a first threshold value, and

the second part of data further includes a data field in the data object, a length of the data field included in the second part of data not being larger than a second threshold value.

3. The method of claim 1 , further comprising:

after writing the first part of data into the first data file stored in the first external storage device, and before writing the first location information and the second part of data into the second data file stored in the second external storage device,

writing the first location information and the second part of data into a log file of a file system; and

storing the log file into the first external storage device or the second external storage device.

4. The method of claim 1 , further comprising:

in response to receiving a reading request for the data object,

loading the first location information and the second part of data into a cache region of a memory from the second external storage device;

reading the data field of the data object from the first external storage device;

reading the meta data of the data object included in the second part of data from the cache region of the memory;

generating recombined data by recombining the read meta data with the read data field; and

returning the recombined data.

5. The method of claim 1 , wherein,

the first location information is location information of structure description information of the first part of data in the first external storage device, and the structure description information includes location information and length information of respective data fields included in the first part of data in the first data file; or

the first location information is location information and length information of the respective data fields included in the first part of data within the first external storage device.

6. The method of claim 1 , wherein the first external storage device and the second external storage device are the same external storage device.

7. The method of claim 1 , wherein the first external storage device and the second external storage device are different external storage devices.

8. A device of storing a data object, the device comprising:

memory storing computer-executable instructions; and

a processor configured to execute the computer-executable instructions such that the processor is configured to,

receive a writing request for a data object, the data object including a data field and meta data,

divide the data object, including the data field and the meta data, into a first part of data and a second part of data, in response to receiving the writing request for the data object such that the first part of data includes the data field of the data object, the second part of data includes the meta data of the data object, the first part of the data is larger than the second part of the data, and the second part of the data includes data with a higher access frequency than the first part of data,

write the first part of data into a first data file stored in a first external storage device, and

write first location information and the second part of data into a second data file stored in a second external storage device,

wherein the first location information including location information of the first part of data within the first external storage device, and

wherein the meta data of the data object includes information describing a data property of the data object.

9. The device of claim 8 , wherein the processor is configured to execute the computer-executable instructions such that,

a length of the data field included in the first part of data is larger than a first threshold value, and

the second part of data further includes a data field in the data object, a length of the data field of the second part of data not being larger than a second threshold value.

10. The device of claim 8 , wherein the processor is configured to execute the computer-executable instructions such that the processor is further configured to,

write the first location information and the second part of data into a log file of a file system, after the writing of the first part of data into the first data file stored in the first external storage device and before the writing of the first location information and the second part of data into the second data file stored in the second external storage device, and

store the log file into the first external storage device or the second external storage device.

11. The device of claim 8 , wherein the processor is configured to execute the computer-executable instructions such that the processor is further configured to load the first location information and the second part of data from the second external storage device into a cache region of a memory, in response to receiving a reading request of the data object.

12. The device of claim 8 , wherein,

the first location information is location information of structure description information of the first part of data in the first external storage device, and the structure description information includes location information and length information of respective data fields included in the first part of data in the first data file; or

the first location information is location information and length information of the respective data fields included in the first part of data in the first external storage device.

13. The device of claim 12 , wherein the first external storage device and the second external storage device are the same external storage device.

14. The device of claim 12 , wherein the first external storage device and the second external storage device are different external storage devices.

15. A non-transitory computer readable storage medium storing computer-executable instructions that, when executed by a processor, cause the processor to perform operations including:

receiving a writing request for a data object, the data object including a data field and meta data;

dividing the data object, including the data field and the meta data, into a first part of data and a second part of data, in response to receiving the writing request of the data object, such that the first part of data includes the data field of the data object, the second part of data includes the meta data of the data object, the first part of data is larger than the second part of data, and the second part of the data includes data with a higher access frequency than the first part of data;

writing the first part of data into a first data file stored in a first external storage device; and

writing location information of the first part of data in the first external storage device and the second part of data into a second data file stored in a second external storage device,

wherein the meta data of the data object includes information describing a data property of the data object.

16. The non-transitory computer readable storage medium of claim 15 , wherein the first external storage device and the second external storage device are the same external storage device.

17. The non-transitory computer readable storage medium of claim 15 , wherein the first external storage device and the second external storage device are different external storage devices.

18. The method of claim 1 , further comprising:

updating the data field stored in the first data file in response to an update request;

deleting an old data field from the first data file; and

updating the first location information by replacing location information of the old data field with location information of the updated data field.

19. The device of claim 8 , wherein the processor is configured to execute the computer-executable instructions such that the processor is further configured to:

update the data field stored in the first data file in response to an update request;

delete an old data field from the first data file; and

update the first location information by replacing location information of the old data field with location information of the updated data field.

20. The device of claim 15 , wherein the computer-executable instructions, when executed by a processor, cause the processor to further perform operations including:

update the data field stored in the first data file in response to an update request;

delete an old data field from the first data file; and

update the first location information by replacing location information of the old data field with location information of the updated data field.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 6, 2018
From: XIE, FENGTAO; DAI, YUEHUA; SHAO, HAIZHU
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 045462/0426 →
Priority Claims (1)
CN 201710706073.6 · Aug 17, 2017 · national
Continuity (1)
Related Publication 20190057090A1 · Feb 21, 2019