Data storage method, data reading method, data storage equipment and data reading equipment
A data storage and data technology, applied in the information field, can solve the problems of large system resources, consumption, complex operation process of multiple requests, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] A data storage method, and the method of this embodiment can be applied to a data processing system, when the server receives a write request from a client, the data storage method, the flow chart is as follows figure 1 shown, including:
[0045] Step 101, the first thread pool unit divides the file requested to be stored in the first write request into object data;
[0046] Step 102, the first thread pool unit divides the file requested to be stored in the second write request into object data, and at the same time, the second thread pool unit stores the object data corresponding to the first write request.
[0047] In this embodiment, the process of dividing the file into object data, that is, the object sub-process, and the process of storing object data are executed in different thread pool units, and different central processing units (CPUs) are used to execute respective processes simultaneously. step.
[0048] Moreover, the above-mentioned first write request a...
Embodiment 2
[0051] A data storage method, and the method of this embodiment can be applied to a data processing system, when the server receives a write request from a client, the data storage method, the flow chart is as follows figure 2 shown, including:
[0052] Step 201, the first thread pool unit divides the file requested to be stored in the first write request into object data, and divides the file requested to be stored in the second write request into object data;
[0053] When the first thread pool unit divides the file requested to be stored into object data in the second write request, the second thread pool unit stores the object data corresponding to the first write request;
[0054] In this embodiment, the second thread pool unit stores the object data corresponding to the first write request through the following steps, mainly through the first subunit and the second subunit:
[0055] Step 202, the first subunit calculates the first data content identifier of the object ...
Embodiment 3
[0078] A data storage method, the flow chart is as follows Figure 5 shown, including:
[0079] Step 301, dividing the file requested to be stored in the write request into object data;
[0080] Step 302, dividing the object data into two or more fragment data;
[0081] It can be understood that when dividing object data into fragment data, the object data corresponding to a write request can be divided into two or more pieces of fragment data on average according to the data size. Specifically, several pieces can be preset in the system; Other preset rules to divide fragment data;
[0082] Step 303. Simultaneously calculate the content identifiers of the fragment data corresponding to the two or more pieces of fragment data;
[0083] Different CPUs can be used to synchronously calculate the content identifiers of two or more pieces of segment data.
[0084] Step 304, splicing the fragment data content identifiers corresponding to the two or more pieces of fragment data in...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com