Multi-link data transmission method and system, storage medium, and electronic device
By monitoring the equipment status in the UAV data transmission system and starting the virtual service equipment, the data transmission instability caused by communication disconnection in the UAV system is solved, and the stable operation of the system and the reliability of data transmission is achieved.
Patent Information
- Application Number
- PCT/CN2024/104942
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-11-09
- Filing Date
- 2024-07-11
- Publication Date
- 2025-05-15
AI Technical Summary
Due to the impact of the operating environment during operation, communication between the drone, the hangar and the management and control platform may be disconnected, resulting in the data transmission system being unable to operate normally.
By monitoring the working status of the drone and the second device, when confirming that either party is offline, the virtual service device is activated to replace the offline communication device for data transmission and control.
It realizes independent switching between offline and online operations of equipment, ensures effective data transmission, and improves the stability of the data transmission system.
Smart Images

Figure CN2024104942_15052025_PF_FP_ABST
Abstract
Description
A method, system, storage medium and electronic device for multi-link data transmission
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to Chinese patent application number 2023114832430 filed with the Chinese Patent Office on November 9, 2023, entitled “A method, system, storage medium and electronic device for multi-link data transmission,” the entire contents of which are incorporated by reference into this disclosure. Technical Field
[0003] The present disclosure relates to the technical field of communication data transmission, and in particular to a method, system, storage medium, and electronic device for multi-link data transmission. Background Art
[0004] With the rise of the drone market, drones are increasingly being used in a wide range of industries. As drone applications evolve and long-distance, uninterrupted operations become increasingly demanding of the communication requirements of the data systems in which they operate.
[0005] Currently, drones operate through interconnected communication with various management platforms for flight control and monitoring. Typically, drones in a data transmission system communicate with a hangar, which then transmits the drone's data to a control platform. The control platform then generates corresponding control commands, which the hangar then forwards to the drone, thus achieving interconnected communication. However, depending on the operating environment, the drone, hangar, and control platform may experience disconnections. If any of these disconnections occur, the data transmission system will not function properly.
[0006] Therefore, how to provide a technical solution for a stable multi-link data transmission method has become a technical problem that needs to be solved urgently.
[0007] Summary of the Invention
[0008] The purpose of the present disclosure is to provide a method, system, storage medium and electronic device for multi-link data transmission. The technical solutions of the embodiments of the present disclosure can improve the stability of data transmission and ensure the stable operation of the data transmission system.
[0009] The present disclosure provides a method for multi-link data transmission, which is applied to a first device of a data transmission system, wherein the data transmission system further includes: a drone and a second device, including: monitoring the working status of the drone and the second device; when confirming that the working status of the communication device is offline, sending a startup instruction to the virtual service device to start the virtual service device, wherein the communication device is the drone or the second device, and the virtual service device is a drone virtual device or a second virtual device; sending target data to the virtual service device, wherein the target data includes: mission data and / or control instructions, and the target data is used to control the operating status of the virtual service device.
[0010] In the embodiments of the present disclosure, the first device can monitor the operating status of the drone and the second device. If it determines that either is offline, it can activate the virtual service device to transmit target data and control the virtual service device. Some embodiments of the present disclosure can achieve autonomous switching between offline and online device operations, with the virtual service device taking over from the communication device, ensuring efficient data transmission and improving the stability of the data transmission system.
[0011] Optionally, the first device is a control platform end and the second device is a hangar server end; or, the first device is the hangar server end and the second device is the control platform end; wherein, the second virtual device is a control virtual device or a hangar virtual device; the second virtual device is deployed on the first device, and the drone virtual device is deployed on the first device or the second device.
[0012] Optionally, after sending the startup instruction to the virtual service device, the method further includes: obtaining a first moment when the working status of the communication device is in the offline state; and synchronizing the status data of the communication device to the virtual service device based on the first moment.
[0013] Some embodiments of the present disclosure can ensure data synchronization in a data transmission system by synchronizing status data of an offline communication device to a virtual service device.
[0014] Optionally, when the communication device is the drone and the virtual service device is the drone virtual device, the status data is drone status data, and the drone status data is stored in the storage module of the first device and / or the storage module of the second device; when the communication device is the second device and the virtual service device is the second virtual device, the status data is second status data, and the second status data is stored in the storage module of the first device.
[0015] Optionally, after sending the start instruction to the virtual service device, the method further includes: regularly sending a data request to the virtual service device; and acquiring a current data state of the virtual service device corresponding to the data request.
[0016] Some embodiments of the present disclosure can achieve effective monitoring of a virtual service device by sending a data request to the virtual service device to obtain its current data status.
[0017] Optionally, after sending the startup instruction to the virtual service device, the method further includes: confirming whether the communication device has recovered from the offline state to the online state by periodically sending a heartbeat signal to the communication device, so as to restore online data communication with the communication device; if it is confirmed that the communication device has recovered to the online state, querying the data status of the virtual service device and sending the data status to the communication device.
[0018] Some embodiments of the present disclosure can determine whether a communication device is back online by sending a heartbeat signal to the communication device, thereby enabling autonomous switching of the communication device between offline and online operations, thereby ensuring the stability of data transmission.
[0019] Optionally, after sending a startup instruction to the virtual service device, the method further includes: sending an expected state to the virtual service device to update the current state of the virtual service device to the expected state; sending a polling request to the virtual service device to obtain the current state of the virtual service device, and stopping until it is confirmed that the current state is the expected state.
[0020] Some embodiments of the present disclosure may enable the virtual service device to update its current state by sending a desired state to the virtual service device, thereby achieving effective control and monitoring of the virtual service device.
[0021] Optionally, the data transmission system further includes: a drone remote controller; the method further includes: sending a control instruction to the drone remote controller so that the drone remote controller controls the drone or the drone virtual device.
[0022] The present disclosure also provides a method for multi-link data transmission, which is applied to a virtual service device of a data transmission system, and the data transmission system also includes: a third device and a fourth device; wherein, when the virtual service device is a drone virtual device, the third device is a control platform end and the fourth device is a hangar service end, or, the third device is the hangar service end and the fourth device is the control platform end; when the virtual service device is a control virtual device or a hangar virtual device, the third device is the hangar service end or the control platform end, and the fourth device is a drone; let the communication device be the drone, the control platform end or the hangar service end, and correspondingly, the virtual service device is the drone virtual device, the control virtual device or the hangar virtual device; when the communication device is in an offline state, the method includes: receiving a startup instruction sent by the third device or the fourth device; receiving target data sent by the third device or the fourth device, wherein the target data includes: mission data and / or control instructions; updating the operating status through the target data.
[0023] In some embodiments of the present disclosure, when a communication device is offline, the virtual service device can receive startup instructions and target data and update its own operating status to take over operations from the communication device, thereby ensuring the stability of the data transmission system.
[0024] Optionally, the drone virtual device is deployed on the third device or the fourth device; when the virtual service device is the management and control virtual device or the hangar virtual device, the virtual service device is deployed on the third device.
[0025] Optionally, after receiving the startup instruction sent by the third device or the fourth device, the method further includes: receiving status data sent by the third device or the fourth device.
[0026] Optionally, after receiving the startup instruction sent by the third device or the fourth device, the method further includes: receiving a data request sent by the third device or the fourth device; and sending a current data status corresponding to the data request to the third device or the fourth device.
[0027] Optionally, after receiving the startup instruction sent by the third device or the fourth device, the method further includes: when the communication device returns to the online state, receiving a query instruction sent by the third device or the fourth device; and sending a data status corresponding to the query instruction to the communication device.
[0028] Optionally, after receiving the start instruction sent by the third device or the fourth device, the method further includes: receiving an expected state sent by the third device or the fourth device, and updating the current state to the expected state.
[0029] Optionally, the data transmission system further includes: a drone remote controller; the drone remote controller is configured to control the drone or the drone virtual device.
[0030] The present disclosure also provides a multi-link data transmission system, including: a drone, a control platform end and / or a hangar server end; wherein, a hangar virtual device is deployed on the control platform end, a control virtual device is deployed on the hangar server end, and the drone virtual device is deployed on the control platform end or the hangar server end; when the drone is in an offline state, the drone virtual device is enabled; when the control platform end is in an offline state, the control virtual device is enabled; when the hangar server end is in an offline state, the hangar virtual device is enabled; the drone or the drone virtual device is configured to: send drone status data to the control platform end and the hangar server end; the control platform end and / or the hangar server end are configured to: receive the drone status data, and send target data to the drone or the drone virtual device, wherein the target data includes: mission data and / or control instructions.
[0031] Optionally, the system further includes: a drone remote controller; the drone remote controller is configured to: receive the control instruction to control the drone or the drone virtual device.
[0032] The present disclosure also provides a multi-link data transmission apparatus, which is applied to a first device of a data transmission system, wherein the data transmission system further includes: a drone and a second device, including: a monitoring module, configured to monitor the working status of the drone and the second device; a starting module, configured to send a starting instruction to the virtual service device when confirming that the working status of the communication device is offline, so as to start the virtual service device, wherein the communication device is the drone or the second device, and the virtual service device is a drone virtual device or a second virtual device; a sending module, configured to send target data to the virtual service device, wherein the target data includes: mission data and / or control instructions, and the target data is used to control the operating status of the virtual service device.
[0033] The present disclosure also provides a multi-link data transmission device, which is applied to a virtual service device of a data transmission system, wherein the data transmission system further includes: a third device and a fourth device; wherein, when the virtual service device is a drone virtual device, the third device is a control platform end and the fourth device is a hangar service end, or, the third device is the hangar service end and the fourth device is the control platform end; when the virtual service device is a control virtual device or a hangar virtual device, the third device is the hangar service end or the control platform end, and the fourth device is a drone; let the communication device be the drone, the control platform end or the hangar service end, and correspondingly, the virtual service device is the drone virtual device, the control virtual device or the hangar virtual device; when the communication device is in an offline state, the device includes: a first receiving module, configured to receive a startup instruction sent by the third device or the fourth device; a second receiving module, configured to receive target data sent by the third device or the fourth device, wherein the target data includes: mission data and / or control instructions; an update module, configured to update the operating status through the target data.
[0034] The present disclosure further provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method described in any of the above embodiments can be implemented.
[0035] In the seventh aspect, the present disclosure also provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor can implement the method described in any embodiment of the first aspect when executing the program.
[0036] In an eighth aspect, the present disclosure further provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, it can implement the method described in any embodiment of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions of some embodiments of the present disclosure, the following briefly introduces the drawings required for use in some embodiments of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying any creative work.
[0038] FIG1 is a system diagram of multi-link data transmission provided by some embodiments of the present disclosure;
[0039] FIG2( a ) is a system diagram of multi-link data transmission provided by some embodiments of the present disclosure;
[0040] FIG2( b ) is a system diagram of multi-link data transmission provided by some embodiments of the present disclosure;
[0041] FIG3( a ) is a system diagram of multi-link data transmission provided by some embodiments of the present disclosure;
[0042] FIG3( b ) is a system diagram of multi-link data transmission provided by some embodiments of the present disclosure;
[0043] FIG4 is a flow chart of a method for multi-link data transmission provided by some embodiments of the present disclosure;
[0044] FIG5 is a flow chart of a method for multi-link data transmission provided by some embodiments of the present disclosure;
[0045] FIG6 is a block diagram of a multi-link data transmission apparatus provided by some embodiments of the present disclosure;
[0046] FIG7 is a block diagram of a multi-link data transmission apparatus provided by some embodiments of the present disclosure;
[0047] FIG8 is a schematic diagram of an electronic device provided by some embodiments of the present disclosure. DETAILED DESCRIPTION
[0048] The technical solutions in some embodiments of the present disclosure will be described below with reference to the accompanying drawings in some embodiments of the present disclosure.
[0049] It should be noted that similar reference numerals and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures. At the same time, in the description of this disclosure, the terms "first," "second," etc. are used only to distinguish the description and should not be understood as indicating or implying relative importance.
[0050] The industry based on connected drone applications has reached a mature stage in the relevant technology. Typically, a drone needs to connect to multiple types of control and management terminals, and these multiple control terminals also require communication interconnection, such as between the drone and the flight control terminal, drone base station, and control platform. However, due to the influence of communication technology or the actual operating environment, communication disconnections between devices often occur, affecting the normal operation of the entire system. For example, in the data transmission system shown in Figure 1, the drone is generally connected to the hangar via a point-to-point wireless link. The hangar is then connected to the control platform server via wireless (e.g., 4G / 5G / Wi-Fi / WAPI), network cable, or optical fiber to form a communication link. As can be seen, the control platform server is actually connected to the hangar, and the drone is merely a submodule mounted on the drone hangar. The control platform server cannot communicate directly with the drone. If the drone loses communication with the hangar, the control platform server cannot control the aircraft. In actual operation, if any of these three devices loses communication, the data transmission system will not function properly, and a closed-loop operation will not be achieved in actual data services. Autonomous switching between offline and online operations cannot be guaranteed. As can be seen from the above related technology, the stability of data transmission systems in the existing technology is poor.
[0051] In view of this, some embodiments of the present disclosure provide a method for multi-link data transmission, which is applied to a first device of a data transmission system, wherein the data transmission system further includes: a drone and a second device. The first device can monitor the working status of the drone and the second device, and when it confirms that either party is offline, it can send a startup instruction to the virtual service device so that the virtual service device can take over the offline communication device to continue communication. The first device can send target data to the virtual service device to achieve control over the virtual service device. Some embodiments of the present disclosure can ensure autonomous switching between offline and online operations of the device, ensure effective data transmission, and improve the stability of the data transmission system.
[0052] The overall structure of the multi-link data transmission system provided by some embodiments of the present disclosure is exemplarily described below with reference to FIG. 2( a ) and FIG. 2( b ).
[0053] As shown in FIG2( a ), some embodiments of the present disclosure provide a multi-link data transmission system, which includes a first device 100, a second device 200, and a drone 300. Each of the first device 100, the second device 200, and the drone 300 can communicate and transmit data.
[0054] In some embodiments of the present disclosure, the first device 100 may be a control platform end and the second device 200 may be a hangar server end. In other embodiments of the present disclosure, the first device 100 may be a hangar server end and the second device 200 may be a control platform end.
[0055] Specifically, taking Figure 2(b) as an example, a hangar virtual device can be deployed on the control platform, and a control virtual device can be deployed on the hangar server. A drone virtual device can be deployed on both the control platform and the hangar server. Alternatively, a drone virtual device can be deployed independently on either the control platform or the hangar server. Figure 2(b) shows a scenario where a drone virtual device is deployed on both the control platform and the hangar server. When a drone is offline, any drone virtual device can be activated to take over. When the control platform is offline, a control virtual device can be activated to take over for the control platform. When the hangar server is offline, a hangar virtual device can be activated to take over for the hangar server. By taking over for offline devices, the data transmission system can operate normally and form a closed-loop operation in actual data services, ensuring the stability of the data transmission system. It should be noted that the number and deployment of hangar virtual devices, control virtual devices, and drone virtual devices can be flexibly set according to the actual scenario and are not specifically limited in this embodiment of the present disclosure.
[0056] Optionally, the hangar virtual device, the management and control virtual device or the drone virtual device can set up multiple backup virtual servers (i.e., virtual service devices) according to needs. When either party is offline, the application on the other end can select one of the backup virtual servers for communication. When one of the backup virtual servers fails or becomes disconnected, the system can still select a normal backup virtual server from multiple backup virtual servers to communicate again, thereby further improving the reliability of data transmission.
[0057] It can be understood that, from the multi-link data transmission system shown in FIG2( b ), some embodiments of the present disclosure have three types of communication links:
[0058] The first communication link is for the drone to communicate with the control platform through the hangar server. At the same time, the hangar can also send its own operating status parameters to the control platform. The control platform sends relevant data to the drone communication end through the hangar server through the hangar. The second communication link is for the drone and the hangar server to upload and download relevant data through wired or wireless means. The third communication link is for the drone and the control platform to transmit relevant data through wireless means (4G / 5G / WIFI / WAPI).
[0059] In some embodiments of the present disclosure, the drone or drone virtual device is configured to: send drone status data to the control platform end and the hangar server end; the control platform end and / or the hangar server end are configured to: receive the drone status data and send target data to the drone or drone virtual device, wherein the target data includes: mission data and / or control instructions.
[0060] For example, in some embodiments of the present disclosure, state parameters (as a specific example of drone state data) may include: relevant state parameters of the drone 300 operation, such as altitude, speed, battery level, temperature, etc. Mission data may include: route information, route execution status, captured images and videos, AI recognition results, alarm information, etc. Control instructions may include: mission control instructions (such as instructions to control the drone 300 to pause or cancel return, etc.), aircraft control instructions (takeoff, landing, attitude adjustment of the drone 300, etc.), gimbal control instructions, and camera control instructions, etc. It should be understood that the embodiments of the present disclosure are not limited to this.
[0061] Other embodiments of the present disclosure also provide a multi-link data transmission system, as shown in FIG3( a ). In addition to a first device 100, a second device 200, and a drone 300, the multi-link data transmission system also includes a drone remote controller 400. The drone remote controller 400 can communicate with the first device 100, the second device 200, and the drone 300. By communicating with the first device 100 and / or the second device 200, it can obtain control instructions related to the drone 300 to achieve flight control of the drone 300. For example, the drone remote controller 400 can communicate with the drone 300 via a point-to-point wireless transmission module, with the control platform via 4G, 5G, Wi-Fi, or WAPI, and with the hangar server via a network cable, USB, or Wi-Fi. The drone remote controller 400 can be a remote control (RC) that can control the state of the drone or drone virtual device based on the received control instructions. Specifically, flexible control can be implemented based on actual conditions, and this is not specifically limited in the present disclosure.
[0062] In one embodiment, when the first device 100 and the second device 200 are the control platform and the hangar server, respectively, the deployment of the hangar virtual device and the control virtual device is shown in Figure 3(b). The drone virtual device can be deployed on the control platform and the hangar server as shown in Figure 3(b). Alternatively, the drone virtual device can be independently deployed on the control platform or the hangar server. It should be understood that the embodiments of the present disclosure can be flexibly deployed according to actual application scenarios, and the present disclosure does not specifically limit this.
[0063] The following exemplarily illustrates the implementation process of multi-link data transmission performed by the first device 100 provided in some embodiments of the present disclosure with reference to FIG. 4 .
[0064] Please refer to FIG4 , which is a flow chart of a multi-link data transmission method provided in some embodiments of the present disclosure. The multi-link data transmission method is applied to the first device 100 of the data transmission system shown in FIG2( a ), FIG2( b ) or FIG3( a ), FIG3( b ). The multi-link data transmission method includes:
[0065] S410, monitoring the working status of the drone and the second device.
[0066] For example, in some embodiments of the present disclosure, the first device 100 can periodically send heartbeat signals to the drone 300 and the second device 200. By confirming whether the response information fed back by the drone 300 and the second device 200 to the heartbeat signal is received, it is convenient to monitor whether the working status of the drone 300 and the second device 200 is online or offline.
[0067] In some embodiments of the present disclosure, the first device is a control platform end and the second device is a hangar service end; or, the first device is a hangar service end and the second device is the control platform end.
[0068] For example, in some embodiments of the present disclosure, the specific types of the first device 100 and the second device 200 can be flexibly set, and the embodiments of the present disclosure are not limited thereto.
[0069] S420, when confirming that the working status of the communication device is offline, sending a startup instruction to the virtual service device to start the virtual service device, wherein the communication device is the drone or the second device, and the virtual service device is the drone virtual device or the second virtual device.
[0070] For example, in some embodiments of the present disclosure, when the first device 100 does not receive a response from the drone 300 or the second device 200, it can be determined that the working status of the drone 300 or the second device 200 is offline. In this case, the first device 100 can send a takeover instruction (as a specific example of a start instruction) to the corresponding virtual service device, so that the virtual service device can take over the offline device.
[0071] For example, when the drone 300 is in an offline state, a replacement instruction is sent to the drone virtual device; when the second device 200 is in an offline state, a replacement instruction is sent to the second virtual device. The second virtual device is a management and control virtual device or a hangar virtual device; the second virtual device is deployed on the first device, and the drone virtual device is deployed on the first device 100 or the second device 200. For example, when the second device 200 is a management and control platform end, a replacement instruction is sent to the management and control virtual device; when the second device 200 is a hangar service end, a replacement instruction is sent to the hangar virtual device. It can be understood that the corresponding virtual service device can be started according to the type of the first device 100 and the second device 200, and the embodiments of the present disclosure are not specifically limited here.
[0072] S430: Send target data to the virtual service device, wherein the target data includes: task data and / or control instructions, and the target data is used to control the operating state of the virtual service device.
[0073] For example, in some embodiments of the present disclosure, after a virtual service device is successfully started, target data may be sent to the virtual service device to enable the virtual service device to be continuously updated. The target data may be one or more of state parameters, task data, and control instructions, which are not specifically limited in the embodiments of the present disclosure.
[0074] In some embodiments of the present disclosure, the multi-link data transmission method may further include: obtaining a first moment when the working status of the communication device is in the offline state; and synchronizing the status data of the communication device to the virtual service device based on the first moment.
[0075] For example, in some embodiments of the present disclosure, when determining that a communication device is offline, the offline time when the communication device is offline is located (as a specific example of the first moment), and based on the offline time, the status data of the offline device (i.e., the communication device) before the offline time is synchronized to the virtual service device, thereby maintaining matching status and data synchronization between the offline device and the virtual service device. For example, if the offline device is drone 300, and drone 300 was ready to take off before the offline time, it is necessary to synchronize the drone 300's ready-to-take-off status and takeoff data (as a specific example of status data) to the drone virtual device.
[0076] In some embodiments of the present disclosure, when the communication device is a drone and the virtual service device is a drone virtual device, the status data is drone status data, and the drone status data is stored in the storage module of the first device and / or the storage module of the second device.
[0077] For example, in some embodiments of the present disclosure, the data that needs to be synchronized varies depending on the type of offline device. For example, if the offline device is a drone 300, the drone status data of drone 300 has been stored in the storage module of the first device 100 and / or the second device 200. Depending on the actual situation, the drone status data can be obtained from the first device 100 or the second device 200 to achieve data synchronization.
[0078] In some other embodiments of the present disclosure, when the communication device is the second device and the virtual service device is the second virtual device, the state data is second state data, and the second state data is stored in the storage module of the first device.
[0079] For example, in some embodiments of the present disclosure, when the second device 200 is a control platform end, the second virtual device is a control virtual device, and the second state data is control-related data (e.g., its own operating data, historical task data, historical control instructions, etc.), wherein the control-related data is stored in the storage module of the hangar server end. When the second device 200 is a hangar server end, the second virtual device is a hangar virtual device, and the second state data is hangar-related data (e.g., hangar operating parameters, etc.), wherein the hangar-related data is stored in the storage module of the control platform end.
[0080] In some embodiments of the present disclosure, the multi-link data transmission method may further include: regularly sending a data request to the virtual service device; and acquiring a current data state of the virtual service device corresponding to the data request.
[0081] For example, in some embodiments of the present disclosure, after establishing a connection with a virtual service device, the first device 100 can obtain the service address of the virtual service device. Using the service address, the first device 100 can periodically send data requests to the virtual service device to periodically query the current data status of the virtual service device. The time period for the periodic query can be set based on actual circumstances and is not specifically limited in the present embodiments.
[0082] In some embodiments of the present disclosure, the method for multi-link data transmission may further include: confirming whether the communication device has recovered from the offline state to the online state by periodically sending a heartbeat signal to the communication device, so as to restore online data communication with the communication device; if it is confirmed that the communication device has recovered to the online state, querying the data status of the virtual service device and sending the data status to the communication device.
[0083] For example, in some embodiments of the present disclosure, the first device 100 can also detect the status of the offline device at any time or at regular intervals. For example, by periodically sending a heartbeat signal to the offline device, it can be determined whether the device has recovered. If the first device 100 receives a response code from the offline device, it indicates that the offline device has returned to an online state. At this time, the first device 100 can query and update the data status of the virtual service device to the communication device that has returned to an online state, and restore the communication device to the data transmission system.
[0084] It is understood that before the offline device comes back online, the first device 100 will update the status of the virtual service device based on the actual service status and maintain normal communication between the devices. This allows the offline device to query the current latest status (i.e., data status) of the virtual service device after it comes back online and update the communication device. In addition, after the communication device comes back online, it can also actively obtain the data attributes of the send data area in the virtual service device and obtain the current latest status by calling the virtual service.
[0085] In some embodiments of the present disclosure, the method for multi-link data transmission may further include: sending an expected state to the virtual service device to update the current state of the virtual service device to the expected state; sending a polling request to the virtual service device to obtain the current state of the virtual service device, and stopping until it is confirmed that the current state is the expected state.
[0086] For example, in some embodiments of the present disclosure, the first device 100 can also change the state of the virtual service device. The first device 100 can send a request to the service address of the virtual service device to update the virtual service device to the expected state. If the first device 100 receives the information that the virtual service device has accepted the change in response to the request, the first device 100 issues a get request (as a specific example of a polling request) to poll the virtual service device until the virtual service device updates the virtual service device with the new state (that is, the expected state). Through this polling method, the virtual service device can actively report its operating status, and the first device 100 can read it at any time. The virtual service device can ensure that the communication device can provide normal services whether it is offline or online. It can be understood that if the communication device returns to the online state, it can also update its own state to the expected state.
[0087] In some embodiments of the present disclosure, the data transmission system further includes: a drone remote controller; the multi-link data transmission method may further include: sending control instructions to the drone remote controller so that the drone remote controller controls the drone or drone virtual device.
[0088] The specific process of multi-link data transmission provided by some embodiments of the present disclosure is exemplarily described below with reference to FIG. 5 .
[0089] Please refer to Figure 5, which is a flow chart of a multi-link data transmission method provided by some embodiments of the present disclosure. The multi-link data transmission method is applied to a virtual service device of a data transmission system, wherein the data transmission system further includes: a third device and a fourth device.
[0090] Among them, the communication device is a drone, a control platform end or a hangar service end, and correspondingly, the virtual service device is a drone virtual device, a control virtual device or a hangar virtual device; when the communication device is offline, the virtual service device is started.
[0091] Specifically, in some embodiments of the present disclosure, when the virtual service device is a drone virtual device, the communication device is drone 300, the third device is the control platform, and the fourth device is the hangar server. Alternatively, in other embodiments of the present disclosure, the third device is the hangar server and the fourth device is the control platform. The drone virtual device is deployed on the control platform or the hangar server.
[0092] In other embodiments of the present disclosure, when the virtual service device is a control virtual device or a hangar virtual device, the fourth device is the drone 300, the third device is the hangar server or the control platform, and the communication device is the control platform or the hangar service; wherein the virtual service device is deployed on the third device. For example, when the virtual service device is a control virtual device, the third device is the hangar server; when the virtual service device is a hangar virtual device, the third device is the control platform.
[0093] It should be noted that in order to clearly illustrate the implementation process of multi-link data transmission, some names have been adjusted in the embodiments of the present disclosure. For example, the third device and the fourth device can be equivalent to the first device 100 and the second device 200 mentioned above. For example, in one embodiment, the first device 100 and the third device can both refer to the control platform, and the second device 200 and the third device can both refer to the hangar service. It should be understood that the embodiments of the present disclosure are not limited to this.
[0094] The specific process of the multi-link data transmission is exemplarily described below. The multi-link data transmission method includes:
[0095] S510: Receive a startup instruction sent by the third device or the fourth device.
[0096] For example, in some embodiments of the present disclosure, when the communication device is a drone 300, either the third device or the fourth device can receive an instruction to start a virtual service device, thereby starting the corresponding drone virtual device. The deployment device of the drone virtual device can be selected based on actual circumstances and is not specifically limited in this embodiment of the present disclosure.
[0097] S520: Receive target data sent by the third device or the fourth device, where the target data includes: task data and / or control instructions.
[0098] For example, in some embodiments of the present disclosure, a virtual service device can receive target data sent by a third device or a fourth device to implement control of the virtual service device. Since the methods shown in Figures 5 and 4 are interactively executed by two related interconnected execution entities belonging to the same data transmission system, the type of target data can be based on the method embodiment provided in Figure 4. To avoid repetition, it is not detailed here.
[0099] S530: Update the operating status using the target data.
[0100] For example, in some embodiments of the present disclosure, the virtual service device may update its own operating status through target data, so that the virtual service device can remain updated.
[0101] In some embodiments of the present disclosure, the virtual service device includes two data attributes, namely, a received data area (reported) and a sent data area (desired). When a third device or a fourth device connected to the virtual service device transmits new status data (e.g., target data) to the virtual service device, the virtual service device should only write to the received data area attribute. When a status change request is transmitted to the third device or the fourth device through the virtual service device, the change request is written to the sent data area attribute. The received data area and the sent data area are compared to determine whether there is a change in the stored data of the virtual service device. When there is a change, the virtual service device can publish a message to instruct it to update the data status, and the third device or the fourth device will update its own status according to the "change request".
[0102] In some embodiments of the present disclosure, the multi-link data transmission method may further include: receiving status data sent by the third device or the fourth device.
[0103] For example, in some embodiments of the present disclosure, the virtual service device can synchronize data with the communication device that was disconnected at the first moment by receiving status data. The type of status data can refer to the method embodiment provided in Figure 4, and will not be described here to avoid repetition. For example, the offline device is drone 300. Before the offline time, drone 300 was ready to take off. At this time, the drone virtual device can receive the drone 300's preparation for takeoff status and takeoff data, which is stored in reported.
[0104] In some embodiments of the present disclosure, the multi-link data transmission method may further include: receiving a data request sent by the third device or the fourth device; and sending a current data status corresponding to the data request to the third device or the fourth device.
[0105] For example, in some embodiments of the present disclosure, after receiving a data request, the virtual service device may feed back its current data status to the third device or the fourth device, so as to implement regular monitoring of the virtual service device.
[0106] In some embodiments of the present disclosure, the multi-link data transmission method may further include: when the communication device returns to the online state, receiving a query instruction sent by the third device or the fourth device; and sending a data status corresponding to the query instruction to the communication device.
[0107] For example, in some embodiments of the present disclosure, the third device or the fourth device may periodically check whether the status of the communication device is converted from an offline state to an online state, so as to ensure that after the communication device is restored to an online state, it can receive corresponding instructions, and the virtual service device can synchronize the data status at this time to the communication device to facilitate the restoration of the communication device to the data transmission system.
[0108] In some embodiments of the present disclosure, the data transmission method may further include: receiving an expected state sent by the third device or the fourth device, and updating the current state to the expected state.
[0109] For example, in some embodiments of the present disclosure, the operating state of the multi-link virtual service device can be controlled by a third device or a fourth device, which updates its current state to the desired state by receiving the desired state, thereby achieving a directional change in state.
[0110] Through some of the embodiments of the present disclosure provided above, it can be seen that the present disclosure can form a triangular communication link, which can enable stable communication between any two devices after the communication of interconnected devices is disconnected or other faults occur. The communication between the management and control platform and the hangar service end is normal, which improves the compatibility of the equipment and forms a closed-loop operation; the drone, hangar service end and the management and control platform end can actively report the operating status, and the built-in business program can read it at any time without worrying about whether the device is online, realizing automatic switching of the device offline and online, and has high stability.
[0111] Please refer to Figure 6, which shows a block diagram of a multi-link data transmission apparatus provided in some embodiments of the present disclosure. It should be understood that the multi-link data transmission apparatus corresponds to the above-mentioned method embodiment and is capable of executing each step involved in the above-mentioned method embodiment. The specific functions of the multi-link data transmission apparatus can be found in the description above, and a detailed description is omitted here to avoid repetition.
[0112] The multi-link data transmission device in Figure 6 includes at least one software function module that can be stored in a memory in the form of software or firmware or solidified in the multi-link data transmission device. The multi-link data transmission device is applied to the first device of the data transmission system, wherein the data transmission system also includes: a drone and a second device, including: a monitoring module 610, configured to monitor the working status of the drone and the second device; a starting module 620, configured to send a starting instruction to the virtual service device when confirming that the working status of the communication device is offline, so as to start the virtual service device, wherein the communication device is the drone or the second device, and the virtual service device is a drone virtual device or a second virtual device; a sending module 630, configured to send target data to the virtual service device, wherein the target data includes: mission data and / or control instructions, and the target data is used to control the operating status of the virtual service device.
[0113] Please refer to Figure 7, which shows a block diagram of a multi-link data transmission apparatus provided in some embodiments of the present disclosure. It should be understood that the multi-link data transmission apparatus corresponds to the above-mentioned method embodiment and is capable of executing each step involved in the above-mentioned method embodiment. The specific functions of the multi-link data transmission apparatus can be found in the description above, and a detailed description is omitted here to avoid repetition.
[0114] The multi-link data transmission device of Figure 7 includes at least one software function module that can be stored in a memory in the form of software or firmware or solidified in the multi-link data transmission device. The multi-link data transmission device is applied to a virtual service device of a data transmission system, wherein the data transmission system further includes: a third device and a fourth device; wherein, when the virtual service device is a drone virtual device, the third device is a control platform end and the fourth device is a hangar service end, or, the third device is the hangar service end and the fourth device is the control platform end; when the virtual service device is a control virtual device or a hangar virtual device, the third device is a hangar service end or a control platform end. On the platform side, the fourth device is a drone; the communication device is the drone, the control platform side or the hangar service side, and correspondingly, the virtual service device is the drone virtual device, the control virtual device or the hangar virtual device; when the communication device is in an offline state, the multi-link data transmission device includes: a first receiving module 710, configured to receive a startup instruction sent by the third device or the fourth device; a second receiving module 720, configured to receive target data sent by the third device or the fourth device, wherein the target data includes: mission data and / or control instructions; an update module 730, configured to update the operating status through the target data.
[0115] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0116] Some embodiments of the present disclosure further provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, can implement the operations corresponding to any of the above methods provided in the above embodiments.
[0117] Some embodiments of the present disclosure further provide a computer program product, which includes a computer program, wherein when the computer program is executed by a processor, it can implement the operations corresponding to any of the above methods provided in the above embodiments.
[0118] As shown in Figure 8, some embodiments of the present disclosure provide an electronic device 800, which includes: a memory 810, a processor 820, and a computer program stored in the memory 810 and executable on the processor 820, wherein the processor 820 reads the program from the memory 810 through a bus 830 and executes the program to implement a method as in any of the above embodiments.
[0119] The processor 820 can process digital signals and can include various computing architectures, such as a complex instruction set computer architecture, a reduced instruction set computer architecture, or an architecture that implements a combination of multiple instruction sets. In some examples, the processor 820 can be a microprocessor.
[0120] The memory 810 can be configured to store instructions executed by the processor 820 or data related to the execution of instructions. These instructions and / or data may include code and are configured to implement some or all of the functions of one or more modules described in the embodiments of the present disclosure. The processor 820 of the embodiment of the present disclosure can be configured to execute the instructions in the memory 810 to implement the method shown above. The memory 810 includes dynamic random access memory, static random access memory, flash memory, optical memory, or other memory known to those skilled in the art.
[0121] The above description is merely an embodiment of the present disclosure and is not intended to limit the scope of protection of the present disclosure. For those skilled in the art, the present disclosure may be subject to various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure. It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined or explained in subsequent figures.
[0122] The above description is merely a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.
[0123] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element. Industrial Applicability:
[0124] The present disclosure provides a method, system, storage medium and electronic device for multi-link data transmission, which can realize autonomous switching between offline and online operations of devices, replace communication devices with virtual service devices, ensure effective data transmission, and improve the stability of the data transmission system.
Claims
1. A method for multi-link data transmission, characterized in that: A first device applied to a data transmission system, wherein the data transmission system further comprises: a drone and a second device, and the method comprises: Monitoring the working status of the UAV and the second device; When confirming that the working state of the communication device is an offline state, sending a startup instruction to the virtual service device to start the virtual service device, wherein the communication device is the drone or the second device, and the virtual service device is the drone virtual device or the second virtual device; Sending target data to the virtual service device, wherein the target data includes: task data and / or control instructions, and the target data is used to control the operating state of the virtual service device.
2. The method according to claim 1, characterized in that The first device is a control platform end and the second device is a hangar server end; or, the first device is the hangar server end and the second device is the control platform end; Among them, the second virtual device is a management and control virtual device or a hangar virtual device; the second virtual device is deployed on the first device, and the drone virtual device is deployed on the first device or the second device.
3. The method according to claim 1 or 2, characterized in that After sending the start instruction to the virtual service device, the method further includes: Acquire a first moment when the working state of the communication device is in the offline state; Based on the first moment, the state data of the communication device is synchronized to the virtual service device.
4. The method according to claim 3, characterized in that When the communication device is the drone and the virtual service device is the drone virtual device, the status data is drone status data, and the drone status data is stored in the storage module of the first device and / or the storage module of the second device; when the communication device is the second device and the virtual service device is the second virtual device, the status data is second status data, and the second status data is stored in the storage module of the first device.
5. The method according to claim 1 or 2, characterized in that: After sending the start instruction to the virtual service device, the method further includes: Sending a data request to the virtual service device at a regular interval; A current data state of the virtual service device corresponding to the data request is obtained.
6. The method according to claim 1 or 2, characterized in that: After sending the start instruction to the virtual service device, the method further includes: By regularly sending a heartbeat signal to the communication device, confirming whether the communication device is restored from the offline state to the online state, so as to restore the online data communication with the communication device; If it is confirmed that the communication device is restored to the online state, the data state of the virtual service device is queried and the data state is sent to the communication device.
7. The method according to claim 1 or 2, characterized in that: After sending the start instruction to the virtual service device, the method further includes: Sending the desired state to the virtual service device so as to update the current state of the virtual service device to the desired state; A polling request is sent to the virtual service device to obtain a current state of the virtual service device, and the process stops when it is confirmed that the current state is the expected state.
8. The method according to claim 1 or 2, characterized in that: The data transmission system further includes: a drone remote controller; the method further includes: A control instruction is sent to the drone remote controller so that the drone remote controller controls the drone or the drone virtual device.
9. A method for multi-link data transmission, characterized in that: A virtual service device applied to a data transmission system, the data transmission system further comprising: a third device and a fourth device; Wherein, when the virtual service device is a drone virtual device, the third device is a control platform end and the fourth device is a hangar service end, or the third device is the hangar service end and the fourth device is the control platform end; when the virtual service device is a control virtual device or a hangar virtual device, the third device is a hangar service end or a control platform end, and the fourth device is a drone; The communication device is the drone, the control platform or the hangar service end, and correspondingly, the virtual service device is the drone virtual device, the control virtual device or the hangar virtual device; when the communication device is in an offline state, the method includes: receiving a start instruction sent by the third device or the fourth device; Receiving target data sent by the third device or the fourth device, wherein the target data includes: task data and / or control instructions; The operating status is updated using the target data.
10. The method according to claim 9, characterized in that The drone virtual device is deployed on the third device or the fourth device; when the virtual service device is the management and control virtual device or the hangar virtual device, the virtual service device is deployed on the third device.
11. The method according to claim 9 or 10, characterized in that After receiving the start instruction sent by the third device or the fourth device, the method further includes: Receive status data sent by the third device or the fourth device.
12. The method according to claim 9 or 10, characterized in that After receiving the start instruction sent by the third device or the fourth device, the method further includes: receiving a data request sent by the third device or the fourth device; Sending a current data state corresponding to the data request to the third device or the fourth device.
13. The method according to claim 9 or 10, characterized in that After receiving the start instruction sent by the third device or the fourth device, the method further includes: When the communication device is restored to an online state, receiving a query instruction sent by the third device or the fourth device; A data status corresponding to the query instruction is sent to the communication device.
14. The method according to claim 9 or 10, characterized in that After receiving the start instruction sent by the third device or the fourth device, the method further includes: Receive the expected state sent by the third device or the fourth device, and update the current state to the expected state.
15. The method according to claim 9 or 10, characterized in that The data transmission system also includes: a drone remote controller; the drone remote controller is configured to control the drone or the drone virtual device.
16. A system for multi-link data transmission, characterized in that: include: UAV, control platform and / or hangar server; wherein, a hangar virtual device is deployed on the control platform, a control virtual device is deployed on the hangar server, and a UAV virtual device is deployed on the control platform or the hangar server; when the UAV is offline, the UAV virtual device is enabled; when the control platform is offline, the control virtual device is enabled; when the hangar server is offline, the hangar virtual device is enabled; The drone or the drone virtual device is configured to: send drone status data to the control platform end and the hangar server end; The control platform end and / or the hangar server end are configured to: receive the drone status data, and send target data to the drone or the drone virtual device, wherein the target data includes: mission data and / or control instructions.
17. The system of claim 16, wherein: The system also includes: a drone remote controller; The drone remote controller is configured to receive the control instruction to control the drone or the drone virtual device.
18. A device for multi-link data transmission, characterized in that: A first device applied to a data transmission system, wherein the data transmission system further comprises: a drone and a second device, wherein the device comprises: a monitoring module configured to monitor the working status of the drone and the second device; a startup module, configured to send a startup instruction to a virtual service device when confirming that the working state of the communication device is an offline state, so as to start the virtual service device, wherein the communication device is the drone or the second device, and the virtual service device is the drone virtual device or the second virtual device; The sending module is configured to send target data to the virtual service device, wherein the target data includes: task data and / or control instructions, and the target data is used to control the operating state of the virtual service device.
19. A device for multi-link data transmission, characterized in that: A virtual service device applied to a data transmission system, the data transmission system further comprising: a third device and a fourth device; Wherein, when the virtual service device is a drone virtual device, the third device is a control platform end and the fourth device is a hangar service end, or the third device is the hangar service end and the fourth device is the control platform end; when the virtual service device is a control virtual device or a hangar virtual device, the third device is a hangar service end or a control platform end, and the fourth device is a drone; The communication device is the drone, the control platform or the hangar service end, and correspondingly, the virtual service device is the drone virtual device, the control virtual device or the hangar virtual device; when the communication device is in an offline state, the apparatus includes: A first receiving module, configured to receive a start instruction sent by the third device or the fourth device; A second receiving module, configured to receive target data sent by the third device or the fourth device, wherein the target data includes: task data and / or control instructions; An updating module is configured to update the running status through the target data.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program executes the method according to any one of claims 1 to 15 when executed by a processor.
21. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the computer program executes the method according to any one of claims 1 to 15 when being run by the processor.
Citation Information
Patent Citations
Unmanned aerial vehicle data processing method and system, electronic equipment and computer storage medium
CN111026617A
Virtual-real combined simulation method, device and system for multiple unmanned aerial vehicles
CN115951598A
Multi-link data transmission method and system, storage medium and electronic equipment
CN117220762A
System and method for service oriented cloud based management of internet of drones
US20210088337A1