Method and device for storing data
A technology for storing data and sub-data blocks, applied in the computer field, can solve problems such as inability to meet business logic, affect data interaction efficiency, and reduce storage efficiency, and achieve data synchronization, improve scalability, and prevent data loss.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0079] see figure 1 , this embodiment provides a method for storing data, and the process of the method is as follows:
[0080] 101: Configure a scalable two-dimensional data cache array in the local shared memory according to a preset configuration strategy. The two-dimensional data cache array includes multiple logical data blocks, and each logical data block includes multiple sub-data for storing data Piece;
[0081] 102: According to business logic requirements, load the data on the network storage device into corresponding sub-data blocks.
[0082] Further, after the scalable two-dimensional data cache array is configured in the local shared memory according to the preset configuration strategy, it also includes:
[0083] According to the data stored in each sub-data block, a corresponding data state is set for each sub-data block, and the data state is one of idle state, loading state, normal state, modification state, release state and timing release state.
[0084] ...
Embodiment 2
[0105] This embodiment provides a method for storing data. By configuring a scalable two-dimensional data cache array in the local shared memory, the data that changes continuously with the system operation is not only stored by the network storage device, but also It is loaded from the network storage device into the sub-data blocks of the two-dimensional data cache array, thereby realizing local storage and recall of data. For the convenience of description, in combination with the content of the first embodiment above, this embodiment uses figure 2 The data storage system shown is taken as an example, and the method provided in this embodiment is illustrated in detail. see image 3 , the method flow provided by this embodiment is specifically as follows:
[0106] 301: Configure a scalable two-dimensional data cache array in the local shared memory according to a preset configuration strategy. The two-dimensional data cache array includes multiple logical data blocks, and...
Embodiment 3
[0149] see Figure 7 , this embodiment provides a device for storing data, the device is used to implement the method for storing data provided in Embodiment 1 or Embodiment 2 above, and the device includes:
[0150] The configuration module 701 is configured to configure a scalable two-dimensional data cache array in the local shared memory according to a preset configuration policy, the two-dimensional data cache array includes a plurality of logical data blocks, and each logical data block includes multiple sub-blocks of data;
[0151] The loading module 702 is configured to load data on the network storage device into corresponding sub-data blocks according to business logic requirements.
[0152] Wherein, the local shared memory refers to a large-capacity memory that can be accessed by different central processing units in a multi-tasking processor computer system, and the shared memory can be directly read and written to improve the processing efficiency of the processo...
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