Data storage method and device
A data storage and data technology, which is applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of poor data scalability, low data storage efficiency, cumbersome and other problems, and achieve good scalability, high efficiency, Simple process effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] Because the related technology needs to load the database data into the shared memory of the business server by the background daemon process to store the data when storing the data. If the database data is updated, it is necessary to modify the code of the daemon process, and the daemon process after the code modification loads the updated data into the shared memory for storage. When the amount of data is too large, the shared memory cannot load all the data, resulting in poor scalability of the storage structure; in addition, since it is necessary to modify the code of the daemon process to load the updated data into the shared memory for storage, the code modification The process is cumbersome, and the code needs to be modified every time the updated data is loaded, which makes the process of storing the updated data cumbersome, with a long delay, and poor scalability of the data in the shared memory, resulting in low data storage efficiency .
[0029] In order to ...
Embodiment 2
[0055] In order to simplify the data storage process, improve the scalability and efficiency of data storage, and further improve the efficiency of data query, an embodiment of the present invention provides a data storage method. The source of the data stored in the method is the data in the first database, and the data in the first database is stored in the form of data tables, and each data table is composed of multiple columns of data. Combining with the content of the first embodiment above, the method provided in this embodiment is described with an example. see figure 2 , the method flow provided by this embodiment includes:
[0056] 201: Determine at least one data acquisition instruction according to the configuration file, the configuration file is used to describe each data table stored in the first database and the attributes of each column of data under each data table;
[0057] The configuration file may include, but is not limited to, an XML (eXtensible Marku...
Embodiment 3
[0110] An embodiment of the present invention provides a data storage device, and the device is used to implement the data storage method provided in the first or second embodiment above. see image 3 , the device consists of:
[0111] The first determining module 301 is configured to determine at least one data acquisition instruction according to a configuration file, the configuration file is used to describe each data table stored in the first database and the attributes of each column of data under each data table, each The data table corresponds to a data acquisition instruction;
[0112] The first acquisition module 302 is configured to acquire at least one piece of first data under each data table from the first database according to each data acquisition instruction;
[0113] The second determination module 303 is used to determine the key value corresponding to each piece of first data and the second data corresponding to each piece of first data, the second data i...
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