CN-122002272-A - Upgrading method, control station, medium and product of unmanned aerial vehicle relay control system
Abstract
The application discloses an upgrading method, a control station, a medium and a product of an unmanned aerial vehicle relay control system, which relate to the technical field of system upgrading, wherein the method is applied to the unmanned aerial vehicle relay control station deployed with the unmanned aerial vehicle relay control system, and the unmanned aerial vehicle relay control system is set into an active partition and an inactive partition; and executing restarting operation in the upgrading time window, switching the inactive partition after updating the system program into a new active partition after restarting, and switching the active partition into the new inactive partition. The application can realize the upgrade of the unmanned aerial vehicle relay control system on the premise of not interrupting the unmanned aerial vehicle inspection task.
Inventors
- YUAN HANGLIANG
Assignees
- 上海歌尔泰克机器人有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20251225
Claims (10)
- 1. The upgrading method of the unmanned aerial vehicle relay control system is characterized by being applied to an unmanned aerial vehicle relay control station deployed with the unmanned aerial vehicle relay control system, wherein the unmanned aerial vehicle relay control system is set to be an active partition and an inactive partition, and the upgrading method of the unmanned aerial vehicle relay control system comprises the following steps: Responding to a system upgrading instruction carrying unmanned aerial vehicle flight state data sent by a control center, acquiring system upgrading data, and determining an upgrading time window according to the unmanned aerial vehicle flight state data; updating a system program in the inactive partition based on the system upgrade data; And executing restarting operation in the upgrading time window, switching the inactive partition after updating the system program into a new active partition after restarting, and switching the active partition into the new inactive partition.
- 2. The method of upgrading a drone relay control system according to claim 1, wherein the step of determining an upgrade time window from the drone flight status data comprises: Determining whether the unmanned aerial vehicle is in the communication coverage range of the unmanned aerial vehicle relay control station according to the unmanned aerial vehicle flight state data; If the unmanned aerial vehicle is in the communication coverage range, predicting a first time point when the unmanned aerial vehicle leaves the communication coverage range and a second time point when the unmanned aerial vehicle enters the communication coverage range next according to the unmanned aerial vehicle flight state data, and determining an interval between the first time point and the second time point as an upgrading time window; If the unmanned aerial vehicle is not in the communication coverage area, predicting a third time point when the unmanned aerial vehicle enters the communication coverage area according to the unmanned aerial vehicle flight state data, and determining an upgrading time window according to the current time point, the third time point and a preset upgrading time threshold.
- 3. The method of upgrading a drone relay control system according to claim 2, wherein the step of determining an upgrade time window according to a current time point, the third time point, and a preset upgrade duration threshold value comprises: calculating a time difference between a current time point and the third time point; If the time difference value is larger than a preset upgrading time threshold, determining the interval from the current time point to the third time point as an upgrading time window; And if the time difference value is smaller than or equal to the upgrading duration threshold value, predicting a fourth time point when the unmanned aerial vehicle leaves the communication coverage area and a fifth time point when the unmanned aerial vehicle enters the communication coverage area next time according to the unmanned aerial vehicle flight state data, and determining an interval from the fourth time point to the fifth time point as an upgrading time window.
- 4. The method for upgrading a relay control system of an unmanned aerial vehicle according to claim 1, wherein the step of acquiring system upgrade data comprises: sending an upgrading query request carrying a system identifier and current version information to a preset OTA server; Receiving upgrade package metadata returned by the OTA server based on the upgrade inquiry request; and downloading system upgrade data based on the upgrade package metadata, and checking the system upgrade data.
- 5. The method of upgrading a drone relay control system according to claim 1, wherein the step of updating a system program within the inactive partition based on the system upgrade data comprises: Writing the system upgrade data to the inactive partition; under the control of a preset boot loader, carrying out hash verification on the inactive partition written with the system upgrade data; And if the hash verification is passed, determining that the system program of the inactive partition is updated and validated.
- 6. The method for upgrading a relay control system of a unmanned aerial vehicle according to claim 1, wherein after the step of switching the inactive partition after updating the system program to a new active partition and switching the active partition to a new inactive partition, the method further comprises: if the new active partition is started successfully, the upgrading success information is sent to the control center; Responding to a service function test instruction issued by the control center based on the upgrade success information, performing a function test after communication connection is established with the unmanned aerial vehicle, and transmitting a test result of the function test to the control center.
- 7. The method for upgrading a relay control system of a unmanned aerial vehicle according to claim 1, wherein after the step of switching the inactive partition after updating the system program to a new active partition and switching the active partition to a new inactive partition, the method further comprises: If the starting from the new active partition fails, starting from the new inactive partition under the control of a boot loader, and sending upgrade failure alarm information to the control center.
- 8. A drone relay control station comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the method of upgrading a drone relay control system according to any one of claims 1 to 7.
- 9. A storage medium, characterized in that the storage medium is a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method for upgrading a drone relay control system according to any one of claims 1 to 7.
- 10. A computer program product, characterized in that it comprises a computer program which, when executed by a processor, implements the steps of the method of upgrading a drone relay control system according to any one of claims 1 to 7.
Description
Upgrading method, control station, medium and product of unmanned aerial vehicle relay control system Technical Field The application relates to the technical field of system upgrading, in particular to an upgrading method, a control station, a medium and a product of an unmanned aerial vehicle relay control system. Background The current unmanned aerial vehicle has very extensive in the long-distance scene of patrolling and examining of high speed, electric power and pipeline, because unmanned aerial vehicle's flight route is usually longer, in order to guarantee data transmission's reliability and real-time demand, often need support the long-distance communication between unmanned aerial vehicle and the unmanned aerial vehicle control center with the help of unmanned aerial vehicle relay control station of unmanned aerial vehicle node deployment along unmanned aerial vehicle flight route. At present, unmanned aerial vehicle relay control systems deployed by the relay control stations generally depend on manual field operation when system software is upgraded, so that the efficiency is low, and the unmanned aerial vehicle inspection tasks which are being executed can be interfered or even interrupted in the upgrading process, so that the continuity of the whole inspection tasks is influenced. In summary, how to upgrade the relay control system of the unmanned aerial vehicle without interrupting the inspection task of the unmanned aerial vehicle is a technical problem that needs to be solved in the art. The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present application and is not intended to represent an admission that the foregoing is prior art. Disclosure of Invention The application mainly aims to provide an upgrading method, a control station, a medium and a product of an unmanned aerial vehicle relay control system, and aims to realize the upgrading of the unmanned aerial vehicle relay control system on the premise of not interrupting an unmanned aerial vehicle inspection task. In order to achieve the above object, the present application provides an upgrade method of an unmanned aerial vehicle relay control system, which is applied to an unmanned aerial vehicle relay control station deployed with the unmanned aerial vehicle relay control system, wherein the unmanned aerial vehicle relay control system is set to an active partition and an inactive partition, and the upgrade method of the unmanned aerial vehicle relay control system comprises: Responding to a system upgrading instruction carrying unmanned aerial vehicle flight state data sent by a control center, acquiring system upgrading data, and determining an upgrading time window according to the unmanned aerial vehicle flight state data; updating a system program in the inactive partition based on the system upgrade data; And executing restarting operation in the upgrading time window, switching the inactive partition after updating the system program into a new active partition after restarting, and switching the active partition into the new inactive partition. In an embodiment, the step of determining an upgrade time window according to the unmanned aerial vehicle flight status data includes: Determining whether the unmanned aerial vehicle is in the communication coverage range of the unmanned aerial vehicle relay control station according to the unmanned aerial vehicle flight state data; If the unmanned aerial vehicle is in the communication coverage range, predicting a first time point when the unmanned aerial vehicle leaves the communication coverage range and a second time point when the unmanned aerial vehicle enters the communication coverage range next according to the unmanned aerial vehicle flight state data, and determining an interval between the first time point and the second time point as an upgrading time window; If the unmanned aerial vehicle is not in the communication coverage area, predicting a third time point when the unmanned aerial vehicle enters the communication coverage area according to the unmanned aerial vehicle flight state data, and determining an upgrading time window according to the current time point, the third time point and a preset upgrading time threshold. In an embodiment, the step of determining the upgrade time window according to the current time point, the third time point and a preset upgrade time period threshold value includes: calculating a time difference between a current time point and the third time point; If the time difference value is larger than a preset upgrading time threshold, determining the interval from the current time point to the third time point as an upgrading time window; And if the time difference value is smaller than or equal to the upgrading duration threshold value, predicting a fourth time point when the unmanned aerial vehicle leaves the communication coverage area and a fifth time point when the unmanne