Data storage method and device, data query method and device, server and storage medium
A data storage and data query technology, applied in the field of data processing, can solve the problem of occupying database disk space, and achieve the effect of reducing the space occupied
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 The flow diagram of a data storage method provided by Embodiment 1 of the present invention is applicable to the scenario where data is compressed and then stored in a database. The method can be executed by a data storage device, and the device can use software and / or hardware and can be integrated on the server.
[0053] like figure 1 As shown, the data storage method provided by Embodiment 1 of the present invention includes:
[0054] S110. Receive data to be stored transmitted based on the storage request, where the data to be stored includes one or more text fields, and each text field corresponds to a unique field identifier.
[0055]Wherein, the storage request refers to a request generated when data needs to be stored. The data to be stored refers to the data that needs to be stored in the database. Specifically, the data type of the data to be stored is a JAVA data type. A text field refers to a piece of text that records information, such as reco...
Embodiment 2
[0077] figure 2 It is a schematic flow chart of a data query method provided in Embodiment 2 of the present invention, which is applicable to the scenario of querying data to be queried stored in a database. The method can be executed by a data query device, which can be implemented in the form of software and / or hardware, and can be integrated on a server.
[0078] like figure 2 As shown, the data query method provided by Embodiment 2 of the present invention includes:
[0079] S210. Receive the data to be queried transmitted based on the query request, the data to be queried includes one or more text fields, and each text field corresponds to a unique field identifier.
[0080] Wherein, the query request refers to a request generated when data needs to be queried. The data to be queried refers to data that needs to be queried. Specifically, the data to be queried is stored in the database and transmitted from the database to the JAVA application program. The data type...
Embodiment 3
[0103] image 3 It is a schematic structural diagram of a data storage device provided by Embodiment 3 of the present invention. This embodiment is applicable to the scene where data is compressed and then stored in a database. The device can be implemented by software and / or hardware, and can be integrated on the server.
[0104] like image 3 As shown, the data storage device provided in this embodiment may include a receiving module 310, a judging module 320, a compression module 330 and a storage module 340, wherein:
[0105] The receiving module 310 is configured to receive the data to be stored transmitted based on the storage request, the data to be stored includes one or more text fields, and each text field corresponds to a unique field identifier;
[0106] Judging module 320, configured to judge whether the text field needs to be compressed according to the field identifier;
[0107] The compression module 330 is used to call a preset compression algorithm to comp...
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