Out-of-order processing method and device for multi-association real-time data stream, medium and equipment
A processing method and data flow technology, applied in the direction of electrical digital data processing, special data processing applications, relational databases, etc., can solve problems such as difficult to guarantee order, loss, data delay, etc., to solve the problem of data flow disorder in multiple association tables, achieve simple effects
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 1 It is a flowchart of a method for out-of-order processing of multi-associated real-time data streams in an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps:
[0048]S110, real-time monitoring of log changes in the main table and / or associated table in the database;
[0049] S120. When the log of the main table and / or the associated table in the database changes, obtain the change record of the main table and / or the change record of the associated table, and write the change record of the main table into the main table topic of the message queue in parallel in a multi-partition manner , write the change record of the association table in parallel to the topic of the association table of the message queue in a multi-partition manner;
[0050] S130. Start the real-time process of the main table to obtain the multi-partition data stream of the main table from the subject of the main table, and start the real...
Embodiment 2
[0164] image 3 It is a functional block diagram of an out-of-order processing device for multi-associated real-time data streams according to an embodiment of the present invention. Such as image 3 As shown, the device 200 includes:
[0165] Real-time monitoring and acquisition module 210, for real-time monitoring of log changes in the main table and / or associated table in the database;
[0166] The real-time synchronization module 220 is used to obtain the change record of the main table and / or the change record of the related table when the log of the main table and / or the related table in the database changes, and write the changed record of the main table into the message queue in parallel in a multi-partition manner In the main table topic of the message queue, the associated table change records are written in parallel to the associated table topic of the message queue in a multi-partition manner;
[0167] The process start module 230 is used to start the main table...
Embodiment 3
[0177] The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, it realizes:
[0178] Real-time monitoring of log changes in the main table and / or associated tables in the database;
[0179] When the log of the main table and / or the associated table in the database changes, obtain the main table change record and / or the associated table change record, and write the main table change record into the main table of the message queue in parallel in a multi-partition manner In the topic, the association table change records are written in parallel into the association table topic of the message queue in a multi-partition manner;
[0180] Start the main table real-time process to obtain the multi-partition data stream of the main table from the main table topic, start the real-time process of the associated table to obtain the m...
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