A method, device and system for storing data based on majority
A technology of data storage and majority, applied in the direction of digital data processing, transmission system, input/output process of data processing, etc., can solve the problem of temporary storage machine disk IO increase, fragmentation write operation failure, file loss, etc. question
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0070] Embodiment 1 of the present invention provides a data storage method based on the majority, such as figure 1 As shown, it is a schematic flow chart of the majority-based data storage method described in Embodiment 1 of the present invention, and the method may include the following steps:
[0071] Step 101: The front-end server receives the file upload request, and selects a file group from the file groups of the first preset number according to the file upload request, wherein each file group corresponds to the storage of the second preset number unit.
[0072] Step 102: Receive the data in the file, and according to the selected file group, upload the received data in the file to the storage unit of the second preset number corresponding to the selected file group.
[0073] Step 103: When it is determined that the upload of the data in the file is completed, and the physical information of the file returned by the storage units greater than or equal to the third pres...
Embodiment 2
[0094] Based on the same inventive concept as that of Embodiment 1 of the present invention, Embodiment 2 of the present invention takes the storage unit as the execution subject and provides a method for storing data based on majority faction. The schematic flow chart is as follows image 3 As shown, the method may include the following steps:
[0095] Step 301: the storage unit receives the data in the file uploaded by the front-end server.
[0096] Step 302: Send the physical information of the file to the front-end server after it is determined that the data in the file is received.
[0097] Further, for step 302, when it is determined that the data in the file has been received, send the physical information of the file to the front-end server, the specific behavior may be: when it is determined that the data in the file has been received, send the physical information to the front-end server The server sends the file physical information of SHA1, MD5, and SIZE.
[0098...
Embodiment 3
[0107] Based on the same inventive concept as that of Embodiment 1 of the present invention, Embodiment 3 of the present invention provides a front-end server. For the specific implementation of the front-end server, please refer to the relevant description in Embodiment 1 of the above-mentioned method. Structural diagram such as Figure 4 As shown, the front-end server mainly includes:
[0108] The receiving unit 41 is configured to receive a file upload request, and select a file group from a first preset number of file groups according to the file upload request, wherein each file group corresponds to a second preset number of files storage unit;
[0109] The upload unit 42 can be used to receive the data in the file, and according to the selected file group, upload the received data in the file to the storage unit of the second preset number corresponding to the selected file group superior;
[0110] The processing unit 43 can be used to determine that the upload of the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


