A cluster data synchronization method and apparatus based on business data degradation

By classifying cluster drone data and centrally managing it in the cloud, it solves the problems of bandwidth reduction, delay and data loss in drone ad hoc network data transmission in weak network environments, and achieves more efficient and secure data transmission and systems. stability.

CN118413867BActive Publication Date: 2024-09-20XIAN LINGKONG ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410873855.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-09-20
Estimated Expiration
2044-07-02

AI Technical Summary

Technical Problem

The existing data transmission method of clustered UAV ad hoc networks has problems such as bandwidth reduction, communication delay and data loss in weak network environments, and is highly dependent on ad hoc network links, resulting in system stability and security. threatened.

Method used

Adopt a cluster data synchronization method based on business data degradation, classify the business data of each node in the cluster, identify key data and basic data, deploy the key data in the cloud for centralized management and storage, and use cloud management software for synchronous transmission , basic data is transmitted directly between nodes, the transmission strategy is dynamically adjusted based on task type and network status, and the transmission strategy and topology are monitored and optimized in a timely manner.

Benefits of technology

Effectively reduces dependence on link bandwidth, improves the security and reliability of data transmission, optimizes data transmission efficiency, enhances system stability and reliability, reduces operation and maintenance costs, and adapts to business changes and data growth. need.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118413867B
    Figure CN118413867B
Patent Text Reader

Abstract

The present application discloses a cluster data synchronization method and device based on business data degradation, which relates to the field of data processing technology, including: classifying the business data of each node in the cluster, obtaining different data types, and implementing different transmission strategies based on different data types. Among them, different data types include key data and basic data. Implementing different transmission strategies based on different data types includes: deploying key data in the cloud, and centrally managing and storing key data through cloud management software. Among them, the cloud management software is configured to synchronize key data to each node, thereby transmitting key data. Basic data is transmitted directly between nodes. It solves the problems of reduced bandwidth, communication delay and data loss in the existing cluster drone self-organizing network data transmission method in a weak network environment, and the problem of strong dependence on the self-organizing network link.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a cluster data synchronization method and device based on service data degradation. Background Art

[0002] With the rapid development of drone technology, swarm drone systems have been widely used in many fields due to their advantages such as efficient collaboration and rapid response. However, in swarm drone systems, data interaction between drones is the key to ensuring the efficient operation of the entire system. At present, swarm drones mainly use self-organizing network links for data transmission, transmitting information in a point-to-point manner. This method is relatively simple and direct in technology and implementation, but it faces many challenges in practical applications.

[0003] The existing ad hoc network data transmission method is relatively simple in data classification and processing. Data transmission between drone nodes is often based on predefined data content and transmission cycle, lacking detailed classification and priority setting of data. Although this method has a clear data transmission relationship, it consumes a lot of bandwidth for the ad hoc network link. Under limited bandwidth resources, a large amount of indiscriminate data transmission will not only reduce network efficiency, but may also cause key business data to fail to be transmitted in a timely manner. In addition, when the existing ad hoc network links are disturbed, they often cannot guarantee stable data transmission. Once the link fails or is disturbed, the transmission of business data will be seriously affected, and even some data will be lost. This will not only affect the execution effect of the task, but may also pose a threat to the stability and security of the system.

[0004] In summary, the existing data transmission method of cluster drone self-organizing network has problems such as reduced bandwidth, communication delay and data loss in weak network environment, and is highly dependent on self-organizing network links. Summary of the invention

[0005] In an embodiment of the present application, a cluster data synchronization method based on business data degradation is provided to solve the problems of reduced bandwidth, communication delay and data loss in the existing cluster UAV self-organizing network data transmission method in a weak network environment, and the problem of strong dependence on the self-organizing network link.

[0006] In the first aspect, an embodiment of the present application provides a cluster data synchronization method based on business data degradation, the method comprising: classifying the business data of each node in the cluster to obtain different data types, and implementing different transmission strategies based on different data types; wherein the different data types include key data and basic data; the implementing different transmission strategies based on different data types comprises: deploying the key data in the cloud, and centrally managing and storing the key data through cloud management software; wherein the cloud management software is configured to synchronize the key data to each node, thereby transmitting the key data; and directly transmitting the basic data between nodes.

[0007] In a possible implementation, the method further includes: determining a current task type; prioritizing the key data based on the task type; and determining the key data deployed in the cloud based on the current network status and the priority ranking.

[0008] In a possible implementation, it also includes: screening out nodes competing for the master node based on the task type; determining the evaluation criteria for the master node election based on the task type; based on the evaluation criteria, electing the master node according to a preset cycle and / or based on trigger conditions; and synchronizing key data deployed in the cloud to non-master nodes in the cluster through the master node.

[0009] In a possible implementation, the method further includes: monitoring the state of the cluster based on a cluster fault detection mechanism, and when an abnormality or fault is found, issuing an alarm in time and triggering an automatic topology adjustment mechanism.

[0010] In a possible implementation, the transmission strategy is also optimized according to the network status, specifically including: monitoring the network status of non-node links and node links; wherein the network status includes signal strength, bandwidth occupancy and delay; when the non-node links are disturbed, the node switches to an autonomous operation mode; when the node links are disturbed, the transmission of basic data is stopped, and the key data is prioritized based on the task type, with priority given to the transmission of high-priority key data.

[0011] In one possible implementation, the trigger-based election of the master node includes: when a new node joins, the new non-master node obtains membership and updates the cluster, and the master node is elected based on the updated cluster; when the node needs to exit, the member information is updated and data synchronization is processed, and the master node is elected based on the updated cluster.

[0012] In one possible implementation, the cluster fault detection mechanism includes: initializing a fault detector when each node starts; detecting node failures within a preset period by combining direct detection and indirect detection; when a node is marked as faulty, broadcasting this information through a communication mechanism within the cluster and updating a list of other nodes.

[0013] In a possible implementation, the triggering of the automatic topology adjustment mechanism includes: the cluster performs corresponding adjustment actions according to the level of the faulty node; wherein the faulty node level includes end nodes, non-master nodes and master nodes; when an end node fails, the cluster does not make any adjustments; when a non-master node fails, the cluster selects one of its end nodes in a normal state as a new non-master node, and updates the topology structure and task allocation; when a master node fails, the cluster first selects a new master node, and then performs the same adjustments on its non-master nodes as when the non-master node fails.

[0014] In the second aspect, an embodiment of the present application provides a cluster data synchronization device based on business data degradation, the device comprising: a classification module, used to classify the business data of each node in the cluster, obtain different data types, and perform different transmission strategies based on different data types; wherein the different data types include key data and basic data; the different transmission strategies based on different data types include: deploying the key data in the cloud, and centrally managing and storing the key data through cloud management software; wherein the cloud management software is configured to synchronize the key data to each node, thereby transmitting the key data; and directly transmitting the basic data between nodes.

[0015] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects:

[0016] The embodiment of the present application provides a cluster data synchronization method based on business data degradation, which classifies business data, identifies key data and basic data, and makes data transmission more targeted. Key data is centrally managed in the cloud and synchronized to each node through cloud management software, which ensures the fast and accurate transmission of key data, effectively reduces the dependence on link bandwidth, and reduces redundancy and errors in the transmission process. Deploy key data in the cloud and centrally manage and store them through cloud management software, providing a higher level of data security protection. Cloud management software is usually equipped with powerful security policies, such as data encryption, access control, backup and recovery, etc., which can effectively prevent data leakage, tampering and loss. During the data transmission process, cloud management software can realize encrypted transmission of key data, further enhancing data security. The centralized management method in the cloud makes the backup and recovery of key data more convenient. Even if a node fails, the key data can be quickly restored through the cloud management software, ensuring the stability and reliability of the entire cluster. The centralized management method in the cloud simplifies the operation and maintenance process of key data and reduces the operation and maintenance cost. Operation and maintenance personnel can centrally monitor, manage and maintain key data through cloud management software without having to operate each node separately. This application has good scalability and flexibility, and can adapt to business changes and data growth needs. With the development of business and the growth of data, the data transmission strategy and management method can be dynamically adjusted to ensure that the system always remains in the best state. In summary, the use of this application to classify the business data of each node in the cluster and implement different transmission strategies based on the data type can optimize data transmission efficiency, enhance data security, improve system reliability, reduce operation and maintenance costs, and adapt to business changes. This solves the problem that the existing cluster drone self-organizing network data transmission method has problems such as reduced bandwidth, communication delays and data loss in weak network environments, and has a strong dependence on self-organizing network links. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments of the present application or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 A flowchart of a cluster data synchronization method based on service data degradation provided in an embodiment of the present application;

[0019] Figure 2 A specific flow chart for selecting a master node based on trigger conditions provided in an embodiment of the present application;

[0020] Figure 3 A specific flow chart of the cluster fault detection mechanism provided in the embodiment of the present application;

[0021] Figure 4 A specific flow chart of the triggering automatic topology adjustment mechanism provided in the embodiment of the present application;

[0022] Figure 5 A specific flow chart for optimizing the transmission strategy according to the network status provided in the embodiment of the present application;

[0023] Figure 6 A schematic diagram of a cluster data synchronization device based on service data degradation provided in an embodiment of the present application;

[0024] Figure 7 A schematic diagram of a cluster data synchronization server based on business data degradation provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0026] The following describes some of the techniques involved in the embodiments of the present application to facilitate understanding, and they should be considered as merely exemplary. Therefore, it should be appreciated by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, some descriptions of well-known functions and structures are omitted in the following description.

[0027] The cluster in the present application includes an unmanned device cluster or other device cluster in the same communication network, wherein the unmanned devices include but are not limited to drones, unmanned vehicles, and unmanned ships.

[0028] The present application embodiment provides a cluster data synchronization method based on service data degradation, such as Figure 1 As shown, the method includes steps S101 to S110. Among them, Figure 1 This is only an execution order shown in the embodiment of the present application, and does not represent the only execution order of a cluster data synchronization method based on business data degradation. If the final result can be achieved, Figure 1 The steps shown may be performed in parallel or reversed.

[0029] S101: Classify the business data of each node in the cluster to obtain different data types, and implement different transmission strategies based on the different data types, wherein the different data types include key data and basic data.

[0030] Specifically, different transmission strategies are implemented based on different data types, including: deploying key data in the cloud, and centrally managing and storing key data through cloud management software. The cloud management software is configured to synchronize key data to each node, thereby transmitting key data. Basic data is directly transmitted between nodes.

[0031] Furthermore, in drone clusters, business data is divided into two categories according to its importance and transmission requirements, namely key data and basic data. Key data is crucial for the collaborative work and task execution of drone clusters. Key data mainly includes mission data (such as mission parameters, mission attributes, etc.), target data (such as detected target location, attributes, etc.), and status data (such as drone's own status, power, location, etc.). The accuracy, completeness and real-time nature of these data have a direct impact on cluster performance. Basic data is the data required for the daily operation and communication of drone clusters, and is also necessary to ensure the normal operation of the cluster. Basic data mainly includes conventional command data (such as collection commands, query commands, etc.) and measurement data (such as sensor data, environmental data, etc.).

[0032] Based on the above data classification, the following transmission strategies are designed. 1. Key data transmission: Key data is deployed in the cloud and centrally managed and stored through cloud management software. The cloud management software uses ad hoc links to establish a local area network between drones to ensure efficient synchronization of key data between the cloud and each drone node. The frequency of synchronization is dynamically adjusted according to task requirements and data changes. This transmission method can ensure the security and reliability of key data while reducing the communication burden between drones. 2. Basic data transmission: Basic data is transmitted directly between drones using traditional point-to-point transmission. This method is simple and direct, and is suitable for scenarios with small data volumes and low real-time requirements. At the same time, in order to reduce the communication burden, the transmission of basic data can be appropriately compressed or filtered on the premise of meeting the needs. Through the design of this classification and transmission strategy, drone clusters can improve the efficiency and flexibility of data transmission while ensuring the security and reliability of key data, thereby better supporting the collaborative work and task execution of clusters.

[0033] S102: Determine the current task type.

[0034] Specifically, we first need to identify the current mission type. For example, reconnaissance and search missions focus on collecting target data and monitoring the status of drones, while strike missions focus more on real-time analysis of target data and accurate delivery of strike instructions.

[0035] S103: Prioritize key data based on task type.

[0036] Specifically, once the mission type is determined, the drone cluster needs to prioritize key data according to the current mission type to ensure that the most important data can be transmitted first under limited network resources. The following is an example of sorting the key data of 15 swarm drones in an urban search and strike mission based on the provided business data type and business priority:

[0037] When the data type is critical data and the business transmission type is periodic, the priority of the drone status (altitude, speed, communication status, attitude) is 2, the priority of the target data (target type, target threat level, target size, target status, target speed, target survival status) is 0, and the priority of anti-entropy is 3; when the data type is critical data and the business transmission type is non-periodic, the priority of the task data (area type, area size, area level, task attributes, task completion time, task level, area traversal level, task mode) is 1.

[0038] When the data type is basic data and the service transmission type is periodic, the priority of routes and waypoints is 2, the priority of test status (aircraft fault status - attitude, speed, acceleration, speed, power, temperature) is 6, the priority of heartbeat is 4, and the priority of probe is 5; when the data type is basic data and the service transmission type is non-periodic, the priority of command data (take-off command, cruise command, strike command, hover command, return command) is 1, and the priority of video and picture (visible light-video, visible light-picture, infrared-picture) is 0 (although these data types are very important in reconnaissance missions, they may need to be temporarily lowered in priority during transmission due to network bandwidth limitations). It should be noted that the priority is the highest when it is 0, and the priority decreases as the value increases.

[0039] When the network conditions change, the drone cluster will be sorted and transmitted according to the pre-agreed priority to ensure that high-priority data can be transmitted first when network resources are limited, so as to adapt to the business data transmission needs in complex environments. It should be noted that although basic data is also crucial to the normal operation of the cluster, its priority is usually lower than that of critical data when critical data is transmitted. The above priority settings are only for illustration, and this application is not limited to the above examples.

[0040] S104: Determine key data deployed in the cloud based on the current network status and priority sorting.

[0041] Specifically, the drone cluster needs to detect the current network status in real time, including key indicators such as bandwidth, latency, and packet loss rate. These indicators will directly affect the efficiency and reliability of data transmission. Based on the detected network bandwidth, the amount of data transmission that the current network can support is evaluated. This will help determine the amount and type of key data that can be deployed in the cloud.

[0042] According to the previously determined priority, select the key data with higher priority for cloud deployment. When the network status is good, more key data can be deployed in the cloud as much as possible for real-time analysis and processing. When the network is disturbed or the bandwidth is insufficient, the deployment of cloud data needs to be dynamically adjusted according to the actual situation. For example, the key data with the highest priority (such as target data, drone status, etc.) can be deployed in the cloud first, and other data (such as videos, pictures, etc.) can be temporarily stored locally or compressed for transmission. The proportion of cloud data should be dynamically adjusted according to the current bandwidth and priority ranking. When the network bandwidth is sufficient, the proportion of cloud data can be increased as much as possible to ensure the real-time and reliability of the data. When the network bandwidth is limited, the proportion of cloud data needs to be reduced to avoid congestion and delay in data transmission. Throughout the process, the drone cluster needs to continuously monitor the network status and data transmission, and adjust as needed. This includes re-evaluating the network bandwidth, adjusting the data priority ranking, optimizing the data transmission strategy, etc. When the network status is good, all key data are deployed in the cloud. When the network is disturbed or the bandwidth is insufficient, the more important key data in the priority ranking is deployed in the cloud first. The proportion of key data deployed in the cloud is determined based on the current bandwidth.

[0043] S105: Filter out nodes competing for the master node based on the task type.

[0044] Specifically, the election of the master node is a key process that directly affects the collaborative efficiency and task execution effect of the cluster. The election of the master node usually needs to be determined based on the current task type and business scenario to ensure that the drones in the cluster can work together efficiently.

[0045] S106: Determine the evaluation criteria for the master node election based on the task type.

[0046] Specifically, when a drone cluster performs tasks, it will involve different task types. When electing a master node, the cluster will evaluate the qualifications of each node based on the key factors in the specific task execution process to ensure that the master node has the ability to lead the cluster to complete the task. Under different task types, the drone cluster's requirements for the master node will vary. The following is an example of evaluation criteria based on different task types.

[0047] For example, in a collaborative reconnaissance mission, the main task of a drone cluster is to acquire and transmit reconnaissance data. When electing a master node, the evaluation criteria follow the following rules. 1. Flight altitude: The drone with the highest flight altitude is given priority as the master node. This is because a high flight altitude usually means better link communication quality, which can ensure the efficient transmission of key data in the cluster. 2. Distance from the ground station: The drone farthest from the ground station is not eligible to elect a master node. This is to avoid signal attenuation and decreased communication quality due to long communication distances. 3. Group leader election: If the cluster is grouped, the master node will be elected from the group leader first. This helps maintain coordination and organization within the group.

[0048] For example, in a coordinated strike mission, the main task of a drone cluster is to discover and strike targets. When electing a master node, the evaluation criteria follow the following rules. 1. Number of targets discovered: The drone that discovers the most targets is given priority as the master node. This is because it can more accurately judge the progress of the mission and the distribution of targets. 2. Evaluation machine: The evaluation machine is generally elected as the master node. The evaluation machine usually has more powerful computing power and data analysis capabilities, and can better guide the cluster to conduct strike operations. 3. Network communication quality: The drone with the best network communication quality will also become a candidate for the master node. Good communication quality can ensure that drones in the cluster can share information in real time and improve collaborative efficiency.

[0049] For example, in a coordinated penetration mission, a drone cluster needs to quickly break through the enemy's defense line. When electing the master node, the evaluation criteria follow the following rules. 1. Flight speed: The drone with the fastest flight speed is given priority as the master node. This is because high-speed flight can guide the cluster to break through the defense line faster. 2. Remaining power: The drone with the most remaining power will also be a candidate for the master node. During the penetration process, the power of the drone may be consumed rapidly, so choosing a drone with sufficient power as the master node can ensure the durability of the cluster. After the master node is determined, the cluster will begin data synchronization to ensure that all drones can obtain the latest mission information and status data. At the same time, the cluster will also work together according to the instructions of the master node to complete the task efficiently. It should be noted that the above-mentioned examples of determining the evaluation criteria for the current master node election according to different task types and screening out candidate nodes participating in the master node competition are only illustrative, and this application is not limited to the above examples.

[0050] S107: Based on the evaluation criteria, a master node is elected according to a preset period and / or based on a trigger condition.

[0051] Specifically, the triggering conditions include but are not limited to node exit, addition or failure. During the election process, the drone cluster will evaluate the candidate nodes according to the previously determined evaluation criteria and select the master node that best suits the current task requirements. The determination of the master node is crucial to the collaborative work of the drone cluster. It is responsible for coordinating the drones in the cluster to ensure that the task can be completed efficiently and accurately.

[0052] Figure 2 A specific flow chart of selecting a master node based on trigger conditions provided in an embodiment of the present application is as follows: Figure 2 As shown, it includes step S201 to step S202.

[0053] S201: When a new node joins, the new non-master node obtains membership and updates the cluster, and elects the master node based on the updated cluster.

[0054] Specifically, when a new drone node joins a drone cluster, it will first undergo identity authentication and configuration checks to ensure that the node meets the cluster's joining conditions. After the new node successfully passes the identity authentication and configuration checks, it will obtain cluster membership and become a full member of the cluster. The master node or management node in the cluster will update the cluster's member information list to include the new node. Based on the current mission type, evaluation criteria, and updated cluster member information, the cluster will re-elect the master node. This process will take into account factors such as the new node's performance, location, and power, as well as the status of other nodes in the cluster to ensure that the most suitable master node is selected.

[0055] S202: When a node needs to exit, member information is updated and data synchronization is processed, and a master node is elected based on the updated cluster.

[0056] Specifically, when a drone node needs to exit the cluster (perhaps due to low battery, failure, or other reasons), it will send an exit request to other nodes in the cluster. After receiving the exit request, the master node or the node in charge of management will update the member information list of the cluster and remove the node that is about to exit from the list. Before the node exits, the cluster will ensure that the important data on the node has been synchronized to other nodes in the cluster to avoid data loss. This includes mission information, status data, etc. After the node exits, the number or configuration of nodes in the cluster may have changed. Therefore, the cluster will re-elect the master node based on the updated member information list and evaluation criteria. This process will also take into account factors such as the performance, location, and power of the remaining nodes in the cluster to ensure that the cluster can continue to operate efficiently and stably.

[0057] S108: Synchronize the key data deployed in the cloud to the non-master nodes in the cluster through the master node.

[0058] Specifically, to ensure data consistency between drone cluster nodes, the master node will be responsible for synchronizing key data deployed in the cloud to all non-master nodes in the cluster. The design of this synchronization process fully considers the dynamics of the cluster and the stability of the network environment. The synchronization process can be periodic, and when it is severely disturbed, it can also be synchronized after the network is restored.

[0059] Furthermore, in order to maintain the freshness and consistency of the data, the master node will obtain the latest key data from the cloud according to the preset period and synchronize it to the non-master nodes in the cluster. In order to further save bandwidth, the synchronization period of each key data can also be different. Such periodic synchronization can ensure that all nodes in the cluster have the latest copy of the data. When the network of the drone cluster is severely disturbed (such as signal loss, communication interruption, etc.) causing synchronization interruption, the master node will immediately trigger restorative synchronization once the network is restored. This mechanism ensures that data inconsistencies that may occur during network failures can be corrected in a timely manner.

[0060] S109: Monitor the state of the cluster based on the cluster fault detection mechanism. When an abnormality or fault is found, an alarm is issued in time and an automatic topology adjustment mechanism is triggered.

[0061] Specifically, the topology adjustment includes the election adjustment of the master node and the adjustment of the cluster node topology map.

[0062] Figure 3 A specific flow chart of the cluster fault detection mechanism provided in the embodiment of the present application is as follows: Figure 3 As shown, it includes steps S301 to S303.

[0063] S301: Initialize the fault detector when each node starts.

[0064] Specifically, when each member node in the cluster starts, they will initialize a built-in fault detector. This fault detector will be responsible for subsequent node status detection and fault judgment.

[0065] S302: Detect node failures within a preset period by combining direct detection and indirect detection.

[0066] Specifically, within a preset period, each node will randomly select another node in the cluster for direct detection. This is usually achieved by sending a detection request and waiting for a response. If a response is received within a preset time, the detected node is considered normal and the timer for direct detection is reset. If no response is received within the timeout period, the indirect detection phase is entered. The node sending the detection request will select a preset number of other cluster members to send indirect detection requests. These members will send detection requests to the detected node and wait for a response. If a response is received from the detected node directly or indirectly within the detection period, the detected node is considered normal and the corresponding timer is reset.

[0067] S303: When a node is marked as failed, this information is broadcast through the communication mechanism within the cluster, and the list of other nodes is updated.

[0068] Specifically, if at the end of the preset period, the node that sends the probe request does not receive any response from the probed node directly or indirectly, it will mark the probed node as a faulty state. Once a node is marked as a faulty state, the node will send this information to other members in the cluster through the communication mechanism within the cluster (such as message broadcast). After receiving this information, other member nodes will update their member lists and remove the node marked as a faulty node from the list or mark it as unavailable.

[0069] Figure 4 The specific flow chart of the triggering automatic topology adjustment mechanism provided in the embodiment of the present application is as follows: Figure 4 As shown, it includes steps S401 to S404.

[0070] S401: The cluster performs corresponding adjustment actions according to the level of the faulty node, wherein the level of the faulty node includes an end node, a non-master node, and a master node.

[0071] S402: When an end node fails, the cluster does not perform any adjustments.

[0072] Specifically, the end node is the lowest level node in the cluster that executes specific tasks. Since the end node is usually only responsible for the execution of specific tasks and is not involved in the management and scheduling of the cluster, the cluster will not make direct adjustments when an end node fails. If the failure of the end node affects the execution of the task, the cluster will handle it by reallocating the task to other end nodes.

[0073] S403: When a non-master node fails, the cluster selects one of its normal end nodes as a new non-master node, and updates the topology structure and task allocation.

[0074] Specifically, a non-master node is an intermediate management node in the cluster, which is usually responsible for managing and scheduling the end nodes under it. When a non-master node fails, the cluster needs to select a suitable end node to replace it to ensure the integrity of the cluster and the normal execution of tasks. The strategy for selecting a new non-master node can be formulated according to the specific needs of the cluster. For example, the end node with the best health and the lowest load can be selected as the new non-master node. After selecting a new non-master node, the cluster will update the topology and reallocate the tasks originally assigned to the failed non-master node to the new non-master node.

[0075] S404: When a master node fails, the cluster will first select a new master node and then make the same adjustments to its non-master nodes as when the non-master node fails.

[0076] Specifically, the master node is the top-level management node in the cluster, responsible for the management and scheduling of the entire cluster. When a master node fails, the integrity and stability of the cluster will be seriously affected. Therefore, the cluster needs to quickly select a new master node to replace the failed master node. The strategy for selecting a new master node can be formulated according to the specific needs of the cluster. For example, a non-master node with the best health status and the lowest load can be selected as the new master node. After selecting a new master node, the cluster will update the topology and reallocate the management tasks originally assigned to the failed master node to the new master node. Since the new master node is responsible for managing multiple non-master nodes, the cluster also needs to make the same adjustments to its non-master nodes as when the non-master node fails, including selecting a new non-master node, updating the topology, and assigning tasks. Through this series of adjustment measures, the cluster can ensure that it can still maintain a stable operating state after a failure and continue to provide reliable services for the business.

[0077] S110: Optimize the transmission strategy according to the network status.

[0078] When the cluster is a drone cluster, each drone in the cluster is a node in the cluster. At this time, the links between nodes include air links, and the non-node links include ground-to-air links.

[0079] Figure 5 A specific flow chart of optimizing the transmission strategy according to the network status provided in the embodiment of the present application, such as Figure 5 As shown, it includes steps S501 to S503.

[0080] S501: Monitor network conditions of non-inter-node links and inter-node links, wherein the network conditions include signal strength, bandwidth occupancy, and delay.

[0081] Specifically, network conditions include signal strength (reflecting the stability and reliability of the link), bandwidth occupancy (indicating the load of the current link), and latency (measuring the real-time nature of data transmission). By monitoring the network status in real time, we can accurately understand the current state of the network and provide a basis for subsequent transmission strategy adjustments.

[0082] S502: When a non-inter-node link is disturbed, the node switches to an autonomous operation mode.

[0083] Specifically, when non-node links are disturbed, causing the communication between the drone and the ground control station or base station to be interrupted or unstable, the drone node will no longer rely on external instructions, but will switch to autonomous operation mode. In this mode, the drone will independently perform data interaction and task operations according to pre-set task instructions or autonomously planned task paths, that is, the node switches to autonomous operation mode. This ensures that the drone can continue to perform tasks when ground communication is interrupted, improving the fault tolerance and robustness of the cluster.

[0084] S503: When the link between nodes is disturbed, the transmission of basic data is stopped, the key data is prioritized based on the task type, and the key data with high priority is transmitted first.

[0085] Specifically, if the inter-node link is disturbed, resulting in limited transmission bandwidth or unstable data transmission, the transmission of basic data is stopped to release bandwidth resources. Based on the current task type and importance, the key data is prioritized. High-priority key data will be transmitted first to ensure that the data can reach the target drone node in a timely and accurate manner. In this way, the transmission of important task data can be prioritized under limited bandwidth conditions, improving the task execution efficiency and success rate of the cluster.

[0086] The embodiment of the present application also provides a cluster data synchronization device 600 based on service data degradation, such as Figure 6 As shown, the device includes: a classification module 601.

[0087] The classification module 601 is used to classify the business data of each node in the cluster, obtain different data types, and perform different transmission strategies based on different data types. Among them, different data types include key data and basic data. Different transmission strategies are performed based on different data types, including: deploying key data in the cloud, and centrally managing and storing key data through cloud management software. Among them, the cloud management software is configured to synchronize key data to each node, thereby transmitting key data. Basic data is directly transmitted between nodes.

[0088] Some modules in the apparatus described in the present application can be described in the general context of computer executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0089] The devices or modules described in the above application embodiments can be implemented by computer chips or entities, or by products with certain functions. For the convenience of description, the above devices are described in various modules according to their functions. When implementing the embodiments of the present application, the functions of each module can be implemented in the same or multiple software and / or hardware. Of course, the module that implements a certain function can also be implemented by combining multiple sub-modules or sub-units.

[0090] The methods, devices or modules described in this application can be implemented in the form of computer-readable program codes. The controller can be implemented in any appropriate manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) that can be executed by the (micro)processor, logic gates, switches, application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as: ASIC), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program codes, the controller can be implemented in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded microcontrollers by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included in it for implementing various functions can also be regarded as structures within the hardware component. Or even, the means for realizing various functions may be regarded as both a software module for realizing the method and a structure within a hardware component.

[0091] like Figure 7As shown, an embodiment of the present application also provides a cluster data synchronization server based on business data degradation, including a memory 701 and a processor 702; the memory 701 is used to store computer executable instructions; the processor 702 is used to execute computer executable instructions to implement a cluster data synchronization method based on business data degradation described above in an embodiment of the present application.

[0092] The embodiment of the present application further provides a computer-readable storage medium, which stores executable instructions. When a computer executes the executable instructions, the cluster data synchronization method based on business data degradation described above in the embodiment of the present application can be implemented.

[0093] It can be seen from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary hardware. Based on this understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, or it can be reflected in the implementation process of data migration. The computer software product can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the method described in the embodiment of the present application.

[0094] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. All or part of this application can be used in many general or special computer system environments or configurations.

[0095] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the present application.

Claims

1. A cluster data synchronization method based on service data degradation, characterized in that: include: Classify the business data of each node in the cluster to obtain different data types, and implement different transmission strategies based on different data types; wherein the different data types include key data and basic data; The different transmission strategies based on different data types include: Deploy the key data in the cloud, and centrally manage and store the key data through cloud management software; wherein the cloud management software is configured to synchronize the key data to each node, thereby transmitting the key data; and directly transmit the basic data between nodes; Determine the current task type; prioritize the key data based on the task type; determine the key data deployed in the cloud based on the current network status and priority ranking; dynamically adjust the proportion of cloud data based on the current bandwidth and priority ranking; Nodes competing for the master node are selected based on the task type; evaluation criteria for the master node election are determined based on the task type; based on the evaluation criteria, the master node is elected according to a preset cycle and / or based on trigger conditions; key data deployed in the cloud is synchronized to non-master nodes in the cluster through the master node.

2. The cluster data synchronization method based on service data degradation according to claim 1, characterized in that: Also includes: The cluster status is monitored based on the cluster fault detection mechanism. When an abnormality or fault is found, an alarm is issued in time and the automatic topology adjustment mechanism is triggered.

3. The cluster data synchronization method based on service data degradation according to claim 1, characterized in that: It also includes optimizing the transmission strategy according to the network status, specifically including: Monitoring network conditions of non-inter-node links and inter-node links; wherein the network conditions include signal strength, bandwidth occupancy and delay; When non-inter-node links are disturbed, the nodes switch to autonomous operation mode; When the link between nodes is disturbed, the transmission of basic data is stopped, and the key data is prioritized based on the task type, with high-priority key data being transmitted first.

4. The cluster data synchronization method based on service data degradation according to claim 1, characterized in that: The process of electing a master node based on a trigger condition includes: When a new node joins, the new non-master node obtains membership and updates the cluster, and then elects the master node based on the updated cluster. When a node needs to exit, it updates member information and handles data synchronization, and elects a master node based on the updated cluster.

5. The cluster data synchronization method based on service data degradation according to claim 2, characterized in that: The cluster fault detection mechanism includes: Each node initializes the failure detector when it starts; Detect node failures through a combination of direct and indirect detection within a preset period; When a node is marked as failed, this information is broadcast through the communication mechanism within the cluster and the lists of other nodes are updated.

6. The cluster data synchronization method based on service data degradation according to claim 2, characterized in that: The triggering of the automatic topology adjustment mechanism includes: The cluster performs corresponding adjustment actions according to the level of the faulty node, where the faulty node level includes end nodes, non-master nodes, and master nodes; When an end node fails, the cluster does not make adjustments; When a non-primary node fails, the cluster selects one of its normal end nodes as a new non-primary node and updates the topology and task allocation; When a master node fails, the cluster first elects a new master node and then makes the same adjustments to its non-master nodes as when a non-master node fails.

7. A cluster data synchronization device based on service data degradation, characterized in that: include: A classification module is used to classify the business data of each node in the cluster, obtain different data types, and perform different transmission strategies based on different data types; wherein the different data types include key data and basic data; the different transmission strategies based on different data types include: deploying the key data in the cloud, and centrally managing and storing the key data through cloud management software; wherein the cloud management software is configured to synchronize the key data to each node, thereby transmitting the key data; directly transmitting the basic data between nodes; Determine the current task type; prioritize the key data based on the task type; determine the key data deployed in the cloud based on the current network status and priority ranking; dynamically adjust the proportion of cloud data based on the current bandwidth and priority ranking; Nodes competing for the master node are selected based on the task type; evaluation criteria for the master node election are determined based on the task type; based on the evaluation criteria, the master node is elected according to a preset cycle and / or based on trigger conditions; key data deployed in the cloud is synchronized to non-master nodes in the cluster through the master node.

8. A cluster data synchronization server based on business data degradation, characterized in that: including memory and processor; The memory is used to store computer executable instructions; The processor is used to execute the computer executable instructions to implement the method according to any one of claims 1 to 6.