A data processing method and device
A data processing and data block technology, applied in the field of data processing, can solve the problems of persistent service processing pressure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] figure 1 A method flowchart of a data processing method provided by an embodiment of the present invention, the method includes:
[0058] S101: The processing device reads a data block from the read data block queue.
[0059] S102: The processing device generates a confirmation object having a one-to-one association relationship with the data block, and the confirmation object is used to record a confirmation state of the data block having the association relationship.
[0060] For example, optionally, the processing device may read data blocks from the read data block queue in a parallel reading manner.
[0061] Optionally, the confirmation object is used to record the confirmation status of the data block with the association relationship, specifically including:
[0062] If the data block having the association relationship with the confirmation object has not been read and confirmed, the confirmation status of the confirmation object is unconfirmed;
[0063] If t...
Embodiment 2
[0077] Use the traditional method to persist each database that has been read and confirmed. Since the speed of persistence cannot keep up with the speed of reading confirmation for parallel reading, there will be a large number of databases that have been read and confirmed waiting to be persisted. In the state, that is, in the situation of not being persisted, if the processing device reads the database interrupt at this time, when the processing device continues to read the data block from the read data block queue again , the processing device needs to re-read these massive data blocks that have been read and confirmed before, thus causing a waste of system resources and reducing the processing efficiency of the processing device.
[0078] exist figure 1 On the basis of the corresponding embodiment, image 3 It is a schematic diagram of a method for continuing reading after reading interruption provided by an embodiment of the present invention. If the processing device ...
Embodiment 3
[0086] Figure 4 A device structure diagram of a data processing device provided in an embodiment of the present invention, including:
[0087] The reading unit 401 is configured to read data blocks from the read data block queue.
[0088] For example, optionally, the reading unit 401 reads data blocks from the read data block queue in a parallel reading manner. in order to increase the reading speed.
[0089] The generating unit 402 is configured to generate a confirmation object having a one-to-one association relationship with the data block, and the confirmation object is used to record the confirmation state of the data block having the association relationship.
[0090] For example, optionally, the confirmation object is used to record the confirmation status of the data block with the association relationship, specifically including:
[0091] If the data block having the association relationship with the confirmation object has not been read and confirmed, the confir...
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