A data reading and writing method and system for a shared volume of distributed block storage
A technology of data reading and writing and block storage, which is applied in transmission system, electrical digital data processing, input/output process of data processing, etc., can solve problems such as storage data errors, and achieve the effect of simplifying processing logic
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] see image 3 As shown in the figure, when a virtual machine uses distributed block storage, it needs to access it through the client program provided by the storage. The virtual machine runs on the physical machine and is embodied as an independent process. In the virtual machine process, a private client of distributed storage is run. When the virtual machine reads and writes volumes, it needs to access the stored data through the client. The data itself is stored in on the backend storage server.
[0044] When the distributed block storage reads and writes data, the client usually first slices the data of the volume. The length of the slice is fixed, such as 4MB. The address and length can be mapped to one or more specific data fragments, and then each data fragment is sent to the back-end storage server according to certain rules, and the storage server saves the fragmented data.
[0045] The embodiment of the present invention provides a method for reading and wri...
Embodiment 2
[0063] An embodiment of the present invention provides a data reading and writing system for a shared volume of distributed block storage, including:
[0064] The data sharding module is used for: performing data sharding on the shared volume of the distributed block storage, adding a version number in each piece of data; adding a 64-bit version number at the head of each data piece.
[0065] The storage client is used for: when reading the fragmented data from the storage server, read the version number of the fragmented data at the same time; when processing the read fragmented data, add 1 to the version number of the fragmented data, and Send the data to be written and the version number after adding 1 to the storage server at the same time;
[0066] The storage server is used for: verifying the version number, if it is detected that the version number of the data written by the client is equal to or smaller than the version number in the storage server, the writing is refu...
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