Data storage method and device, storage medium and server
A data storage and data technology, applied in the field of data processing, can solve the problems of long time and data unavailability for a long time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a schematic flow chart of the data storage method provided by the embodiment of the present invention. This method is applicable to the situation where the server stores data and can be executed by a data storage device. The device can be implemented by software and / or hardware, and generally can be integrated in the server middle. Such as figure 1 As shown, the method includes:
[0028] S101. Acquire target data; wherein, the target data includes at least one piece of external input data and at least one piece of local storage data.
[0029] Wherein, the external input data is data to be stored, the external input data may be data transmitted from other servers or terminal devices, and the local storage data has been stored in the local database. Optionally, acquiring target data includes: reading at least one piece of external input data and at least one piece of locally stored data from the distributed file system based on different path information...
Embodiment 2
[0044] figure 2 It is a flowchart of a data storage method provided by Embodiment 2 of the present invention, such as figure 2 As shown, the method includes the following steps:
[0045] S201. Read at least one piece of external input data and at least one piece of locally stored data from the distributed file system based on different path information respectively.
[0046] S202. Determine at least one key field involved in the target data, and use any one key field in the at least one key field as the target key field.
[0047] S203. Group the target data based on the target key field; wherein, group the target data corresponding to the same field information as the target key field.
[0048] S204. For each set of target data, fill in the target data with empty field information based on the non-empty field information corresponding to the same key field, and add identification information whether the target data is changed data according to the filling operation; wherei...
Embodiment 3
[0059] image 3 It is a schematic structural diagram of a data storage device provided in Embodiment 3 of the present invention. Such as image 3 As shown, the device includes: a data acquisition module 301, a field filling module 302, a data merging module 303 and a data storage module 304, wherein:
[0060] A data acquisition module 301, configured to acquire target data; wherein, the target data includes at least one piece of external input data and at least one piece of local storage data;
[0061] The field filling module 302 is used to fill in the target data whose field information is empty based on the non-empty field information corresponding to the same key field, and add identification information of whether the target data is changed data according to the filling operation; wherein, the field The target data whose information is empty is the same as the field information corresponding to other key fields of the target data to which the non-empty field information...
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