Group cooperative control method and device, nonvolatile storage medium and electronic equipment

By determining the weight value in the sub-device and selecting the target sub-device to replace the main device, the problem of reliability and stability of the group collaborative control system when the main device is abnormal is solved, ensuring the continuous execution of tasks and the integrity of data.

CN118534778AInactive Publication Date: 2024-08-23BEIJING GANGTIEXIA TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410597656.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing group collaborative control technology, the processing capability of the main device under abnormal conditions is not ideal, resulting in reduced system reliability and stability, and it cannot effectively deal with the problem of main device failure or communication interruption.

Method used

By determining the weight value of the sub-device and selecting the target sub-device, it is allowed to continue to perform collaborative tasks instead of the main device, ensuring that the mobile device cluster can still handle collaborative tasks in the event of communication abnormalities, and improving the processing capability of the main device in abnormal situations.

Benefits of technology

This enables the mobile device cluster to continue to perform tasks when an abnormality occurs on the main device, improving the stability and reliability of the system and avoiding task interruption and data loss due to single point failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118534778A
    Figure CN118534778A
Patent Text Reader

Abstract

The invention discloses a group cooperative control method and device, a nonvolatile storage medium and electronic equipment. The method comprises the steps that the communication state with a main device is determined, the main device belongs to a mobile device group, and the main device controls a plurality of sub-devices included in the mobile device group to execute a cooperative task; under the condition that the communication state is abnormal communication, weight values corresponding to the multiple pieces of sub-equipment are determined, and the weight values corresponding to the multiple pieces of sub-equipment are stored in a synchronous state in the multiple pieces of sub-equipment; according to the weight values corresponding to the plurality of sub-devices, determining a target sub-device in the plurality of sub-devices; and under the condition that the current sub-device is the target sub-device, controlling other sub-devices except the current sub-device in the plurality of sub-devices to continuously execute the cooperative task. According to the method and the device, the technical problem of non-ideal processing capability for the abnormal condition of the main equipment in the related technology is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a group collaborative control method, device, non-volatile storage medium and electronic device. Background Art

[0002] In the application of mobile devices such as drones, group collaborative control is an important technology that allows multiple drones or mobile devices to work together as a whole through mutual communication and collaboration to complete complex tasks. Group collaborative control technology is widely used in scenarios that require large-scale and high-efficiency operations, such as electronic map construction, search and rescue, environmental monitoring, agricultural spraying, etc.

[0003] In the related technology, there is usually a main device as the control core, which is responsible for receiving task instructions, planning task paths, assigning tasks to each sub-device, and monitoring the entire task execution process. The sub-devices operate according to the instructions of the main device and feedback status information to the main device through wireless communication. Since the main device occupies a core position in the control architecture, once the main device fails or is shot down, multiple sub-devices will be disconnected at the same time and unable to continue to perform tasks. This single point failure problem reduces the reliability and stability of group collaborative control.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] Embodiments of the present invention provide a group collaborative control method, apparatus, non-volatile storage medium and electronic device to at least solve the technical problem in the related art of the unsatisfactory ability to handle abnormal situations of the main device.

[0006] According to one aspect of an embodiment of the present invention, there is provided a group collaborative control method, comprising: determining a communication status with a main device, wherein the main device belongs to a mobile device group, and the main device controls a plurality of sub-devices included in the mobile device group to perform collaborative tasks; in a case where the communication status is a communication abnormality, determining weight values ​​respectively corresponding to the plurality of sub-devices, wherein the weight values ​​respectively corresponding to the plurality of sub-devices are stored in the plurality of sub-devices as synchronization status; determining a target sub-device among the plurality of sub-devices according to the weight values ​​respectively corresponding to the plurality of sub-devices; and in a case where the current sub-device is the target sub-device, controlling the other sub-devices among the plurality of sub-devices except the current sub-device to continue to perform the collaborative task.

[0007] Optionally, the weight values ​​of the multiple sub-devices are respectively determined based on the device performance of the corresponding sub-device, the current status of the device, and the access order of accessing the mobile device group.

[0008] Optionally, controlling other sub-devices among the multiple sub-devices except the current sub-device to continue to execute the collaborative task includes: when there are multiple other sub-devices, establishing communication connections with the multiple other sub-devices respectively; querying the task progress of the multiple other sub-devices to obtain progress information corresponding to the multiple other sub-devices respectively; sending a re-acquisition request to other sub-devices among the multiple other sub-devices whose progress information indicates that they are completed, and receiving sub-mapping information sent by other sub-devices whose progress information indicates that they are completed, as a way of controlling the multiple other sub-devices to continue to execute the collaborative tasks respectively.

[0009] Optionally, the method further includes: upon receiving sub-mapping information respectively corresponding to the multiple other sub-devices, splicing the sub-mapping information respectively corresponding to the multiple other sub-devices to obtain overall mapping information, wherein the sub-mapping information is obtained by the corresponding other sub-devices performing sub-area mapping in accordance with the collaborative task.

[0010] Optionally, when the communication status is abnormal communication, before determining the weight values ​​respectively corresponding to the multiple sub-devices, the following processing is performed by the main device: determining total range information indicating the target area for executing the collaborative task; dividing the target area according to the number of the multiple sub-devices to determine multiple sub-areas; and sending the sub-range information of the multiple sub-areas respectively to the multiple sub-devices, wherein the multiple sub-devices execute the collaborative task based on the corresponding sub-range information.

[0011] Optionally, the main device stores weight values ​​corresponding to the multiple sub-devices respectively, and sending the sub-range information corresponding to the multiple sub-areas respectively to the multiple sub-devices respectively includes: allocating corresponding sub-devices to the multiple sub-areas according to the weight values ​​corresponding to the multiple sub-devices respectively, to obtain sub-area allocation results; and sending the sub-range information corresponding to the multiple sub-areas respectively to the multiple sub-devices based on the sub-area allocation results.

[0012] Optionally, the main device and the multiple sub-devices are respectively provided with communication interfaces for a plurality of predetermined communication modes, and the main device performs the following processing: determining the communication requirements for executing the collaborative task; determining a communication mode that matches the communication requirements among the multiple communication modes as a target mode; and using the communication interface corresponding to the target mode to perform communication processing with the multiple sub-devices.

[0013] According to another aspect of an embodiment of the present invention, there is provided a group collaborative control device, comprising: a communication detection module, for determining a communication status with a main device, wherein the main device belongs to a mobile device group, and the main device controls a plurality of sub-devices included in the mobile device group to perform collaborative tasks; a first determination module, for determining weight values ​​respectively corresponding to the plurality of sub-devices when the communication status is a communication abnormality, wherein the weight values ​​respectively corresponding to the plurality of sub-devices are stored as synchronization status in the plurality of sub-devices; a second determination module, for determining a target sub-device among the plurality of sub-devices according to the weight values ​​respectively corresponding to the plurality of sub-devices; and a replacement control module, for controlling, when the current sub-device is the target sub-device, other sub-devices among the plurality of sub-devices except the current sub-device to continue to perform the collaborative task.

[0014] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing any one of the group cooperative control methods.

[0015] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the group collaborative control methods described.

[0016] In an embodiment of the present invention, by determining the communication state with the main device, wherein the main device belongs to a mobile device group, the main device controls multiple sub-devices included in the mobile device group to perform collaborative tasks; when the communication state is abnormal communication, determining the weight values ​​corresponding to the multiple sub-devices, wherein the weight values ​​corresponding to the multiple sub-devices are stored as synchronization states in the multiple sub-devices; determining the target sub-device among the multiple sub-devices according to the weight values ​​corresponding to the multiple sub-devices; when the current sub-device is the target sub-device, controlling the other sub-devices among the multiple sub-devices except the current sub-device to continue to perform the collaborative task. The purpose of enabling the mobile device cluster to still have the ability to process collaborative tasks in the event of an abnormality in the main device is achieved, and the technical effect of improving the ability to handle abnormal situations of the main device is achieved, thereby solving the technical problem of unsatisfactory ability to handle abnormal situations of the main device in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0018] Figure 1 is a flow chart of an optional group collaborative control method provided according to an embodiment of the present invention;

[0019] Figure 2 is a schematic block diagram of an optional group cooperative control method provided according to an embodiment of the present invention;

[0020] Figure 3 It is a schematic diagram of an optional group cooperative control device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0022] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0023] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0024] ROS (Robot Operating System) is a computer operating system architecture designed for robot software development. It provides services similar to operating systems, including hardware abstract description, underlying driver management, execution of common functions, inter-program message passing, program distribution package management, etc. It also provides some tools and libraries for acquiring, building, writing and executing multi-machine fusion programs. ROS is an open source meta-level operating system (post-operating system) with a distributed processing framework that performs several types of communications, including service-based synchronous RPC (remote procedure call) communication, asynchronous data stream communication, and data storage on parameter servers.

[0025] Socket communication is a network communication mechanism that allows different computers to exchange data over the network. Socket is the endpoint of network communication and achieves communication by binding IP address (Internet Protocol Address) and port number.

[0026] In the group collaborative control of mobile devices such as drones, the single point failure problem usually refers to the situation where the entire group collaborative system loses its control core when the main device (usually the control center or the main drone) fails or is shot down, causing multiple sub-devices (slave drones or other mobile devices) to lose communication with the main device at the same time, making it impossible to continue to perform tasks or work collaboratively. The seriousness of the single point failure problem lies in that it may cause the entire system to paralyze, making it impossible to complete tasks that were originally completed by multiple sub-devices in collaboration. In addition, since the main device is usually responsible for important functions such as mission planning, allocation, and communication, its failure may also lead to mission execution errors, waste of resources, and even safety risks.

[0027] Even if there is no abnormality in the master device, the communication delay and interruption of the master device will greatly affect the reliability and real-time performance of the communication. In scenarios with extremely high real-time requirements, it is unacceptable to wait for the response of the master device for too long, which will lead to problems such as task execution interruption and data loss. It is urgent to use a new master device to replace the original function in the case of communication interruption or delay so that the collaborative task can be executed stably.

[0028] In response to the above problems, an embodiment of the present invention provides a method embodiment of group collaborative control. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0029] Figure 1 is a flow chart of a group collaborative control method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0030] Step S102, determining a communication state with a master device, wherein the master device belongs to a mobile device group, and the master device controls a plurality of sub-devices included in the mobile device group to perform a collaborative task;

[0031] It can be understood that the execution subject is the current sub-device, which detects the communication connection between the system or program and the main device. The main device is a core node in the mobile device group, responsible for controlling multiple sub-devices to perform collaborative tasks. The communication status check can ensure whether the data transmission between the main device and the sub-device is normal. Through the above processing, the real-time monitoring of the communication status of the main device is ensured, so that a quick response can be made when there is a problem with the communication.

[0032] It should be noted that through continuous communication status checks, potential communication problems can be discovered in advance, avoiding the main device failure from having too much impact on collaborative tasks, and providing basic data for subsequent decision-making steps (such as selecting target sub-devices) to ensure the accuracy of decisions.

[0033] It is still necessary to explain that the above-mentioned current sub-device can be any sub-device in the mobile device group, and each sub-device can perform the following processing, not just a specific sub-device.

[0034] Optionally, the above-mentioned main device serves as a "command" device and is set to be a device with higher performance than multiple sub-devices. Compared with multiple sub-devices in the mobile device group, the main device has higher computing power in the computing module, a longer communication distance in the data communication module, and higher accuracy and resolution in the sensor module. As the number of sub-devices in the mobile device group increases, or the complexity of the scenarios to be dealt with increases, the computing power of the computing module used to perform collaborative tasks in the main device and other related modules also need to be improved in order to fully process the information of other devices in the group and provide decision-making solutions.

[0035] Optionally, the above-mentioned main device can perform online version upgrade processing.

[0036] In an optional embodiment, the main device and multiple sub-devices are respectively provided with communication interfaces for a plurality of predetermined communication modes, and the main device performs the following processing: determining the communication requirements for executing collaborative tasks; determining a communication mode that matches the communication requirements among the plurality of communication modes as the target mode; and using the communication interface corresponding to the target mode to perform communication processing with the plurality of sub-devices.

[0037] It can be understood that the execution subject is the main device, and the main device and multiple sub-devices are configured with multiple predetermined communication methods and their corresponding communication interfaces. The main device determines the communication method that matches the communication requirements according to the communication requirements of the collaborative task, and uses the target method to perform communication processing. By using the communication interface that matches the target communication method, the communication efficiency can be maximized and the data transmission delay and error rate can be reduced. This helps to improve the efficiency and effectiveness of task execution.

[0038] Optionally, the above-mentioned multiple sub-devices can be different models of intelligent devices with a unified operating system. Different models of sub-devices with the same operating system, specifically, all sub-devices in a mobile device group, are based on the same operating system, but use different algorithms to control the movement of intelligent devices (i.e., sub-devices). For example, multiple sub-devices can be based on the ROS system, but the multiple sub-devices use different navigation and positioning algorithms. Or multiple sub-devices are based on the Linux system, but the multiple sub-devices use different types of deep learning algorithms or swarm intelligence algorithms.

[0039] Optionally, there may be multiple swarm intelligence algorithms, such as ant colony algorithm, particle swarm algorithm, bird flock algorithm, bacterial foraging algorithm, bee colony algorithm, etc. All of the above algorithms are based on the principle of group collaborative behavior in nature and solve optimization problems by simulating information exchange and collaboration between individuals in a group.

[0040] Optionally, when the above-mentioned multiple sub-devices are all based on the ROS system and use SLAM for navigation and positioning, each of the multiple sub-devices has a software node associated with the communication interface, which is specifically used for data interaction between devices. The software node is controlled by the ROS Master in the device, and the communication between the sub-device and the main device uses Socket to transmit data. The entire mobile device group system is equivalent to a whole. The main device contains the same number of software nodes associated with the communication interface as the number of sub-devices, which are used for data interaction with each sub-device. There is also a ROS Master in the "command" device, but the difference is that this ROS Master not only needs to maintain its own software nodes, but also the software nodes of the sub-devices with which data interaction occurs (such as synchronization weight values).

[0041] Optionally, in order to solve the communication and cooperation problem between sub-devices of different models based on the same system, multiple sub-devices or main devices included in the same mobile device cluster need to reserve communication interfaces with the same communication method. There can be multiple communication interfaces, such as Socket interfaces, WIFI (Wireless Fidelity, Wireless LAN Alliance), 5G (fifth generation communication technology), radio and other interfaces with different communication methods.

[0042] The communication interface can be determined based on the application scenario. In indoor scenarios, WIFI can be selected for communication due to its small range. In outdoor scenarios, such as campus inspections, when the WIFI communication distance is insufficient, 5G can be used to solve the problem. For other special scenarios where data transmission is encrypted, radio can be used to establish communication. Radio communication refers to the technology of transmitting information using radio waves, which has high reliability and high frequency stability, and the transmission bit error rate of the radio is required to be very low.

[0043] Step S104, when the communication state is abnormal communication, determining weight values ​​corresponding to the plurality of sub-devices respectively, wherein the weight values ​​corresponding to the plurality of sub-devices respectively are stored in the plurality of sub-devices as a synchronization state;

[0044] It can be understood that the execution subject is the current sub-device. If the current sub-device detects that the communication status with the main device is abnormal (such as disconnection, excessive delay, etc.), it means that a way to replace the main device needs to be found to continue to execute the task. The weight values ​​corresponding to multiple sub-devices are kept in a synchronized state in multiple sub-devices to ensure data consistency. Through the above processing, the weight values ​​corresponding to multiple sub-devices are stored in a synchronized state in multiple sub-devices, so that when the main device is offline, the sub-device can select a target sub-device to replace the function of the main device, and the selection is based on the same data, which can ensure that the selected target sub-device is the same.

[0045] In an optional embodiment, the weight values ​​of the multiple sub-devices are respectively determined based on the device performance of the corresponding sub-device, the current state of the device, and the access order of the mobile device group.

[0046] It can be understood that the weight values ​​of multiple sub-devices are determined based on their respective device performance, current status and access order to the mobile device group, which not only takes into account the intrinsic characteristics of the sub-devices, but also their behavior and environmental factors in the mobile device group, thereby providing a more comprehensive and reasonable weight allocation method.

[0047] Optionally, the execution subject of the weight values ​​of the above-determined multiple sub-devices can be the main device, or can be determined by the control center server at the upper level of the main device and then maintained by the main device to multiple sub-devices for synchronous storage.

[0048] Optionally, device performance can characterize the hardware and software capabilities of a sub-device in completing a task, such as computing power, storage capacity, communication bandwidth, etc. Devices with stronger performance are usually more efficient in handling complex tasks, and should therefore be given higher weights. Performance evaluation can be based on standard tests or real-time performance monitoring to ensure that weight assignments reflect the true capabilities of the device.

[0049] Optionally, the current state of the above device can represent the current state of the corresponding sub-device, including the real-time operating status of the device, such as power, temperature, load, etc. For example, a device with sufficient power, suitable temperature and low load is more likely to complete the task efficiently, so it should be given a higher weight. Real-time status monitoring can be achieved through regular reporting by sub-devices or active query by central devices to ensure that the weight allocation can reflect the real-time status of the device.

[0050] Optionally, the access order can represent the time order (which can be marked with a timestamp) of the corresponding sub-devices joining the mobile device group. Considering the access order can ensure that the newly joined devices also have the opportunity to participate in the task execution or participate in the selection of the main device, so as to avoid some devices being idle due to not obtaining tasks for a long time. The access order can be achieved by recording the timestamp of the device joining the system, and the weight distribution can be appropriately adjusted according to the timestamp.

[0051] In an optional embodiment, when the communication status is abnormal communication, before determining the weight values ​​corresponding to the multiple sub-devices respectively, the following processing is performed by the main device: determining the total range information of the target area indicating the execution of the collaborative task; dividing the target area according to the number of the multiple sub-devices to determine the multiple sub-areas; sending the sub-range information of the multiple sub-areas respectively to the multiple sub-devices, wherein the multiple sub-devices execute the collaborative task based on the corresponding sub-range information.

[0052] It can be understood that the execution subject is the main device, and the main device will determine the total range information of the target area that needs to be executed for the collaborative task. It should be noted that the above total range information can be pre-stored in the main device, or issued by a control center server at a higher control level. The main device will then divide the target area according to the number of sub-devices it has, and subdivide the total target area into multiple smaller, non-overlapping sub-areas. Through the division process, the main device obtains multiple sub-areas, each of which is a part of the target area. The main device will send the sub-range information of each sub-area to the corresponding sub-device respectively, and each sub-device will know the sub-area range it needs to be responsible for, and perform collaborative tasks according to this range, and can perform data collection, electronic map construction, control and other operations in the corresponding sub-area. Through the above processing, the main device divides the target area into multiple sub-areas, and assigns each sub-area to different sub-devices, so that collaborative tasks can be executed in parallel, thereby significantly improving the overall efficiency of task execution.

[0053] Optionally, the above-mentioned total range information may be a geographical area, a network coverage area or other types of areas.

[0054] In an optional embodiment, weight values ​​corresponding to multiple sub-devices are stored in the main device, and sub-range information corresponding to the multiple sub-areas is sent to the multiple sub-devices respectively, including: according to the weight values ​​corresponding to the multiple sub-devices, corresponding sub-devices are allocated to the multiple sub-areas respectively to obtain sub-area allocation results; based on the sub-area allocation results, the sub-range information corresponding to the multiple sub-areas is sent to the multiple sub-devices respectively.

[0055] It can be understood that the main device of the execution subject, before sending the sub-range information of multiple sub-areas to multiple sub-devices, will allocate corresponding sub-devices to each sub-area according to the weight values ​​corresponding to the multiple sub-devices that have been stored (in synchronization with the storage in the multiple sub-devices). The weight value represents the relative importance or capability of each sub-device in the collaborative task. The weight value may be determined based on multiple factors such as the performance, current status, and access order of the sub-device. The main device will allocate multiple sub-areas to different sub-devices based on the weight values ​​of the sub-devices. This process may be implemented through an algorithm to ensure that sub-devices with higher weights can handle more important or more complex sub-areas.

[0056] Optionally, if the performance or status of a sub-device changes, the master device can re-evaluate the weight value and reallocate the sub-areas, allowing the mobile device population to adapt to changing environments and mission requirements.

[0057] Optionally, when the above-mentioned multiple sub-devices are all based on the Linux system and use deep learning algorithms to move through visual control, the sub-devices all contain a function interface (associated with the communication interface) for communicating with the main device. Similarly, the communication between the sub-device and the main device also uses the socket method to transmit data, and the main device also contains the same number of interfaces to receive the data sent back by the sub-device. The role of the main device is to control the center server, combined with the positioning module according to the group activity range delineated by the coordinates, to generate the total area range information, and divide it into multiple sub-areas according to the weights corresponding to the sub-devices, and then distribute the sub-areas to each sub-device. The sub-device searches or builds a map within the delineated range. After completing the task, the sub-device will send the map data to the main device, and the main device will merge the map information into a complete map and finally send the map information back to the control center.

[0058] Step S106, determining a target sub-device from among the multiple sub-devices according to the weight values ​​corresponding to the multiple sub-devices respectively;

[0059] It can be understood that the execution subject is the current sub-device, and the current sub-device determines one as the target sub-device among the multiple sub-devices according to the weight values ​​corresponding to the multiple sub-devices, and uses it as a temporary main device to execute the function of the original main device.

[0060] Step S108 , when the current sub-device is the target sub-device, control the other sub-devices among the multiple sub-devices except the current sub-device to continue to execute the collaborative task.

[0061] It can be understood that the execution subject is the current sub-device. Once the target sub-device is determined, it can further determine whether it is the target device. In the case where the current sub-device is the target sub-device, the current sub-device temporarily takes over the control function of the main device, while other sub-devices continue to perform the original collaborative tasks. The above processing can ensure that in the case of abnormal communication of the main device, the entire mobile device group can still maintain a certain operating efficiency and stability.

[0062] Optionally, the target sub-device will also establish a communication connection with the control center server, which is the upper control level of the main device. The target sub-device can also send relevant prompts of the main device failure to the control center server so that the operation and maintenance personnel can handle it in time. Manual instructions can also be issued to the target sub-device through the reserved manual interface through the control center server.

[0063] In an optional embodiment, controlling other sub-devices except the current sub-device among multiple sub-devices to continue to perform collaborative tasks includes: in the case where there are multiple other sub-devices, establishing communication connections with the multiple other sub-devices respectively; querying the task progress of the multiple other sub-devices to obtain progress information corresponding to the multiple other sub-devices respectively; sending a re-acquisition request to the other sub-devices among the multiple other sub-devices whose progress information indicates that they have been completed, and receiving sub-mapping information sent by the other sub-devices whose progress information indicates that they have been completed, as a way to control the multiple other sub-devices to continue to perform collaborative tasks respectively.

[0064] It can be understood that the execution subject is the current sub-device, and when the current sub-device is determined as the target sub-device, communication connections are established with multiple other sub-devices respectively. After establishing the communication connection, the current sub-device will query the task progress of multiple other sub-devices in order to understand the completion status of each sub-device in the collaborative task. Since the progress of collaborative task processing is not the same, other sub-devices may have completed the assigned execution content before the main device is abnormal, and have completed feedback to the main device. If the target sub-device does not query the task, it is impossible to determine whether the other sub-devices that have not fed back the sub-mapping information have not yet been completed or have been fed back to the previous main device, resulting in the integration of the collaborative task being delayed. And in the absence of a re-acquisition request, other sub-devices that have fed back the sub-mapping information will not actively resend it again. Therefore, the target sub-device will send a re-acquisition request and receive the sub-mapping information sent by other sub-devices indicated by the progress information as completed, which can effectively enable the collaborative task to continue to be processed normally.

[0065] In an optional embodiment, the method further includes: upon receiving sub-mapping information respectively corresponding to multiple other sub-devices, splicing the sub-mapping information respectively corresponding to the multiple other sub-devices to obtain overall mapping information, wherein the sub-mapping information is obtained by the corresponding other sub-devices performing sub-area mapping according to collaborative tasks.

[0066] It can be understood that in the collaborative mapping task, each sub-device is responsible for building a map of the sub-area to which it is assigned (i.e., sub-mapping information). When other sub-devices complete their respective sub-area mapping tasks, they will send the generated sub-mapping information to the target sub-device. Since the target sub-device replaces the main device to perform processing, the target sub-device will be responsible for receiving and processing these sub-mapping information from different sub-devices. By splicing the various sub-mapping information, the target sub-device will eventually obtain a total mapping information containing the environmental information of the entire collaborative task area.

[0067] Optionally, the sub-mapping information includes map data, location information, obstacle marks and other information, reflecting the environmental information observed by the corresponding sub-device in the sub-area it is responsible for.

[0068] Optionally, the above-mentioned stitching process may be of multiple types, for example, involving coordinate alignment, data fusion and other processes on each sub-mapping information, so as to ensure seamless stitching into a complete overall mapping information.

[0069] It should be noted that since the performance of multiple sub-devices is inferior to that of the main device, although they can functionally perform temporary functions as the main device to allow the control center server to establish temporary communication during fault processing, they cannot exceed the predetermined time to prevent excessive performance consumption, which will lead to a decrease in the electrical performance or life of the target sub-device.

[0070] Through the above step S102, the communication state with the main device is determined, wherein the main device belongs to a mobile device group, and the main device controls multiple sub-devices included in the mobile device group to perform collaborative tasks; step S104, when the communication state is abnormal communication, the weight values ​​corresponding to the multiple sub-devices are determined, wherein the weight values ​​corresponding to the multiple sub-devices are stored as synchronization states in the multiple sub-devices; step S106, according to the weight values ​​corresponding to the multiple sub-devices, the target sub-device is determined in the multiple sub-devices; step S108, when the current sub-device is the target sub-device, the other sub-devices except the current sub-device in the multiple sub-devices are controlled to continue to perform collaborative tasks. The purpose of enabling the mobile device cluster to still have the ability to process collaborative tasks in the case of an abnormality in the main device can be achieved, and the technical effect of improving the processing capability of the main device abnormality is achieved, thereby solving the technical problem of unsatisfactory processing capability of the main device abnormality in the related technology.

[0071] Based on the above embodiments and optional embodiments, the present invention proposes an optional implementation mode: Figure 2 is a schematic block diagram of an optional group cooperative control method provided according to an embodiment of the present invention, such as Figure 2 As shown, for the task of executing the collaborative mapping of the electronic map in the target area, the main device and multiple sub-devices included in the mobile device group are used for execution. When all devices are operating normally, the main device receives the instructions of the control center server, and the main device and the control center server use Socket to transmit data. The control center server is used to send the total range information of the main device and store the total mapping information fed back by the main device (or the target sub-device that temporarily replaces the main device). The main device will communicate with multiple sub-devices respectively using Socket, and implement and maintain multiple corresponding weight values. The weight values ​​of the above-mentioned multiple sub-devices are determined based on their respective device performance, current status, and access order of the mobile device group. The above-mentioned multiple sub-devices are all based on the Linux system and use deep learning algorithms to move through visual control.

[0072] Assuming that the main device fails, each sub-device cannot exchange data with the main device, and a way to replace the main device must be found to continue the task. By storing the weight values ​​corresponding to multiple sub-devices in multiple sub-devices as a synchronized state, when the main device is offline, the sub-device can select a target sub-device to replace the main device function, and select based on the same data, which can ensure that the selected target sub-device is the same. It should be noted that even if the main device fails and the weight values ​​of multiple sub-devices cannot be updated, the weight values ​​corresponding to multiple sub-devices are also stored in a synchronized state in multiple sub-devices, which can ensure that the selected target sub-devices are consistent.

[0073] Once the target sub-device is determined, it can be further determined whether it is the target device. If the current sub-device is the target sub-device, the current sub-device temporarily takes over the control function of the main device, while other sub-devices continue to perform the original collaborative tasks. In order to synchronize the execution progress of collaborative tasks, the target sub-device establishes communication connections with multiple other sub-devices. After the communication connection is established, the current sub-device will query the task progress of multiple other sub-devices. The target sub-device sends a re-acquisition request to other sub-devices whose progress information indicates that they have been completed, thereby receiving the sub-mapping information processed by other sub-devices whose progress information indicates that they have been completed, which can effectively enable the collaborative tasks to continue to be processed normally.

[0074] When other sub-devices complete their respective sub-area mapping tasks, they will send the generated sub-mapping information to the target sub-device. Since the target sub-device replaces the main device to perform processing, the target sub-device will be responsible for receiving and processing the sub-mapping information from different sub-devices. By splicing the sub-mapping information, the target sub-device will eventually obtain a total mapping information containing the environmental information of the entire collaborative task area, and feed the total mapping information back to the control center server for processing.

[0075] The above-mentioned optional implementation method achieves at least the following effects: after the main device is attacked or fails, the weights of the sub-devices that are synchronized and maintained can be used in time to determine the target sub-device that replaces the failed main device to perform collaborative tasks, so as to establish temporary communication with the control center in an emergency, thereby preventing multiple sub-devices from being offline or lost connection as a whole due to a single point failure.

[0076] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0077] In this embodiment, a group collaborative control device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated here. As used below, the terms "module" and "device" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0078] According to an embodiment of the present invention, there is also provided an apparatus embodiment for implementing a group collaborative control method. Figure 3 is a schematic diagram of a group cooperative control device according to an embodiment of the present invention. Figure 3 As shown, the above-mentioned group collaborative control device includes: a communication detection module 302, a first determination module 304, a second determination module 306, and an alternative control module 308. The device is described below.

[0079] A communication detection module 302, used to determine the communication status with a master device, wherein the master device belongs to a mobile device group, and the master device controls a plurality of sub-devices included in the mobile device group to perform a collaborative task;

[0080] The first determination module 304 is connected to the communication detection module 302 and is used to determine the weight values ​​corresponding to the plurality of sub-devices respectively when the communication state is abnormal communication, wherein the weight values ​​corresponding to the plurality of sub-devices respectively are stored as synchronization states in the plurality of sub-devices;

[0081] A second determination module 306, connected to the first determination module 304, is used to determine a target sub-device from the multiple sub-devices according to the weight values ​​respectively corresponding to the multiple sub-devices;

[0082] The replacement control module 308 is connected to the second determination module 306 and is used to control other sub-devices among the multiple sub-devices except the current sub-device to continue to execute the collaborative task when the current sub-device is the target sub-device.

[0083] In a group collaborative control device provided by an embodiment of the present invention, a communication detection module 302 is set to determine the communication state with the main device, wherein the main device belongs to a mobile device group, and the main device controls multiple sub-devices included in the mobile device group to perform collaborative tasks; a first determination module 304 is connected to the communication detection module 302, and is used to determine the weight values ​​corresponding to multiple sub-devices respectively when the communication state is abnormal communication, wherein the weight values ​​corresponding to the multiple sub-devices are stored as synchronization states in the multiple sub-devices; a second determination module 306 is connected to the first determination module 304, and is used to determine the target sub-device among the multiple sub-devices according to the weight values ​​corresponding to the multiple sub-devices respectively; and a replacement control module 308 is connected to the second determination module 306, and is used to control the other sub-devices except the current sub-device among the multiple sub-devices to continue to perform collaborative tasks when the current sub-device is the target sub-device. The purpose of enabling the mobile device cluster to still have the ability to process collaborative tasks when the main device is abnormal is achieved, and the technical effect of improving the processing ability of the main device abnormal situation is achieved, thereby solving the technical problem of unsatisfactory processing ability of the main device abnormal situation in the related technology.

[0084] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0085] It should be noted that the communication detection module 302, the first determination module 304, the second determination module 306, and the replacement control module 308 correspond to steps S102 to S108 in the embodiment, and the examples and application scenarios implemented by the modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiments. It should be noted that the modules as part of the device can be run in a computer terminal.

[0086] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.

[0087] The above-mentioned group collaborative control device may also include a processor and a memory. The communication detection module 302, the first determination module 304, the second determination module 306, the alternative control module 308, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.

[0088] The processor includes a kernel, which retrieves the corresponding program unit from the memory. There can be one or more kernels. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0089] An embodiment of the present invention provides a non-volatile storage medium on which a program is stored. When the program is executed by a processor, a group collaborative control method is implemented.

[0090] An embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a program stored in the memory and can be run on the processor. When the processor executes the program, the following steps are implemented: determining the communication state with the main device, wherein the main device belongs to a mobile device group, and the main device controls multiple sub-devices included in the mobile device group to perform collaborative tasks; when the communication state is abnormal communication, determining the weight values ​​corresponding to the multiple sub-devices, wherein the weight values ​​corresponding to the multiple sub-devices are stored as synchronization states in the multiple sub-devices; determining the target sub-device in the multiple sub-devices according to the weight values ​​corresponding to the multiple sub-devices; when the current sub-device is the target sub-device, controlling the other sub-devices except the current sub-device in the multiple sub-devices to continue to perform collaborative tasks. The device in this article can be a server, a PC, etc.

[0091] The present invention also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having the following method steps: determining a communication status with a main device, wherein the main device belongs to a mobile device group, and the main device controls multiple sub-devices included in the mobile device group to perform collaborative tasks; when the communication status is abnormal communication, determining weight values ​​corresponding to multiple sub-devices respectively, wherein the weight values ​​corresponding to the multiple sub-devices are stored as synchronization states in the multiple sub-devices; determining a target sub-device among the multiple sub-devices according to the weight values ​​corresponding to the multiple sub-devices respectively; and when the current sub-device is the target sub-device, controlling other sub-devices among the multiple sub-devices except the current sub-device to continue to perform collaborative tasks.

[0092] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0093] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0094] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0095] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0096] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0097] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0098] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0099] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0100] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0101] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A group collaborative control method, characterized in that: include: Determining a communication state with a master device, wherein the master device belongs to a mobile device group, and the master device controls a plurality of sub-devices included in the mobile device group to perform a collaborative task; In the case where the communication state is abnormal communication, determining weight values ​​respectively corresponding to the plurality of sub-devices, wherein the weight values ​​respectively corresponding to the plurality of sub-devices are stored as synchronization states in the plurality of sub-devices; Determining a target sub-device among the multiple sub-devices according to the weight values ​​respectively corresponding to the multiple sub-devices; In the case where the current sub-device is the target sub-device, other sub-devices among the multiple sub-devices except the current sub-device are controlled to continue to execute the collaborative task.

2. The method according to claim 1, characterized in that: The weight values ​​of the plurality of sub-devices are respectively determined based on the device performance of the corresponding sub-device, the current state of the device, and the access order of accessing the mobile device group.

3. The method according to claim 1, characterized in that The controlling other sub-devices among the plurality of sub-devices except the current sub-device to continue to execute the collaborative task includes: In the case where there are multiple other sub-devices, establishing communication connections with the multiple other sub-devices respectively; Querying the task progress of the multiple other sub-devices to obtain the progress information corresponding to the multiple other sub-devices respectively; Sending a re-acquisition request to other sub-devices among the multiple other sub-devices whose progress information indicates that the task has been completed, and receiving sub-mapping information sent by other sub-devices whose progress information indicates that the task has been completed, as a way of controlling the multiple other sub-devices to continue to execute the collaborative task respectively.

4. The method according to claim 3, characterized in that The method further comprises: When the sub-mapping information corresponding to the multiple other sub-devices is received, the sub-mapping information corresponding to the multiple other sub-devices is spliced ​​to obtain the overall mapping information, wherein the sub-mapping information is obtained by the corresponding other sub-devices performing sub-area mapping according to the collaborative task.

5. The method according to claim 1, characterized in that When the communication status is abnormal, Before determining the weight values ​​respectively corresponding to the plurality of sub-devices, the following processing is performed by the main device: determining total range information indicating a target area for performing the collaborative task; Dividing the target area according to the number of the multiple sub-devices to determine multiple sub-areas; The sub-range information of the plurality of sub-areas is respectively sent to the plurality of sub-devices, wherein the plurality of sub-devices perform the collaborative task based on the corresponding sub-range information.

6. The method according to claim 5, characterized in that The master device stores weight values ​​corresponding to the plurality of sub-devices respectively, and the sub-range information corresponding to the plurality of sub-regions is sent to the plurality of sub-devices respectively, including: According to the weight values ​​corresponding to the multiple sub-devices, respectively, the multiple sub-areas are assigned corresponding sub-devices to obtain a sub-area assignment result; Based on the sub-area allocation result, the sub-range information of the plurality of sub-areas are respectively sent to the plurality of sub-devices.

7. The method according to any one of claims 1 to 6, characterized in that: The main device and the plurality of sub-devices are respectively provided with communication interfaces of a plurality of predetermined communication modes, and the main device performs the following processing; determining communication requirements for performing the collaborative task; Determining a communication method matching the communication requirement among the multiple communication methods as a target method; The communication interface corresponding to the target mode is used to perform communication processing with the multiple sub-devices.

8. A group collaborative control device, characterized in that: include: A communication detection module, used to determine the communication status with a master device, wherein the master device belongs to a mobile device group, and the master device controls a plurality of sub-devices included in the mobile device group to perform a collaborative task; A first determination module is used to determine the weight values ​​corresponding to the plurality of sub-devices respectively when the communication state is abnormal communication, wherein the weight values ​​corresponding to the plurality of sub-devices respectively are stored as synchronization states in the plurality of sub-devices; A second determination module, configured to determine a target sub-device from among the multiple sub-devices according to the weight values ​​respectively corresponding to the multiple sub-devices; The replacement control module is used to control other sub-devices among the multiple sub-devices except the current sub-device to continue to execute the collaborative task when the current sub-device is the target sub-device.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the group cooperative control method described in any one of claims 1 to 7.

10. An electronic device, characterized in that: include: One or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the group collaborative control method described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Networking method and networking device

    CN106255087A

  • UAV fleet system

    CN106802665A

  • Indoor visual navigation unmanned aerial vehicle cluster flight control system and method

    CN108196582A

  • Swarm unmanned aerial vehicle system

    CN108260092A

  • Robot cluster management method, robot cluster, robot and related equipment

    CN111245938A