A full-link deployment process traceability tracking and abnormal positioning system and method
By deploying intent tokens and subject-specific serial numbers, a partially ordered tracing graph is established, which solves the problem of difficulty in restoring causal relationships in distributed software deployment and achieves accuracy and traceability in anomaly location.
Patent Information
- Application Number
- CN202611313688.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies make it difficult to accurately reconstruct causal relationships during distributed software deployment, leading to difficulties in anomaly localization, repeated repairs of downstream processes that overwrite the original situation, and the global timestamp sorting is prone to incorrectly connecting different attempts at events.
By generating deployment intent tokens and combining them with subject-specific sequence numbers, message identifiers, input/output summaries, and independent observations, a partially ordered tracing graph is established. The action effect contract is replayed, causal edges are determined, and the earliest inconsistent boundary is located in reverse, thus avoiding the use of cross-subject timestamp order as the basis for causality.
It enables accurate location of abnormal endpoints even when candidate causal relationships have not been disambiguated, avoids erroneous connections, ensures the traceability and accuracy of deployment status, and reduces repeated repairs.
Smart Images

Figure CN123137986A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of cross-entity tracing, state replay, and anomaly localization in distributed software deployment, specifically to a system and method for tracing and anomaly localization throughout the entire deployment process. Background Technology
[0002] Application deployment may sequentially pass through artifact repositories, orchestration controllers, network configurations, host agents, container runtimes, and business probes, and may include asynchronous callbacks, automatic retries, and parallel branching. Each stage typically only records local logs, using different request identifiers and state semantics, making it difficult to reconstruct which inputs and actions generated a particular deployment result.
[0003] When retries, rollbacks, and new versions overlap, time-sorted logs cannot reliably represent the causal sequence. Subsequent failures are sometimes simply the propagation result of upstream states not taking effect. If the final abnormal step is located, the downstream will be repaired repeatedly, overwriting the original situation.
[0004] Common deployment tracing solutions rely on timestamps, call chain identifiers, or centralized log recovery process order; when controller retries, node agent re-executions, callback loss, and concurrent changes occur simultaneously, a single timeline cannot prove the true causal relationship between actions.
[0005] The deployment controller, artifact repository, node agent, and service orchestrator each record the actions they see, and retries can generate multiple events that look identical. Chaining logs solely with timestamps cannot distinguish between the first and second attempts, and may misorder parallel writes as a fixed sequence, thus overwriting already effective states during rollback.
[0006] This application associates a deployment target with a deployment intent token and retains each execution fact with the subject's sequence number and attempt period; a definite causal edge is established only when the relationship can be proven by a message, summary, or independent observation. The action effect contract is replayed on the partially ordered graph, allowing and prohibiting post-states. Parallel writes that are not disambiguated by evidence remain unknown, and the earliest inconsistency boundary is located by tracing back from the anomalous endpoint.
[0007] This scheme does not directly write the cross-subject timestamp sequence as a causal edge. The intent token limits the scope of a single deployment, and the subject sequence number, message identifier, and input / output digest are used to form a partially ordered relationship. Undisambiguated writing maintains candidate edges, and only after state replay can exclude candidates is the earliest common inconsistency boundary obtained from multiple abnormal endpoints found. Summary of the Invention
[0008] Rolling deployments are executed concurrently by the controller, artifact repository, node agents, and orchestrator. Clock discrepancies exist between these entities, and messages may be duplicated, out of order, or lost. Simply sorting by global timestamps can lead to erroneous write connections from different attempts or allow later successes to mask unacknowledged side effects from previous attempts. This invention aims to address the issue of replaying deployment states without using cross-entity time sequence as the basis for causality determination, even when candidate causal relationships are not disambiguated, and using a unique, repeatable sorting rule to locate the earliest inconsistency boundary that covers multiple anomalous endpoints.
[0009] The first aspect of this application provides a method for end-to-end deployment process tracing and anomaly localization, characterized by comprising: generating a deployment intent token containing a target artifact summary, a target configuration summary, and a deployment scope based on the deployment target, and injecting the deployment intent token into artifacts, control messages, and status callbacks; each deployment entity collects actual read sets, actual write sets, pre-state summaries, post-state summaries, and submission status before and after the execution of an action, generating a deployment tracing event containing a monotonic sequence number within the entity, an attempt period, an input summary, an output summary, and an explicit parent event, and incrementing the attempt period and retaining previous events during automatic retries; establishing a definite causal edge based on the matching of sequence numbers within the same entity, the matching of message sending and receiving identifiers, the matching of upstream output summaries and downstream input summaries, or independent observation relationships, and recording the edge as a candidate conflict edge when a directed cycle is formed by the edge to be added, constructing a partially ordered tracing graph only with acyclic definite causal edges; taking The action effect contract is defined by limiting the pre-action state, read / write set, allowed post-action state, prohibited post-action state, observation interface, evidence submission, and compensation entry point. The deployment tracing events are replayed according to the partially ordered tracing graph, and the corresponding states are marked as confirmed, contradictory, or unknown. Parallel events with intersecting write sets and lacking a clear submission order are kept as candidate states. The abnormal endpoints connected by causal edges are divided into abnormal endpoint components. For each abnormal endpoint component, the set of paths from the most recently confirmed state to the abnormal endpoint is obtained in reverse. From each path, the boundary candidate events with confirmed predecessor states and contradictory or unknown current states are selected. The earliest inconsistent boundary with the earliest topological position intersecting with each reverse path is determined. The evidence path from the earliest inconsistent boundary to the abnormal endpoint, the affected object, the effective attempt period, the undisambiguated candidate edge, and the rollback checkpoint are output. The independent observations after processing are added as new deployment tracing events.
[0010] Furthermore, the deployment intent token also includes an intent identifier, artifact source, configuration mode version, and token digest; each deployment entity creates a local attempt period based on the deployment intent token, automatic retries and compensation use new attempt periods respectively, and deployment tracing events of different attempt periods cannot overlap with each other.
[0011] Furthermore, the deployment tracing event includes at least the deployment intent identifier, step identifier, subject identifier, subject sequence number, attempt period, action type, actual read set summary, actual write set summary, previous state summary, subsequent state summary, input summary, output summary, explicit parent event, submission status, and evidence credibility level.
[0012] Furthermore, establishing a definite causal edge includes at least one of the following: establishing a sequential edge between adjacent monotonic indices within the same subject; establishing a call edge between a sending event and a receiving event with the same message identifier; establishing a data consumption edge between events where the upstream output digest and the downstream actual input digest are consistent; establishing an observation edge when an independent observation clearly points to a single write; and not establishing a definite causal edge between events that only have a temporal relationship.
[0013] Furthermore, for multiple candidate parent events, when the explicit submission event points to a trial period or the independent observation is consistent with only one candidate poststate, the corresponding candidate causal edge is converted into a definite causal edge and the remaining candidate causal edges are excluded; the earliest inconsistent boundary is minimized in layers according to the order of the maximum topological depth of the boundary event, the sum of the topological depths, the number of events, and the event stability identifier.
[0014] Furthermore, the rollback checkpoint is the most recent consistent state before the earliest inconsistent boundary; during the handling process, the objects intersecting with the boundary event write set are frozen first, and compensation is only performed on the objects; when the interface times out and the commit status is unclear, independent observations are obtained first, and actions with side effects are not repeated before the external state is confirmed.
[0015] A second aspect of this application provides a system for tracing and locating anomalies in the entire deployment process, characterized by comprising an intent token module, a tracing event acquisition module, a tracing graph construction module, an effect contract replay module, an anomaly boundary location module, and a disposal write-back module; the intent token module is used to generate and inject deployment intent tokens; the tracing event acquisition module is used to generate deployment tracing events retained according to the trial period; the tracing graph construction module is used to construct a partially ordered tracing graph based on causal evidence and directed cycle detection; the effect contract replay module is used to replay events and mark states according to action effect contracts; the anomaly boundary location module is used to determine the inconsistency boundary that intersects with the reverse path and has the earliest topological position for the anomaly endpoint component; the disposal write-back module is used to output evidence paths, affected objects, and rollback checkpoints, and append disposal observations to the partially ordered tracing graph.
[0016] A third aspect of this application provides an electronic device, characterized in that it includes a processor, a memory, a communication interface, and a computer program stored in the memory and capable of running on the processor, wherein the communication interface is used to connect to a deployment controller, an artifact warehouse, a node agent, or a service orchestrator, and the computer program, when executed by the processor, implements the method according to any one of claims 1 to 6.
[0017] A fourth aspect of this application provides a non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that the computer program, when executed by a processor, implements the method described in any one of claims 1 to 6.
[0018] A fifth aspect of this application provides a computer program product comprising a computer program, characterized in that, when executed by a processor, the computer program implements the method described in any one of claims 1 to 6.
[0019] Deploying intent tokens and trial periods prevent automatic retries from overwriting previous facts, determining the source of evidence for causal edges, and loop detection avoids constructing causal chains based solely on similar times; action effect contracts replay the expected state and the actual read / write set item by item, with the earliest inconsistency boundary covering each abnormal endpoint component, enabling the scope of handling to be limited to objects intersecting with abnormal paths and the nearest consistent checkpoint. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of the end-to-end deployment traceability and anomaly localization process, showing that the deployment intent token runs through the main event, part of the ordered graph, effect contract replay and the earliest inconsistency boundary, and subsequent events with the same deployment intent are formed by the disposal observation write-back.
[0021] Figure 2 This is a schematic diagram of the system structure for end-to-end deployment process tracing and anomaly localization. It shows that intent tokens, uncoverable attempt period events, partially ordered graphs, effect contract replay results, and anomaly boundaries are passed in sequence, and the handling write-back module then sends the execution observations back to the tracing event acquisition module.
[0022] Figure labeling: Intent token module 11, source event acquisition module 12, source graph construction module 13, effect contract replay module 14, anomaly boundary location module 15, and handling write-back module 16. Detailed Implementation
[0023] The following implementation distinguishes event identities by deployment intent identifier, subject sequence number, and attempt period, and explains the generation conditions for determining causal edges, candidate conflict edges, state replay, and rollback boundaries.
[0024] The "Action Effect Contract" is a versioned input for state replay, containing at least the action identifier, the target object, the preceding state predicate, the actual read set, the expected write set, the allowed poststate, the prohibited poststate, the observation interface, the submission evidence mode, the timeout state, and the compensation entry point. An action cannot enter the confirmed state if the preceding state is invalid; a conflict is indicated if the actual poststate does not match the allowed poststate; and an unknown state is indicated if there is a lack of completed observations or if multiple candidate poststates can be used to explain existing observations.
[0025] Deployment tracing events must at least store the deployment intent identifier, subject identifier, subject sequence number, attempt period, action type, read / write set summary, before / after state summary, input / output summary, explicit parent event, commit status, and evidence trust level. An automatic retry generates a new attempt period, and the original attempt event remains unoverwriteable. The business key consists of the deployment intent identifier, subject sequence number, and attempt period; the physical storage primary key does not participate in causal determination.
[0026] Causal edges are determined solely by four types of evidence: monotonic sequence numbers within the same entity, sender-receiver relationships for the same message identifier, upstream output digests matching downstream actual input digests, and independent observations explicitly pointing to a single write. Each time an edge u→v is to be added, a depth-first search is performed from v along existing causal edges. If u can be reached, the edge forms a directed cycle, which is recorded as a candidate conflict edge, preserving the source of the conflict, and keeping u, v, and their dependent states unknown. Only edges that pass cycle detection are included in the topological sort. Events that are only temporally close can only be used as sorting information for candidate edges. When two candidate parent events are written to the same resource without a commit order, replaying retains both candidate states; only explicit commit evidence or independent observations consistent with only one subsequent state can exclude the other candidate.
[0027] Deploying tracing events can be in the following states: received, executed, unclear commit, confirmed, contradictory, candidate parent event, rolled back, and isolated. When an interface times out and the external state is unclear, it enters the unclear commit state and first obtains an independent observation; when the observation confirms that a write has occurred, it switches to confirmed and does not call again; when the observation is still uncertain, it preserves the current state and prevents automatic rollback from overwriting the same write set.
[0028] Acyclic causal edges are used to divide the abnormal endpoints into several connected components. For each component, a set R of reverse paths from the most recently confirmed state to each abnormal endpoint within that component is established. Boundary candidate events must be located between confirmed predecessors and contradictory or unknown current states. A binary variable yb is set for each candidate event b, and a covering constraint of Σb∈r yb≥1 is established for each path r∈R. The solver fixes the branch order according to the stable identifier of the candidate events and adopts deterministic branch bound: first, the upper limit of the candidate depth h is enumerated and events with depth(b)>h are eliminated. Within the minimum h where a covering solution exists, Σb depth(b) and Σb yb are minimized in turn. The minimum increment of the uncovered path is used as the lower bound for pruning. When all are in parallel, the solution with the smallest lexicographical order of the stable identifier sequence is selected. Thus, F(B)=[maxb∈B depth(b), Σb∈B depth(b), |B|, stableId(B)] is obtained in lexicographical order. The variables and branches on the finite event graph are finite, and the process terminates when the traversal is complete.
[0029] When an external component cannot carry an intent token, a proxy mapping is established only if the call channel identifier, message digest, target object, and time interval all uniquely match, and the mapping is marked with a lower trust level. If no unique match is found, isolated candidate events are retained, and connections are not forced. When a late event changes a candidate edge or inconsistent boundary, a new positioning version is generated, while the old version and executed handling records remain readable. When multiple independent exception sources cannot be explained by the same boundary, multiple boundaries are output without forced merging.
[0030] The node agent made its first attempt to write to the configuration, but the completion message was lost. The controller then initiated a second attempt. The first and second attempts had different attempt periods and write set summaries. When subsequent independent observations are consistent with the post-state summary of the first attempt, the first candidate edge becomes a confirmed edge, and the second success event cannot overwrite the first write fact. Replay lists the confirmation gap of the first attempt as a boundary candidate, and the rollback checkpoint takes the most recent consistent state before that event, freezing and restoring only the objects that intersect with its write set.
[0031] This method only processes event-level causal relationships generated during deployment and operation. The source of edges is limited to subject sequence number, message sending and receiving, input and output summaries, and independent state observations. The output includes event inconsistency boundaries, evidence paths, and rollback checkpoints. Physical configuration relationships such as device ports, liquid circuits, and power circuits, as well as their capacity or flow influence upper and lower bounds, are not included in the graph edges and outputs of this method.
[0032] The following combination Figure 1 and Figure 2 This illustrates the formation process of partially ordered source graphs, candidate causal edges, state replays, and inconsistent boundaries.
[0033] Figure 1Deployment tracing is represented by three stages: fact formation, contract replay, and disposal verification. Each entity only declares its local order and explicit calling relationships; the central node does not forcibly supplement a single total order based on the wall clock.
[0034] Step S100 generates an intent token based on the target artifact, target configuration, and deployment scope, and writes the token digest to the artifact list, control message, and status callback. Each deployment entity establishes a local attempt period for the current token; the retry or compensation increments the period, and the old period events remain read-only, so that multiple attempts of the same action can be identified separately in subsequent graphs.
[0035] Step S200 collects the actual read set, write set, pre-state, post-state, and commit status before and after each action call, and appends and deploys traceability events according to the monotonic sequence number within the main body. An undetermined commit event is still generated even if the interface times out; input digests, output digests, and explicit parent events are saved with the records, and time proximity is not used as a substitute if the parent relationship cannot be obtained.
[0036] Step S300 establishes causal edges based on the subject's sequence number, message sending and receiving identifiers, input / output summary matching, and independent observations. Each added edge is first searched in reverse from its endpoint; edges forming directed cycles are downgraded to candidate conflict edges. When multiple parent events are written to the same resource without a commit order, the candidate subsequent state remains unknown, preventing overwriting processing.
[0037] Step S400 applies the action effect contract according to the topological order of the acyclic edges. The pre-predicate, allowed post-state, and prohibited post-state are compared with the actual observations respectively; parallel events with disjoint write sets can be swapped and replayed, while events with intersecting write sets are only ordered after evidence is submitted or other candidates are excluded by independent observations.
[0038] Step S500 divides the abnormal endpoint connected by the determined causal edge into independent components, and enumerates the path from the most recently confirmed state to the abnormal endpoint in reverse for each component. Candidate boundaries must be between confirmed predecessors and contradictory or unknown current states; events that do not belong to these reverse paths are not included in the disposal set.
[0039] Step S600 first minimizes the maximum topological depth of boundary events, then compares the sum of topological depths with the number of events. If they are completely equal, a definite result is obtained according to the stability indicator. The publication record provides the undisambiguated candidate edges, the affected write sets, and the most recent consistent checkpoint; the processed independent observations are appended with new events without rewriting the original boundary version.
[0040] Each step establishes a traceable relationship through deployment intent identifiers, parent events, and input summaries. If a late event changes the candidate edge or anomaly boundary, the system generates a new location version while retaining the old version and the actions already performed; confirmation components that have no dependency on the late event are not relocated.
[0041] Furthermore, the deployment intent token includes at least a target artifact summary, a target configuration summary, and a deployment scope, and creates a local attempt period for each deployment entity.
[0042] Furthermore, the input and output summaries of the deployment traceability event correspond to the actual consuming object and the actual generating object, respectively, and the automatic retry increments the attempt period without overwriting previous events.
[0043] Furthermore, when constructing a partially ordered source graph, definite causal edges are established only based on the subject's indices, explicit calls, input-output summary matching, or independent observation relationships.
[0044] Furthermore, for deployment tracing events with multiple possible parent events, candidate causal edges with a credibility level are retained until state replay obtains submission evidence that can resolve the candidate relationship.
[0045] Furthermore, replaying expected state transitions involves determining whether parallel events are commutable based on the resource write set, and maintaining an unknown state when there is no explicit commit order within the same write set.
[0046] Furthermore, the earliest inconsistency boundary is the smallest set of events that can cover the reverse path of the abnormal endpoint and is located between the confirmed state and the contradictory or unknown state.
[0047] This application binds deployment tracing events to processing periods and input summaries, ensuring that each processing result can be traced back to a specific version. Subsequent processing involves injecting deployment intent tokens containing target summaries and scope into artifacts, messages, and callbacks, forming tracing events with in-subject sequence numbers, attempt periods, and causal parent identifiers. A partially ordered tracing graph is constructed, and the desired state transition is replayed to determine the earliest inconsistency boundary using a minimal set of events. In terms of state meaning, "confirmed" indicates the existence of direct technical observations or mutually independent indirect observations with consistent input summaries; "unknown" only indicates that supplementary evidence is needed.
[0048] The system reads the target artifact and configuration summary, deployment scope, pre- and post-action status of each subject, subject sequence number, and trial period from the corresponding interface. The interface request carries the object stability identifier, expected version, calling permissions, and idempotent key, while the response carries the actual version, collection time interval, quality flag, and content summary. Data from cache, mirror, or inference is stored from its direct source. Fields that cannot be obtained are given explicit unknown values, and unknown fields are left blank. Historical data must not be assumed to be the current value.
[0049] The credibility level of candidate causal edges, replay termination conditions, boundary target order, and event retention window are fixed with the deployment intent version. If the event graph is incomplete or the candidate path set is empty, it returns "uncomputable"; time errors can only affect the candidate edge ranking and cannot be lowered to convert them into deterministic causal edges.
[0050] After entering control processing, the system reads the deployment tracing event and first performs checks on field type, object existence, version continuity, permission scope, and integrity digest. Then, it calls and injects the generated intent token into the processor corresponding to the earliest identified inconsistency boundary. The processor only generates new output records, and the already confirmed upstream fields are not modified in place. When rules or topology need to be corrected, the next version is generated, and the set of affected objects is retrieved from the dependency index.
[0051] Data flows between steps in the form of structured objects. The previous step outputs a deployment intent token or a partially ordered traceability graph, which is written to the parent version field. The next step re-verifies that the parent version is still the current valid version before generating the evidence path and scope of action. If a local sequence number gap occurs during the process, only the branches that depend on the failed interface are frozen, while other unrelated branches remain in the confirmed state.
[0052] The determination of the candidate set includes two stages: constraint screening and ranking within the set. The first layer establishes a feasible set with hard constraints based on events that cannot be covered during different attempt periods, candidate causal relationships that are not definitively proven, and the unknown causal relationship when the same write set lacks a submission order. The second layer ranks candidates only within the feasible set based on risk, latency, resource consumption, or the completeness of evidence. When the hard constraint screening result is empty, constraint conflicts are recorded instead of forcibly generating candidates by lowering the threshold.
[0053] When preparing to commit results, retrieve the independent commit observations and the current deployment source event header versions, and compare them with the input digests saved during the preparation phase. Commit is allowed if the digests match; if the digest changes but does not affect the current dependency branches, the confirmed output is reused; if a digest change hits a dependency index, only the affected branches are recalculated, and unaffected branches are not rolled back entirely.
[0054] The location results include the anomalous endpoint component, the earliest inconsistency boundary, undisambiguated candidate parent events, affected write sets, and rollback checkpoints. Automatic handling is only available for objects with confirmed boundaries that are still valid during the trial period; for unknown boundaries, observations are submitted supplementarily first, and multiple independent anomalous sources are published separately and not merged into a single broad result.
[0055] The deployment tracing event is a structured record that runs through the processing chain of this invention, and includes at least the deployment intent identifier, step identifier, attempt period, subject identifier, input summary, output summary, previous state summary, subsequent state summary, causal parent event, subject sequence number, observation time, and evidence credibility level. The attempt period distinguishes multiple retries of the same step; the causal parent event originates from input consumption, control calls, or state observation relationships; and the evidence credibility level distinguishes between direct execution results, independent observation results, and inferred results.
[0056] Deployment intent tokens are generated at the start of a deployment and are delivered with artifacts, control messages, and status callbacks; the token contains a summary of the target version and the deployment scope, but does not contain business-sensitive content.
[0057] Partially ordered source graphs only require that the order, explicit call relationship, and input-consumption relationship be valid within the same subject, and do not force the establishment of causal edges based on unverifiable close time.
[0058] The system is deployed across artifact services, orchestration services, network control services, host agents, and runtime probes. Each execution entity associates events by deploying intent tokens and step periods; it does not require all entities to share a single clock, but event sequence numbers within the same entity must monotonically increase.
[0059] In step S100, a deployment intent token is generated and propagated. The deployment entry point calculates a digest of the target artifact, configuration, and target object to generate a deployment intent identifier. Each downstream entity copies this identifier when receiving a control message or reading an artifact, and simultaneously creates a local entity identifier and attempt period. If an external component cannot write the token, a mapping is established at the gateway using a message digest and invocation channel.
[0060] In step S200, the pre- and post-state traceability events are registered. The input summary points to the actual consumed product or configuration, and the output summary points to the generated resource or control result. The pre- and post-states are associated through the same action identifier; the post-state obtained by an independent observer can be treated as another event and point to an action event. Automatic retry increments the attempt period, without overwriting previous events.
[0061] In step S300, a partially ordered source graph is constructed. Sequential edges are established within the same entity according to their sequence numbers; transitive edges are established when the caller's output summary matches the callee's input summary; state observations point to the most recent valid action of their observed object. Events that are only close in time but have no summary or calling relationship are not directly connected. When two possible parent events occur, candidate edges and confidence states are retained for resolution during the replay stage.
[0062] In step S400, the desired state transition is replayed. The action-effect contract describes the preceding state, allowed state transitions, and observable subsequent states. Replay is processed in topological order; if multiple parallel events do not share a common write set, they can be arbitrarily ordered; if write set conflicts occur, the valid branch is determined by the attempt period and the explicit commit event. When observations are lacking, the event remains unknown, and downstream failure is not used to infer that upstream failure is inevitable.
[0063] In step S500, the earliest inconsistent boundary is calculated. Each anomalous endpoint forms a set of reverse reachable events. The system calculates the set of boundaries that satisfy the reverse path coverage constraint and are hierarchically sorted by the maximum topological depth, the sum of depths, and the number of events. First, it filters the boundaries that are located between confirmed predecessors and contradictory or unknown current states and cover all anomalous paths. Then, it minimizes the maximum topological depth, the sum of depths, and the number of events in sequence. For mutually independent anomalous events, multiple boundaries are output without forced merging.
[0064] In step S600, the source tracing path and the scope of action are output. The output simultaneously labels direct evidence, candidate causal edges, and unknown gaps. Rollback only covers objects generated during valid attempt periods and located downstream of the boundary; if an old attempt period has been replaced by a new period, only the audit is retained, and no further rollback is performed. Post-action observations form new events, making the localization results verifiable.
[0065]
[0066] In the formula, R is the set of reverse reachable events corresponding to each abnormal endpoint, B is the candidate inconsistency boundary, and the constraint... , B indicates that B must cover all anomalous endpoints; depth measures the topological depth in the direction from the confirmed root event to the anomalous endpoint, |B| is the number of boundary events, and the weights are only used to sort among candidate boundaries that satisfy the coverage constraint.
[0067] Event summaries are calculated using normalized fields to avoid discrepancies in summaries for the same status due to irrelevant times or random identifiers in the logs. Artifact summaries, configuration summaries, and resource instance summaries are calculated separately to facilitate identification of the source of differences.
[0068] Conflict writes are identified through resource write sets and commit events. Two concurrent events writing to different fields are allowed to be merged; when writing to the same field and there is no explicit commit order, the status is marked as unknown and two candidate branches are retained.
[0069] Example 2 illustrates the establishment of partially ordered relationships using a rolling deployment involving the controller, artifact warehouse, node agent, and service orchestrator. Discrepancies are permissible between the clocks of each entity; the system does not require all logs to be mapped to the same single point in time beforehand.
[0070] A deployment intent token contains at least the deployment identifier, target artifact digest, target configuration digest, target object set, allowed concurrency width, and initiating version. The artifact repository returns the downloaded object along with the token digest; the node agent writes the digest of the actually consumed artifact to the event, thus identifying situations where a message carries the target digest but the node actually uses the old cache.
[0071] The deployment of tracing events includes subject identifier, subject sequence number, attempt period, action type, read set summary, write set summary, previous state summary, subsequent state summary, explicit parent event, and submission status. Automatic retries only increment the attempt period and do not overwrite the first attempt; two attempts of the same action can produce different subsequent states and participate in subsequent causal judgments respectively.
[0072] Causal edges are established according to four rules: consecutive sequence numbers within the same entity; identical message sending and receiving identifiers; identical upstream output digest and downstream actual input digest; and independent observations clearly pointing to a specific state write. Mere temporal sequence is only sufficient as candidate edge sorting information to definitively establish a connection between two events.
[0073] If event e makes a write to resource set W(e), and the write sets of two parallel events are disjoint and have no read / write conflicts, then state replay allows their order to be swapped; if the write sets intersect but lack a commit order, replay generates two candidate states. The other candidate edge is deleted only if one of the candidate edges is consistent with subsequent independent observations.
[0074] The calculation of the earliest inconsistency boundary proceeds backward from each anomalous endpoint to the most recent confirmed state. Let R be the set of reverse paths from the anomalous endpoint, and the candidate event set B must intersect with every path in R. Among the sets that satisfy this condition, the set with the earlier sequence number and fewer events within the main body is selected first, and the undisambiguated candidate edges are output as the boundary uncertainty.
[0075] For example, the node agent's first attempt writes to the configuration but the completion message is lost, and the controller subsequently initiates a second attempt. If only time is used for sorting, the second success will overshadow the first write; this method preserves both attempt periods and uses write set digests to discover that the first attempt has generated external state, listing the acknowledgment gap of the first attempt as the earliest inconsistency boundary.
[0076] The rollback checkpoint is determined by the most recent consistent state prior to the boundary event. The handler first freezes new actions that intersect with the boundary event write set, and then restores them according to the reverse dependency; the restore observation is appended to the original graph as a new source event. If the rollback is only confirmed on some nodes, unconfirmed nodes remain isolated, and already confirmed nodes are not rewritten due to global retries.
[0077] The system can also perform offline replay of the same deployment intent. The inputs are the intent token, all original events, and the effect contract. The output should maintain the same candidate edges, confirmed edges, and earliest inconsistent boundaries. When any event summary is changed, only the subgraph reachable from that event is recalculated to verify the reproducibility of the localization process.
[0078] In terms of data organization, each deployment tracing event includes at least a read set summary, a write set summary, a before-and-after state summary, an explicit parent event, an attempt period, a commit status, and an independent observation. The business identity and the database auto-incrementing primary key are stored separately; the business identity is determined by the deployment intent token, the subject's sequence number, and the attempt period, while the auto-incrementing primary key is only used for physical location. Updates use append-only versions, with the previous version recording its termination reason and remaining readable, thus enabling differentiation between object changes, repeated data collection, and reprocessing of the same object.
[0079] The status of a deployed tracing event is determined by the facts obtained: after collection, it is "received"; after the main report is executed, it is "executed". When the receipt matches the independent observation, it is "confirmed"; when they are inconsistent, it is "contradictory". If the receipt is missing and the current state cannot disambiguate, it remains "unclear submission". Parent relationships with only temporal correlation are marked as candidate parent events, and after compensation or isolation, they are recorded as "rollbacked" or "isolated", respectively. Status changes, along with triggering evidence and previous state summaries, are appended and saved. During replay, backfilling missing events with the final state is not allowed.
[0080] Configuration writes, service switches, or artifact activations employ a separate processing approach for preparation records and submission observations. Preparation records store the expected write set, action period, and compensation entry point; receipts and independent observations jointly confirm the submission. If a receipt times out and the external status is unclear, only the unclear event is appended and the target status is read; execution is not immediately repeated.
[0081] An event idempotent key consists of a deployment intent identifier, a subject identifier, a subject-specific sequence number, and an attempt period. When events with the same key and input digest arrive again, the existing event is reused; events with different digests are recorded as conflicts. Each subject only performs conditional writes on its own monotonic sequence number, without reordering events through a global arrival order.
[0082] Both local events and message sending / receiving times are stored as time intervals, which are only used to filter potential relationships. A candidate relationship can only be converted into a definitive edge if the message identifier, summary, or independent observation all match uniquely. Late events are written to the original attempt period and trigger a new graph version instead of overwriting the current conclusion.
[0083] The minimum evidence level for candidate causal edges is set by edge type: subject order edges require monotonic consecutive sequence numbers, call edges require unique message identifiers, and data consumption edges require consistent input and output digests. Replay termination conditions, boundary set sorting parameters, and event retention windows are fixed as parameter snapshots according to deployment intent. These snapshots can originate from interface contracts, storage retention policies, and offline replay records; new snapshots only apply to subsequently generated graph versions.
[0084] Upon an anomaly, the system recovers according to the following scope: recovering in reverse order of write-set dependencies from the checkpoint before the earliest inconsistency boundary, and appending recovery observations to the backtracking graph. Each rollback request has an independent action number, and upon successful execution, recovery observations and a post-recovery summary are appended; if a step cannot be recovered, subsequent compensations dependent on that step are discontinued, on-site evidence is preserved, and the object is placed in an isolated state to prevent null values from masquerading as recovery completion.
[0085] This embodiment can be implemented collaboratively by a deployment controller, artifact repository, node agent, and service orchestrator. Each entity generates its own monotonic sequence number and sends a traceability event with a pattern version; the aggregation end checks the required fields, digest length, and enumeration range item by item. Unknown optional fields can be left uninterpreted while preserving the original message, while unknown required fields make the event non-replayable and return the currently supported event pattern version.
[0086] It can construct scenarios such as controller retry, node proxy concurrency, callback out-of-order, and partial rollback, and compare them with global time sorting, normal call chains, and partially ordered tracing graphs. Using manually locked event causal relationships as the verification benchmark, it checks the earliest inconsistency boundary, the number of missing or forged causal edges, and whether the suggested rollback checkpoints cover the minimum necessary range.
[0087] When the control process resumes, it scans subsequent events starting from the most recent complete graph checkpoint. Confirmed events are resumed according to their original subject sequence numbers. Prepared but unconfirmed actions are determined by the current state of the target object to be continued, compensated, or isolated. During the resumption period, only this replay is marked, without changing the attempt period before the interruption or the causal parent relationship.
[0088] The original representations of read / write sets, before / after states, and commit observations provided by different subjects are preserved, and then a normalized summary is generated according to the field patterns in the action contract; message identifiers, attempt periods, and subject numbers must not be converted using name similarity rules. Fields that fail to normalize are marked as unknown and their origin is retained. If two subjects provide conflicting after states for the same write, the system retains two candidate events simultaneously, freezes the intersecting write sets, and waits for disambiguation by independent observations or explicit commit records.
[0089] When multiple boundary candidates satisfy the same hierarchical objective, the completeness of the causal evidence is first verified, and then the rollback span and event stability indicator are compared. All comparison values and unadopted candidate paths are saved together to avoid uninterpretable boundary results at different nodes of the same event graph.
[0090] When saving events, the resource identifiers in the read and write sets are first sorted, then the subject identifier, subject sequence number, attempt period, input / output summary, and commit status are encoded, and finally, the event content summary is calculated. String normalization only uses the encoding rules explicitly defined by the event pattern and does not merge resources with similar display names. Based on this, the aggregator can verify the same events from different subjects without concatenating two real objects into a causal edge.
[0091] The version summary of a deployment traceability event is calculated by encoding the intent identifier, subject identifier, subject sequence number, attempt period, input summary, and parameter snapshot summary by length. The reader also verifies the action mode version to prevent events with the same display name but different artifacts or configurations from being misidentified.
[0092] Event credibility is recorded separately for source authenticity, temporal integrity, field integrity, and cross-consistency. State replay declares the minimum components required for each field; when an observation is updated, only the post-state and anomalous paths referencing that observation are replayed, without copying other confirmed events.
[0093] If an event is missing a field, the graph builder first checks whether the field is used to establish a causal edge or replay the corresponding action contract; if an irrelevant field is missing, only a gap is left on the event. When a read / write set, commit status, or unique message identifier is missing, the relevant edge remains in candidate status, and a request for its supplement is sent to the subject that generated the event. The supplementary record must include the deployment intent identifier, subject identifier, original subject sequence number, attempt period, and a new content summary. Upon receipt, only the subgraph with that event as its endpoint is updated.
[0094] Each side effect action corresponds to a preparation, invocation, submission observation, and compensation record in the event catalog. If a receipt is lost but an independent observation is consistent with the post-state of a certain attempt period, the period is confirmed without re-issuing the action; if observations cannot be disambiguated, multiple candidate parent events are retained, and the automatic handling of write set intersections is frozen.
[0095] Event ingestion is partitioned by deployment intent identifier and subject identifier. Within each subject, a sequence number is allowed only one conditional write. Cross-subject events can arrive in parallel. When buffer pressure is too high, acknowledgments, compensations, and independent observations cannot be discarded. Repeated heartbeats can be merged and their counts saved within the same attempt period, but message sending and receiving events, configuration write events, and records across automatic retries are always retained one by one.
[0096] The verification data includes duplicate controller deployments, out-of-order node agent callbacks, action receipt timeouts, artifact mode upgrades, and a tampered input digest. The system should associate duplicate actions with the original attempt period, downgrade time-based cycles to candidate edges, and stop automatic handling of write set intersections when commits are unclear. Furthermore, node agents should be terminated during configuration rollback from the most recent consistent checkpoint; after recovery, the original write set dependencies should continue, and each recovery observation should be treated as a new event and connected back to the source graph.
[0097] Graph construction tests were conducted using events that determined complete parent relationships, edges to be added that just formed a directed cycle, and parallel writes with one missing commit observation. Verification included whether candidate edges were downgraded, whether the state remained unknown, whether the earliest boundary had moved, and whether the old positioning version was still readable.
[0098] Node agents only hold the permissions necessary to execute their actions. For tracing events, credential reference summaries and audit numbers are saved, but not the credentials themselves. Insufficient permissions result in independent denial events, which are not replayed, creating a conflict with the target configuration. When exporting the event graph, stable anonymous identifiers are used to replace the real asset names.
[0099] Consecutive confirmed events exceeding the audit period can be aggregated into graph checkpoints, but each checkpoint must retain the first and last sequence numbers, summary chain, attempt period, and location of external evidence for each entity. Candidate conflict edges, events with unclear submissions, and events still referenced by anomalous paths cannot be compressed.
[0100] Reproduction uses a fixed deployment intent token and the original event set. The artifact repository, controller, node agent, and orchestrator replay their respective subject sequence numbers. The aggregation end establishes definite edges only using message identifiers, digest matching, and independent observations. After contract replay is completed, the anomaly boundaries are recalculated. When the input digest of an event is changed, only subsequent graph versions reachable from that event should be generated; the original graph, excluded candidate edges, and old boundaries remain readable.
[0101] Event transportation can utilize a trace bus, persistent logs, or other channels that support at least one delivery. The sourcing graph can also be implemented using graph storage or indexed relational storage. Replacement implementations must still ensure the stability of sequence numbers, attempt periods, and event summaries within the subject; global arrival times cannot replace causal evidence; and rollback observations must be appended to the graph intended for the original deployment. If the underlying storage lacks conditional write or version retention capabilities, these should be supplemented by the event access layer.
[0102] Example 3 illustrates the input, state changes, and exception handling by taking the deployment controller retrying to issue the command, the node agent's first execution having been committed but the callback lost, and the second attempt concurrently updating the same resource with the configuration service, where it is necessary to distinguish between repeated execution and actual configuration deviation.
[0103] Taking a rolling deployment that includes artifact release, network policy configuration, host deployment, and service probing as an example, the network configuration service times out and automatically retryes.
[0104] Step 1: Deploy the entry point to generate intent token D1, with target version digest A, and scope to three nodes; artifact service and network configuration service generate parallel sub-events respectively.
[0105] Step 2: The first network configuration attempt N1 returned a timeout, but the independent observer did not find the target rule; the second attempt N2 returned a success and generated a rule summary R2.
[0106] Step 3: The host agent consumes the old network view and starts the instance before N2 is committed, and the service probe subsequently fails; each event forms a partially ordered graph by input summary and subject sequence number.
[0107] Step 4: The replay shows that both the artifact and the host installation status conform to the contract. The network view is still the old summary when the host starts up. The first occurrence of the status contradiction is between the network rule submission and the host input.
[0108] Step 5: The earliest inconsistent boundary covers the business probe anomaly of three nodes. The system output is to rebuild the network view and restart the rollback checkpoint of the affected instance.
[0109] Step 6: After the action is completed, the observer generates rule activation events and probe pass events, and writes back to subsequent periods of the same deployment intent.
[0110] The following restrictions apply to abnormal inputs and degraded operating states.
[0111] (1) When an external component cannot carry an intent token, a proxy mapping is established by calling a channel, message digest and a time interval, and the mapping is marked as a lower trust level.
[0112] (2) When there is a parallel write conflict for the same resource and there is no commit evidence, retain the candidate branch and prevent automatic rollback to overwrite the current state.
[0113] (3) If the inconsistency boundary changes after the late event arrives, a new positioning version is generated, and the old version and the records of the already executed actions are not deleted.
[0114] (4) When the traceability storage is unavailable for a short period of time, each subject buffers the events locally according to the sequence number within the subject, and after recovery, deduplication is performed based on the sequence number and event summary.
[0115] (1) Deploying traceability events can be written to an append-only event library, a graph database, or an object store with immutable logs; as long as the event identifier, parent relationship, and version are maintained.
[0116] (2) Expected state transitions can be provided by a declarative deployment model, policy contract or versioned state machine, without requiring the use of a specific orchestration platform.
[0117] (3) The earliest inconsistent boundary can be calculated using the common ancestor, minimum hit set or costly graph cutting, all of which require distinguishing multiple independent sources of inconsistency.
[0118] Figure 2 The modules in the module are defined by the non-overriding nature of events and the describability of causal edges: Module 11 provides cross-subject association keys, Module 12 stores subject facts, Module 13 only accepts directed edges with evidence, and Modules 14 to 16 complete the replay, location, and re-evidence collection after processing.
[0119] The intent token module 11 encodes the artifact summary, configuration summary, and deployment scope, generates a deployment intent identifier, and injects it into the artifact list, control messages, and status callbacks; changes in the token content will form a new deployment intent, and old events cannot be reused.
[0120] The event tracing module 12 adds the pre-action state, post-action state, input / output summary, and parent event set according to the monotonic sequence number and attempt period within the subject; retry events are saved alongside the original attempts, and late receipts are returned to the original attempt period.
[0121] The source graph construction module 13 generates causal edges based on the subject order, request-response relationship and summary matching, retains relationships with only temporal proximity as candidate edges, and isolates the least reliable edge when a directed cycle is detected.
[0122] The Effect Contract Replay Module 14 maps the pre-predicate, write set, and expected post-state of each action to a partially ordered graph, and marks the confirmed, contradictory, and unknown branches on the parallel branches respectively. Branches that have not obtained submission evidence are not overwritten according to the last timestamp.
[0123] The anomaly boundary localization module 15 determines the edges by traversing backwards from each anomaly endpoint, and selects the inconsistent node with the earliest topological position that can explain the corresponding endpoint; the non-intersecting reverse paths are retained as multiple independent boundaries.
[0124] The write-back module 16 outputs the affected objects, valid attempt periods, and rollback checkpoints based on the boundary nodes. After the handling is completed, the rule takes effect, the object is rebuilt, and the business detection results are added as new events without modifying the original positioning version.
[0125] Instead of free text conclusions, modules exchange structured objects with intent markers, trial periods, event summaries, and parent relationships; therefore Figure 2 The write-back arrow in the image indicates the addition of new follow-up evidence, but does not mean that the handling result overwrites the original event state.
[0126] Deployment entities can generate events through SDK, bypass agent, or message gateway, but the sequence number within the entity must be persisted locally before being sent; the central service is responsible for merging evidenced relationships without reinterpreting the local order in which each entity has already submitted.
[0127] Each deployed entity can generate tracing events through SDK, bypass proxy, or message gateway. The sequence number within the entity is written to a local persistent queue, and the central tracing service is only responsible for merging without reinterpreting the order within the entity.
[0128] Event transmission must include at least a deployment intent identifier, attempt period, input / output summary, parent event set, and integrity check value. Sensitive configurations only store the summary; the original configuration is retained in the original system and accessed through controlled references.
[0129] The verification scenarios included asynchronous parallelism, automatic retries, late logs, duplicate callbacks, partial rollbacks, and multiple independent faults. The comparison scheme used a time-stamp-based log concatenation method to examine the ability of the two schemes to reconstruct the actual sequence and scope of events.
[0130] The primary indicator for determining whether the causal edges are consistent with the actual call relationships recorded during fault injection is the quality of the graph construction.
[0131] The positioning accuracy records the topological distance between the earliest inconsistency boundary and the known fault injection point, instead of using clock difference to replace the topological distance;
[0132] For multiple abnormal endpoints, calculate the proportion of endpoints that can be explained by the output boundary and distinguish independent fault sources;
[0133] The scope of the action is verified by the amount by which the actual number of rollback objects exceeds the actual number of affected objects;
[0134] After a late event is added, it should be checked whether the old and new positioning versions, the reasons for the changes, and the actions already taken are traceable.
[0135] The deployment controller, artifact repository, node agent, and service orchestrator each retain local entity serial numbers, and the central traceability service merges events according to deployment intent and trial period. The program can run on any of the above processing nodes; cross-node messages must carry at least an event summary, parent event set, mode version, and integrity check value; sensitive configurations are only associated with controlled references.
[0136] Figure 2 The six modules shown can be hosted by the same traceability service or distributed across the deployment entity and the central analysis node; the module boundaries depend on the event submission and version freeze locations, not on the specific middleware.
[0137] The intent token module 11 is used to generate deployment intent tokens and inject artifacts, control messages, and status callbacks.
[0138] The tracing event acquisition module 12 is used to collect the state before and after the action and generate a deployment tracing event with the subject sequence number, the attempt period and the causal parent event.
[0139] The source graph construction module 13 is used to construct a partially ordered source graph based on sequence, call, and summary matching relationships.
[0140] The Effect Contract Replay Module 14 is used to generate the desired state transition and mark confirmed, contradictory, and unknown states along a partially ordered traceability graph.
[0141] The anomaly boundary location module 15 is used to calculate the earliest inconsistency boundary and evidence path from the anomaly endpoint.
[0142] The disposal writeback module 16 is used to output the affected objects and rollback checkpoints and write back the disposal observation traceability diagram.
[0143] The electronic device carrying the traceability service includes a processor, memory, and a communication interface. The memory stores the deployment traceability events, identified edges, candidate edges, replay status, and location version; the processor reads the events with the deployment intent, subject sequence number, and attempt period; when the communication interface receives a duplicate or late receipt, it only appends the deduplicated reference or the original period event, without rewriting the already published boundary version.
[0144] Modules can be deployed in a merged manner or carried by different entities, and event storage can also be replaced by append logs, graph databases or object storage; however, alternative implementations must still retain the subject's sequence number, attempt period, causal edge evidence and the constraint that the original event cannot be overridden.
[0145] The above implementation methods are used to illustrate the implementation relationship between deployment intent, partially ordered events, action effect contracts, and the earliest inconsistency boundary; when replacing the event storage or orchestration platform, it is still necessary to maintain the rules of not being able to cover the trial period, the source of evidence for the determined edge, and the retention of unknown states.
Claims
1. A method for tracing and locating anomalies throughout the entire deployment process, characterized in that, include: Generate a deployment intent token based on the deployment objective and inject artifacts, control messages, and status callbacks; Each deployment entity collects read / write sets, state summaries, and submission states before and after an action, generating deployment tracing events containing entity sequence numbers, attempt periods, input / output summaries, and explicit parent events, and establishing new attempt periods for automatic retry; causal edges are established based on entity order, message matching, input / output summary matching, or independent observations, retaining edges forming directed cycles as candidate conflict edges, and constructing a partially ordered tracing graph with the remaining causal edges; the deployment tracing events are replayed according to the action effect contract, marking states as confirmed, contradictory, or unknown, and keeping parallel events with intersecting write sets and no explicit submission order as candidate states; for each anomalous endpoint component connected by causal edges, the path from the most recently confirmed state to the anomalous endpoint is obtained in reverse, selecting boundary candidate events where the predecessor state is confirmed but the current state is contradictory or unknown, and determining the earliest inconsistent boundary that intersects with each path and has the earliest topological position; the evidence path from the boundary to the anomalous endpoint, affected objects, valid attempt periods, undisambiguated candidate edges, and rollback checkpoints are output, and the processed independent observations are added as new deployment tracing events.
2. The method as described in claim 1, characterized in that, The deployment intent token also includes an intent identifier, artifact source, configuration mode version, and token digest; each deployment entity creates a local attempt period based on the deployment intent token, and automatic retries and compensation use new attempt periods respectively, and deployment tracing events of different attempt periods cannot overlap with each other.
3. The method as described in claim 1, characterized in that, The deployment tracing event includes at least the deployment intent identifier, step identifier, subject identifier, subject sequence number, attempt period, action type, actual read set summary, actual write set summary, previous state summary, subsequent state summary, input summary, output summary, explicit parent event, submission status, and evidence credibility level.
4. The method as described in claim 1, characterized in that, Establishing a definite causal edge includes at least one of the following: establishing a sequential edge between adjacent monotonic indices within the same subject; establishing a call edge between sending and receiving events with the same message identifier; establishing a data consumption edge between events where the upstream output digest and the downstream actual input digest are consistent; establishing an observation edge when an independent observation clearly points to a single write; and not establishing a definite causal edge between events that only have a temporal relationship.
5. The method as described in claim 1, characterized in that, For multiple candidate parent events, when the explicit submission event points to a trial period or the independent observation is consistent with only one candidate poststate, the corresponding candidate causal edge is converted into a definite causal edge and the remaining candidate causal edges are excluded; the earliest inconsistent boundary is minimized in a hierarchical manner according to the order of the maximum topological depth of the boundary event, the sum of the topological depths, the number of events, and the event stability identifier.
6. The method as described in claim 1, characterized in that, The rollback checkpoint is the most recent consistent state before the earliest inconsistent boundary; during the handling, the objects intersecting with the boundary event write set are frozen first, and compensation is only performed on the objects; when the interface times out and the commit status is unclear, independent observations are obtained first, and actions with side effects are not repeated before the external state is confirmed.
7. A system for tracing and locating anomalies throughout the entire deployment process, characterized in that, It includes an intent token module, a source event acquisition module, a source graph construction module, an effect contract replay module, an anomaly boundary location module, and a handling write-back module; the intent token module is used to generate and inject deployment intent tokens; The tracing event acquisition module is used to generate deployment tracing events that are retained according to the trial period; The source graph construction module is used to construct a partially ordered source graph based on the determined causal evidence and directed loop detection; the effect contract replay module is used to replay events and mark states according to the action effect contract; the anomaly boundary location module is used to determine the inconsistency boundary that intersects with the reverse path and has the earliest topological position for the anomaly endpoint component; the disposal write-back module is used to output the evidence path, affected objects and rollback checkpoints, and append the disposal observations to the partially ordered source graph.
8. An electronic device, characterized in that, The device includes a processor, a memory, a communication interface, and a computer program stored in the memory and capable of running on the processor. The communication interface is used to connect to a deployment controller, an artifact warehouse, a node agent, or a service orchestrator. When the computer program is executed by the processor, it implements the method according to any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method according to any one of claims 1 to 6.
