Unmanned aerial vehicle group master-slave task cooperation system based on side chain
By introducing side chain technology into the UAV group collaboration system, side chain nodes are dynamically generated and performed off-chain calculations, which solves the problem of slow space occupied by group collaborative consensus under a single chain, and improves task execution efficiency and information security. , suitable for a variety of application scenarios.
Patent Information
- Application Number
- CN202410808175.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-15
AI Technical Summary
Single chain technology causes redundant copies of collaborative data and reporting delays in master-slave multi-group collaborative tasks, affecting task execution efficiency and information security.
Using side chain technology, the task execution environment will be migrated to the side chain, side chain nodes will be dynamically generated, only temporary data will be stored and shared on the side chain, high computing power nodes will be used for off-chain calculations, and the data will be generated through the trusted medium. The results are then transmitted back to the main chain to reduce redundant storage and consensus delays.
It improves the efficiency and stability of collaborative consensus, reduces the storage space occupied by the main chain, improves task execution efficiency, and achieves interoperability between main and side chains, making it suitable for military, security, rescue and other scenarios.
Smart Images

Figure CN118784654A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a side chain-based master-slave task coordination system for a drone group, and belongs to the technical field of blockchain. Background Art
[0002] With the widespread use of drones, completing tasks in a multi-drone group collaborative manner has become a research hotspot. In addition to the traditional single-group collaborative method, the master-slave multi-group collaborative method also demonstrates the ability to perform ad hoc tasks in certain application fields. Blockchain technology can be used as a better software collaboration platform due to its characteristics of decentralization and data sharing. The latest research has begun to focus on using blockchain technology to complete the task collaboration of group robots. However, the use of a single chain technology to support master-slave multi-group collaborative tasks will result in redundant copies of the collaborative data generated by the slave group composed of ad hoc tasks in nodes outside the slave group, and challenging issues such as the need for consensus among all nodes when sharing information from the slave group nodes, which leads to reporting delays. Summary of the invention
[0003] Purpose of the invention: To address the problem of slow space occupation in the master-slave collaborative consensus of a group under a single chain, the present invention proposes a master-slave task collaborative system for drone groups based on a side chain, which migrates the task execution environment to the side chain, effectively avoiding redundant storage of temporary data and inefficient consensus of all nodes.
[0004] Technical solution: A drone group master-slave task coordination system based on side chain, which uses side chain and other technical means to solve the problems of node storage redundancy and increased link delay in a single chain during master-slave multi-group coordination tasks, including task management module and data management module.
[0005] The task management module is mainly used for task life cycle management, task review, and side chain creation and initialization; The data management module is mainly used for heterogeneous data storage and blockchain platform interaction.
[0006] The creation of side chains dynamically generates side chains by selecting appropriate blockchain nodes based on the actual needs of the task.
[0007] Initialize the side chain and deploy the corresponding side chain data return smart contract according to different collaboration methods.
[0008] The side chain has heterogeneous data storage. When drones on the side chain share data, large files such as media files and sensor data are uploaded to the file storage service, and only the reference information of these media files and sensor data is saved on the side chain.
[0009] The off-chain data fusion of the side chain has performance limitations based on the on-chain calculation of smart contracts. If there is a scenario that requires a lot of calculations in the execution of the task, by adding high-computing power nodes to the side chain, these high-computing power nodes are not restricted by languages such as Solidity, and the calculation process does not require consensus. At the same time, they have stronger physical performance, which helps the side chain to perform data fusion.
[0010] The data of the side chain is transmitted back to the main chain, and the execution results of the slave tasks on the side chain are returned to the main chain through a trusted relay.
[0011] Furthermore, the task life cycle includes task creation, task review, dynamic generation of side chains, task information fusion, cross-chain task results, and resource recovery at the end of the task.
[0012] Task review consists of contract review and manual review. Automatic contract review pre-deploys experience-based smart contracts, which are automatically called for review after the task is created. Manual review can be performed if contract review is not set or fails.
[0013] Generation and initialization of side chains. Side chains are dynamically generated after analyzing the situation of the task and selecting appropriate members as nodes of the chain to ensure that the composition of the side chain can meet the specific needs of the task. This flexibility and dynamism can more effectively utilize node resources to achieve the best execution effect.
[0014] Furthermore, task participants include terminal holders and managers; terminal holders are task executors who carry smart terminal devices, which are physical devices that run blockchain nodes and run business platforms on the chain. Terminal holders interact with their drones through these smart terminals to control and monitor drone activities. Managers are usually located in ground control stations or command centers and are responsible for the management and supervision of the system. They have a global perspective, can better command the actions of drone groups, and are responsible for task review.
[0015] Furthermore, in the physical creation process of the side chain, in addition to configuring the network node properties of the side chain, the secondary tasks also include two collaboration modes: main chain driven collaboration and side chain independent collaboration; the main chain driven collaboration is carried out by the main chain through cross-chain smart contracts to the side chain, which limits the way and timing of the side chain to return data; the side chain independent collaboration is decided by the side chain itself on data return matters.
[0016] Furthermore, data heterogeneity storage stores large files or data in tasks in object storage services. These files and data will not participate in the calculation logic in the smart contract, mainly media files and sensor data. Only the basic information of the task and the reference information of the large files are stored on the blockchain. The basic information includes necessary content such as task content and participating members, and the length of a single field of the basic information is controllable. When in use, the data management module assembles and splits the data, mainly downloading the source file according to the reference information of the large file, and assembling the task information and returning it to the interactive front desk for normal use by the user. Blockchain platform interaction. The blockchain platform includes BaaS platform, cross-chain platform and development support platform. The BaaS platform is used to manage the generation, destruction and node adjustment of the chain. The cross-chain platform is used to complete the main chain contract issuance and the side chain execution result feedback. The development support platform is used to complete the compilation, deployment and call of the contract.
[0017] Furthermore, an architecture that separates business systems from blockchain operations is adopted, and a blockchain platform is used as the underlying support, including the use of BaaS platform management to manage the chain, the use of a development support platform to deploy and call smart contracts, and the use of a cross-chain platform to achieve interoperability between the main chain and the side chain. These platforms shield the complexity of the specific implementation of the blockchain environment, and use the HTTP protocol for interface calls with the blockchain platform. The cross-chain platform uses a trusted relay solution for implementing blockchain interoperability as a cross-chain implementation.
[0018] Furthermore, the creation of a sidechain includes the following steps: View the valid drone positions within the mission target range. If the currently visible drone members do not meet the mission requirements, you can apply to view members in a larger range. According to the mission requirements, the drone with the best execution effect is selected as the side chain node based on the drone location distance, drone type, drone equipment and other conditions; The task initiator selects the participating drones in the system and fills in the task information, submits the task creation request and waits for review; After the review is passed, the physical creation of the side chain will be carried out, and the side chain data return smart contract with the corresponding collaborative method will be deployed.
[0019] Furthermore, off-chain data fusion includes the following steps: The smart contract monitors data changes and modifies the flag bit. The system triggers data fusion events by polling the flag bit in the smart contract. The system calls the development support platform to obtain the data to be integrated from the chain; Call the off-chain computing service to process the data and upload the calculation results to the chain.
[0020] Furthermore, the timing of the sidechain data transmission is determined by the smart contract on the sidechain. The smart contract can be issued by the main chain or uploaded by the sidechain autonomously according to different coordination methods. The sidechain data transmission includes the following steps: The system triggers cross-chain events by polling the flag in the smart contract; The system calls the cross-chain platform to initiate cross-chain transactions; The cross-chain platform stores transaction records on the relay chain and forwards cross-chain data; The cross-chain data is saved on the main chain, and the cross-chain platform returns the cross-chain transaction results.
[0021] The beneficial effects brought by the technical solution of the present invention are: solving the problem of slow space occupation of the master-slave collaborative consensus of the group under a single chain, the group collaborative mode composed of a single chain has solved the problems of information security and single point failure, but when executing group collaborative tasks involving master-slave relationships, the processing capacity of the slave task is often reduced due to the increase in the scale of the main task node. This is due to the consensus characteristics of the blockchain itself, that is, the more nodes, the stronger the decentralization, but at the same time it will increase the communication cost. The system of the present invention combines the side chain technology, only filters out the nodes related to the slave task, dynamically creates a side chain parallel to the main chain, removes unnecessary consensus nodes, and significantly improves the consensus efficiency and stability, and effectively isolates the temporary data generated during the execution of the slave task, reducing the final storage space occupied by the main chain, so that the task execution efficiency is improved, and the interoperability between the main and side chains is realized. The final result of the slave task execution on the side chain can also be synchronized to the main chain. The system of the present invention can be widely used in military, public security, rescue and other scenarios as a basic system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 This is a schematic diagram of master-slave task collaboration based on the side chain; Figure 2 It is a diagram of the task life cycle; Figure 3 This is a schematic diagram of the task review; Figure 4 This is a schematic diagram of heterogeneous storage of task information; Figure 5 It is the physical view of the system; Figure 6 This is a schematic diagram of off-chain data fusion; Figure 7 This is a complete cross-chain flow chart for trusted relays. DETAILED DESCRIPTION
[0023] The present invention is further explained below in conjunction with specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.
[0024] A drone group master-slave task coordination system based on side chain, which introduces multi-chain technology to migrate slave tasks to side chains parallel to the main chain, reduces the impact of a single slave task on the main task by isolating the main side chain, improves the information density of the main chain, and solves the problems of node storage redundancy and increased chain latency in a single chain when the master and slave groups coordinate tasks. Figure 1 As shown, the internal data interaction of the task is limited to the side chain, and the main chain only saves the execution results after the side chain is integrated. It includes task management module and data management module; The main functions of the task management module include task life cycle management, task review, side chain creation and initialization. Only the necessary functions for the normal execution of tasks are implemented here; The main functions of the data management module include heterogeneous data storage and blockchain platform interaction; The task execution process in general scenarios is as follows Figure 2 , when a slave task appears, you need to check the nearby drones that can be coordinated and their locations. You can apply to expand the viewing range according to the actual situation to obtain drones outside the scope of authority for assistance. When the participating members are determined, a new slave task is created. At this time, you need to enter the task content, including key information such as task content, participants, task start time, and target location. After submitting the task, it will first be automatically reviewed by the contract. If the automatic review is not configured or the automatic review fails, it will be reviewed by the administrator. After the review is successful, the side chain will be dynamically created by calling the BaaS platform interface. After the side chain is created, the chain will be registered to the cross-chain platform, and the corresponding fusion contract will be deployed to the side chain according to the collaboration method. Then the drone starts to take off, and the data returned during the task execution is fused according to the contract and returned to the main chain. During the fusion process, off-chain calculations may be involved. The large files returned by the drone will be saved in the off-chain storage medium, and only the reference information of these files will be saved on the chain. After the task is completed, delete the side chain to release resources, and cancel the chain on the cross-chain platform.
[0025] The creation of the side chain, select the three nearest drones according to the target location of the mission, check the valid drone positions near the target location of the mission, and when the currently visible drone members do not meet the mission requirements, you can apply to view members in a wider range. Selecting the nearest drone can achieve the best timeliness. After submitting the mission, wait for review; the task review consists of contract review and manual review, such as Figure 3As shown in the figure, the automatic contract review pre-deploys an experience-based smart contract, which is automatically called for review after the task is created; if the contract review is not set or the contract review fails, manual review can be performed; after the review is passed, the task management module calls the BaaS platform interface to complete the physical creation of the side chain; the BaaS platform creates the side chain by communicating with the BaaS-agent on the physical node to issue a creation command, and the BaaS-agent on each physical node starts the side chain client to complete the creation of the side chain.
[0026] The initialization of the side chain is mainly to deploy the corresponding side chain data return smart contract according to different collaboration methods; when the main chain driven collaboration is selected, the task management module will call the cross-chain platform interface after the side chain is created, and the preset data return contract on the main chain will be cross-chained to the side chain, and compiled and deployed through the development support platform; while the side chain independent collaboration is to upload the smart contract autonomously when the task is created, and the subsequent compilation and deployment are the same as the main chain drive.
[0027] The side chain has heterogeneous data storage. During the execution of the task, the drone will send back a large number of photos. These photos will be uploaded to the object storage service by the data management module, and then the access address of the photos in the object storage service will be saved in the corresponding task item on the chain; Figure 4 As shown in the figure, information such as task content, participating members, and target location is stored on the blockchain, sensor data and multimedia files are stored in the file storage service, and the task management module of the business system assembles and splits the data.
[0028] Off-chain data fusion of the side chain. During the execution of the task, the drone takes a large number of original pictures. These pictures have less effective information without screening and processing. At this time, a signal car with higher computing power is added to the side chain drone network as a data fusion computing node to perform fusion modeling on the original pictures on the side chain to generate new pictures with higher information density. These pictures can help the slave task nodes on the side chain better grasp the current situation and make more efficient decisions. They can also be used as execution results and transmitted back to the main chain through cross-chain because it carries more information. Off-chain data fusion includes the following steps, such as Figure 6 As shown: The smart contract monitors data changes and modifies the flag bit. The system triggers data fusion events by polling the flag bit in the smart contract. The system calls the development support platform to obtain the data to be integrated from the chain; Call the off-chain computing service to process the data and upload the calculation results to the chain.
[0029] The data of the side chain is transmitted back to the main chain. The smart contract on the side chain will specify the timing of data transmission. For example, each time data is transmitted after fusion, the fusion image counter in the task contract increases by one. At this time, the data transmission smart contract will monitor the event of the counter increasing by one. When the counter increases by one, the initiation transmission flag of the transmission contract will be modified to yes. The task management module will continue to poll the flag. When the flag changes, the cross-chain platform will be called to transmit the side chain data back to the main chain. When the side chain data is transmitted back, such as Figure 7 As shown, the following steps are included: The business system polls the side chain contract flag to trigger cross-chain; The business system calls the cross-chain platform to transmit data back; The cross-chain platform stores cross-chain transactions on the relay chain; The cross-chain platform calls the main chain development support platform to upload data to the chain; The main chain development support platform and the cross-chain platform return the execution results in turn.
Claims
1. A side chain-based drone group master-slave task coordination system, characterized in that: Including task management module and data management module; The task management module is used for task life cycle management, task review, and side chain creation and initialization; The data management module is used for heterogeneous data storage and blockchain platform interaction; Creation of side chains: dynamically generate side chains by selecting blockchain nodes based on the actual needs of the task; Initialize the side chain and deploy the corresponding side chain data return smart contract according to different collaboration methods; Heterogeneous data storage on the side chain: when drones on the side chain share data, they upload media files and sensor data to the file storage service, and only the reference information of these media files and sensor data is saved on the side chain; Off-chain data fusion of the side chain: adding high-computing nodes to the side chain during task execution to help the side chain perform data fusion; The data of the side chain is transmitted back to the main chain, and the execution results of the slave tasks on the side chain are returned to the main chain through a trusted relay.
2. The side chain-based drone group master-slave task coordination system according to claim 1 is characterized in that: The task life cycle includes task creation, task review, dynamic generation of side chains, task information fusion, cross-chain task results, and resource recovery after task completion; Task review consists of contract review and manual review. Contract review is done by pre-deploying an experience-based smart contract, which is automatically called for review after the task is created. If contract review is not set or fails, manual review will be performed.
3. The side chain-based drone group master-slave task coordination system according to claim 1 is characterized in that: Generation and initialization of the side chain. The side chain is dynamically generated after analyzing the situation of the task, and appropriate members are selected as nodes of the chain to ensure that the composition of the side chain can meet the specific needs of the task.
4. The side chain-based drone group master-slave task coordination system according to claim 1 is characterized in that: Task participants include terminal holders and managers; terminal holders are task executors who carry smart terminal devices, which serve as physical devices running blockchain nodes and running business platforms on the chain; Terminal holders interact with their drones through these smart terminals to control and monitor drone activities; managers are located in ground control stations or command centers, responsible for the management and supervision of the system, directing the actions of drone groups and responsible for mission review.
5. The side chain-based drone group master-slave task coordination system according to claim 1 is characterized in that: During the physical creation process of the side chain, in addition to configuring the network node properties of the side chain, the tasks also include two collaboration modes: main chain-driven collaboration and side chain independent collaboration. The main chain-driven collaboration is carried out by the main chain through cross-chain smart contracts to the side chain, which limits the way and timing of the side chain to return data. The side chain independent collaboration is decided by the side chain itself on data return matters.
6. The side chain-based drone group master-slave task coordination system according to claim 1 is characterized in that: Heterogeneous data storage stores large files or data in tasks in object storage services. These files and data are mainly media files and sensor data. Only basic information of tasks and reference information of large files are stored on the blockchain. Basic information includes task content and information of participating members. The length of a single field of basic information is controllable. When in use, the data management module assembles and splits the data, downloads the source file according to the reference information of the large file, and assembles the task information and returns it to the interactive front desk.
7. The side chain-based drone group master-slave task coordination system according to claim 1 is characterized in that: The blockchain platform includes the BaaS platform, the cross-chain platform and the development support platform. In the interaction of the blockchain platform, the BaaS platform is used to manage the generation, destruction and node adjustment of the chain, the cross-chain platform is used to complete the main chain contract issuance and the side chain execution result feedback, and the development support platform is used to complete the compilation, deployment and call of the contract; It adopts an architecture that separates business systems from blockchain operations, and uses a blockchain platform as the underlying support, including using BaaS platform management to manage the chain, using a development support platform to deploy and call smart contracts, and using a cross-chain platform to achieve interoperability between the main chain and the side chain. The platform shields the complexity of the specific implementation of the blockchain environment, and uses the HTTP protocol for interface calls with the blockchain platform. The cross-chain platform uses a trusted relay solution in implementing blockchain interoperability as a cross-chain implementation.
8. The side chain-based drone group master-slave task coordination system according to claim 1 is characterized in that: The creation of a sidechain consists of the following steps: Check the valid drone positions within the mission target range. If the currently visible drone members do not meet the mission requirements, apply to view members in a larger range. According to the mission requirements, the drone with the best execution effect is selected as the side chain node by referring to the drone location distance, drone type, and drone equipment conditions; The task initiator selects the participating drones in the system and fills in the task information, submits the task creation request and waits for review; After the review is passed, the physical creation of the side chain will be carried out, and the side chain data return smart contract with the corresponding collaborative method will be deployed.
9. The side chain-based drone group master-slave task coordination system according to claim 1, characterized in that: Off-chain data fusion includes the following steps: The smart contract monitors data changes and modifies the flag bit. The system triggers data fusion events by polling the flag bit in the smart contract. The system calls the development support platform to obtain the data to be integrated from the chain; Call the off-chain computing service to process the data and upload the calculation results to the chain.
10. The side chain-based drone group master-slave task coordination system according to claim 1, characterized in that: The timing of the sidechain data transmission is determined by the smart contract on the sidechain. The smart contract can be issued by the main chain or uploaded by the sidechain independently according to the different coordination methods. The sidechain data transmission includes the following steps: The system triggers cross-chain events by polling the flag in the smart contract; The system calls the cross-chain platform to initiate cross-chain transactions; The cross-chain platform stores transaction records on the relay chain and forwards cross-chain data; The cross-chain data is saved on the main chain, and the cross-chain platform returns the cross-chain transaction results.
Citation Information
Cited By
Unmanned aerial vehicle group self-organizing task cooperation method and device, electronic equipment and storage medium
CN119512215A
Aircraft data evidence storage method and system based on block chain
CN120373430A
A blockchain-based aircraft data storage method and system
CN120373430B
Block chain-based enterprise data asset management method and system
CN120655162A
