A real-time data change capture platform

Through the extreme detailed analysis of data item relationships and topological structure construction in the real-time data change data capture platform, the problem of low capture efficiency and lag caused by unreasonable allocation of monitoring resources in the existing technology is solved, and more efficient data capture is achieved.

CN118445155BActive Publication Date: 2024-09-24广州睿帆科技有限公司
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410824291.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-09-24
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

The existing real-time data change data capture platform lacks rationality in monitoring resource allocation, resulting in low efficiency and possible lag problems in data change event capture, and fails to effectively consider the probability of changes in different data items.

Method used

By conducting extreme detailed analysis of the relationship between the data items to be monitored, building a relationship topology, extracting relationship item groups, and determining monitoring resource allocation based on these relationship item groups, achieving reasonable resource allocation for different data items to improve data capture efficiency.

Benefits of technology

It improves the capture efficiency of data change events, reduces capture lag issues, achieves reasonable allocation of monitoring resources, and improves the performance of the data capture platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118445155B
    Figure CN118445155B
Patent Text Reader

Abstract

The present invention relates to the technical field of data analysis and monitoring, and specifically discloses a real-time data change data capture platform, comprising: an influence relationship inference module, used for determining all inferred influence relationships between all data items to be monitored; a relationship topology building module, used for building an extreme refinement relationship topology structure of all data items to be monitored based on all inferred influence relationships and analytical quantitative relationships between all data items to be monitored; a relationship item group extraction module, used for extracting all relationship item groups in the extreme refinement relationship topology structure; a real-time change capture module, used for determining monitoring resource allocation results of all data items to be monitored based on all relationship item groups, and based on the monitoring resource allocation results, a preset capture mechanism and all relationship item groups, capturing real-time change data in all data items to be monitored, and obtaining a change data capture result of a current data processing mode; and used for ensuring the capture efficiency of change data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data analysis and monitoring, and in particular to a real-time data change data capture platform. Background Art

[0002] At present, the basic technical architecture of the real-time data change data capture platform is event-driven, that is, data changes will generate specific events, and then trigger corresponding data processing and changes through message queues, notifications, etc. The existing technology is mostly implemented by comparing the original data and the changed data, calculating the difference, etc. Since the amount of real-time data change is usually very large, the real-time data change data capture platform usually uses asynchronous processing to avoid performance problems caused by waiting for synchronization.

[0003] However, in order to ensure the performance stability of the data processing system, the existing real-time data change data capture platform often uses a fixed monitoring resource allocation mechanism (such as a fixed interval for data comparison or difference calculation, because the shorter the interval for data comparison or difference calculation, the more operating resources are consumed) to monitor a large amount of data to be monitored and capture data change events that occur therein. This change data capture method does not take into account the probability that different data items may change, resulting in an unreasonable monitoring resource allocation mechanism, which in turn leads to low efficiency in change data capture and the possibility of serious delays in capturing data change events.

[0004] Therefore, the present invention proposes a real-time data change data capture platform. Summary of the invention

[0005] The present invention provides a real-time data change data capture platform, which is used to perform an extreme detailed analysis of the relationship between the data items to be monitored, and based on the determined relationship item group, take into account the probability that different data items may change, thereby achieving a reasonable allocation of monitoring resources, improving the change data capture efficiency, and improving the serious data change event capture lag problem that may exist in the existing change data capture method.

[0006] The present invention provides a real-time data change data capture platform, comprising:

[0007] An influence relationship inference module is used to determine all inferred influence relationships between all data items to be monitored based on the current data processing mode;

[0008] A relationship topology building module is used to build an extremely refined relationship topology structure of all data items to be monitored based on all the inferred influence relationships and analytical quantitative relationships between all the data items to be monitored;

[0009] A relationship item group extraction module is used to extract all relationship item groups consisting of at least two data items to be monitored that have an extreme refinement relationship from the extreme refinement relationship topology structure;

[0010] The real-time change capture module is used to determine the monitoring resource allocation results of all data items to be monitored based on all relationship item groups, and to capture the real-time change data in all data items to be monitored based on the monitoring resource allocation results, the preset capture mechanism and all relationship item groups, and obtain the change data capture results of the current data processing mode.

[0011] Preferably, the influence relationship inference module includes:

[0012] The data processing mode determination submodule is used to determine the current data processing mode of the data task to be monitored;

[0013] The influence relationship inference submodule is used to determine all inferred influence relationships between all data items to be monitored based on the current data processing mode.

[0014] Preferably, the influence relationship inference submodule includes:

[0015] A historical capture instance parsing unit, used to obtain multiple historical capture instances of the current data processing mode and determine all change events in each historical capture instance;

[0016] An impact duration determination unit, used to use a preset time period that lags behind the occurrence time of each change event as the impact duration of each change event;

[0017] A first associated event screening unit is used to determine, in the full data change thread corresponding to each historical capture instance, all change events within the impact duration period of each change event in the corresponding historical capture instance as a first associated change event set for each change event;

[0018] A second associated event screening unit is used to treat the change events that overlap in the first associated change event set of all change events of the same change data item to be monitored in all historical capture instances as a second associated change event set of all change events corresponding to the change data item to be monitored;

[0019] The inferred impact relationship determination unit is used to determine all inferred impact relationships between all the data items to be monitored based on the second associated change event set of all change events of each change data item to be monitored.

[0020] Preferably, the inferred influence relationship determination unit includes:

[0021] a change event association subunit, configured to associate each change event in each second associated change data set with a change event corresponding to the corresponding first associated change event set, to obtain a plurality of change event association groups;

[0022] The association group division and aggregation subunit is used to aggregate the data items to be monitored corresponding to all the change events contained in all the change event association groups corresponding to the same at least two change event association groups to obtain a change event association group set corresponding to at least two data items to be monitored;

[0023] The inferred impact relationship determination subunit is used to determine all inferred impact relationships between all data items to be monitored based on all change event association group sets, wherein the quantitative relationship satisfied by all change event association groups in each change event association group set is regarded as the inferred impact relationship between at least two data items to be monitored.

[0024] Preferably, the relationship topology building module includes:

[0025] The quantitative relationship analysis submodule is used to analyze all analytical quantitative relationships between all data items to be monitored;

[0026] The relational topology building submodule is used to build an extremely refined relational topological structure of all data items that need to be monitored based on all the inferred influence relationships and analytical quantitative relationships that exist between all the data items that need to be monitored.

[0027] Preferably, the relationship topology building submodule includes:

[0028] A relationship deduplication and aggregation unit, used to deduplication and aggregate all inferred influence relationships and analytical quantitative relationships between all data items to be monitored, to obtain a first relationship between all data items to be monitored;

[0029] A relationship limit refinement unit, used for associating the first relationships between all the data items to be monitored to obtain the second relationships between all the data items to be monitored;

[0030] The relationship merging and building unit is used to build an extreme refined relationship topological structure of all the data items to be monitored based on the first relationship and the second relationship between all the data items to be monitored.

[0031] Preferably, the real-time change capture module includes:

[0032] A resource allocation ratio determination submodule, used to determine the monitoring resource allocation ratio between all the data items to be monitored based on all the relationship item groups;

[0033] A monitoring resource allocation submodule is used to allocate monitoring resources to all data items to be monitored based on the monitoring resource allocation ratio to obtain a monitoring resource allocation result;

[0034] The real-time change capture submodule is used to obtain the change data capture results based on the monitoring resource allocation results and the preset capture mechanism and all relationship item groups.

[0035] Preferably, the resource allocation ratio determination submodule includes:

[0036] A coverage determination unit, used to regard the total number of all relationship item groups including a single data item to be monitored as the coverage corresponding to the single data item to be monitored;

[0037] The allocation ratio determination unit is used to take the ratio of the coverage amounts of all the data items to be monitored as the monitoring resource allocation ratio between all the data items to be monitored.

[0038] Preferably, the method for the real-time change capture submodule to obtain the change data capture result of the current data processing mode based on the monitoring resource allocation result and the preset capture mechanism and all relationship item groups includes:

[0039] Step 1: When at least one change event is captured in all data items to be monitored based on the monitoring resource allocation result and the preset capture mechanism;

[0040] Step 2: Determine all relationship item groups involved in the changed data item in each change event from among all relationship item groups, and treat each remaining data item to be monitored, except the corresponding changed data item, in all relationship item groups involved in all changed data items as a key monitored data item;

[0041] Step 3: The number of times each key monitoring data item appears in all relationship item groups involved in all change data items is regarded as the number of key markings of each key monitoring data item;

[0042] Step 4: Based on all key monitoring data items and the corresponding key marking times, a new monitoring resource allocation ratio is determined;

[0043] Step 5: Allocate monitoring resources to all data items to be monitored based on the new monitoring resource allocation ratio to obtain a new monitoring resource allocation result;

[0044] Step 6: Based on the new monitoring resource allocation result, loop through steps 1 to 5 to capture at least one new change event until the end mark of the current data processing mode is triggered. Then, all the currently captured change events are aggregated to obtain the change data capture result of the current data processing mode.

[0045] Preferably, step 4: determining a new monitoring resource allocation ratio based on all key monitoring data items and corresponding key marking times, comprises:

[0046] When the data item to be monitored is a key monitored data item, the sum of the total number of all relationship item groups containing the corresponding data item to be monitored and the corresponding key marking times is regarded as the allocation share of the corresponding data item to be monitored;

[0047] When the data item to be monitored is not a key monitored data item, the total number of all relationship item groups containing the corresponding data item to be monitored is regarded as the allocation share of the corresponding data item to be monitored;

[0048] The ratio of the allocation shares of all the data items to be monitored is regarded as a new monitoring resource allocation ratio among all the data items to be monitored.

[0049] The beneficial effects of the present invention compared to the prior art are as follows: by performing an extremely detailed analysis of the possible relationships between the data items to be monitored, and taking into account the probability that different data items may change based on the determined relationship item group, a reasonable allocation of monitoring resources is achieved, the efficiency of capturing change data is improved, and the problem of serious delay in capturing data change events that may exist in the existing change data capture methods is improved.

[0050] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.

[0051] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0053] Figure 1 It is a schematic diagram of the internal functional modules of the real-time data change data capture platform in an embodiment of the present invention;

[0054] Figure 2 Schematic diagram of internal functional submodules of the influence relationship inference module in an embodiment of the present invention;

[0055] Figure 3 Schematic diagram of the implementation steps of the real-time change capture submodule in an embodiment of the present invention. DETAILED DESCRIPTION

[0056] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0057] Embodiment 1:

[0058] The present invention provides a real-time data change data capture platform, referring to Figure 1 ,include:

[0059] An influence relationship inference module is used to determine all inferred influence relationships between all data items to be monitored based on the current data processing mode;

[0060] A relationship topology building module is used to build an extremely refined relationship topology structure of all data items to be monitored based on all the inferred influence relationships and analytical quantitative relationships between all the data items to be monitored;

[0061] A relationship item group extraction module is used to extract all relationship item groups consisting of at least two data items to be monitored that have an extreme refinement relationship from the extreme refinement relationship topology structure;

[0062] The real-time change capture module is used to determine the monitoring resource allocation results of all data items to be monitored based on all relationship item groups, and to capture the real-time change data in all data items to be monitored based on the monitoring resource allocation results, the preset capture mechanism and all relationship item groups, and obtain the change data capture results of the current data processing mode.

[0063] In this embodiment, the current data processing mode is the data processing mode of the data processing system (such as Clickhouse database) set by the user for the data items to be monitored. For example, the data is organized into tables, each table has column definitions and data values, and different columns do not share data but share indexes. This data model has many advantages, such as high-performance data query and support for efficient concurrent reading and writing.

[0064] In this embodiment, the data items to be monitored are data items that require the real-time data change data capture platform to monitor and capture data change events that occur, such as data items distributed in columns in a Clickhouse database.

[0065] In this embodiment, the inferred influence relationship between the data items to be monitored is a numerical influence relationship (or quantitative relationship) between a plurality of monitoring data items determined by using a plurality of historical capture instances of the current data processing mode.

[0066] In this embodiment, the analytical quantitative relationship between the data items to be monitored is a directly obtainable and relatively intuitive quantitative relationship between the data items to be monitored, for example: annual sales - annual cost = annual profit.

[0067] In this embodiment, the extremely refined relationship topology structure includes the topology structure of the most detailed quantitative relationship that can be determined between all the data items to be monitored.

[0068] In this embodiment, the relationship item group includes a combination of at least two data items to be monitored that have an extreme refinement relationship.

[0069] In this embodiment, the monitoring resource allocation result is the result of allocating monitoring resources to all data items to be monitored. The monitoring resources include, for example, the running memory of the execution capture mechanism, or the frequency of the execution capture mechanism (that is, to perform calculation differences or data comparison, wherein the objects of the calculation differences and data comparison are the data of the data items to be monitored currently collected and the data of the data items to be monitored collected when the preset capture mechanism was last executed, that is, the two are calculated and compared). The larger the running memory and frequency of the execution capture mechanism, the more monitoring resources are allocated.

[0070] In this embodiment, the preset capture mechanism, for example, compares the latest data of the corresponding data item to be monitored with the data from the last data comparison or calculates the difference between the two. If the result of the comparison or calculation of the difference indicates that there is a difference between the two, the data of the corresponding data item to be monitored is updated based on the latest data of the corresponding data item to be monitored.

[0071] In this embodiment, the real-time change data is the change data generated by the data of the data item to be monitored captured by the latest execution of the capture mechanism.

[0072] In this embodiment, the change data capture result includes all change data captured during the entire life cycle of all data items to be monitored in the current data processing mode.

[0073] The beneficial effects of the above technology are: through the extreme refinement analysis of the relationship between the data items to be monitored, and based on the determined relationship item group, considering the probability of possible changes in different data items, and then realizing the reasonable allocation of monitoring resources, the efficiency of change data capture is improved, and the serious delay in capturing data change events that may exist in the existing change data capture method is improved.

[0074] Embodiment 2:

[0075] Based on Example 1, the influence relationship inference module refers to Figure 2 ,include:

[0076] The data processing mode determination submodule is used to determine the current data processing mode of the data task to be monitored;

[0077] The influence relationship inference submodule is used to determine all inferred influence relationships between all data items to be monitored based on the current data processing mode.

[0078] In this embodiment, the data tasks to be monitored include all the data items to be monitored and the data capture tasks for changes in the current data processing modes of all the data items to be monitored.

[0079] The beneficial effects of the above technology are: achieving the determination of the current data processing mode and the determination of all inferred influence relationships between all data items that need to be monitored.

[0080] Embodiment 3:

[0081] Based on Example 2, the influence relationship inference submodule includes:

[0082] A historical capture instance parsing unit, used to obtain multiple historical capture instances of the current data processing mode and determine all change events in each historical capture instance;

[0083] An impact duration determination unit, used to use a preset time period that lags behind the occurrence time of each change event as the impact duration of each change event;

[0084] A first associated event screening unit is used to determine, in the full data change thread corresponding to each historical capture instance, all change events within the impact duration period of each change event in the corresponding historical capture instance as a first associated change event set for each change event;

[0085] The second associated event screening unit is used to treat the change events that overlap in the first associated change event set of all change events of the same change data item to be monitored in all historical capture instances (that is, at least two change events have the same occurrence time and generate the same change data) as the second associated change event set of all change events corresponding to the change data item to be monitored;

[0086] The inferred impact relationship determination unit is used to determine all inferred impact relationships between all the data items to be monitored based on the second associated change event set of all change events of each change data item to be monitored.

[0087] In this embodiment, the historical capture instance is a record instance that records all change events of the previously completed data task to be monitored whose data processing mode is the current data processing mode during the entire change data capture process.

[0088] In this embodiment, the change event is an event in which a single data change occurs in a single data item to be monitored.

[0089] In this embodiment, the preset time period is the duration of the impact duration period.

[0090] In this embodiment, the full data change thread corresponding to the historical capture instance is the result of using the time thread to record the occurrence time of all change events in the historical capture instance.

[0091] The beneficial effects of the above technology are: by constraining the change events in multiple historical capture instances of the current data processing mode based on the occurrence time, and further, correlating and comparing the first associated change event set after the first constraint screening of all historical capture instances of the current data processing mode, through the two screening processes of the change events in multiple historical capture instances of the current data processing mode, in-depth speculation on the quantitative relationship between all data items that need to be monitored is achieved.

[0092] Embodiment 4:

[0093] On the basis of Embodiment 3, the inferred influence relationship determination unit includes:

[0094] a change event association subunit, configured to associate each change event in each second associated change data set with a change event corresponding to the corresponding first associated change event set, to obtain a plurality of change event association groups;

[0095] The association group division and aggregation subunit is used to aggregate the data items to be monitored corresponding to all the change events contained in all the change event association groups corresponding to the same at least two change event association groups to obtain a change event association group set corresponding to at least two data items to be monitored;

[0096] The inferred impact relationship determination subunit is used to determine all inferred impact relationships between all data items to be monitored based on all change event association group sets, wherein the quantitative relationship satisfied by all change event association groups in each change event association group set is regarded as the inferred impact relationship between at least two data items to be monitored.

[0097] In this embodiment, each change event in each second associated change data set is associated with a change event corresponding to the first associated change event set to which it belongs, to obtain multiple change event association groups, for example:

[0098] There are change events A1 and A2 belonging to the data item A to be monitored;

[0099] The first associated change event set of the change event A1 includes the change event A01a, the change event A02a, the change event A11, the change event A12, the change event A13, ...;

[0100] The first associated change event set of the change event A2 includes the change event A01b, the change event A02b, the change event A21, the change event A22, the change event A23, ...;

[0101] Then the second associated change event set of the change event A1 and the change event A2 of the monitored data item A includes the change event A01a (or b) and the change event A02a (or b);

[0102] Then, the change event A01a and the change event A02a are respectively associated with the change event A1 to obtain two change event association groups;

[0103] The change event A01b and the change event A02b are respectively associated with the change event A2 to obtain two change event association groups.

[0104] In this embodiment, all the data items to be monitored corresponding to all the change events contained in all the change event association groups are aggregated to correspond to the same at least two change event association groups, so as to obtain a change event association group set corresponding to at least two data items to be monitored, for example:

[0105] The data item to be monitored corresponding to the change event A1 and the change event A2 is the data item to be monitored A;

[0106] The data item to be monitored corresponding to the change event A01a and the change event A01b is the data item to be monitored B;

[0107] The data item to be monitored corresponding to the change event A02a is the data item to be monitored C;

[0108] The data item to be monitored corresponding to the change event A02b is the data item to be monitored D;

[0109] Then, among the change event association groups (A01a, A1), (A02a, A1), (A01b, A2), (A02b, A2), the change event association groups that belong to the same change event association group set are: (A01a, A1) and (A01b, A2).

[0110] The beneficial effect of the above technology is: by associating each change event in each second associated change data set with the change event corresponding to the corresponding first associated change event set, and further summarizing based on the condition that the data items to be monitored corresponding to the change events contained therein are the same, further in-depth speculation on the quantitative relationship between all data items to be monitored is achieved.

[0111] Embodiment 5:

[0112] Based on Example 1, the relationship topology building module includes:

[0113] The quantitative relationship analysis submodule is used to analyze all analytical quantitative relationships between all data items to be monitored;

[0114] The relational topology building submodule is used to build an extremely refined relational topological structure of all data items that need to be monitored based on all the inferred influence relationships and analytical quantitative relationships that exist between all the data items that need to be monitored.

[0115] In this embodiment, all analytical quantization relationships existing between all data items to be monitored can be determined by retrieving a preset analytical quantization relationship table, wherein the preset analytical quantization relationship table contains a plurality of pre-calibrated groups of data items to be monitored that have analytical quantization relationships.

[0116] The beneficial effects of the above technology are: achieving the acquisition of all analytical quantitative relationships between all data items that need to be monitored, and combining all data items that need to be monitored between all data items that need to be monitored to complete the construction of the extreme refined relationship topological structure of all data items that need to be monitored.

[0117] Embodiment 6:

[0118] Based on Example 5, the relationship topology building submodule includes:

[0119] A relationship deduplication and aggregation unit, used to deduplication and aggregate all inferred influence relationships and analytical quantitative relationships between all data items to be monitored, to obtain a first relationship between all data items to be monitored;

[0120] A relationship limit refinement unit, used for associating the first relationships between all the data items to be monitored to obtain the second relationships between all the data items to be monitored;

[0121] The relationship merging and building unit is used to build an extreme refined relationship topological structure of all the data items to be monitored based on the first relationship and the second relationship between all the data items to be monitored.

[0122] In this embodiment, deduplication aggregation means aggregating after removing duplicates.

[0123] In this embodiment, associating the second relationships between all the data items to be monitored is a process of merging the first relationships between all the data items to be monitored, so that other quantitative relationships other than the first relationships can be obtained, for example:

[0124] Data item to be monitored S1-data item to be monitored S2=data item to be monitored S3;

[0125] Among them, the data item to be monitored S2 = the data item to be monitored S4 + the data item to be monitored S5;

[0126] After “correlating” the above two quantitative relationships, it can be concluded that: data item to be monitored S1-(data item to be monitored S4+data item to be monitored S5)=data item to be monitored S3;

[0127] In this embodiment, based on the first relationship and the second relationship between all the data items to be monitored, the extreme refinement relationship topology structure of all the data items to be monitored is constructed as follows:

[0128] The data items to be monitored that have quantitative relationships represented in the first relationship and the second relationship are connected, and their corresponding quantitative relationships are marked on the corresponding connection lines to obtain the extreme refinement relationship topological structure of all the data items to be monitored.

[0129] The beneficial effects of the above technology are: by deduplicating, summarizing and re-associating all the inferred influence relationships and analytical quantitative relationships between all the data items that need to be monitored, the extremely deep mining of the relationships between all the data items that need to be monitored is achieved, and based on all the relationships finally determined, the extremely refined relationship topological structure of all the data items that need to be monitored is built.

[0130] Embodiment 7:

[0131] Based on Example 1, the real-time change capture module includes:

[0132] A resource allocation ratio determination submodule, used to determine the monitoring resource allocation ratio between all the data items to be monitored based on all the relationship item groups;

[0133] A monitoring resource allocation submodule is used to allocate monitoring resources to all data items to be monitored based on the monitoring resource allocation ratio to obtain a monitoring resource allocation result;

[0134] The real-time change capture submodule is used to obtain the change data capture results based on the monitoring resource allocation results and the preset capture mechanism and all relationship item groups.

[0135] In this embodiment, the monitoring resource allocation ratio is the ratio between the monitoring resource shares allocated to all the data items to be monitored. For example, the monitoring resource allocation ratio between the data item A to be monitored, the data item B to be monitored, and the data item C to be monitored is 1:1:1.

[0136] In this embodiment, allocating monitoring resources to all data items to be monitored based on the monitoring resource allocation ratio includes:

[0137] The monitoring resource share allocated to each data item to be monitored is determined based on the monitoring resource allocation ratio, and monitoring resources are allocated to all data items to be monitored based on the monitoring resource allocation obtained from the allocation of all data items to be monitored.

[0138] The beneficial effects of the above technology are: completing the reasonable allocation of monitoring resources for all data items to be monitored, and combining the preset capture mechanism and all relationship item groups to efficiently obtain the change data capture results.

[0139] Embodiment 8:

[0140] Based on Example 7, the resource allocation ratio determination submodule includes:

[0141] A coverage determination unit, used to regard the total number of all relationship item groups including a single data item to be monitored as the coverage corresponding to the single data item to be monitored;

[0142] The allocation ratio determination unit is used to take the ratio of the coverage amounts of all the data items to be monitored as the monitoring resource allocation ratio between all the data items to be monitored.

[0143] In this embodiment, the ratio of the coverage of all the data items to be monitored is regarded as the monitoring resource allocation ratio between all the data items to be monitored, for example:

[0144] The coverage ratio among the data item A to be monitored, the data item B to be monitored, and the data item C to be monitored is 1:1:1, and the monitoring resource allocation ratio among the data item A to be monitored, the data item B to be monitored, and the data item C to be monitored is 1:1:1.

[0145] The beneficial effect of the above technology is: introducing the parameter of the total number of all relationship item groups containing a single data item to be monitored as the coverage of a single data item to be monitored, thereby realizing the reasonable determination of the monitoring resource allocation ratio between all data items to be monitored.

[0146] Embodiment 9:

[0147] Based on Example 7, the real-time change capture submodule obtains the change data capture result of the current data processing mode based on the monitoring resource allocation result and the preset capture mechanism and all relationship item groups, refer to Figure 3 ,include:

[0148] Step 1: When at least one change event is captured in all data items to be monitored based on the monitoring resource allocation result and the preset capture mechanism;

[0149] Step 2: Determine all relationship item groups involved in the changed data item in each change event from among all relationship item groups, and treat each remaining data item to be monitored, except the corresponding changed data item, in all relationship item groups involved in all changed data items as a key monitored data item;

[0150] Step 3: The number of times each key monitoring data item appears in all relationship item groups involved in all change data items is regarded as the number of key markings of each key monitoring data item;

[0151] Step 4: Based on all key monitoring data items and the corresponding key marking times, a new monitoring resource allocation ratio is determined;

[0152] Step 5: Allocate monitoring resources to all data items to be monitored based on the new monitoring resource allocation ratio to obtain a new monitoring resource allocation result;

[0153] Step 6: Based on the new monitoring resource allocation result, loop through steps 1 to 5 to capture at least one new change event until the end mark of the current data processing mode is triggered. Then, all the currently captured change events are aggregated to obtain the change data capture result of the current data processing mode.

[0154] In this embodiment, at least one change event is captured from all data items to be monitored based on the monitoring resource allocation result and the preset capture mechanism, for example:

[0155] Assuming that the monitoring resource allocation result includes the running memory of the preset capture mechanism and the execution interval time of the preset capture mechanism, the preset capture mechanism is executed on the corresponding data item to be monitored based on the running memory of the preset capture mechanism and the execution interval time of the preset capture mechanism contained in the monitoring resource allocation result, and when the data change of the corresponding data item to be monitored is captured, it is recorded as a change event based on the time when the data change occurred, the data item to be monitored and the generated change data.

[0156] In this embodiment, the changed data item is a data item to be monitored that records data changes in a change event.

[0157] In this embodiment, all relationship item groups involved in the changed data item are all relationship item groups including the change events corresponding to the changed data item.

[0158] In this embodiment, monitoring resources are allocated to all data items to be monitored based on the new monitoring resource allocation ratio to obtain a new monitoring resource allocation result, which is the same as the execution steps of allocating monitoring resources to all data items to be monitored based on the monitoring resource ratio to obtain the monitoring resource allocation result last time.

[0159] In this embodiment, the end mark of the current data processing mode is, for example, an end request input by a user or an end mark pre-defined by a user or a system (for example, a stop time constrained by a future time).

[0160] The beneficial effect of the above technology is: when a change event is captured, a new monitoring resource allocation ratio is re-determined based on all relationship item groups, and a new monitoring resource allocation result is obtained, thereby forming a cycle to achieve continuous reallocation of monitoring resources during the capture process, further improving the efficiency of change data capture.

[0161] Embodiment 10:

[0162] Based on Example 9, step 4: determining a new monitoring resource allocation ratio based on all key monitoring data items and corresponding key marking times, including:

[0163] When the data item to be monitored is a key monitored data item, the sum of the total number of all relationship item groups containing the corresponding data item to be monitored and the corresponding key marking times is regarded as the allocation share of the corresponding data item to be monitored;

[0164] When the data item to be monitored is not a key monitored data item, the total number of all relationship item groups containing the corresponding data item to be monitored is regarded as the allocation share of the corresponding data item to be monitored;

[0165] The ratio of the allocation shares of all the data items to be monitored is regarded as a new monitoring resource allocation ratio among all the data items to be monitored.

[0166] In this embodiment, the ratio of the allocation shares of all the data items to be monitored is regarded as the new monitoring resource allocation ratio between all the data items to be monitored, for example:

[0167] The allocation ratio of the data item A to be monitored, the data item B to be monitored, and the data item C to be monitored is 1:1:1, and the monitoring resource allocation ratio of the data item A to be monitored, the data item B to be monitored, and the data item C to be monitored is 1:1:1.

[0168] The beneficial effect of the above technology is: based on the number of key markings of the data items to be monitored in all relationship item groups involved in the changed data items in the captured change events, and taking into account the probability that different data items may change, a new monitoring resource allocation ratio between all data items to be monitored is reasonably determined.

[0169] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A real-time data change data capture platform, It is characterized in that include: An influence relationship inference module is used to determine all inferred influence relationships between all data items to be monitored based on the current data processing mode; A relationship topology building module is used to build an extremely refined relationship topology structure of all data items to be monitored based on all the inferred influence relationships and analytical quantitative relationships between all the data items to be monitored; A relationship item group extraction module is used to extract all relationship item groups consisting of at least two data items to be monitored that have an extreme refinement relationship from the extreme refinement relationship topology structure; A real-time change capture module is used to determine the monitoring resource allocation results of all data items to be monitored based on all relationship item groups, and to capture the real-time change data in all data items to be monitored based on the monitoring resource allocation results, the preset capture mechanism and all relationship item groups, and obtain the change data capture results of the current data processing mode; The inferred influence relationship between the data items to be monitored is a numerical influence relationship or a quantitative relationship between the data items to be monitored determined by using multiple historical capture instances of the current data processing mode; The extreme refinement relationship topology structure contains the topology structure of the most detailed quantitative relationship that can be determined between all the data items to be monitored; All analytical quantization relationships between all data items to be monitored can be determined by retrieving a preset analytical quantization relationship table, wherein the preset analytical quantization relationship table contains a plurality of pre-calibrated groups of data items to be monitored that have analytical quantization relationships; All analytical and quantitative relationships between all the data items to be monitored are operation relationships that can be used to obtain another data item to be monitored by performing operations on at least two data items to be monitored.

2. The real-time data change data capture platform according to claim 1, It is characterized in that The influence relationship inference module includes: The data processing mode determination submodule is used to determine the current data processing mode of the data task to be monitored; The influence relationship inference submodule is used to determine all inferred influence relationships between all data items to be monitored based on the current data processing mode.

3. The real-time data change data capture platform according to claim 2, It is characterized in that The influence relationship inference submodule includes: A historical capture instance parsing unit, used to obtain multiple historical capture instances of the current data processing mode and determine all change events in each historical capture instance; An impact duration determination unit, used to take a preset period of time that lags behind the occurrence time of each change event as the impact duration of each change event; A first associated event screening unit is used to determine, in the full data change thread corresponding to each historical capture instance, all change events within the impact duration period of each change event in the corresponding historical capture instance as a first associated change event set for each change event; A second associated event screening unit is used to treat the change events that overlap in the first associated change event set of all change events of the same change data item to be monitored in all historical capture instances as a second associated change event set of all change events corresponding to the change data item to be monitored; The inferred impact relationship determination unit is used to determine all inferred impact relationships between all the data items to be monitored based on the second associated change event set of all change events of each change data item to be monitored.

4. The real-time data change data capture platform according to claim 3, It is characterized in that The unit for determining the inferred impact relationship includes: a change event association subunit, configured to associate each change event in each second associated change data set with a change event corresponding to the corresponding first associated change event set, to obtain a plurality of change event association groups; The association group division and aggregation subunit is used to aggregate the data items to be monitored corresponding to all the change events contained in all the change event association groups corresponding to the same at least two change event association groups to obtain a change event association group set corresponding to at least two data items to be monitored; The inferred impact relationship determination subunit is used to determine all inferred impact relationships between all data items to be monitored based on all change event association group sets, wherein the quantitative relationship satisfied by all change event association groups in each change event association group set is regarded as the inferred impact relationship between at least two data items to be monitored.

5. The real-time data change data capture platform according to claim 1, It is characterized in that Relationship topology building module, including: The quantitative relationship analysis submodule is used to analyze all analytical quantitative relationships between all data items to be monitored; The relational topology building submodule is used to build an extremely refined relational topological structure of all data items that need to be monitored based on all the inferred influence relationships and analytical quantitative relationships that exist between all the data items that need to be monitored.

6. The real-time data change data capture platform according to claim 5, It is characterized in that Relationship topology building submodule, including: A relationship deduplication and aggregation unit, used to deduplication and aggregate all inferred influence relationships and analytical quantitative relationships between all data items to be monitored, to obtain a first relationship between all data items to be monitored; A relationship limit refinement unit, used for associating the first relationships between all the data items to be monitored to obtain the second relationships between all the data items to be monitored; The relationship merging and building unit is used to build an extreme refined relationship topological structure of all the data items to be monitored based on the first relationship and the second relationship between all the data items to be monitored.

7. The real-time data change data capture platform according to claim 1, It is characterized in that Real-time change capture module, including: A resource allocation ratio determination submodule, used to determine the monitoring resource allocation ratio between all the data items to be monitored based on all the relationship item groups; A monitoring resource allocation submodule is used to allocate monitoring resources to all data items to be monitored based on the monitoring resource allocation ratio to obtain a monitoring resource allocation result; The real-time change capture submodule is used to obtain the change data capture results based on the monitoring resource allocation results and the preset capture mechanism and all relationship item groups.

8. The real-time data change data capture platform according to claim 7, It is characterized in that The resource allocation ratio determination submodule includes: A coverage determination unit, used to regard the total number of all relationship item groups including a single data item to be monitored as the coverage corresponding to the single data item to be monitored; The allocation ratio determination unit is used to take the ratio of the coverage amounts of all the data items to be monitored as the monitoring resource allocation ratio between all the data items to be monitored.

9. The real-time data change data capture platform according to claim 7, It is characterized in that The real-time change capture submodule obtains the change data capture result of the current data processing mode based on the monitoring resource allocation result, the preset capture mechanism and all relationship item groups, including: Step 1: When at least one change event is captured in all data items to be monitored based on the monitoring resource allocation result and the preset capture mechanism; Step 2: Determine all relationship item groups involved in the changed data item in each change event from among all relationship item groups, and treat each remaining data item to be monitored, except for the corresponding changed data item, from among all relationship item groups involved in all changed data items as a key monitored data item; Step 3: The number of times each key monitoring data item appears in all relationship item groups involved in all change data items is regarded as the number of key markings of each key monitoring data item; Step 4: Based on all key monitoring data items and the corresponding key marking times, a new monitoring resource allocation ratio is determined; Step 5: Allocate monitoring resources to all data items to be monitored based on the new monitoring resource allocation ratio to obtain a new monitoring resource allocation result; Step 6: Based on the new monitoring resource allocation result, loop through steps 1 to 5 to capture at least one new change event until the end mark of the current data processing mode is triggered. Then, all the currently captured change events are aggregated to obtain the change data capture result of the current data processing mode.

10. The real-time data change data capture platform according to claim 9, It is characterized in that Step 4: Based on all key monitoring data items and the corresponding key marking times, determine a new monitoring resource allocation ratio, including: When the data item to be monitored is a key monitored data item, the sum of the total number of all relationship item groups containing the corresponding data item to be monitored and the corresponding key marking times is regarded as the allocation share of the corresponding data item to be monitored; When the data item to be monitored is not a key monitored data item, the total number of all relationship item groups containing the corresponding data item to be monitored is regarded as the allocation share of the corresponding data item to be monitored; The ratio of the allocation shares of all the data items to be monitored is regarded as a new monitoring resource allocation ratio among all the data items to be monitored.

Citation Information

Patent Citations

  • Data synchronization method between database clusters

    CN117891876A

  • Dashboard system based on dynamic data

    KR102568392B1

  • Monitoring system of computer and monitoring method

    US20120117226A1

  • Real time event capture, analysis and reporting system

    US20180102936A1

  • Method And System For Real-Time Correlation Of Disparate Sources Of Topological Information To Create A Unified Topological Model Of A Distributed Information System

    US20190266502A1