Edge end side autonomous and evidence synchronization method and device, equipment, storage medium

By performing multi-dimensional weak connection hierarchical detection and adaptive incremental synchronization on the communication links of edge devices, the problem of business continuity caused by network fluctuations or communication interruptions is solved, and efficient and reliable evidence data transmission and processing are achieved.

CN123185239APending Publication Date: 2026-11-27HEBEI SPACETIME STAR TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611296734.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-25
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies make it difficult for terminals to adjust their operating strategies in a timely manner when network quality fluctuates or communication is interrupted, leading to decreased business continuity, data backlog, or information loss. Furthermore, the lack of an efficient processing mechanism after communication is restored increases the consumption of network and computing resources, affecting data consistency and reliability.

Method used

By performing multi-dimensional weak connection hierarchical detection on the communication links of edge devices, dynamically switching between collaborative autonomous and independent autonomous modes, and performing adaptive incremental synchronization after communication is restored, combined with integrity and consistency checks, the accuracy and efficiency of data transmission are ensured.

Benefits of technology

Maintain business continuity during network fluctuations or outages, reduce invalid data transmission, improve synchronization efficiency, ensure the integrity and credibility of evidence data, and enhance environmental adaptability and resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123185239A_ABST
    Figure CN123185239A_ABST
Patent Text Reader

Abstract

The application provides an edge side autonomous and evidence synchronization method and device, equipment and storage medium, and belongs to the technical field of cloud edge cooperation; the method comprises the following steps: performing multi-dimensional weak connection hierarchical detection on a communication link of an edge side device to determine a link state level; when the weak connection state is switched to a first autonomous mode; when the link state level is a broken link state, the second autonomous mode is switched to the next step; when the link state level is normal, return to the first step; when the link state level returns to the normal state, the evidence data stored in the second autonomous mode is synchronized; the synchronized evidence data is subjected to integrity check, if the check is passed, return to the first step, otherwise, a secondary data synchronization request is generated, and the synchronization is re-performed; the synchronized evidence data is subjected to multi-edge side device consistency check, if the verification is passed, the synchronization is successful, return to the first step, otherwise, the synchronization fails, and a warning information is sent out.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of cloud-edge collaboration technology, and more specifically, it relates to a method, device, equipment, and storage medium for edge-side autonomy and evidence synchronization. Background Technology

[0002] Edge autonomy refers to deploying data processing, intelligent analysis, and decision-making capabilities to edge devices (such as cameras, sensors, and smart terminals) close to the data source. This allows devices to independently complete data collection, analysis, judgment, and response locally without frequent reliance on the cloud. This not only reduces network transmission latency and improves system real-time performance but also enhances the device's ability to continue operating under network anomalies, while reducing privacy risks and network bandwidth pressure associated with data uploads. Evidence synchronization refers to the process where, after completing local processing, edge devices synchronize key data, logs, event information, analysis results, and related evidence to the central platform or cloud according to unified rules, achieving data consistency and evidence sharing between the edge and the center. Evidence synchronization not only ensures data integrity, authenticity, and traceability but also facilitates subsequent unified management, audit analysis, model optimization, and information collaboration among multiple devices.

[0003] Edge-side autonomy and evidence synchronization are crucial foundations for building efficient and reliable intelligent systems. Edge-side autonomy enables local data processing and rapid decision-making, reduces network latency, improves real-time system responsiveness, and enhances the continuous operation of devices in network outages or weak network environments. Evidence synchronization ensures that critical data and event records are promptly uploaded to the central platform, guaranteeing data integrity, authenticity, and traceability, providing reliable evidence for subsequent analysis, monitoring, model optimization, and multi-device collaboration. The combination of these two approaches improves system efficiency while enhancing overall security, reliability, and intelligence. However, existing technologies generally rely on fixed data transmission and unified processing mechanisms. When network quality fluctuates or communication is interrupted, terminals often find it difficult to adjust their operating strategies in a timely manner, which can easily lead to a decline in business continuity, data backlog, or information omission. At the same time, after communication is restored, the data is often uploaded in full or simple time sequence, lacking an efficient processing mechanism for data changes. This not only increases the consumption of network and computing resources, but also easily affects the consistency and reliability of the final data due to data duplication, omission, or version conflicts. Summary of the Invention

[0004] The purpose of this application is to provide a method, apparatus, device, and storage medium for edge-side autonomy and evidence synchronization, in order to solve the problem that existing technologies generally rely on fixed data transmission and unified processing mechanisms. When network quality fluctuates or communication is interrupted, terminals often find it difficult to adjust their own operating strategies in a timely manner, which can easily lead to a decline in business continuity, data backlog, or information omission. At the same time, after communication is restored, the data upload method is mostly full or simple time sequence, which lacks an efficient processing mechanism for data changes. This not only increases the consumption of network and computing resources, but also easily affects the consistency and credibility of the final data due to data duplication, omission, or version conflicts.

[0005] A first aspect of this application provides an edge-side autonomy and evidence synchronization method applied to a cloud-edge synchronization network, wherein the cloud-edge synchronization network includes interconnected edge-side devices and a management and control platform; including: Perform multi-dimensional weak connection classification detection on the communication links of edge devices to determine the link status level; If the link status level is weak connection, switch to the first-level autonomous mode where the edge device and the management platform work together; if the link status level is disconnected, switch to the second-level autonomous mode where the edge device is independent and autonomous, and proceed to the next step; if the link status level is normal, return to the first step. When the link status level returns to normal, adaptive incremental synchronization is performed on the evidence data stored in the second-level autonomous mode within the management and control platform; Perform integrity verification on the synchronized evidence data. If the verification passes, return to step one; otherwise, generate a second data synchronization request and perform adaptive incremental synchronization again. Perform consistency verification on the synchronized evidence data across multiple edge devices. If the verification passes, output "Synchronization successful" and return to step one; otherwise, output "Synchronization failed" and issue a consistency verification failure warning.

[0006] A second aspect of this application provides an edge-side autonomous and evidence synchronization device applied to a cloud-edge synchronization network, wherein the cloud-edge synchronization network includes interconnected edge-side devices and a management and control platform; including: The determination module is used to perform multi-dimensional weak connection classification detection on the communication links of edge devices and determine the link status level. The switching module is used to switch to the Level 1 autonomous mode, where the edge device and the management platform work together, when the link status level is weak; to switch to the Level 2 autonomous mode, where the edge device operates independently, when the link status level is broken; and to call the synchronization module when the link status level is normal. The synchronization module is used to perform adaptive incremental synchronization of evidence data stored in the Level 2 autonomous mode within the management and control platform when the link status level returns to normal. The first verification module is used to verify the integrity of the synchronized evidence data. If the verification passes, the determination module is called; otherwise, a second data synchronization request is generated, and adaptive incremental synchronization is performed again. The second verification module is used to perform consistency verification on the synchronized evidence data across multiple edge devices. If the verification passes, it outputs "synchronization successful" and calls the confirmation module; otherwise, it outputs "synchronization failed" and issues a consistency verification failure warning.

[0007] A third aspect of this application provides an apparatus including a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program to implement the steps of the above-described edge-side autonomy and evidence synchronization method.

[0008] A fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described edge-side autonomy and evidence synchronization method.

[0009] The beneficial effects of the edge-side autonomy and evidence synchronization method, apparatus, device, and storage medium provided in this application embodiment are as follows: In this embodiment, by performing multi-dimensional weak connection hierarchical detection on the communication links of edge devices, network status changes can be accurately perceived. The system dynamically switches between collaborative and independent autonomous modes based on different link states, ensuring that edge devices always maintain an operating mode compatible with the current communication environment. Even during periods of network quality degradation or communication interruption, data collection, processing, and evidence preservation can continue, thus guaranteeing business continuity and preventing the loss of critical evidence. Once communication is restored, an adaptive incremental synchronization mechanism transmits only newly added or changed evidence data, effectively reducing invalid data transmission and network resource consumption, and improving synchronization efficiency. Subsequently, integrity verification and consistency verification across multiple edge devices are combined to verify the synchronized data layer by layer. This allows for timely detection of transmission anomalies, data loss, tampering, and data differences between different nodes. Automatic correction is achieved by re-initiating synchronization requests, ultimately ensuring the integrity, consistency, and credibility of the evidence data. This gives the entire cloud-edge synchronization network stronger environmental adaptability, higher data reliability, and better resource utilization efficiency, effectively solving the problems of insufficient business continuity, low data synchronization efficiency, and difficulty in guaranteeing evidence credibility under network fluctuation environments. Attached Figure Description

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

[0011] Figure 1 A flowchart illustrating an edge-side autonomy and evidence synchronization method provided in an embodiment of this application; Figure 2 A schematic diagram of the structure of a cloud-edge synchronization network provided in one embodiment of this application; Figure 3 This is a schematic diagram of a link state hierarchical detection and hysteresis handover provided in an embodiment of this application; Figure 4 A graph showing the relationship between communication link stability and synchronization admission probability is provided in one embodiment of this application. Figure 5 A structural block diagram of an edge-side autonomous and evidence synchronization device provided in an embodiment of this application; Figure 6 This is a schematic block diagram of a device provided in an embodiment of this application. Detailed Implementation

[0012] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0013] It is understood that in the embodiments of this application, data such as user information are involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with relevant laws, regulations and standards.

[0014] It should be noted that the terms "first," "second," etc., used in the specification, claims, and drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in sequences other than those illustrated or described herein.

[0015] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0016] To make the objectives, technical solutions, and advantages of this application clearer, the following description will be provided in conjunction with the accompanying drawings and specific embodiments.

[0017] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating an edge-side autonomy and evidence synchronization method provided in an embodiment of this application.

[0018] Figure 2 This is a schematic diagram of the structure of a cloud-edge synchronization network provided in one embodiment of this application.

[0019] Figure 2 In this context, 'n' represents the total number of edge devices.

[0020] The edge-side autonomy and evidence synchronization method provided in this application is applied to a cloud-edge synchronization network, wherein the cloud-edge synchronization network includes interconnected edge-side devices and a management and control platform. It can be executed by the devices. The method may include: S1: Perform multi-dimensional weak connection classification detection on the communication links of edge devices to determine the link status level.

[0021] Among them, the link status level refers to the status level obtained by classifying the current communication capability based on the real-time operating quality of the communication link between the edge device and the management platform. It is used to reflect whether the link can stably carry business data transmission.

[0022] In one possible implementation, S1 specifically includes: S101: Collect real-time characteristic parameters of the communication link of edge devices as a basis for hierarchical detection. Among them, real-time characteristic parameters include latency, packet loss rate, and heartbeat response status.

[0023] Figure 3 This is a schematic diagram of a link state hierarchical detection and hysteresis handover provided in an embodiment of this application.

[0024] Figure 3The diagram illustrates the hierarchical detection and hysteresis handover of the communication link state in this scheme. The figure shows the change of the communication link quality judgment value over the detection period, as well as the states of normal, weak connection, and disconnection, the state transition threshold, the state recovery threshold, the hysteresis interval, real-time characteristic parameters, the preset duration, the interruption tolerance threshold, and the link state transition process. When the communication link quality fluctuates near the threshold, the hysteresis interval ensures that the link state transition is only completed after the handover or recovery conditions are met, thus avoiding frequent state transitions. This diagram demonstrates that this scheme comprehensively considers multi-dimensional communication characteristics such as latency, packet loss rate, and heartbeat response status, and combines state transition thresholds, recovery thresholds, and hysteresis intervals to determine the link state. This enables the communication link to accurately distinguish between normal, weak connection, and disconnection states, reducing misjudgments and frequent handovers caused by instantaneous network fluctuations, and improving the stability and accuracy of link state determination, as well as the reliability of subsequent autonomous mode switching and evidence synchronization strategy selection.

[0025] S102: Compare the real-time feature parameters with the preset multi-level state judgment conditions to determine the link state level. The link state level includes normal state, weak connection state and disconnected state. Hysteresis intervals are set between each link state level.

[0026] The preset multi-level state determination conditions are as follows: Normal state: The latency and packet loss rate do not exceed their respective degradation thresholds, and the edge devices can successfully receive the response signal returned by the control platform for the heartbeat detection signal within a preset time.

[0027] Weak connection state: The latency or packet loss rate exceeds the degradation threshold, causing the link quality to degrade to the point where it can only maintain the transmission of short command identifiers and cannot support the interaction of complete command streams.

[0028] Disconnection status: The duration for which the edge device fails to successfully receive a response signal within a preset time exceeds the interruption tolerance threshold.

[0029] The purpose of the hysteresis interval is to delay the state switching action when the real-time feature parameters fluctuate near the boundary of the multi-level state determination conditions (such as fluctuations caused by instantaneous jitter of link parameters), thereby avoiding frequent switching of decision modes.

[0030] It should be noted that those skilled in the art can set the preset duration and the interruption tolerance threshold according to actual needs, and this invention does not limit them.

[0031] Optionally, for private networks, local area networks, or scenarios with relatively stable communication conditions, the latency degradation threshold can be set to 100 milliseconds, and the packet loss rate degradation threshold can be set to 5%. The preset duration of the heartbeat detection signal can be set to 3 seconds, and the interruption tolerance threshold can be set to 9 consecutive seconds without receiving a response signal. The hysteresis interval can be set as follows: when the link switches from a normal state to a weak connection state, the latency value must continuously exceed 100 milliseconds or the packet loss rate must continuously exceed 5%. When the link recovers from a weak connection state to a normal state, the latency value must be reduced to below 80 milliseconds and the packet loss rate must be reduced to below 3%, and this must continue for three detection cycles. Thus, a latency of 80 to 100 milliseconds and a packet loss rate of 3% to 5% can constitute the corresponding hysteresis interval. For public networks, wireless networks, or scenarios with significant link fluctuations, the latency degradation threshold can be set to 300 milliseconds, and the packet loss rate degradation threshold can be set to 15%. The preset duration of the heartbeat detection signal can be set to 5 seconds, and the interruption tolerance threshold can be set to 20 consecutive seconds without receiving a response signal. The hysteresis interval can be set as follows: when the link switches from a normal state to a weak connection state, the latency value must continuously exceed 300 milliseconds or the packet loss rate must continuously exceed 15%. When the link recovers from a weak connection state to a normal state, the latency value must decrease to below 240 milliseconds and the packet loss rate must decrease to below 10%, and this must be maintained for three detection cycles. Therefore, a latency of 240 to 300 milliseconds and a packet loss rate of 10% to 15% constitute the corresponding hysteresis interval. Both of the above methods use different degradation and recovery thresholds to prevent the link state from repeatedly switching due to short-term fluctuations of parameters near critical values.

[0032] It should be noted that by continuously collecting the latency, packet loss rate, and heartbeat response status of the communication links of edge devices and comparing them with preset multi-level status judgment conditions, and by buffering critical fluctuations with hysteresis intervals, it is possible to more accurately identify whether the link is in a normal state, a weak connection state, or a broken link state. This avoids frequent switching of link states due to instantaneous network jitter, thereby improving the stability and accuracy of link state judgment. This provides a reliable basis for subsequent autonomous mode switching and evidence synchronization strategy selection, ensuring that the system still has good continuous operation capability and reliability in complex network environments.

[0033] S2: If the link status level is weak connection, switch to the Level 1 autonomous mode where the edge device and the management platform cooperate for autonomy. If the link status level is disconnected, switch to the Level 2 autonomous mode where the edge device is independent and autonomous, and proceed to step S3. If the link status level is normal, return to step S1.

[0034] In one possible implementation, the first-level autonomy model specifically refers to: S201: Obtain the current local environment state through the edge device and form the current local environment state vector.

[0035] The current local environment state refers to the business operation environment information currently perceived by the edge device, including device operating status, sensor detection results, on-site task status, resource utilization, and external environmental information, reflecting the actual operating conditions of the device. The current local environment state vector is a multi-dimensional data set formed by digitizing multiple environmental feature parameters from the current local environment state according to a preset data organization method. It is used to uniformly describe the current operating environment of the edge device and serves as the input for subsequent decision-making. S202: Generate a local decision candidate set including multiple candidate decision vectors based on the current local environment state vector, and calculate the abundance of the local decision candidate set.

[0036] The local decision candidate set refers to the collection of multiple executable candidate decision vectors generated locally by the edge device based on the current local environment state vector and combined with pre-configured business rules, strategy models, or historical experience. Each candidate decision vector corresponds to a processing solution that can meet the current business requirements. The abundance of the local decision candidate set refers to the richness or selectivity of the candidate decision vectors in the local decision candidate set. It can be calculated based on the number, degree of difference, coverage, or feasibility of the candidate decision vectors, and is used to reflect the extent of the decision-making capabilities available to the edge device in the current environment. The richer the candidate solutions, the higher the abundance of the local decision candidate set.

[0037] S203: Upload the current local environment state vector and the abundance of the local decision candidate set to the management and control platform to generate a decision candidate set index.

[0038] Among them, the decision candidate set index refers to the corresponding identification information generated by the management and control platform after determining the target candidate decision vector from the local decision candidate set based on the current local environment state vector and the abundance of the local decision candidate set uploaded by the edge device. It is used to uniquely indicate the selected candidate decision vector, so that the edge device does not need to re-receive the complete decision content, but can quickly locate the corresponding candidate decision vector and execute it based solely on this index.

[0039] S204: Send the decision candidate set index to the edge device and select the candidate decision vector that corresponds one-to-one with the decision candidate set index as the decision instruction for first-level autonomy.

[0040] It should be noted that when the communication link is in a weak connection state, the edge device first generates multiple local decision candidate schemes based on the current local environment state, and only uploads the environment state vector and the abundance of candidate sets to the management and control platform. After the management and control platform completes the decision selection, it only returns the corresponding decision candidate set index. The edge device quickly locates and executes the corresponding candidate decision vector based on the index. This method avoids frequent transmission of complete decision data, effectively reduces the amount of communication data in a weak connection environment, reduces link load, and improves decision response speed, while retaining the global decision-making capabilities of the management and control platform. This enables the edge device and the management and control platform to achieve efficient collaborative autonomy, improving the continuity and reliability of service processing in complex network environments.

[0041] Specifically, the edge device generates a candidate decision matrix X (N rows and M columns, with each row representing a candidate decision vector) based on the current local environment state vector. M represents the length of each candidate decision vector, i.e., the number of feature or action parameters contained in each decision instruction. The centralized Gram determinant of this matrix is ​​then calculated. As an information abundance index for quantifying the candidate set for decision-making, A larger value indicates a wider distribution of candidate solutions in the solution space and richer information. The edge-side device will calculate the... The values, along with a compressed summary of the candidate decision matrix, are sent to the management platform. Upon receiving the summary, the management platform combines it with the global state evaluation vector. The second-order difference autocovariance matrix of historical decision utility sequences The determinant value, and each candidate decision vector. Local priority sorting number The optimal decision index is determined through the decision selection function. The index identifier is then sent only to edge devices. Upon receiving the index identifier, the edge device extracts the corresponding decision instruction from its local candidate decision set and digitally signs it using its own private key to obtain the signed device decision instruction.

[0042] Decision utility refers to the comprehensive quantitative evaluation value obtained by edge devices after executing a decision instruction, reflecting the overall performance of the decision in terms of business goal achievement, resource consumption, execution efficiency, and system stability. Optionally, after each autonomous decision instruction is executed, the edge device immediately collects multiple key business indicators within the decision's action period, such as task completion rate, energy consumption change, response latency, temperature, or vibration amplitude. These indicators are then input into a preset weighted evaluation function or utility model to calculate a normalized scalar score, which is the decision utility of this decision. For example, task completion rate, energy consumption reduction rate, and stability improvement can be assigned weights of 0.4, 0.3, and 0.3 respectively, and the weighted sum yields a utility value between 0 and 1, with higher values ​​indicating better overall benefits. The edge device records the decision utility values ​​generated by each decision in the chronological order of the actual execution of the decision instructions during multiple consecutive autonomous operations, forming a set of values ​​arranged chronologically. For example, after the device executes "reduce power by 10%" at time T1, it records a utility of 0.85; after executing "reduce power by 15%" at time T2, it records a utility of 0.70, and so on. These utility values ​​stored in time sequence constitute the historical decision utility sequence, which is used to analyze the stability and changing trend of decision effects in subsequent analysis.

[0043] Centralized Gram determinant The calculation formula is: .

[0044] in, This is the candidate decision matrix. for The column mean vector. For all elements of Dimensional column vector. is the regularization constant. for An identity matrix of order 1. This is the determinant operator.

[0045] Wherein, the regularization constant To ensure numerical stability during the calculation process, its value can be set to 1×10. -6 Or 1×10 -8 Those skilled in the art can also make adjustments based on the actual data scale.

[0046] The centered Gram determinant refers to the value obtained by constructing a Gram matrix after centering the candidate decision matrix by means, and then calculating its determinant. This value characterizes the overall dispersion and information richness among the candidate decision vectors. The formula first centers the candidate decision matrix, using column mean vectors to eliminate the influence of different dimensions and overall offsets, ensuring that subsequent calculations focus on reflecting the relative distribution relationships between candidate decision vectors. Then, it constructs the Gram matrix corresponding to the centered matrix, using the vector inner product to characterize the correlation between candidate decision vectors. Finally, it calculates the determinant of the Gram matrix, using the volume of the geometric body spanned by the matrix as the quantitative basis for the information richness of the candidate decision set. A regularization term is added to avoid numerical instability when the Gram matrix degenerates or approaches singularity, thus obtaining stable and reliable information richness evaluation results. This formula is based on matrix analysis and multivariate statistical theory. The Gram matrix reflects the linear independence of a set of vectors, and its determinant corresponds to the volume of the parallelepiped spanned by these vectors. The more significant the differences between candidate decision vectors, the larger the spanned space and the larger the determinant. Conversely, when multiple candidate decision vectors tend to be the same or exhibit strong linear correlation, the span space shrinks, and the determinant decreases or even approaches zero. Therefore, the Gram determinant can be used to objectively reflect the information coverage and diversity of the candidate decision set. Using a centralized Gram determinant as an abundance index for the decision candidate set not only comprehensively reflects the overall difference between candidate decisions but also obtains a global evaluation result without comparing the similarity relationships between each candidate decision individually. It has the advantages of computational stability, objective evaluation, and good adaptability to different dimensional parameters. Simultaneously, by quantifying the information richness of the candidate decision set, the management platform can quickly determine the local decision-making capabilities of edge devices, improving the efficiency of subsequent decision selection while reducing data transmission volume.

[0047] The formula for calculating the decision choice function is: .

[0048] in, This is the global state evaluation vector. For the first There are 10 candidate decision vectors. Let be the autocovariance matrix of the second-order difference of historical decision utility. To prevent small quantities. for The local priority sorting number, the smaller the value, the higher the priority. It is the combination number.

[0049] The decision selection function is an evaluation function used to comprehensively select the optimal decision scheme from multiple candidate decision vectors. This function first calculates the matching degree between the global state evaluation vector and the candidate decision vector using the inner product of the two. A higher matching degree indicates that the candidate decision better meets the current global operational needs. Then, it uses the determinant of the second-order difference autocovariance matrix of historical decision utility to measure the stability of historical decision payoff changes, and uses it as a normalization factor to suppress decision selections with large historical fluctuations, reducing decision risk. Finally, it combines the priority ranking of candidate decisions generated locally on the edge device, constructs priority weights through combinations, and gives higher-priority candidate decisions greater weight in the comprehensive evaluation process, thus obtaining a comprehensive evaluation result that takes into account global needs, historical stability, and local experience. The candidate decision index with the highest evaluation value is selected as the final decision result. This formula is based on the idea of ​​multi-objective comprehensive evaluation. The global state evaluation vector reflects the overall operational goal of the current system, and the candidate decision vector reflects locally executable schemes; their inner product measures the consistency between the scheme and the global goal. The second-order difference of historical decision utility describes the trend of decision payoff changes, while the autocovariance matrix reflects the volatility of this process. A larger determinant indicates greater instability in historical payoff changes; therefore, using it as a penalty factor reduces the probability of high-risk options being selected. Local priority ranking is derived from the long-term operational experience of edge devices. By constructing weights through combinations, the ability to distinguish between high-priority and low-priority options is enhanced while maintaining ranking monotonicity, ensuring that the final decision considers both global optimization and local experience. This decision selection function simultaneously integrates global state information, historical decision stability, and the local experience of edge devices. Compared to methods that rely solely on a single evaluation metric, it significantly improves the comprehensiveness and reliability of decision results. Furthermore, it outputs only the optimal decision index without transmitting the complete candidate decision set, effectively reducing data communication volume and network load in weakly connected environments. Edge devices can quickly locate and execute the corresponding local candidate decisions based on the index, enabling rapid decision delivery and improving the response speed and business continuity of collaborative autonomy in weakly connected environments.

[0050] The two-tier autonomy model is specifically as follows: S205: Within the TEE, acquire the local environment state vector, where each local environment state vector forms an autonomous decision-making state queue according to the acquisition time.

[0051] Among them, TEE (Trusted Execution Environment) refers to a secure execution zone within the edge device that is isolated from the normal operating environment. The autonomous decision-making state queue is an ordered data set formed by storing local environment state vectors acquired at multiple consecutive time points according to their acquisition time sequence. It is used to reflect the continuous change process of the environmental state of the edge device over a period of time.

[0052] S206: Calculate the determinant of the autocorrelation matrix of all local environment state vectors centered in the autonomous decision-making state queue.

[0053] S207: Use the determinant value as the decision environment stability index. If the decision environment stability index is less than the preset decision environment stability index, generate decision instructions through a lightweight reinforcement learning model; otherwise, generate decision instructions through preset rule logic.

[0054] The decision environment stability index is a stability evaluation index obtained by constructing an autocorrelation matrix based on all local environmental state vectors in the autonomous decision-making state queue and calculating its centered determinant. It is used to quantify the stability of the current environmental state over time. A smaller decision environment stability index indicates less change in the environmental state over multiple consecutive time periods and overall stability. A larger index indicates more drastic changes and greater fluctuations in the environmental state.

[0055] Optionally, the lightweight reinforcement learning model can employ a Q-learning reinforcement learning model (which uses a two-layer fully connected neural network as the Q-value approximator, with 64 hidden layer neurons, a learning rate of 0.001, a discount factor of 0.95, and an experience replay cache capacity of 1000 entries to reduce the computational resource consumption of edge devices) or an Actor-Critic reinforcement learning model (which uses a single hidden layer neural network to construct both the policy network and the value network, with 32 hidden neurons per layer, a learning rate of 0.0005, and a discount factor of 0.90 to ensure that edge devices can continuously optimize decision-making strategies under limited computational resources). The preset decision environment stability index can be set to 0.2 or 0.35. The preset rule logic can employ a multi-parameter threshold matching method, pre-setting normal threshold ranges, adjustment threshold ranges, and protection threshold ranges for each state parameter in the local environment state vector. When all state parameters are within the normal threshold range, a decision instruction to maintain the current operating state is generated. When at least one status parameter exceeds the normal threshold range but does not reach the protection threshold, a decision instruction is generated to reduce the operational intensity, adjust the execution frequency, or suspend non-critical tasks. When at least one status parameter reaches or exceeds the protection threshold, a decision instruction is generated to stop the current task, save local evidence, and enter a safe operating state.

[0056] For example, the local environmental state vector may include device temperature, vibration amplitude, current load rate, and remaining battery power, denoted as [68℃, 2.1 mm / s, 75%, 42%]. The edge device first normalizes these parameters and inputs them into a lightweight reinforcement learning model. The model pre-sets four candidate actions: "maintain current operating state," "reduce operating power by 10%," "double the sampling frequency," and "pause non-critical tasks," calculating their corresponding action values ​​to be 0.62, 0.81, 0.73, and 0.55, respectively. Since "reduce operating power by 10%" has the highest action value, the model identifies this candidate action as the target action and further generates a decision instruction including the target device identifier, power adjustment ratio, execution start time, and duration, such as "reduce the operating power of device A by 10% from its current power and continue running for 5 minutes." Subsequently, the power adjustment ratio is verified within the TEE to ensure it is within the preset allowable range. If the verification passes, the decision instruction is output and executed.

[0057] S208: Perform secondary autonomy based on the generated decision instructions.

[0058] It should be noted that those skilled in the art can set the value of the preset decision environment stability index according to actual needs, and this invention does not limit it.

[0059] Specifically, the formula for calculating the decision-making environment stability index is as follows: .

[0060] in, This represents the stability index of the decision-making environment. Represents a determinant. This represents the mean of the local environment state vector in the autonomous decision-making state queue. Describe the window length of the autonomous decision-making state queue. i Indicates distance description t Time offset of historical steps at any given moment express t - i The local environment state vector at time t.

[0061] The window length is the number of consecutive historical states reviewed when assessing whether the current environment is stable. Assume the device collects local environmental conditions (temperature, load, etc.) every second and sets... W If the value is 10 or 20, then each time it makes a judgment, it only looks at the 10 state data in the most recent 10 seconds or the 20 state data in the most recent 20 seconds. W The larger the value, the more complete the overall picture of the fluctuations, but the slower the response to sudden changes; W The smaller the value, the more sensitive the response, but it may be affected by transient noise. i It is an index number starting from 0, used to mark how far each historical state within the window is from the current state. For example, i When =0, Refers to the current moment t The state. i When =1, Refers to the state at a certain point in time. And so on, until... i = W At -1, It refers to the earliest state within the window.

[0062] The decision environment stability index is an environmental stability evaluation index derived by constructing a centered covariance matrix from the local environment state vectors at multiple consecutive moments in the autonomous decision-making state queue and calculating its determinant. It quantifies the overall fluctuation of the current decision environment over a period of time. The index is established based on multivariate statistical analysis and matrix analysis theory. It constructs a covariance matrix by centralizing the local environment state vectors in the autonomous decision-making state queue and uses the matrix determinant to comprehensively reflect the overall dispersion and joint change characteristics of multiple state parameters within a time window. Compared to judging based on a single state parameter or simple mean, this index can comprehensively reflect the overall stability of the environment, has a better comprehensive evaluation capability for multidimensional state changes, effectively reduces the impact of instantaneous noise on decision results, and provides a reliable basis for edge devices to adaptively select reinforcement learning decisions or rule-based logic decisions, thereby improving the accuracy, stability, and real-time performance of autonomous decision-making.

[0063] Specifically, the process first unifies the processing of multiple continuous local environment state vectors in the autonomous decision-making state queue to eliminate the influence of the overall environmental state shift on the calculation results, ensuring that the differences between state vectors only reflect the actual changes in the environment itself. Then, a covariance matrix is ​​constructed using all state vectors to uniformly describe the changes in multiple environmental state parameters over continuous time. The determinant of this covariance matrix is ​​then used to obtain the decision-making environment stability index. When the environment is continuously stable, the environmental states at different times exhibit strong consistency, and the changes in each state parameter are small. Therefore, the overall dispersion of the covariance matrix is ​​low, resulting in a smaller decision-making environment stability index. When the environment experiences continuous fluctuations, the joint changes between state parameters increase, the state vector distribution becomes more dispersed, and the overall dispersion of the covariance matrix increases accordingly, resulting in a larger decision-making environment stability index. Because this method comprehensively utilizes continuous historical state information and the correlation and change characteristics of multiple environmental state parameters for overall evaluation, rather than judging based on a single moment or a single parameter, it can more realistically reflect the stability of the current decision-making environment, reduce the impact of random fluctuations and local anomalies on stability judgment, and enable edge devices to adaptively select more suitable decision-making methods according to environmental change trends, ensuring the accuracy of autonomous decision-making while taking into account decision-making efficiency and system operation stability.

[0064] Figure 4 This is a graph showing the relationship between communication link stability and synchronization admission probability, provided as an embodiment of this application.

[0065] Figure 4The figure illustrates the relationship between the communication link stability index and the synchronization admission probability, as well as the synchronization strategy switching results. The figure shows the communication link stability index, synchronization admission probability, preset synchronization admission probability threshold, trend change statistics and their critical values, as well as the switching relationships between the adaptive incremental synchronization region, the evidence data summary value upload region, and the synchronization strategy corresponding to different link stability levels. As the communication link stability index changes, the synchronization admission probability exhibits a schematic trend. When the synchronization admission probability is higher than the preset threshold, adaptive incremental synchronization is executed. When the synchronization admission probability is lower than the preset threshold or the trend change statistics reach the critical value, the system switches to the evidence data summary value upload mode. As shown in the figure, this scheme comprehensively considers communication link stability, synchronization admission probability, and link change trends to make adaptive synchronization strategy decisions. It prioritizes incremental synchronization when communication conditions are good, improving data synchronization efficiency. When communication conditions deteriorate or a link change occurs, it promptly switches to the summary upload mode, reducing communication load and the risk of synchronization failure, thereby improving data transmission reliability, network resource utilization, and device operational stability in weak connection environments.

[0066] S3: When the link status level returns to normal, adaptive incremental synchronization is performed on the evidence data stored in the second-level autonomous mode within the management and control platform.

[0067] In one possible implementation, the evidence data includes decision commands and the operational status of edge devices. The storage method for evidence data in the secondary autonomous mode of S3 specifically includes: S301: Combine evidence data into evidence blocks in chronological order, wherein each evidence block includes the data digest value of the immediately preceding evidence block, and the evidence blocks form an evidence chain.

[0068] The data digest value of the immediately preceding evidence block refers to the fixed-length digest data calculated by the digest algorithm for the evidence block that is located in chronological order before the current evidence block and is directly adjacent to the current evidence block, and is stored as part of the current evidence block.

[0069] S302: Digitally sign the chain of evidence and store the signed evidence locally.

[0070] It should be noted that this process first organizes continuously generated evidence data into interconnected evidence blocks according to chronological order, and saves the data digest value of the evidence block immediately preceding the current evidence block, thus forming a continuous association between adjacent evidence blocks and further constructing a complete chain of evidence. Subsequently, the entire chain of evidence is digitally signed and stored locally. Since each evidence block is associated with the data digest value of the previous evidence block, any change to the content of any evidence block will invalidate the subsequent association. Combined with digital signatures to verify the source and integrity of the evidence, this process can promptly detect cases of evidence data tampering or forgery, achieving continuous association, complete protection, and reliable storage of evidence data. This improves the tamper-proof, traceability, and authenticity verification capabilities of evidence data, providing a reliable data foundation for subsequent evidence synchronization, integrity verification, and accountability.

[0071] In one possible implementation, the adaptive incremental synchronization in S3 specifically includes: S303: Calculate the communication link stability index, which is used to quantify the degree of communication link fluctuation. The smaller the communication link stability index, the more stable the communication link.

[0072] Specifically, latency values, packet loss rate, and heartbeat response status are collected at fixed intervals to form... 3D observation vector , forming a length of A sliding window queue. Calculate the covariance matrix of the observation vectors within the window (plus a regularization term). To ensure positive definiteness, calculate its determinant value, and then divide it by the reference covariance matrix pre-calibrated under normal communication conditions. The determinant value of the matrix is ​​used to obtain the ratio, which is the link stability index. . The smaller the value, the closer the current link's multidimensional quality distribution volume is to the normal state, the weaker the fluctuation, and the higher the stability. The specific calculation formula is as follows: .

[0073] In the formula: For the first j Observation vectors. This represents the mean of the observed vectors within the window. This is the length of the sliding window. is the regularization constant. for An identity matrix of order 1. For reference covariance matrix. This is the determinant operator.

[0074] It should be noted that the link stability index is calculated based on multivariate statistical analysis and matrix analysis theory. Since communication link quality is determined by multiple indicators such as latency, packet loss rate, and heartbeat response status, relying on a single indicator is insufficient to comprehensively reflect the link's operational status. Therefore, the multidimensional observation vectors continuously collected within the sliding window are first centered to eliminate the influence of differences in the average levels of each indicator on the calculation results. Then, a covariance matrix is ​​constructed to comprehensively describe the joint fluctuation characteristics of each link quality indicator over continuous time. The overall dispersion of the multidimensional link status is quantified by calculating the determinant of the covariance matrix. Simultaneously, a reference covariance matrix under normal communication conditions is introduced for normalization, enabling the calculation results to objectively reflect the deviation of the current link status from the normal state and improving the comparability of evaluation results across different devices and operating environments. Furthermore, a regularization term is added to prevent covariance matrix degradation that could lead to computational instability. When the communication link status is close to normal operation, the changes in each observation indicator are small, the overall dispersion of the covariance matrix is ​​low, and the calculated communication link stability index is small. Conversely, when the link experiences sustained fluctuations, the joint changes of various observed indicators intensify, the overall dispersion of the covariance matrix increases, and the communication link stability index increases accordingly. Therefore, this method can comprehensively reflect the overall stability of the communication link, reduce the impact of single indicator anomalies or instantaneous fluctuations on the evaluation results, provide a reliable basis for subsequent synchronization admission probability calculation and adaptive incremental synchronization, and improve the accuracy, stability, and reliability of link status assessment.

[0075] S304: Generate synchronization admission probability based on communication link stability index.

[0076] Specifically, in the process of generating the synchronization admission probability, mapping coefficients are used. Will Link availability probability converted to each transmission slot The mapping coefficient is used to non-linearly map the dimensionless link stability index to a single-slot link availability probability between 0 and 1. Optionally, it can be set to 1 or 0.3. The predicted link duration window length is determined. (In terms of time slots) and the minimum number of consecutive transmissible time slots required to fully synchronize a block of evidence. Using the inclusion-exclusion principle, calculate the total length as... At least one consecutive occurrence in the time slot sequence The probability lower bound of available time slots is used to obtain the synchronization admission probability. .when ( When the preset synchronization admission probability is met, incremental evidence synchronization is initiated. Otherwise, synchronization is not initiated, and only the summary value of the latest decision is transmitted to the control platform. The formula for calculating the synchronization admission probability is: .

[0077] in, This represents the availability probability of a single time-slot link. This is the number of time slots in the prediction window. The number of consecutive time slots required to synchronize a block of evidence. For combinations, m Indicates an intermediate variable.

[0078] The preset synchronization admission probability refers to a pre-set probability threshold used to determine whether the current communication link meets the conditions for incremental synchronization of evidence data. Optionally, the preset synchronization admission probability can be set to 0.8 or 0.6.

[0079] It should be noted that the synchronization admission probability is calculated based on probability and statistics theory, communication reliability analysis theory, and the inclusion-exclusion principle in combinatorics. The calculation process first maps the current link stability to the link availability probability of a single transmission time slot based on the communication link stability index, thus transforming the link quality evaluation result into a probabilistic description of the link's continuous availability capability. Then, combining the continuous transmittable time slot conditions required to complete evidence data synchronization, the probability of at least one consecutive available time slot sequence satisfying the synchronization conditions within the prediction time window is comprehensively calculated using the inclusion-exclusion principle, thereby obtaining the synchronization admission probability. Compared to judging solely based on the current link status or a single communication result, this method not only considers the current link stability but also comprehensively considers the matching relationship between the link's future continuous availability capability and the continuous transmission requirements of evidence data. Therefore, it can more accurately assess whether the current communication link has the conditions to complete incremental evidence data synchronization, effectively avoiding blindly initiating synchronization during brief link recovery or continuous fluctuations, reducing data retransmissions and communication resource waste caused by link re-interruption, and improving the success rate of evidence data synchronization, communication efficiency, and overall operational reliability of the device.

[0080] S305: If the probability of synchronous access is greater than the preset probability of synchronous access, perform adaptive incremental synchronization; otherwise, upload evidence data summary values ​​to the control platform until the probability of synchronous access is greater than the preset probability of synchronous access, and then perform adaptive incremental synchronization.

[0081] It should be noted that those skilled in the art can set the preset synchronization admission probability according to actual needs, and this invention does not limit this. The purpose of uploading evidence data digest values ​​to the control platform is to inform the existence of evidence with minimal communication cost. Even if full synchronization cannot be completed at present, prioritizing the return of digest values ​​can ensure that the control platform knows the end status of the evidence chain at the edge as soon as possible, providing a benchmark for subsequent incremental synchronization.

[0082] It should be noted that by continuously collecting communication link status information and comprehensively calculating the communication link stability index, the current link quality and volatility are quantitatively evaluated. Subsequently, based on the link stability, the future continuous availability of the link is predicted, and a synchronization admission probability is generated to determine whether the current communication link meets the conditions for completing incremental synchronization of evidence data. When the predicted link can remain stable, incremental synchronization of evidence data is performed. When the predicted link has a risk of interruption, only the latest evidence data digest value is uploaded as the synchronization benchmark. Because this method comprehensively considers the current link status and future continuous availability before initiating synchronization, rather than solely relying on instantaneous link quality, it effectively avoids blindly initiating synchronization during link fluctuations, reduces data retransmissions and communication resource waste caused by communication interruptions, and ensures that the management platform can promptly obtain the latest status of the evidence chain of edge devices, improving the success rate of evidence synchronization, communication efficiency, and device operational reliability.

[0083] In one possible implementation, S3 further includes: During adaptive incremental synchronization, the trend change statistics of the link stability index sequence are monitored in real time. If the trend change statistics are greater than the trend change statistics threshold, the evidence data summary value is uploaded to the management platform until the trend change statistics are less than the trend change statistics threshold, and then adaptive incremental synchronization is performed.

[0084] Specifically, during synchronization, the observation vector queue is maintained and the sliding window is calculated in real time. Values ​​that constitute the latest indivual Value sequence. Using Kendall... The rank correlation coefficient detects the monotonicity of the sequence and calculates the trend statistic. Meanwhile, based on hypothesis testing theory, the standard normal distribution quantiles and significance levels are used. Calculate the objective critical rejection value .like Then refuse. The null hypothesis of "no trend in the sequence" is used to determine if a systematic deterioration trend in the chain is observed. If so, evidence synchronization is immediately suspended, and the latest summary value of the evidence chain is sent. Otherwise, synchronization continues until completion. Trend statistics are used. With critical value The calculation formula is: .

[0085] in, This is the length of the trend analysis window. This represents the link stability index at different times within the window. It is a symbolic function.

[0086] .

[0087] in, The significance level is indicated by . This is the quantile function of a standard normal distribution. The final output of this step is: evidence data of successful incremental synchronization, or the latest decision summary / latest evidence chain summary value in the event of unmet conditions / interruption.

[0088] The significance level refers to the maximum probability allowed when misjudging a non-existent link deterioration trend as a present trend during statistical testing of link stability trends. It is used to control the risk of misjudgment in hypothesis testing. Optionally, the significance level can be 0.05 or 0.01.

[0089] Specifically, this process continuously monitors the changing trend of the communication link stability index during incremental evidence data synchronization. A trend analysis sequence is constructed based on the link stability index at multiple consecutive time points. Rank correlation analysis is used to determine if there is a continuous deterioration trend in link stability. Then, the critical value of the corresponding trend abrupt change statistic is calculated using hypothesis testing theory to objectively determine whether the trend change is statistically significant. When a significant deterioration trend in the link stability index is detected, it indicates that the current link quality is not fluctuating instantaneously but has shown a continuous downward trend. At this point, evidence data synchronization is immediately stopped, and only the latest evidence chain summary value is uploaded to avoid continuing to transmit a large amount of evidence data during the continuous deterioration of the link, which would lead to synchronization failure, data retransmission, and wasted communication resources. When no significant trend abrupt change is detected, it is considered that the current link can still maintain a relatively stable communication state, and incremental evidence data synchronization continues. Because this method not only judges based on the current state of the link, but also predicts future changes in the link by combining the continuous changing trend of the link stability index, and uses statistical tests to eliminate misjudgments caused by random fluctuations, it can effectively distinguish between two different situations: short-term random disturbances and continuous link deterioration. While ensuring the continuity of evidence data synchronization, it can respond to changes in link quality in a timely manner, reduce the risk of synchronization interruption, and improve the success rate of evidence data synchronization, the efficiency of communication resource utilization, and the stability and reliability of device operation.

[0090] S4: Perform integrity verification on the synchronized evidence data. If the verification passes, return to step S1; otherwise, generate a secondary data synchronization request, return to step S3, and perform adaptive incremental synchronization again.

[0091] In one possible implementation, the integrity verification of the synchronized evidence data in step S4 specifically includes: S401: Send a list of evidence block digest values ​​stored in the disconnected state to the management platform via the edge device.

[0092] S402: Perform time-series comparison within the management platform, generate a secondary data synchronization request containing only the evidence block corresponding to the missing time series, and re-perform adaptive incremental synchronization based on the secondary data synchronization request until the integrity check is passed.

[0093] It should be noted that if the number of repetitions of the secondary data synchronization request exceeds the preset execution count within the preset duration, an output integrity verification failure warning will be issued, prompting manual intervention. Those skilled in the art can set the preset duration and preset execution count according to actual needs; this invention does not impose any limitations on these settings. Optionally, the preset duration can be set to 30 minutes or 60 minutes. The preset execution count can be set to 3 or 5 times.

[0094] It should be noted that this process begins with the edge device sending a list of evidence block digest values ​​stored during the chain break to the control platform. The control platform then performs integrity verification on the received evidence data based on the digest values ​​and the temporal relationship of the evidence blocks, identifying missing or unsynchronized evidence blocks. A secondary data synchronization request is generated only for the missing evidence blocks, and adaptive incremental synchronization is re-executed until the evidence data passes integrity verification. If verification still fails under preset conditions, an integrity verification failure warning is output, and manual intervention is initiated. Because this method uses evidence block digest values ​​as the basis for integrity verification and accurately locates missing data by combining the temporal relationship of the evidence blocks, it only synchronizes the missing parts without repeating successfully synchronized evidence data. Therefore, it effectively reduces redundant communication overhead and improves synchronization efficiency. Simultaneously, the continuous repair of missing evidence data through cyclical verification and retransmission mechanisms, along with timely warnings and manual intervention in abnormal situations, ensures the integrity, consistency, and credibility of the evidence chain, improving the reliability of evidence data synchronization.

[0095] S5: Perform a consistency check on the synchronized evidence data across multiple edge devices. If the check passes, output "Synchronization successful" and return to step S1. Otherwise, output "Synchronization failed" and issue a consistency check failure warning.

[0096] Specifically, the synchronized evidence data undergoes consistency verification across multiple edge devices. This includes: the management platform receives evidence data synchronously uploaded by multiple edge devices, and aggregates evidence data belonging to the same event based on event identifiers, timestamps, and device identifiers. Subsequently, the platform compares the evidence block digest values, digital signatures, and key evidence content in the evidence chains corresponding to each edge device to determine if the event occurrence order, decision results, and operational status recorded by each edge device are consistent. If the evidence data corresponding to each edge device meets the consistency conditions, the consistency verification is deemed successful, and synchronization is output as successful. Otherwise, evidence conflicts or missing evidence are identified, synchronization fails, and a consistency verification failure warning is issued.

[0097] In practical applications, this process begins with the edge device sending a list of evidence block digest values ​​saved during the chain break to the management platform. The management platform then verifies the integrity of the synchronized evidence data based on these digest values ​​and their temporal relationships, identifying missing, omitted, or failed-to-synchronize evidence blocks. Only for these incompletely synchronized evidence blocks, a secondary data synchronization request is generated, and adaptive incremental synchronization is re-executed until the evidence chain passes integrity verification. If verification fails under preset conditions, an integrity verification failure warning is output, and manual intervention is initiated. Because the evidence block digest value uniquely represents the content status of the corresponding evidence block, and the temporal relationship accurately reflects the continuity of the evidence chain, missing or abnormal evidence blocks can be quickly located, enabling precise verification of the synchronization results. Furthermore, only missing evidence blocks are synchronized, avoiding duplicate transmission of successfully synchronized data, reducing communication resource consumption, and improving synchronization efficiency.

[0098] In this embodiment, by performing multi-dimensional weak connection hierarchical detection on the communication links of edge devices, network status changes can be accurately perceived. The system dynamically switches between collaborative and independent autonomous modes based on different link states, ensuring that edge devices always maintain an operating mode compatible with the current communication environment. Even during periods of network quality degradation or communication interruption, data collection, processing, and evidence preservation can continue, thus guaranteeing business continuity and preventing the loss of critical evidence. Once communication is restored, an adaptive incremental synchronization mechanism transmits only newly added or changed evidence data, effectively reducing invalid data transmission and network resource consumption, and improving synchronization efficiency. Subsequently, integrity verification and consistency verification across multiple edge devices are combined to verify the synchronized data layer by layer. This allows for timely detection of transmission anomalies, data loss, tampering, and data differences between different nodes. Automatic correction is achieved by re-initiating synchronization requests, ultimately ensuring the integrity, consistency, and credibility of the evidence data. This gives the entire cloud-edge synchronization network stronger environmental adaptability, higher data reliability, and better resource utilization efficiency, effectively solving the problems of insufficient business continuity, low data synchronization efficiency, and difficulty in guaranteeing evidence credibility under network fluctuation environments.

[0099] Based on the same inventive concept, this application also provides an edge-side autonomy and evidence synchronization device for implementing the edge-side autonomy and evidence synchronization method described above. The solution provided by this device is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more edge-side autonomy and evidence synchronization device embodiments provided below can be found in the limitations of the edge-side autonomy and evidence synchronization method described above, and will not be repeated here.

[0100] This application provides an edge-side autonomous and evidence synchronization device applied to a cloud-edge synchronization network, wherein the cloud-edge synchronization network includes interconnected edge-side devices and a management and control platform; such as Figure 5 As shown, the edge-side autonomous and evidence synchronization device 20 includes: The determination module 201 is used to perform multi-dimensional weak connection hierarchical detection on the communication links of edge devices and determine the link status level. The switching module 202 is used to switch to the Level 1 autonomous mode, in which the edge device and the management platform cooperate in autonomy, when the link status level is weak; to switch to the Level 2 autonomous mode, in which the edge device is independent in autonomy, when the link status level is broken; and to call the synchronization module when the link status level is normal. Synchronization module 203 is used to perform adaptive incremental synchronization of evidence data stored in the second-level autonomous mode within the management and control platform when the link status level returns to normal. The first verification module 204 is used to verify the integrity of the synchronized evidence data. If the verification passes, the determination module is called; otherwise, a secondary data synchronization request is generated and adaptive incremental synchronization is performed again. The second verification module 205 is used to perform consistency verification on the synchronized evidence data across multiple edge devices. If the verification passes, it outputs "synchronization successful" and calls the confirmation module; otherwise, it outputs "synchronization failed" and issues a consistency verification failure warning.

[0101] See Figure 6 , Figure 6 This is a schematic block diagram of a device provided in one embodiment of this application. Figure 6 The device 300 shown in this embodiment may include one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processors 301, input devices 302, output devices 303, and memories 304 communicate with each other via a communication bus 305. The memories 304 store computer programs, including program instructions. The processors 301 execute the program instructions stored in the memories 304. Specifically, the processors 301 are configured to invoke the program instructions to perform the functions of each module / unit in the above-described device embodiments, for example... Figure 2 The module shown comprises an acquisition module 201, a first calculation module 202, a second calculation module 203, a derivation module 204, a generation module 205, and a control module 206.

[0102] It should be understood that, in the embodiments of this application, the processor 301 may be a central processing unit (CPU), but it may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0103] Input device 302 may include a touchpad, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint orientation information), a microphone, etc., and output device 303 may include a display (LCD, etc.), a speaker, etc.

[0104] The memory 304 may include read-only memory and random access memory, and provides instructions and data to the processor 301. A portion of the memory 304 may also include non-volatile random access memory. For example, the memory 304 may also store device type information.

[0105] In specific implementations, the processor 301, input device 302, and output device 303 described in the embodiments of this application can execute the implementation methods described in the edge-side autonomy and evidence synchronization method provided in the embodiments of this application, or they can execute the implementation methods of the devices described in the embodiments of this application, which will not be repeated here.

[0106] In another embodiment of this application, a computer-readable storage medium is provided. This computer-readable storage medium stores a computer program, which includes program instructions. When executed by a processor, the program instructions implement all or part of the processes in the methods described above. Alternatively, the computer program can instruct related hardware to complete the process. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include any entity or device capable of carrying computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.

[0107] The computer-readable storage medium can be an internal storage unit of the device in any of the foregoing embodiments, such as the device's hard drive or memory. The computer-readable storage medium can also be an external storage device of the device, such as a plug-in hard drive, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., provided on the device. Furthermore, the computer-readable storage medium can include both internal and external storage units of the device. The computer-readable storage medium is used to store computer programs and other programs and data required by the device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0108] Those skilled in the art will recognize that the modules / units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.

[0109] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the devices and units described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0110] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules / units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules, units, or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces or modules / units, or it may be an electrical, mechanical, or other form of connection.

[0111] The modules / units described as separate components may or may not be physically separate. Similarly, the components shown as modules / units may or may not be physical modules / units; they may be located in one place or distributed across multiple network modules / units. Some or all of the modules / units can be selected to achieve the purpose of the embodiments of this application, depending on actual needs.

[0112] Furthermore, the functional modules / units in the various embodiments of this application can be integrated into one processing module / unit, or each module / unit can exist physically separately, or two or more modules / units can be integrated into one module / unit. The integrated modules / units described above can be implemented in hardware or in the form of software functional modules / units.

[0113] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for synchronizing edge-side autonomy and evidence, characterized in that, Applied to a cloud-edge synchronization network, wherein the cloud-edge synchronization network includes interconnected edge devices and a management and control platform; the method includes: S1: Perform multi-dimensional weak connection hierarchical detection on the communication links of the edge devices to determine the link status level; S2: If the link status level is weak connection, switch to the first-level autonomous mode where the edge device and the management platform cooperate in autonomy; if the link status level is disconnected, switch to the second-level autonomous mode where the edge device is independent and autonomous, and proceed to the next step; if the link status level is normal, return to the first step. S3: When the link status level returns to normal, adaptive incremental synchronization is performed on the evidence data stored in the second-level autonomous mode within the management and control platform; S4: Perform integrity verification on the synchronized evidence data. If the verification passes, return to step one; otherwise, generate a second data synchronization request and perform adaptive incremental synchronization again. S5: Perform a consistency check on the synchronized evidence data across multiple edge devices. If the check passes, output "Synchronization successful" and return to step one. Otherwise, output "Synchronization failed" and issue a consistency check failure warning.

2. The edge-side autonomy and evidence synchronization method as described in claim 1, characterized in that, S1 specifically includes: S101: Collect real-time characteristic parameters of the communication link of the edge device as a basis for hierarchical detection; wherein, the real-time characteristic parameters include latency, packet loss rate and heartbeat response status; S102: The real-time feature parameters are compared with preset multi-level state determination conditions to determine the link state level, wherein the link state level includes normal state, weak connection state and disconnected state, and a hysteresis interval is set between each link state level.

3. The edge-side autonomy and evidence synchronization method as described in claim 1, characterized in that, The specific first-level autonomy model is as follows: S201: Obtain the current local environment state through the edge device and form a current local environment state vector; S202: Generate a local decision candidate set including multiple candidate decision vectors based on the current local environment state vector, and calculate the abundance of the local decision candidate set; S203: Upload the current local environment state vector and the local decision candidate set abundance to the management and control platform to generate a decision candidate set index; S204: The decision candidate set index is sent to the edge device, and the candidate decision vector corresponding one-to-one with the decision candidate set index is selected as the decision instruction for first-level autonomy; The specific two-level autonomy model is as follows: S205: Within the TEE, acquire the local environment state vector, wherein each of the local environment state vectors forms an autonomous decision-making state queue according to the acquisition time. S206: Calculate the determinant of the autocorrelation matrix of all local environment state vectors centered in the autonomous decision-making state queue; S207: The determinant value is used as the decision environment stability index. If the decision environment stability index is less than the preset decision environment stability index, a decision instruction is generated through a lightweight reinforcement learning model. Otherwise, a decision instruction is generated through preset rule logic. S208: Perform secondary autonomy based on the generated decision instructions.

4. The edge-side autonomy and evidence synchronization method as described in claim 1, characterized in that, The evidence data includes decision-making instructions and the operating status of edge devices; the storage method of the evidence data stored in the secondary autonomous mode in S3 specifically includes: S301: The evidence data is combined into evidence blocks in chronological order, wherein each evidence block includes the data digest value of the evidence block that is immediately preceding it, and the evidence blocks form an evidence chain; S302: Digitally sign the chain of evidence and store the signed evidence locally.

5. The edge-side autonomy and evidence synchronization method as described in claim 1, characterized in that, The adaptive incremental synchronization in S3 specifically includes: S303: Calculate the communication link stability index, which is used to quantify the degree of communication link fluctuation. The smaller the communication link stability index, the more stable the communication link. S304: Generate a synchronization admission probability based on the communication link stability index; S305: If the synchronization access probability is greater than the preset synchronization access probability, perform adaptive incremental synchronization; otherwise, upload evidence data digest values ​​to the control platform until the synchronization access probability is greater than the preset synchronization access probability, and then perform adaptive incremental synchronization.

6. The edge-side autonomy and evidence synchronization method as described in claim 1, characterized in that, S3 further includes: During adaptive incremental synchronization, the trend mutation statistics of the link stability index sequence are monitored in real time. If the trend mutation statistics are greater than the trend mutation statistics threshold, the evidence data summary value is uploaded to the control platform until the trend mutation statistics are less than the trend mutation statistics threshold, and then adaptive incremental synchronization is performed.

7. The edge-side autonomy and evidence synchronization method as described in claim 1, characterized in that, The integrity verification of the synchronized evidence data in step S4 specifically includes: S401: Send a list of evidence block digest values ​​stored in the disconnected state to the control platform via the edge device; S402: Perform time-series comparison within the control platform, generate a secondary data synchronization request containing only the evidence block corresponding to the missing time series, and re-perform adaptive incremental synchronization based on the secondary data synchronization request until the integrity check is passed.

8. A device for synchronizing edge-side autonomy and evidence, characterized in that, Applied to cloud-edge synchronization networks, wherein the cloud-edge synchronization network includes interconnected edge devices and a management and control platform; including: The determination module is used to perform multi-dimensional weak connection hierarchical detection on the communication links of the edge device and determine the link status level. The switching module is used to switch to a Level 1 autonomous mode where the edge device and the management platform work together when the link status level is weak; to switch to a Level 2 autonomous mode where the edge device operates independently when the link status level is broken, and to call the synchronization module when the link status level is normal; and to call the determination module when the link status level is normal. The synchronization module is used to perform adaptive incremental synchronization of the evidence data stored in the second-level autonomous mode within the management and control platform when the link status level returns to normal. The first verification module is used to perform integrity verification on the synchronized evidence data. If the verification passes, the determination module is called; otherwise, a secondary data synchronization request is generated, and adaptive incremental synchronization is performed again. The second verification module is used to perform multi-edge device consistency verification on the synchronized evidence data. If the verification passes, it outputs that the synchronization is successful and calls the determination module; otherwise, it outputs that the synchronization failed and issues a consistency verification failure warning message.

9. An apparatus comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.