A data storage method and device
A data storage and data tuple technology, applied in the computer field, can solve problems such as ineffective data migration and high data storage costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] figure 1 It is a flow chart of a data storage method provided in Embodiment 1 of this application.
[0057] Embodiment 1 of this application provides such as figure 1 One data storage method is shown applied to physical nodes.
[0058] In the embodiment of the present application, preferably, the physical node is a data storage unit, such as a hard disk.
[0059] Specifically, the inventor can arbitrarily set the number of physical nodes according to his own needs, which is not limited here.
[0060] Such as figure 1 As shown, the method includes:
[0061] S101. Divide the data to be stored into multiple data tuples, the data tuples include the information to be stored associated with the customer indicated by the unique customer information in the data to be stored;
[0062] In the embodiment of the present application, preferably, when there is data that needs to be stored in a physical node, that is, when there is data to be stored, it is first necessary to divi...
Embodiment 2
[0108] Figure 6 It is a schematic structural diagram of a data storage device provided in Embodiment 2 of the present application.
[0109] Such as Figure 6 As shown, the device includes:
[0110] A dividing unit 61, configured to divide the data to be stored into a plurality of data tuples, the data tuples include the information to be stored associated with the customer indicated by the unique customer information in the data to be stored;
[0111] The first mapping unit 62 is configured to use a preset consistent hash algorithm to map each data tuple into a virtual ring organized by a hash value space;
[0112] The determination unit 63 is used to determine the positions corresponding to each physical node in the virtual circle according to the position of the data tuple in the virtual circle and the position of the predefined virtual node corresponding to the physical node in the virtual circle through the consistent hash algorithm. The data tuple corresponding to the...
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