Data storage method, querying method and device
A data storage and data query technology, applied in the database field, can solve the problems of low query performance and occupation of disk resources, and achieve the effect of improving query speed and reducing occupation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0065] see figure 1 , is the flow chart of the first embodiment of the data storage method of the present application:
[0066] Step 101: Obtain a source data table.
[0067] Step 102: Split the source data table according to the column structure.
[0068] Step 103: Group each column of data to obtain multiple data packets, and mark knowledge information for each data packet.
[0069] Specifically, the data values of each column of data are acquired sequentially; it is judged whether the number of acquired data values satisfies the preset total count value, and if the preset total count value is met, the acquired data values are generated into a data packet and returned to execute The aforementioned sequence acquires the data value of each column of data; if the preset total count value is not met, then judge whether the data value of the current column data has been acquired, and if so, generate a data packet from the acquired data value, otherwise, return to execute ...
no. 1 example
[0139] see Figure 6 , which is a block diagram of the first embodiment of the data storage device of the present application:
[0140] The data storage device includes: an acquiring unit 610 , a splitting unit 620 , a grouping unit 630 and a saving unit 640 .
[0141] Wherein, the obtaining unit 610 is used to obtain the source data table;
[0142] A splitting unit 620, configured to split the source data table according to the column structure;
[0143] A grouping unit 630, configured to group each column of data, obtain multiple data packets, and mark knowledge information for each of the data packets;
[0144] The saving unit 640 is configured to save the plurality of data packages and the knowledge information of each data package.
no. 2 example
[0145] see Figure 7 , which is a block diagram of the second embodiment of the data storage device of the present application:
[0146] The data storage device includes: an acquisition unit 710 , a split unit 720 , a grouping unit 730 , a compression unit 740 and a storage unit 750 .
[0147] Wherein, the obtaining unit 710 is used to obtain the source data table;
[0148] A splitting unit 720, configured to split the source data table according to the column structure;
[0149] A grouping unit 730, configured to group each column of data to obtain multiple data packets, and mark knowledge information for each of the data packets;
[0150] A compression unit 740, configured to compress the data packet according to a preset compression algorithm according to the type of the data packet;
[0151] The saving unit 750 is configured to save the compressed data packets and the knowledge information of each data packet.
[0152] Specifically, the grouping unit 730 may include ( ...
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