A kind of day cutting data processing method, device, storage medium and electronic equipment

By determining the logical execution order and business characteristics in daily task switching, using a time-series prediction model to detect risks and adjust scheduling strategies, the timeliness and consistency issues in daily task switching scheduling are resolved, achieving efficient processing and data repair under extreme loads.

CN122507590BActive Publication Date: 2026-11-24CHONGQING ANT CONSUMER FINANCE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202610977090.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-07-02
Publication Date
2026-11-24
Estimated Expiration
2046-07-02

AI Technical Summary

Technical Problem

In existing technologies, the daily task scheduling mechanism lacks the ability to perceive the business semantics of complex tasks and predict global topology trends, which can easily lead to avalanche-like backlogs and SLA timeliness breaches when under high load business impact. Furthermore, traditional architectures cannot guarantee the consistency of data status.

Method used

By determining the logical execution order of daily data processing tasks, extracting time series and business semantic features, using a time series prediction model to detect timeliness risks, and adjusting scheduling strategies when risks occur, implementing circuit breaker degradation processing and data repair compensation, the timeliness of SLAs and data consistency are ensured.

Benefits of technology

It enhances the intelligent self-healing and dynamic disaster recovery capabilities under extreme load impacts, ensures the timeliness of daily task processing and eventual data consistency, and avoids avalanche-like blockages on the critical path and downstream cascading errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122507590B_ABST
    Figure CN122507590B_ABST
Patent Text Reader

Abstract

This specification discloses a daily data processing method, apparatus, storage medium, and electronic device. The method includes: determining the logical execution order of multiple daily data processing tasks; extracting time-series features and business semantic features based on this order; determining the expected completion time using a time-series prediction model to detect any task timeliness risks; if such risks exist, dynamically adjusting the scheduling execution strategy and monitoring performance data in real time; performing circuit breaker degradation processing on target tasks in a bottleneck state; and finally asynchronously identifying damaged data affected by degradation and performing data repair and compensation processing. Using this specification's embodiments can effectively ensure the timeliness and eventual consistency of daily data processing in the platform system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of computer technology, and in particular to a method, apparatus, storage medium and electronic device for processing daily data. Background Technology

[0002] With the widespread evolution of distributed heterogeneous computing architectures, large-scale service platforms (such as government service systems, resource processing systems, and financial service systems) need to execute massive daily data batch processing tasks at the end of each business service cycle. The timeliness and accuracy of daily data processing directly affect the normal operation of business the next day. Therefore, service platforms usually establish strict Service Level Agreement (SLA) baselines to constrain the overall data flow time limit. However, facing increasingly microservice-oriented system links and huge concurrent throughput, massive daily data processing tasks are often intertwined with complex logical dependencies.

[0003] The daily task scheduling mechanisms in related technologies mostly adopt static concurrency models or rely solely on threshold alarms based on basic IT resources (such as CPU and memory), lacking the ability to perceive the business semantics of complex tasks and predict global congestion trends. When faced with sudden high-load business shocks, they are prone to causing avalanche-like backlogs at critical path nodes, leading to severe breaches of SLA timeliness. At the same time, the coarse-grained service degradation methods and extensive manual reconciliation mechanisms in traditional architectures not only trigger cascading errors in downstream subscription systems, but also make it difficult to ensure the eventual consistency of the global data state in massive amounts of derived data. Summary of the Invention

[0004] This specification provides a method, apparatus, storage medium, and electronic device for processing daily data, the technical solutions of which are as follows: Firstly, embodiments of this specification provide a method for processing daily switching data for a service level agreement, applied to a service platform, the method comprising: Determine the logical execution order among multiple daily data processing tasks; Based on the logical execution order, the time series features and task business semantic features of the daily data processing task are extracted, and the expected completion time is determined by a time series prediction model. Based on the expected completion time and the service level agreement baseline, the risk of task timeliness is detected. If there is a risk of timeliness of the task, the scheduling and execution strategy of the daily data processing task is adjusted based on the logical execution order, and the task execution performance data is monitored in real time. Based on the task execution performance data, the target daily data processing task with the bottleneck state of task execution performance is subjected to circuit breaking and degradation processing. Asynchronously determine the damaged daily cut-off processing data affected by the circuit breaker degradation processing, and perform data repair and compensation processing on the damaged daily cut-off processing data.

[0005] Secondly, embodiments of this specification provide a daily data processing apparatus, the apparatus comprising: The sequence determination module is used to determine the logical execution order among multiple daily data processing tasks; The risk detection module is used to extract the time series features and task business semantic features of the daily data processing task based on the logical execution order, and use a time series prediction model to determine the expected completion time. Based on the expected completion time and the service level agreement baseline, it detects whether there is a risk to the timeliness of the task. The data processing module is used to adjust the scheduling and execution strategy of the daily data processing task based on the logical execution order if there is a risk of timeliness of the task, and to monitor the task execution performance data in real time, and to perform circuit breaker and degradation processing on the target daily data processing task with the task execution performance bottleneck state based on the task execution performance data. The compensation processing module is used to asynchronously determine the damaged daily cut-off processing data affected by the circuit breaker degradation processing, and perform data repair compensation processing on the damaged daily cut-off processing data.

[0006] Thirdly, embodiments of this specification provide a computer storage medium storing a plurality of instructions adapted for loading by a processor and executing the above-described method steps.

[0007] Fourthly, this specification provides a computer program product storing at least one instruction adapted to be loaded by a processor and to execute the method steps of one or more embodiments of this specification.

[0008] Fifthly, this specification provides a computer program product storing at least one instruction adapted to be loaded by a processor and to execute the method steps of one or more embodiments of this specification.

[0009] Sixthly, embodiments of this specification provide an electronic device that may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the above-described method steps.

[0010] The beneficial effects of the technical solutions provided in some embodiments of this specification include at least the following: In one or more embodiments of this specification, the massive daily data processing task is deconstructed into a strict topological logical execution order. Based on this, time series features and task business semantic features are integrated into the time series prediction model to detect SLA timeliness risks in advance. Then, when risks and node computing performance bottlenecks are perceived, physical circuit breaking is implemented through dynamic hot switching scheduling execution strategy and targeted injection of preset degradation constants with anti-tampering tags. Finally, during system troughs, the damaged derivative data is accurately located using asynchronous background processes and data repair and compensation processing is implemented. It overcomes the limitations of relying solely on static physical resource threshold alarms, which can easily lead to avalanche-like blockages on critical paths; coarse-grained degradation strategies can easily trigger cascading errors and crashes in downstream subscription links; and traditional, crude manual reconciliation methods cannot guarantee accurate data verification under the complex lineage of microservices. It improves the intelligent self-healing and dynamic disaster recovery capabilities of the underlying computing power scheduling architecture under extreme concurrent load impacts. It not only ensures the timely processing of daily data transfer and service level agreement (SLA) compliance of the global system at the level of physical resource isolation, but also effectively guarantees the timeliness of daily task processing and eventual data consistency of the platform system through complete decoupling of the backbone scheduling logic and asynchronous data repair and compensation. Attached Figure Description

[0011] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is a flowchart illustrating a daily data processing method provided in the embodiments of this specification; Figure 2 This is a flowchart illustrating a logical execution order determination provided in the embodiments of this specification; Figure 3 This is a schematic diagram of a process for resolving conflicts between tasks at the same level, provided in an embodiment of this specification. Figure 4 This is a schematic diagram of a data repair and compensation process provided in the embodiments of this specification; Figure 5 This is a schematic diagram of a hierarchical disaster recovery process provided in the embodiments of this specification; Figure 6 This is a schematic diagram of the structure of a daily data processing device provided in the embodiments of this specification; Figure 7 This is a schematic diagram of the structure of an electronic device provided in the embodiments of this specification. Detailed Implementation

[0013] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0014] In the description of this specification, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. In the description of this specification, it should be noted that, unless otherwise expressly specified and limited, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Those skilled in the art can understand the specific meaning of the above terms in this specification based on the specific circumstances. Furthermore, in the description of this specification, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0015] The present specification will now be described in detail with reference to specific embodiments.

[0016] In one embodiment, such as Figure 1 As shown, a method for processing daily cut-off data is proposed. This method can be implemented using a computer program and can run on a daily cut-off data processing device based on the von Neumann architecture. This computer program can be integrated into applications or run as a standalone utility application. The daily cut-off data processing device can serve as a service platform.

[0017] Specifically, the daily data processing method includes: S102: Determine the logical execution order among multiple daily data processing tasks; Daily data processing tasks refer to periodic batch processing calculation tasks triggered at the end of a specific business cycle (such as a natural day, a specific billing or accounting cycle) to handle data changes and status changes of a large number of distributed business entities within the current cycle.

[0018] Logical execution order refers to the execution sequence in the time dimension determined based on the data dependencies, business sequence, and resource consumption relationships between the data processing tasks of each day.

[0019] In a schematic manner, the service platform can pre-obtain a preset task configuration table from an upstream system (such as a task orchestration engine). This table details the task identifier, prerequisite task association identifier, and corresponding output data flow information for each daily data processing task. Based on the parsing results of the task configuration table, a daily task dependency graph is constructed. During this construction process, each daily data processing task is abstracted as an independent topology node. If task A is determined to be a mandatory prerequisite for task B, a directed edge is created in system memory from task A node to task B node, thus forming a global system dependency network. Based on this, the underlying computing engine executes a topology sorting algorithm on the constructed daily task dependency graph, directly generating a monotonically increasing logical execution order sequence based on the topology sorting result. Optionally, if multiple concurrent nodes with zero in-degree are found during the parsing process, the service platform will arrange these nodes without prerequisite dependencies in parallel or serially within the same logical level according to a pre-configured resource allocation ratio or task static weight, thereby accurately determining the global logical execution order of all daily data processing tasks.

[0020] S104: Based on the logical execution order, extract the time series features and task business semantic features of the daily data processing task and use a time series prediction model to determine the expected completion time. Based on the expected completion time and the service level agreement baseline, detect whether there is a risk to the timeliness of the task. Time series features refer to a set of data that reflects the evolution of the running status of daily data processing tasks in the time dimension, including but not limited to the average time of similar tasks in the past, the backlog length of the current system buffer queue, and the task throughput rate per unit time.

[0021] Task business semantic features refer to attribute identifiers that break through the limitations of underlying physical resources (such as CPU and memory) and directly reflect the business essence carried by the task. Examples include the data scale level associated with a single task, VIP customer identifiers, specific promotional activity (such as "Double Eleven") tags, and the activity level of business entities.

[0022] A time-series prediction model refers to a machine learning model that can capture the time dependencies in input data and make quantitative predictions about the future state of the system. In the embodiments of this specification, it is used to output the estimated completion time of global or local daily task processing.

[0023] The Service Level Agreement (SLA) baseline refers to the inviolable task completion time limit determined by the platform and the business party. It is usually expressed as an absolute time cutoff point (such as 04:00 the next day) or a relative maximum tolerable time threshold.

[0024] Indicatively, following the logical execution order, features are extracted from each business entity node associated with the service platform, and a sequence completion time-series deduction is performed. Specifically, the log collection component first extracts the historical time distribution and current real-time queue backlog length of one or more target daily data processing tasks from a task association platform over several past periods, and numerically encodes them into a time-series feature vector. Simultaneously, by parsing the data payload feature message of the task, business context information such as the daily new transaction volume and high-priority business object identifiers are extracted and vectorized into a task business semantic feature vector. Then, the system performs dimensionality reduction and concatenates the time-series feature vector with the task business semantic feature vector to obtain a multimodal fusion feature vector. Based on this, the fused feature vector is sequentially input into the time-series prediction model according to the logical execution order for forward propagation. This model captures the non-linear mapping relationship between historical and current data, and deduces the absolute estimated completion time to reach the last task node. The service level agreement (SLA) baseline issued by the configuration center is obtained, and the difference between the absolute estimated completion time and the baseline time is compared. If the estimated completion time is later than the SLA baseline, a timeliness anomaly interruption signal is triggered to declare a task timeliness risk in the current global scheduling link. In some embodiments, the time-series prediction model can detect the existence of task timeliness risk based on the estimated completion time and the SLA baseline, and output a line-breaking flag if a task timeliness risk exists.

[0025] Optionally, the specific implementation of using a time-series forecasting model to determine the estimated completion time can refer to the following methods: 1) The daily task dependency graph is transformed into a spatiotemporal graph tensor, and the graph attention mechanism is used to extract the structural congestion features caused by the backlog of computing nodes; 2) The structural congestion features are fused with the time series features and task business semantic features to obtain multimodal fusion features, which are then used as input to the time series prediction model to output the expected completion time based on the global topology perspective.

[0026] In a schematic manner, after obtaining the logical execution order and the corresponding daily task dependency graph, it is directly converted into a spatiotemporal graph tensor containing node features and edge weights. The dynamic flow rate of each node in the graph is sensed in real time using probes as a time-series feature, and the business importance labels bound to the nodes are extracted as task business semantic features. Subsequently, these two types of features are fused and injected into the corresponding nodes of the spatiotemporal graph tensor, and a preset graph attention mechanism network model is invoked. This graph attention mechanism network model performs attention weight calculations on the entire spatiotemporal graph tensor, essentially extracting structural congestion features caused by the backlog of certain key computing nodes, much like perceiving an urban traffic network. These structural congestion features are then fused with the time-series features and task business semantic features to obtain multimodal fusion features, which are input into a time-series prediction model to output an estimated completion time based on a global topology perspective.

[0027] In one feasible implementation, the model training process of a time series prediction model is explained below: Model creation: Based on machine learning or deep learning frameworks, create an initial time series prediction model for the scenario of predicting the timeliness of daily data processing; Sample data acquisition: Acquire a large amount of historical daily task sample data. The sample data is a multimodal fusion feature vector of time series features (such as historical time consumption distribution and task backlog) and task business semantic features (such as high load business object identification and daily new data scale) extracted during the execution of each historical daily data processing task. In some embodiments, the multimodal fusion feature vector also includes structural congestion features.

[0028] Sample data labeling: Based on the actual disk write records of the daily switching system's historical execution logs (optionally, manual calibration can also be performed using expert services for abnormal congestion fluctuation samples), the sample data is labeled with corresponding sample tags, which include the actual task completion time tag for each sample data.

[0029] Model training process: Input the sample data into the initial time series prediction model for at least one round of model training to obtain the predicted completion time. Based on the predicted completion time and the actual task completion time label, determine the model loss value using a model loss function (such as error loss function or Euclidean distance loss function). Based on the model loss value, adjust the model parameters (such as network layer weights and biases) of the initial time series prediction model until the model training termination condition is met to obtain the trained time series prediction model.

[0030] Optionally, the model's training termination conditions may include, for example, the loss function value being less than or equal to a preset loss function threshold, or the number of iterations reaching a preset threshold. Specific training termination conditions can be determined based on actual circumstances and are not specifically limited here.

[0031] It should be noted that the time-series prediction models involved in one or more embodiments of this specification include, but are not limited to, fitting one or more of the following machine learning models: Long Short-Term Memory (LSTM) model, Gated Recurrent Unit (GRU) model, Graph Attention Network (GAT) model, deep model based on self-attention mechanism (Transformer), Gradient Boosting Decision Tree (GBDT) model.

[0032] S106: If there is a risk of timeliness of the task, the scheduling and execution strategy of the daily data processing task is adjusted based on the logical execution order, and the task execution performance data is monitored in real time. Based on the task execution performance data, the target daily data processing task in the task execution performance bottleneck state is subjected to circuit breaking and degradation processing. The scheduling execution strategy refers to the control logic of the service platform system, such as allocating computing resources, controlling the frequency of task dequeueing, and determining the concurrency dimension. It determines the physical execution form and resource occupation priority of tasks in the execution engine.

[0033] Task execution performance data refers to a set of quantitative indicators that characterize the real-time running status of computing nodes, including but not limited to dynamic indicators such as task backlog, I / O wait time, CPU load rate, and response latency of single-step computation.

[0034] The bottleneck state of task execution performance refers to the critical state in which the task processing speed is lower than the expected average due to factors such as resource contention, logical deadlock and sudden increase in computation, and it is usually easy to trigger cascading blockage of upstream links.

[0035] Circuit breaking and degradation refers to the protective behavior of cutting off the normal operation branch of the target task through logical means when a bottleneck in task execution is detected, and quickly returning placeholder data in a non-blocking manner that does not affect the operation of downstream logic, thereby ensuring the connectivity of the backbone link and the overall timeliness.

[0036] Indicatively, after step S104 outputs a risk alarm signal, the service platform can use the central scheduling engine to forcibly reduce the computing resource quotas of all non-critical path tasks based on a pre-determined logical execution order. Based on this, the scheduling mode of the execution engine is hot-switched from "multi-threaded concurrent preemptive mode" to "task sequential consumption mode following the ascending logical order identifier principle." Through a serialized resource locking mechanism, this ensures that all system computing resources are tilted towards critical task nodes with higher logical order. Furthermore, the service platform monitors the performance data of currently executing task nodes in real time through the scheduling engine. If it determines that a critical task node has entered a performance bottleneck state due to excessive resource consumption, it dynamically activates the backup computing power pool or suppresses secondary business loads through rate limiting instructions. This eliminates timeliness risks at the scheduling level by changing the physical topology of task execution.

[0037] S108: Asynchronously determine the damaged daily cut-off processing data affected by the circuit breaker degradation processing, and perform data repair and compensation processing on the damaged daily cut-off processing data.

[0038] Asynchronous determinism refers to the decoupling of the deterministic action from the main trunk daily scheduling link. For example, it can be a data scanning and positioning operation performed by an idle independent thread or background process pool during the system off-peak period (such as during the daytime off-peak).

[0039] Damaged daily processing data: refers to business load data that has been proactively blocked from original computing logic by the service platform due to triggering performance bottlenecks and has been forcibly degraded.

[0040] Data repair and compensation processing refers to the underlying data repair and processing mechanism that transitions damaged daily processed data from a downgraded and suspended state to a final and written-off state. This may include transaction operations such as real data retrieval, error comparison, and atomic value overwriting for data repair and compensation.

[0041] To illustrate, once the main chain of the global daily data cut-off processing task is completed, an independent asynchronous compensation daemon is activated. This daemon then scans the distributed message bus or the underlying persistent database, identifying fields containing preset degradation constants or specific degradation enumeration values ​​through pattern matching, thereby accurately locating the damaged daily data cut-off. Then, based on the unique business transaction identifier bound to the damaged data, a bypass request is made to retrieve the corresponding real business data from the original business backup database or read-only node.

[0042] Based on this, comparison logic is executed in memory space to compare the retrieved real business values ​​with the business values ​​contained in the damaged data using absolute error. If a difference is found, the underlying data storage interface is called to perform point-to-point atomic data overwriting of the damaged daily processing data using the real business values. Finally, after confirming that the overwrite instruction has been successfully written to disk, the finite state machine corresponding to the data entity is synchronously driven, updating its internal state flag from the "circuit breaker degradation" unidirectional derivation to the consistency compensation final state, thereby achieving the goal of eventual consistency of global data without blocking front-end business.

[0043] In one feasible implementation, before specifically performing the asynchronous determination of the damaged daily cut-off processing data affected by the circuit breaker degradation processing, the following approach can also be referenced: 1) At the end of the data flow of the daily data processing task, perform node logic boundary constraint verification on the numerical fields, count fields and status fields contained in the task output data; Node logical boundary constraint verification refers to the legality and security review of data payloads before the computing task submits data to the global network, based on preset hard business bottom lines (such as business data values ​​cannot be negative and state enumeration values ​​must be within a known set).

[0044] 2) If the task output data fails the node logical boundary constraint verification, the task output data is physically blocked from propagating downstream in the flow bus, and the task output data is routed to a preset dead letter queue for isolation intervention.

[0045] A flow bus refers to the underlying communication link in a distributed architecture used for high-speed data transmission between different microservice nodes or system clusters.

[0046] In computer message passing scenarios, dead-letter queues are dedicated to an isolated and secure storage area for storing abnormal data packets that cannot be properly routed or consumed due to format errors, logical out-of-bounds errors, or processing timeouts.

[0047] As an illustration, a lightweight message interceptor is mounted at the exit of the execution container of each daily data processing task.

[0048] Specifically, when any daily data processing task completes partial computation and generates task output data, attempting to push it into the system's flow bus, the service platform forcibly captures this data stream through a message interceptor. The interceptor then uses reflection or message parsing techniques to precisely extract numeric fields (such as settlement business values), count fields (such as the number of processed transactions), and status fields (such as success / failure flags) from the task output data. The interceptor compares the extracted feature values ​​with the verification rule engine issued by the configuration center, performing strict node logical boundary constraint verification. For example, it verifies whether numeric fields contain illegal negative numbers, or whether count fields match the actual payload array length. If the task output data fails any of the above constraint verifications, the service platform throws a low-level runtime exception signal, directly discarding the message's subject delivery action at the message middleware's production end, thus physically blocking the propagation of task output data to downstream systems in the flow bus. Simultaneously, the abnormal output data is automatically encapsulated in a standard error envelope and routed to a preset dead-letter queue for isolation and suspension, awaiting automated intervention by subsequent operation and maintenance scripts or manual auditing.

[0049] In the embodiments of this specification, the massive daily data processing task is deconstructed into a strict topological logical execution order. On this basis, time series features and task business semantic features are integrated into the time series prediction model to detect SLA timeliness risks in advance. Then, when risks and node computing performance bottlenecks are perceived, physical circuit breaking is implemented through dynamic hot switching scheduling execution strategy and targeted injection of preset degradation constants with anti-tampering tags. Finally, during periods such as system troughs, the damaged derivative data is accurately located using asynchronous background processes and data repair and compensation processing is implemented. It overcomes the limitations of relying solely on static physical resource threshold alarms, which can easily lead to avalanche-like blockages on critical paths; coarse-grained degradation strategies can easily trigger cascading errors and crashes in downstream subscription links; and traditional, crude manual reconciliation methods cannot guarantee accurate data verification under the complex lineage of microservices. It improves the intelligent self-healing and dynamic disaster recovery capabilities of the underlying computing power scheduling architecture under extreme concurrent load impacts. It not only ensures the timely processing of daily data transfer and service level agreement (SLA) compliance of the global system at the level of physical resource isolation, but also effectively guarantees the timeliness of daily task processing and eventual data consistency of the platform system through complete decoupling of the backbone scheduling logic and asynchronous data repair and compensation.

[0050] Optional, please see Figure 2 , Figure 2 This is a flowchart illustrating a logical execution order determination method proposed in this specification. Specifically, the following approach can be used to determine the logical execution order among multiple daily data processing tasks: S202: Construct a daily task dependency graph corresponding to multiple daily data processing tasks; The daily task dependency graph refers to an instantiated directed acyclic graph (DAG) data structure used to accurately map the pre-constraint relationships between computing nodes in a daily batch processing pipeline. The vertices of the graph encapsulate the specific computing tasks and their metadata, while the directed edges represent the data flow direction or timing blocking conditions between tasks.

[0051] In a demonstrative way, a dynamic data lineage matching approach can be used to assemble the dependency graph. Specifically, during the warm-up phase before the daily task switching cycle starts, task registration messages broadcast by each microservice compute node are received via a distributed message bus. These messages do not contain hard-coded upstream and downstream node information, but instead declare the input data topic constraints required for the task and the output data topic declaration after computation. Then, a lineage matching parser is started, instantiating all task nodes as isolated graph vertices in memory. Based on this, the supply and demand correspondence between topic publishers and topic subscribers is automatically found by scanning the topic mapping registry in memory. When it is determined that the output data topic of task A is completely consistent with the input data topic constraints of task B or that there is a subset coverage relationship, a directed edge representing the data lineage flow is dynamically generated, connecting vertex A and vertex B. Finally, all dynamically generated directed edges and vertices are aggregated to construct a daily task dependency graph that accurately reflects the current operational status of the microservices.

[0052] S204: Perform topological sorting on the daily data processing tasks based on the daily task dependency graph, and assign a monotonically increasing logical order identifier to each of the daily data processing tasks; Topological sorting is a node arrangement algorithm for directed acyclic graphs. It analyzes the directed edge constraints between vertices in the graph and outputs a sequence in which all vertices satisfy linear time order requirements, such that for each directed edge from vertex U to vertex V, U always appears before V in the sequence.

[0053] Intuitively, any unvisited node in the daily task dependency graph is selected as the starting point for recursive traversal, deeply searching all downstream tasks of that node. During this process, a global access status table is maintained. When all downstream tasks of a task node have been visited (i.e., the search path terminal or backtracking point has been reached), it is marked as "completed" and pushed onto an auxiliary stack. After the full graph traversal is complete, nodes are popped sequentially from the top of the auxiliary stack, and each node is assigned a monotonically increasing logical order identifier according to the popping order. This method ensures that tasks upstream in the data logical association always receive smaller identifier values ​​before their corresponding downstream tasks, thus guaranteeing the rigor of the logical execution order through chained recursion.

[0054] Optionally, the specific implementation of assigning monotonically increasing logical order identifiers to each of the daily data processing tasks can refer to the following method: Step A2: During topology sorting, identify time-critical path tasks, time-non-critical path tasks, and legacy computing tasks in the daily task dependency graph. In the daily task dependency graph, time-critical path tasks are computing nodes located on the longest-running backbone execution link. Any execution delay of this type of task will directly cause a breach or delay of the entire Service Level Agreement (SLA) baseline on a 1:1 scale.

[0055] For time-sensitive non-critical path tasks, the computation nodes in the dependency graph have a certain time fluctuation margin, and their delay queuing within a certain range will not have a direct negative impact on the global daily completion time.

[0056] Legacy computing tasks refer to asynchronous repair, obsolete data cleanup, or cold backup archiving computing tasks that have low priority and do not directly disrupt the settlement of the current business day.

[0057] Step A4: Assign logical order identifiers that are less than those of time-critical path tasks to the time-critical critical path tasks, and assign preset maximum value identifiers to legacy computing tasks.

[0058] The preset maximum value identifier refers to a pre-coded or configured maximum value that approximates the upper limit of the system's integer variable.

[0059] Indicatively, before formally executing the topology sorting process, a bidirectional traversal algorithm (both forward and backward) is used to accurately calculate the earliest possible start time and the latest allowed start time of each node in the daily task dependency graph. Connected links with a time difference of zero are precisely identified and marked as time-critical path tasks, while branch nodes with a difference greater than zero are marked as time-non-critical path tasks. Simultaneously, legacy computational tasks are identified by scanning the delayed execution tags in the task metadata. Then, during the topology sorting based on in-degree decomposition, a multi-level priority blocking queue with a dynamic weight comparator is initialized in memory to replace the standard first-in-first-out (FIFO) queue for storing executable nodes whose in-degree has dropped to zero. Building upon this, when the system sequentially assigns monotonically increasing logical order identifiers to nodes in the queue, a dynamic weight comparator forcibly intervenes in the dequeue logic, prioritizing the popping of time-critical path task nodes and assigning them the current smallest auto-incrementing identifier value. Subsequently, time-non-critical path tasks are popped and assigned the immediately following intermediate identifier value. Specifically, identified legacy computation tasks are physically removed from the regular concurrent sorting pool and their values ​​are directly and strongly bound using pre-written maximum identifiers in registers. Ultimately, through this combination of algorithm-level priority dequeueing and maximum hard-coding, the service platform thoroughly ensures the execution priority of the core pipeline at the underlying memory allocation stage.

[0060] S206: Determine the logical execution order among multiple daily data processing tasks based on the logical order identifier.

[0061] As an illustration, the service platform can instantiate a thread-safe global priority blocking queue in the memory space of the central scheduling server. Then, it iterates through all daily data processing tasks generated in the previous processing stage and their bound logical order identifiers (order_keys), using the logical order identifier as the unique sorting key for each task node object. Based on this, it calls the underlying sorting interface to push all task node objects into the global priority blocking queue. During the enqueueing process, the queue's internal comparator automatically performs dynamic heap adjustments based on the ascending order of the sorting key values, ensuring that the task node with the smallest logical order identifier always resides at the head of the queue. Finally, the task consumption thread pool only needs to initiate a standard polling request to this global priority blocking queue to naturally and deterministically obtain task objects in a monotonically increasing order. This establishes and executes the absolute logical execution order among multiple daily data processing tasks at the physical scheduling level.

[0062] In the embodiments described in this specification, the complex pre-constraints and dependencies between massive daily data processing tasks are precisely abstracted and mapped into a DAG data structure. A topological sorting algorithm is then applied to parse this graph structure, automatically assigning strictly monotonically increasing logical order identifiers to all computing nodes. Finally, the global logical execution order is established based on these lightweight numerical identifiers. This establishes a mapping between complex business constraints and the underlying physical computing power allocation, eliminating the system disaster risk of logical deadlocks during the task scheduling pre-stage.

[0063] Optional, please see Figure 3 , Figure 3 This is a flowchart illustrating a method for resolving conflicts between tasks at the same level, as described in this specification. Specifically, after assigning monotonically increasing logical order identifiers to each of the daily data processing tasks, the following steps are also performed: S302: Detect whether there are multiple reference daily data processing tasks with the same logical order identifier in the daily data processing tasks; The reference daily data processing task refers to a set of concurrent computing nodes that, after undergoing topological sorting, are determined to be at the same logical execution level, have no prior data dependencies on each other, and are therefore assigned the same logical order identifier.

[0064] S304: Obtain the creation time of the reference date data processing task; S306: Sort the reference date cut data processing tasks with the same logical order identifier according to the ascending order of the creation time, so as to determine the task execution pull order of the reference date cut data processing tasks.

[0065] The task execution retrieval order refers to the absolute order in which the computation thread pool requests and executes task objects from the task queue when the logical order identifiers are the same.

[0066] In a schematic manner, after allocating logical sequence identifiers for all tasks, the service platform triggers a traversal detection scan through the scheduling center. By comparing the identifier fields in the memory object set, it accurately detects and intercepts multiple reference daily data processing tasks with the same logical sequence identifier. Once such a concurrent set is detected, a joint query is initiated to the configuration center or task registry through the underlying metadata interface to obtain the original creation time of the reference daily data processing task in system memory or persistent storage. Based on this, a two-dimensional composite sorting key of "logical sequence identifier + creation time" is dynamically constructed in physical memory, and this composite sorting key is used to reorganize these concurrent task objects. Finally, the reorganized task objects are uniformly pushed into a global priority blocking queue. The comparator inside this queue follows the principle of first comparing the logical sequence identifier in ascending order, and then performing an internal heap sort according to the principle of ascending creation time when the identifiers are the same. This seamlessly establishes the task execution pull order of the reference daily data processing tasks, ensuring that the business that submits first receives computing resources first. It reduces the probability of deadlock and lock contention overhead under extreme concurrency surges, and ensures strong consistency of business data processing and high-order stability of the overall system execution pipeline with a first-come, first-served (FIFO) underlying computing power tilt mechanism.

[0067] Optionally, referring to the methods in S202-S206, the scheduling and execution strategy for adjusting the daily data processing task based on the logical execution order is specifically executed, and the task execution performance data is monitored in real time. Based on the task execution performance data, circuit breaker degradation processing is performed on the target daily data processing task with the bottleneck state of task execution performance. The following methods can be used as reference: S402: Based on the logical execution order, the scheduling mode of the daily data processing task is switched from the task concurrent preemptive mode to the task sequential consumption mode that follows the logical order identifier ascending order principle; Task concurrency preemption mode refers to the scheduling state in which multiple threads or coroutines in the underlying computing engine compete for physical resources such as CPU and memory to execute computing tasks based on the operating system's default time-slice round-robin mechanism in an unordered manner.

[0068] The task-in-order consumption mode refers to a protective scheduling state in which the computing engine forcibly suspends non-core threads, strictly follows the logical order identifiers generated by the preceding steps, and unidirectionally pulls and processes tasks using exclusive locks or serial queues.

[0069] Specifically, when a timeliness risk is detected, a kernel-level interrupt and configuration reload instruction is issued to the core execution engine to force a hot switch of the global computing thread pool scheduling mode from the unordered task concurrent preemption mode to the task sequential consumption mode. In this mode, the service platform system locks the task queues with non-critical logical order identifiers, so that the limited computing resources are strictly consumed serially only in the ascending order of the logical order identifiers.

[0070] S404: And monitor in real time whether the task execution performance data meets the preset circuit breaker matrix; The preset circuit breaker matrix refers to a multi-dimensional performance threshold judgment model. It does not rely on a single CPU or memory indicator, but rather combines system load indicators (such as task backlog), time constraint indicators (such as expected completion time), and historical statistical indicators (such as historical time quantile) through logical AND / OR combination to form a comprehensive status evaluation matrix.

[0071] To illustrate, a high-frequency probe is activated to collect task execution performance data in real time, such as the queue depth and average processing time per task node currently being consumed. This task execution performance data is then fed into a preset circuit breaker matrix residing in memory for real-time cross-comparison to determine whether the preset circuit breaker matrix is ​​met.

[0072] Optionally, the preset circuit breaker matrix includes a task backlog threshold, a completion time threshold, and a historical time quantile threshold. To determine whether the real-time monitoring task execution performance data meets the preset circuit breaker matrix, the following methods can be used: Step B2: Real-time monitoring of task execution performance data, including the backlog of tasks corresponding to the daily data processing tasks, the estimated completion time, and the historical time consumption of the tasks; Task backlog refers to the total number of business data packets or task instances currently piled up in the processing queue of the compute nodes that have not yet been pulled and consumed by the kernel threads, representing the space load pressure currently faced by the system.

[0073] Step B4: If at least one of the following conditions is met: the task backlog is greater than the task backlog threshold, the estimated completion time is greater than the completion time threshold, and the historical task time is greater than the historical time percentile threshold, then the task execution performance data is determined to meet the preset circuit breaker matrix.

[0074] Historical processing time quantile threshold refers to the baseline obtained by dynamically sampling and calculating the actual processing time of the target node over a period of time using the concept of quantiles in mathematical statistics (such as P99 and P95 quantiles). It is used to filter out very few occasional network jitters and accurately reflect the true long-term performance degradation trend of the node.

[0075] As an example, a separate low-overhead monitoring daemon thread is started in the core scheduling engine to aggregate and calculate the current precise task backlog of data processing tasks for the current day in real time. At the same time, the latest estimated completion time output by the time series prediction model mentioned above is retrieved, and combined with the recent task historical time (e.g., the P99 time distribution over the past 5 minutes) dynamically calculated based on a sliding time window, together as the task execution performance data for the current period.

[0076] Furthermore, the task execution performance data is substituted into a preset circuit breaker matrix in memory for execution rule matching. In the matching execution stack, a logical OR short-circuit evaluation mechanism is used to sequentially check three Boolean expressions: "whether the task backlog is greater than the task backlog threshold," "whether the estimated completion time is greater than the completion time threshold," and "whether the historical task execution time is greater than the historical execution time percentile threshold." During this process, once any expression is detected to be true (i.e., satisfying at least one of them), the comparison operation for the remaining dimensions is immediately terminated, and an interrupt signal is directly output. This ensures with low latency that the task execution performance data meets the preset circuit breaker matrix, buying time for subsequent physical blocking actions. This ensures that the underlying scheduling system can maintain the smooth and stable operation of the core backbone links through pre-emptive blocking measures when facing performance degradation impacts in any dimension.

[0077] S406: When the task execution performance data meets the preset circuit breaker matrix, determine the target computing node in the task execution performance bottleneck state, block the real-time operation flow of the target computing node for the target daily data processing task, and inject a preset degradation constant into the task output field of the target daily data processing task.

[0078] Preset degradation constants refer to values ​​that conform to downstream logic verification rules and are generated dynamically in the system code or by the underlying algorithm. They are used to provide a compliant output payload after physically cutting off the original complex calculations.

[0079] To illustrate, if a certain performance data point is determined to meet the circuit breaker matrix, it confirms that the target computing node has fallen into a performance bottleneck state. Based on this, the system physically destroys or forcibly suspends the real-time computing thread bound to the target computing node by calling the underlying kernel API, completely blocking its complex CPU-consuming logic. Simultaneously, the system bypasses the computing layer and uses direct memory access (DMA) or object forced assignment to directly inject a preset degradation constant into the task output field of the target daily data processing task in memory, thereby achieving the blocking with extremely low overhead and allowing the downstream subscription flow to continue.

[0080] This specification employs the S402-S406 approach to rigidly consolidate core computing resources with underlying computer protection logic when the daily task processing faces a critical overload state. This not only significantly improves the accuracy and robustness of abnormal circuit breaking through matrix cross-validation, but also achieves absolute isolation and seamless degradation across microservice links through a legitimate forged constant injection mechanism. This ensures that the backbone topology of the global computing network can maintain high-speed connectivity and ensure the SLA baseline even when facing congestion.

[0081] Optionally, the injection of a preset degradation constant into the task output field of the target day-slicing data processing task as described in S406 can be performed in the following way: 1) Analyze the downstream dependency links of the target daily data processing task and extract the minimum set of pass conditions required for the logical boundary constraints of the downstream business system; The minimum pass condition set refers to the set of data attributes that a downstream business system must possess to ensure that the program does not throw exceptions, does not trigger crashes, and meets basic rule verification when receiving data and executing subsequent logic. These attributes include, but are not limited to, data type constraints, non-null constraints, numerical range constraints, and logical association constraints.

[0082] 2) Based on the minimum pass condition set, use the placeholder data to generate a large model to generate dynamic security placeholder data that does not trigger the downtime of downstream business systems, and use the dynamic security placeholder data as a preset degradation constant. Dynamic security placeholder data refers to pseudo-simulated data derived from a large model by pre-set placeholder data. This data does not contain real business calculation results but can adapt to the downstream "minimum pass condition set". Its purpose is to bypass the default logic of the downstream system to maintain the link connection.

[0083] 3) Inject a preset degradation constant into the task output field of the target daily data processing task, and add an anti-tampering taint propagation mark to the task output field into which the dynamic security placeholder data is injected, so that the taint propagation mark is cascaded and transmitted to the subsequent task topology path along the data flow bus.

[0084] The taint propagation marker is a globally unique and tamper-proof identifier attached to the metadata of the data payload. It is used to mark in real time whether the data packet is non-genuine data generated by the circuit breaker degradation mechanism.

[0085] Indicatively, once the target computing node is determined to be in a bottleneck state, the system first analyzes the downstream dependency links of the target daily data processing task to extract the minimum pass condition set required for the logical boundary constraints of the downstream business system, thereby clarifying the downstream's requirements for the format and semantics of the output fields. Then, the minimum pass condition set and the current business context features are used as prompts input into a pre-set placeholder data generation model. Based on these prompts, the model performs heuristic deduction to generate dynamic, secure placeholder data that conforms to downstream rule verification and possesses business logic rationality (e.g., if the downstream is an interest calculation system, the historical average interest rate of the account is generated instead of a simple zero value). This dynamic secure placeholder data is injected as a pre-set degradation constant into the task output field of the target task, and a tamper-proof taint propagation marker is simultaneously added to the extension bits of the data packet header. Based on this, the system cascades the tagged payload to subsequent task topology paths via a data flow bus, ensuring that each downstream task is aware of its degradation attribute when processing the data. This achieves precise isolation and secure placeholdering of damaged business logic without interrupting the global daily data processing topology flow.

[0086] Optionally, the following example illustrates the model training process for generating a large model from placeholder data: In some embodiments, a basic large language model with powerful natural language processing and logical reasoning capabilities can be obtained, and this basic large language model can be adapted to a dynamic placeholder data inference scenario based on a microservice circuit breaker and degradation architecture to obtain a dedicated placeholder data generation model. Typically, directly applying a general basic large language model to an extremely stringent financial-grade daily switching degradation scenario makes it difficult to perfectly adapt to the complex logical boundary constraints of downstream heterogeneous business systems. Therefore, the system first obtains the basic large language model to create an initial placeholder data generation model and then obtains sample data for the new circuit breaker and degradation scenario. Since the basic large language model is usually an open-source AIGC model trained using massive corpora, it natively possesses extremely strong content generation and schema parsing capabilities. Therefore, in this embodiment, only fine-tuning and adaptation of the instructions for a specific circuit breaker inference scenario are required. Specifically, the system can use the obtained sample data to fine-tune and train the initial placeholder data generation model. After the model fine-tuning and training is completed, a placeholder data generation model adapted to the current daily switching circuit breaker disaster recovery scenario can be obtained.

[0087] The specific model training process is as follows: During the model creation phase, the system acquires a basic large language model and creates an initial placeholder data generation scenario plugin model (e.g., a low-dimensional parameter matrix network built based on the low-rank adaptive adapter LoRA technology) for dynamic placeholder data inference scenarios. Then, based on the basic large language model with frozen main parameters and the initial placeholder data generation scenario plugin model, the initial placeholder data generation large model is formed. It should be noted that the basic large language model (MLLM) includes, but is not limited to, deep learning pre-trained networks with generalization generation capabilities such as DeepSeek large models, GPT series large models, or LLaMA series large models.

[0088] During the sample data acquisition phase, the system extracts the operation logs from the historical real system architecture to obtain massive sample data under the new dynamic placeholder data inference scenario. Specifically, the sample data is the "minimum set of passing conditions required for downstream logical boundary constraints of the sample" (such as data type requirements, non-empty restrictions and value ranges required by specific downstream interfaces) and the corresponding "sample business context features" (such as the current daily cutting business cycle, the total upstream transaction volume and other environmental status parameters).

[0089] During the sample data annotation stage, based on the disaster recovery generation requirements of ensuring that the downstream business system does not crash and meets the smooth transition, an expert service is introduced to manually or in combination with automated log replay probes to annotate the sample data with the corresponding "sample dynamic security placeholder data" (e.g., real historical average data or security fallback default value that can successfully deceive the downstream system to pass the verification in a known context).

[0090] During the core model training process, the system inputs the sample data into the initial placeholder data to generate a large model for at least one round of model fine-tuning training. In the forward training propagation process: based on the input "minimum set of pass conditions required for downstream logical boundary constraints of the sample" and "sample business context features," the system uses the initial placeholder data to generate a large model for heuristic logical deduction to obtain the predicted "dynamic security placeholder data." In the backward training propagation process: based on the predicted "dynamic security placeholder data" and the actual "sample dynamic security placeholder data" labels, the system uses a preset model loss function (such as the cross-entropy loss function) to determine and calculate the model loss value. Based on this model loss value, the system uses a gradient descent optimization algorithm to perform fixed-point adjustments only on the network parameters of the initial placeholder data generation scenario plugin model within the initial placeholder data generation large model until the model training termination condition is met, thereby obtaining a lightweight and precisely adapted placeholder data generation large model.

[0091] Indicatively, the initial placeholder data generation scene plugin model can be created based on a machine learning model or a shallow feedforward neural network. Optionally, the model's training termination conditions may include, for example, the loss function value converging to be less than or equal to a preset loss function threshold, or the number of iterations (Epochs) reaching a preset threshold. Specific training termination conditions can be flexibly determined based on the system's actual computing resources and accuracy; no specific limitations are imposed here.

[0092] Optional, such as Figure 4 As shown, Figure 4 This is a flowchart illustrating a data repair and compensation process. Specifically, it asynchronously determines the damaged daily cutoff data affected by the circuit breaker degradation process and performs data repair and compensation processing on the damaged daily cutoff data. The following approach can be used as a reference: S502: Identify the task output field containing the preset degradation constant to locate the damaged daily cut-off processing data, re-execute the computing node logic that was blocked due to the circuit breaker degradation processing, or obtain the real business data corresponding to the damaged daily cut-off processing data from the alternative data source. Specifically, upon entering the asynchronous compensation phase, instead of performing a full table scan on the massive daily data scrambling, the system directly calls the inverted index of the underlying database or a memory-based Bloom filter. High-frequency retrieval field values ​​that perfectly match the preset degradation constant (or carry specific taint markers) in the physical storage rows are used to accurately locate the damaged daily data scrambling with extremely low time complexity. Then, an elastic computing sandbox, completely isolated from the production environment, is opened in the scheduling center. Using an event tracing mechanism, the original input request parameters that triggered the damaged daily data scrambling are extracted from the underlying immutable event log stream. These original parameters are then injected into the elastic computing sandbox, re-executing the computing node logic that was blocked by the circuit breaker degradation process without consuming backbone gateway connections. Finally, the system deduces and captures the precise output of this recalculation logic in the sandbox memory, using it as the real business data corresponding to the damaged daily data scrambling, thus achieving native self-repair of the data without requiring cross-network requests to external systems. Alternatively, real business data corresponding to the damaged daily cut-off processing data can be obtained from alternative data sources (such as read-only libraries of upstream business systems, distributed cache clusters, and peer-to-peer data centers under a multi-site active-active architecture).

[0093] S504: Compare the numerical error between the real value contained in the real business data and the preset degradation constant contained in the damaged daily cut-off processing data, and match the status identifier of the damaged daily cut-off processing data with the status identifier of the real business data. S506: When the absolute error of the determined value is greater than the preset error threshold, or when the status identifier of the damaged daily cut-off processing data does not match the status identifier of the real business data, the damaged daily cut-off processing data is atomically overwritten using the real value, and the status identifier of the damaged daily cut-off processing data is synchronously updated to the target final state to complete the data repair and compensation process.

[0094] Atomic data overwrite refers to using the underlying transaction mechanism or hardware primitives of the computer (such as the CAS instruction) to ensure that the two actions of updating the data value and changing the state are bound as an indivisible logical unit. That is, either they are successfully written to disk at the same time, or they fail and roll back at the same time due to an exception. There is no intermediate state.

[0095] The final state of the target refers to the final legal status identifier (such as success) of the data processing task in the logical life cycle, which represents that the data has completed the closed-loop processing of the entire chain.

[0096] In a schematic, specifically, after determining that the repair conditions are met, a "start transaction" command is initiated to the storage node via the underlying database driver. Within this transaction container, an exclusive lock is first executed on the physical row containing the damaged daily-switch data to prevent dirty writes caused by concurrent reads. The corresponding business fields are overwritten with the actual values, and the associated status flag field is synchronously changed from "degraded state" to the target final state. After confirming that the above processes have all been successfully executed, a transaction commit command is issued. If a network interruption or database hangs during execution, a full rollback is triggered, thus completely preventing the situation where the values ​​have been repaired but the state has not been updated at the physical storage level.

[0097] Optionally, if the aforementioned task timeliness risk exists, please refer to Figure 5 , Figure 5 This is a flowchart illustrating a tiered disaster recovery process, combined with... Figure 5 You can also refer to the following methods for tiered disaster recovery processing, as follows: S602: Obtain pre-configured disaster recovery parameters, including minimum dataset field integrity rate and maximum tolerable latency duration; Minimum dataset field completeness rate refers to the minimum field ready percentage threshold that a high-level downstream system can maintain the operation of its core state machine based solely on core key fields (such as fund account and transaction amount) without waiting for the upstream full-width table data to be assembled.

[0098] Maximum tolerable delay duration refers to the longest physical time window during which a standard-level downstream system is allowed to suspend and wait for upstream real-time data output before the timeliness SLA bottom line is completely breached.

[0099] S604: Perform hierarchical disaster recovery assessment on the downstream subscription system associated with the daily data processing task. S606: If the system level of the target downstream subscription system is determined to be high-level, the field readiness ratio of the data required by the target downstream subscription system is calculated in real time; when the field readiness ratio reaches the minimum dataset field completeness rate, the target downstream subscription system is triggered to start the business processing flow through the message queue to remove the full data waiting restriction. S608: If the system level of the target downstream subscription system is determined to be standard, the data waiting time of the target downstream subscription system is monitored in real time; when the data waiting time exceeds the maximum tolerable delay duration, a data source switching instruction is triggered to automatically switch the data retrieval source of the target downstream subscription system to the backup snapshot table generated at a preset time point.

[0100] As an illustration, when a time-sensitive risk is detected in the daily data processing task, the system automatically retrieves and parses pre-configured disaster recovery parameters from the global configuration center, including the minimum dataset field integrity rate and maximum tolerable latency for each subscription system. Then, using a system probe and reflection mechanism, it performs service registration-level hierarchical disaster recovery assessment on all downstream subscription systems associated with the daily data processing task.

[0101] If the target downstream subscription system is determined to be at a high-level security, the stream computing engine (such as a Flink node) will intervene in the upstream message input pipeline of the system and use a watermark mechanism to count in real time the arrival and readiness ratio of each field in the data entity required by the target downstream subscription system. When it is determined that the readiness ratio of a field reaches the minimum dataset field completeness rate, the system immediately writes a high-priority control beacon to the distributed message queue (such as Kafka), forcibly triggering the target downstream subscription system to start the core business processing flow in advance, thereby physically removing its waiting restriction for the full data of the remaining non-critical fields (such as auxiliary description text). On the other hand, if the target downstream subscription system is determined to be of standard level, the system timer module will activate the time wheel algorithm to monitor the data waiting time of the system in real time. Once the data waiting time is detected to exceed the hard red line of the maximum tolerable delay duration, the system scheduling center will immediately issue a data source switching instruction to the target downstream system via RPC command. This will forcibly and smoothly switch the underlying JDBC database connection pool or data retrieval route pointer of the system from the current sluggish real-time production database to a read-only disaster recovery instance that has a preset time point backup snapshot table mounted, thereby ensuring that the standard level system continues to operate with a non-updated but usable data view.

[0102] In this specification, the above-described method is used to build isolation in a complex microservice mesh topology. This not only shortens the overall idle period of the core backbone links at the physical resource level, but also ensures the high availability of the entire system's macro architecture and the achievement of multi-level SLA goals in harsh computing latency environments through intelligent, non-code-intrusive dynamic data source degradation and switching technology.

[0103] The following will combine Figure 6 This specification provides a detailed description of the daily data processing apparatus provided in the embodiments. It should be noted that... Figure 6 The daily data processing device shown is used to execute this specification. Figures 1-5 The methods shown in the embodiments are illustrated for ease of explanation, showing only the parts related to the embodiments of this specification. For specific technical details not disclosed, please refer to this specification. Figures 1-5 The example shown.

[0104] Please see Figure 6 This diagram illustrates the structure of a daily data processing device according to an embodiment of this specification. This daily data processing device 1 can be implemented as all or part of a user terminal through software, hardware, or a combination of both. According to some embodiments, the daily data processing device 1 includes a sequence determination module 11, a risk detection module 12, a data processing module 13, and a compensation processing module 14, specifically used for: Sequence determination module 11 is used to determine the logical execution order among multiple daily data processing tasks; Risk detection module 12 is used to extract the time series features and task business semantic features of the daily data processing task based on the logical execution order, and use a time series prediction model to determine the expected completion time, and detect whether there is a risk of task timeliness based on the expected completion time and the service level agreement baseline. Data processing module 13 is used to adjust the scheduling and execution strategy of the daily data processing task based on the logical execution order if there is a risk of timeliness of the task, and to monitor the task execution performance data in real time, and to perform circuit breaker and degradation processing on the target daily data processing task with the task execution performance bottleneck state based on the task execution performance data. The compensation processing module 14 is used to asynchronously determine the damaged daily cut-off processing data affected by the circuit breaker degradation processing, and perform data repair compensation processing on the damaged daily cut-off processing data.

[0105] It should be noted that the daily data processing device provided in the above embodiments is only illustrated by the division of the above functional modules when executing the daily data processing method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the daily data processing device and the daily data processing method embodiments provided in the above embodiments belong to the same concept, and the implementation process is detailed in the method embodiments, which will not be repeated here.

[0106] The example numbers in this specification are for descriptive purposes only and do not represent the superiority or inferiority of the examples.

[0107] This specification also provides a computer storage medium that can store multiple instructions adapted to be loaded and executed by a processor as described above. Figures 1-5 The daily data processing method described in the illustrated embodiment can be found in the following documentation for its specific execution process. Figures 1-5 The specific details of the illustrated embodiments will not be elaborated here.

[0108] This specification also provides a computer program product that stores at least one instruction, said at least one instruction being loaded and executed by the processor as described above. Figures 1-5 The daily data processing method described in the illustrated embodiment can be found in the following documentation for its specific execution process. Figures 1-5 The specific details of the illustrated embodiments will not be elaborated here.

[0109] Please refer to Figure 7 This is a structural block diagram of an electronic device provided in an embodiment of this specification. The electronic device in this specification may include one or more of the following components: a processor 1010, a memory 1020, an input device 1030, an output device 1040, and a bus 1050. The processor 1010, memory 1020, input device 1030, and output device 1040 may be connected to each other via the bus 1050.

[0110] Processor 1010 may include one or more processing cores. Processor 1010 connects to various parts of the electronic device using various interfaces and lines, and performs various functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 1020, and by calling data stored in memory 1020. Optionally, processor 1010 may be implemented using at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), or programmable logic array (PLA). Processor 1010 may integrate one or a combination of central processing unit (CPU), graphics processing unit (GPU), and modem. The CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem is used for wireless communication. It is understood that the modem may also not be integrated into processor 1010 and may be implemented separately through a communication chip.

[0111] The memory 1020 may include random access memory (RAM) or read-only memory (ROM). Optionally, the memory 1020 may include non-transitory computer-readable storage medium. The memory 1020 may be used to store instructions, programs, code, code sets, or instruction sets.

[0112] The input device 1030 is used to receive input instructions or data, and includes, but is not limited to, a keyboard, mouse, camera, microphone, or touch device. The output device 1040 is used to output instructions or data, and includes, but is not limited to, a display device and a speaker. In this embodiment, the input device 1030 can be a temperature sensor for acquiring the operating temperature of the electronic device. The output device 1040 can be a speaker for outputting audio signals.

[0113] In addition, those skilled in the art will understand that the structure of the electronic device shown in the above figures does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements. For example, the electronic device may also include radio frequency circuits, input units, sensors, audio circuits, wireless fidelity (WIFI) modules, power supplies, Bluetooth modules, etc., which will not be described in detail here.

[0114] In the embodiments of this specification, the executing entity for each step can be the electronic device described above. Optionally, the executing entity for each step can be the operating system of the electronic device. The operating system can be Android, iOS, or other operating systems; this specification does not limit this.

[0115] exist Figure 7 In the electronic device, the processor 1010 can be used to call a program stored in the memory 1020 and execute it to implement the daily data processing method as described in the various method embodiments of this specification.

[0116] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory, or random access memory, etc.

[0117] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in the embodiments of this specification are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the features, data, and information involved in this specification were all obtained under full authorization.

[0118] The above-disclosed embodiments are merely preferred embodiments of this specification and should not be construed as limiting the scope of this specification. Therefore, any equivalent variations made in accordance with the claims of this specification shall still fall within the scope of this specification.

Claims

1. A method for processing daily switching data for Service Level Agreements, characterized in that, Applied to a service platform, the method includes: Determine the logical execution order among multiple daily data processing tasks; Based on the logical execution order, the time series features and task business semantic features of the daily data processing task are extracted, and the expected completion time is determined by a time series prediction model. Based on the expected completion time and the service level agreement baseline, the risk of task timeliness is detected. If there is a risk of timeliness of the task, the scheduling and execution strategy of the daily data processing task is adjusted based on the logical execution order, and the task execution performance data is monitored in real time. Based on the task execution performance data, the target computing node of the task execution performance bottleneck state is determined, the real-time operation process of the target computing node on the target daily data processing task is blocked, and a preset degradation constant is injected into the task output field of the target daily data processing task. Identify the task output field containing the preset degradation constant to locate the damaged daily cut-off processing data, re-execute the computing node logic that was blocked due to the circuit breaker degradation processing, or obtain the real business data corresponding to the damaged daily cut-off processing data from the alternative data source, and use the real business data to repair the damaged daily cut-off processing data.

2. The method according to claim 1, characterized in that, Determining the logical execution order among multiple daily data processing tasks includes: Construct a daily task dependency graph corresponding to multiple daily data processing tasks; Based on the daily task dependency graph, a topological sorting process is performed on the daily data processing tasks to assign a monotonically increasing logical order identifier to each daily data processing task. The logical execution order among multiple daily data processing tasks is determined based on the logical sequence identifier.

3. The method according to claim 2, characterized in that, The assignment of monotonically increasing logical order identifiers to each of the daily data processing tasks includes: During topology sorting, identify time-critical path tasks, time-non-critical path tasks, and legacy computing tasks in the daily task dependency graph. Assign logical order identifiers that are less than those of time-critical path tasks to the time-critical critical path tasks, and assign preset maximum value identifiers to legacy computing tasks.

4. The method according to claim 2, characterized in that, After assigning monotonically increasing logical order identifiers to each of the daily data processing tasks, the method further includes: Detect whether there are multiple reference daily data processing tasks with the same logical order identifier in the daily data processing tasks; Obtain the creation time of the reference daily data processing task; The reference date cut data processing tasks with the same logical order identifier are sorted according to the ascending order of creation time to determine the task execution retrieval order of the reference date cut data processing tasks.

5. The method according to claim 2, characterized in that, The step of adjusting the scheduling execution strategy of the daily data processing tasks based on the logical execution order, and monitoring task execution performance data in real time, and determining the target computing node for the task execution performance bottleneck state based on the task execution performance data, includes: Based on the logical execution order, the scheduling mode of the daily data processing task is switched from the task concurrent preemption mode to the task sequential consumption mode that follows the ascending order principle of the logical order identifier. It also monitors in real time whether the task execution performance data meets the preset circuit breaker matrix; When the task execution performance data meets the preset circuit breaker matrix, the target computing node of the task execution performance bottleneck state is determined.

6. The method according to claim 5, characterized in that, The preset circuit breaker matrix includes a task backlog threshold, a completion time threshold, and a historical time quantile threshold. Whether the real-time monitoring task execution performance data meets the preset circuit breaker matrix includes: Real-time monitoring includes task execution performance data such as the backlog of tasks corresponding to the daily data processing tasks, the estimated completion time, and the historical time consumption of the tasks; If at least one of the following conditions is met: the task backlog is greater than the task backlog threshold, the estimated completion time is greater than the completion time threshold, and the historical task time is greater than the historical time percentile threshold, then the task execution performance data is determined to meet the preset circuit breaker matrix.

7. The method according to claim 5, characterized in that, The process of identifying the task output field containing the preset degradation constant to locate the damaged daily cut-off processing data, re-executing the computing node logic blocked by the circuit breaker degradation processing, or obtaining real business data corresponding to the damaged daily cut-off processing data from alternative data sources, and using the real business data to repair the damaged daily cut-off processing data includes: Identify the task output field containing the preset degradation constant to locate the damaged daily cut-off processing data, re-execute the computing node logic that was blocked due to the circuit breaker degradation processing, or obtain the real business data corresponding to the damaged daily cut-off processing data from the alternative data source; The numerical error is compared between the real values ​​contained in the real business data and the preset degradation constant contained in the damaged daily cut-off processing data, and the status identifier of the damaged daily cut-off processing data is matched with the status identifier of the real business data. When the absolute error of the determined value is greater than the preset error threshold, or when the status identifier of the damaged daily cut-off data does not match the status identifier of the real business data, the damaged daily cut-off data is atomically overwritten using the real value, and the status identifier of the damaged daily cut-off data is synchronously updated to the target final state to complete the data repair and compensation process.

8. The method according to claim 1, characterized in that, The method further includes: Obtain pre-configured disaster recovery parameters, including minimum dataset field integrity rate and maximum tolerable latency duration; A tiered disaster recovery assessment is performed on the downstream subscription systems associated with the daily data processing task. If the system level of the target downstream subscription system is determined to be high-level, the field readiness ratio of the data required by the target downstream subscription system is calculated in real time; when the field readiness ratio reaches the minimum dataset field completeness rate, the target downstream subscription system is triggered to start the business processing flow through the message queue to remove the full data waiting restriction. If the system level of the target downstream subscription system is determined to be standard, the data waiting time of the target downstream subscription system is monitored in real time. When the data waiting time exceeds the maximum tolerable delay duration, a data source switching command is triggered to automatically switch the data retrieval source of the target downstream subscription system to the backup snapshot table generated at a preset time point.

9. The method according to claim 1, characterized in that, Before identifying the task output field containing the preset degradation constant to locate the damaged daily cut-off processing data, re-executing the computing node logic blocked by the circuit breaker degradation processing, or obtaining real business data corresponding to the damaged daily cut-off processing data from alternative data sources, and using the real business data to repair the damaged daily cut-off processing data, the method further includes: At the end of the data flow of the daily data processing task, the node logic boundary constraint verification is performed on the numerical fields, count fields and status fields contained in the task output data; If the task output data fails the node logical boundary constraint verification, the downstream propagation of the task output data is physically blocked in the flow bus, and the task output data is routed to a preset dead-letter queue for isolation intervention.

10. A daily data processing apparatus for a service level agreement, characterized in that, The device, applied to a service platform, includes: The sequence determination module is used to determine the logical execution order among multiple daily data processing tasks; The risk detection module is used to extract the time series features and task business semantic features of the daily data processing task based on the logical execution order, and use a time series prediction model to determine the expected completion time. Based on the expected completion time and the service level agreement baseline, it detects whether there is a risk to the timeliness of the task. The data processing module is used to adjust the scheduling and execution strategy of the daily data processing task based on the logical execution order if there is a risk of timeliness of the task, monitor the task execution performance data in real time, determine the target computing node of the task execution performance bottleneck state based on the task execution performance data, block the real-time operation process of the target computing node on the target daily data processing task, and inject a preset degradation constant into the task output field of the target daily data processing task. The compensation processing module is used to identify the task output field containing the preset degradation constant to locate the damaged daily cut-off processing data, re-execute the computing node logic that was blocked due to the circuit breaker degradation processing, or obtain the real business data corresponding to the damaged daily cut-off processing data from the alternative data source, and use the real business data to repair the damaged daily cut-off processing data.

11. A computer storage medium, characterized in that, The computer storage medium stores a plurality of instructions, which are adapted to be loaded by a processor and executed by the steps of the method as described in any one of claims 1 to 9.

12. A computer program product, characterized in that, The computer program product stores at least one instruction, which is loaded by a processor and executed according to any one of claims 1 to 9.

13. An electronic device, characterized in that, include: A processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Data compensation method, system and equipment for service degradation

    CN113486029A

  • Method and system for predicting batch processes

    US20230103795A1