WO2020000700A1 - 一种无人机系统中的模块升级方法和无人机系统 - Google Patents

一种无人机系统中的模块升级方法和无人机系统 Download PDF

Info

Publication number
WO2020000700A1
WO2020000700A1 PCT/CN2018/106557 CN2018106557W WO2020000700A1 WO 2020000700 A1 WO2020000700 A1 WO 2020000700A1 CN 2018106557 W CN2018106557 W CN 2018106557W WO 2020000700 A1 WO2020000700 A1 WO 2020000700A1
Authority
WO
WIPO (PCT)
Prior art keywords
upgraded
module
upgrade
modules
packages
Prior art date
Application number
PCT/CN2018/106557
Other languages
English (en)
French (fr)
Inventor
李昭早
Original Assignee
深圳市道通智能航空技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市道通智能航空技术有限公司 filed Critical 深圳市道通智能航空技术有限公司
Publication of WO2020000700A1 publication Critical patent/WO2020000700A1/zh
Priority to US17/136,493 priority Critical patent/US11609755B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • Embodiments of the present invention relate to the technical field of unmanned aerial vehicles, and in particular, to a method for upgrading a module in an unmanned aerial vehicle system and an unmanned aerial vehicle system.
  • UAV systems include multiple modules.
  • a camera module On the aircraft side of the UAV system, there are a camera module, a gimbal module, a vision module, four ESC modules, a smart battery module, an ultrasound module, a flight control module, Aircraft image transmission module, etc .
  • On the ground side of the UAV system there are a remote control single-chip microcomputer module, a ground image transmission module, and a remote control panel module.
  • each module is an independent hardware and software system, which is connected through a serial port or a network. Upgrading the modules in the drone system means upgrading each module in the drone system.
  • modules in the UAV system are generally upgraded one by one.
  • the storage device storing the upgrade package sends the corresponding upgrade package to the module in the drone system, and after the module is upgraded according to the upgrade package, it sends the corresponding upgrade package to the next module in turn until the drone All modules in the system are upgraded.
  • the inventors found that the related technology has at least the following problems: due to the large number of modules in the drone system, upgrading the modules in the drone system in a module-by-module upgrade method requires a long time Time, upgrade efficiency is low.
  • the embodiment of the present application provides a method for upgrading a module in a drone system, which can reduce the time for upgrading a module in a drone system and improve the upgrading efficiency.
  • An embodiment of the present invention provides a method for upgrading a module in a drone system.
  • the drone system includes a storage device and at least two module groups to be upgraded. Each of the at least two module groups to be upgraded is to be upgraded.
  • the module group includes at least one module to be upgraded, the storage device includes at least two upgrade packages, and each upgrade package corresponds to one module group to be upgraded, and the method includes:
  • the storage device transmits at least two upgrade packages to the at least two module groups to be upgraded
  • the modules to be upgraded in the module group to be upgraded are upgraded according to the upgrade package.
  • the storage device transmitting at least two upgrade packages to the at least two module groups to be upgraded includes:
  • the storage device transmits at least two upgrade packages to one of the at least two module groups to be upgraded at a time, and transmits the at least two upgrade packages to the at least two upgrade packages through the module group to be upgraded.
  • the storage device transmits at least two upgrade packages to one of the at least two module groups to be upgraded at a time, and transmits the at least two upgrade packages to the at least two upgrade packages through the module group to be upgraded.
  • the other module groups to be upgraded in the two module groups to be upgraded are included in the two module groups to be upgraded.
  • receiving the corresponding upgrade package from the at least two module groups to be upgraded includes the following:
  • the at least two to-be-upgraded module groups to be upgraded receive a part or all of the at least two upgrade packages
  • the module group to be upgraded obtains an upgrade package corresponding to each module group to be upgraded from the received part or all of the upgrade packages.
  • the to-be-upgraded module group in the at least two to-be-upgraded module groups includes a first-level to-be-upgraded module; the to-be-upgraded module group in the at least two to-be-upgraded module groups receives corresponding upgrade packages, including :
  • the first-level module to be upgraded receives an upgrade package corresponding to the module group to be upgraded.
  • the to-be-upgraded modules in the at least two to-be-upgraded module groups further include a second-level to-be-upgraded module, and the method further includes:
  • the first-level module to be upgraded splits an upgrade package corresponding to the module group to be upgraded into sub-upgrade packages corresponding to each module to be upgraded in the module group to be upgraded;
  • the first-level module to be upgraded transmits a sub-upgrade package corresponding to the second-level module to be upgraded in the module group to be upgraded to the second-level module to be upgraded;
  • the module to be upgraded in the module group to be upgraded according to the upgrade package includes:
  • Modules to be upgraded in the module group to be upgraded are upgraded according to corresponding sub-upgrade packages.
  • the number of the second-level modules to be upgraded is at least two, and the at least two second-level modules to be upgraded are connected through a serial interface;
  • the transmitting, by the first-level module to be upgraded, the sub-upgrade package corresponding to the second-level module to be upgraded in the module group to be upgraded to the second-level module to be upgraded includes:
  • the first-level to-be-upgraded module transmits a corresponding sub-upgrade package to one of the at least two second-level to-be-upgraded modules according to the connection order, and the second-level to-be-upgraded module according to the corresponding sub- After the upgrade package is upgraded, the corresponding sub-upgrade package is transmitted to the next second-level module to be upgraded.
  • the method further includes:
  • the upgrade progress is displayed.
  • determining the upgrade progress according to transmission conditions of the at least two upgrade packages and upgrade conditions of each of the at least two module groups to be upgraded includes:
  • An upgrade progress is determined according to a ratio of the transmitted duration and a preset total upgrade duration.
  • determining the upgrade progress according to transmission conditions of the at least two upgrade packages and upgrade conditions of each of the at least two module groups to be upgraded includes:
  • An upgrade progress is determined according to a ratio of a completion time of the upgrade module upgrade and the preset total upgrade duration.
  • the upgrade progress is displayed by a remote control panel module of a remote control device in the drone system.
  • the at least two module groups to be upgraded include the remote control panel module, and the modules to be upgraded in the module group to be upgraded according to the upgrade package include:
  • the remote-control panel module is upgraded according to the upgrade package corresponding to the remote-control panel module.
  • An unmanned aerial vehicle system includes a storage device and at least two module groups to be upgraded, each of the at least two module groups to be upgraded includes at least one module to be upgraded, and the storage device includes at least two Upgrade packages, each upgrade package corresponds to a module group to be upgraded;
  • At least one processor At least one processor
  • a memory connected in communication with the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the foregoing method.
  • the storage device transmits at least two upgrade packages to at least two module groups to be upgraded. After the corresponding module packages are received by the module group to be upgraded, the modules to be upgraded in the module group to be upgraded can be upgraded according to the corresponding upgrade. Packages are generated by modules instead of being upgraded one by one, thereby reducing the time for module upgrades in the UAV system and improving the upgrade efficiency.
  • FIG. 1 is a schematic diagram of an application environment of a module upgrade method in a drone system according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a module upgrade method in a drone system according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a module group to be upgraded according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another method for upgrading a module in a drone system according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of an upgrade package transmission according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an upgrade package transmission using a module-by-module upgrade method
  • FIG. 7 is a schematic diagram of a module connected to the serial port 2 according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an application environment of a method for upgrading a module in a drone system according to an embodiment of the present invention.
  • the application environment includes: a drone system 100.
  • the drone system 100 includes a drone 10 and a remote control device 20.
  • the drone 10 establishes a connection with the remote control device 20 so as to implement the upgrade of the drone system 100.
  • the remote control panel module of the remote control device 20 can display the upgrade schedule.
  • the UAV system 100 includes a storage device and at least two module groups to be upgraded.
  • Each of the at least two to-be-upgraded module groups includes at least one to-be-upgraded module
  • the storage device includes at least two upgrade packages, each of which corresponds to one to-be-upgraded module group, and the upgrade package is used for Modules to be upgraded are upgraded in the corresponding modules to be upgraded.
  • the module group to be upgraded in the drone 10 may include a camera upgrade module group, an airplane image transmission upgrade module group, and the like.
  • the camera upgrade module group includes the camera upgrade module
  • the aircraft image transmission upgrade module group includes the vision module, PTZ module, 4 ESC modules, smart battery module, ultrasound module, and flight control module. Modules, aircraft image transmission modules, etc.
  • each upgrade module in the drone 10 may form at least two module groups to be upgraded according to other grouping methods.
  • each upgrade module may form at least two module groups to be upgraded according to factors such as the connection relationship between each other and the degree of functional correlation between each other.
  • the remote control device 20 includes a ground image transmission upgrade module group, a remote control panel upgrade module group, and the like.
  • the modules to be upgraded included in the ground image transmission upgrade module group include remote control single-chip microcomputer modules and ground image transmission modules; the modules to be upgraded included in the remote control panel upgrade module group include remote control panel modules.
  • each upgrade module in the remote control device 20 may form at least two module groups to be upgraded according to other grouping methods.
  • each upgrade module may form at least two module groups to be upgraded according to factors such as the connection relationship between each other and the degree of functional correlation between each other.
  • the storage device may be fixedly disposed on the drone 10 of the drone system 100, or the storage device may be pluggably connected to the drone 10 of the drone system 100.
  • the drone 10 is provided with an interface for accommodating a storage device, and the storage device may be accommodated in the interface, and communicates with the module to be upgraded in the group of modules to be upgraded of the drone 10 through the interface, so that The upgrade package stored in the storage device is transmitted to the module group to be upgraded.
  • the storage device may be a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM), such as a static random access memory (English: static random-access memory) , Abbreviation: SRAM), double data rate synchronous dynamic random access memory (English: Double Data Rate Synchronous Dynamic Random Access Memory, abbreviation: DDR SDRAM), etc .;
  • the storage device can also be non-volatile memory (English: non-volatile memory), such as flash memory (English: flash memory), hard disk (English: hard disk drive (abbreviation: HDD)) or solid state hard disk (English: solid-state drive (abbreviation: SSD)); the storage device may also include the above-mentioned types of Memory combination.
  • At least two upgrade packages may be pre-stored in a storage device, or at least two upgrade packages may be obtained in real time by the storage device through a connection with a terminal device or a server.
  • the terminal device or server may transmit the upgrade package to the storage device by transmitting the upgrade package.
  • the terminal device or server may send the upgrade package to the storage device through a wireless connection.
  • the terminal device or the server writes the upgrade package into the storage device through a wired connection.
  • the storage device After the storage device obtains the upgrade package, it can store it.
  • the module group to be upgraded in the drone system 100 may call the upgrade package in the storage device, or the drone system 100 may trigger the storage device to transmit the upgrade package to the module group to be upgraded. It is not limited here.
  • the drone 10 may include: a fixed-wing drone, a multi-rotor drone, and the like.
  • the UAV may refer to an Unmanned Aerial Vehicle (UAV). In some other embodiments, it may also be another aircraft, such as an unmanned ship.
  • UAV Unmanned Aerial Vehicle
  • the remote control device 20 may be any suitable device having a remote control function, such as a remote controller.
  • the storage device may be any device having a storage function, which may be built in the drone 10 or may be removable, such as an SD card.
  • the storage device is configured to store an upgrade package for upgrading a module in the drone system 100.
  • Terminal devices may include terminal devices such as smart phones, personal computers, and wearable smart devices. In an implementation manner, the terminal device may obtain an upgrade package of the drone system 100 by connecting with the server.
  • the modules in the drone system 100 In order to make the drone system 100 better meet the needs of users or improve the stability of the drone system 100, it is usually necessary to upgrade the modules in the drone system 100, that is, to upgrade the drone system 100.
  • the modules to be upgraded in the module group to be upgraded are upgraded to optimize the functions of the UAV system 100 and allow users to have a better experience. Due to the large number of modules in the drone system, the modules in the drone system are currently upgraded one by one in order to upgrade the modules in the drone system. It takes a long time and the upgrade efficiency is low.
  • the main purpose of the embodiments of the present invention is to provide a method for module upgrade in an unmanned aerial system, which can reduce the time for module upgrade in the unmanned aerial system and improve the upgrade efficiency.
  • FIG. 2 is a schematic flowchart of a module upgrade method in a drone system according to an embodiment of the present invention. This method can be used to upgrade modules in UAV systems.
  • the UAV system includes a storage device and at least two module groups to be upgraded. Each of the at least two module groups to be upgraded includes at least one module to be upgraded.
  • the storage device includes at least two modules. Upgrade package, each upgrade package corresponds to a module group to be upgraded.
  • the module upgrading method in the UAV system includes:
  • the storage device transmits at least two upgrade packages to the at least two module groups to be upgraded.
  • the drone system may include at least two module groups to be upgraded.
  • the at least two module groups to be upgraded include: a camera upgrade module group, an airplane image transmission upgrade module group, a ground image transmission upgrade module group, a remote control panel upgrade module group, and the like. Since each upgrade package corresponds to a module group to be upgraded, accordingly, the storage device includes at least two upgrade packages: a camera upgrade package, an airplane image transmission upgrade package, a ground image transmission upgrade package, a remote control panel upgrade package, and the like.
  • the storage device may transmit the upgrade package to the at least two module groups to be upgraded after receiving the call of the at least two module groups to be upgraded or the instruction to read the upgrade package.
  • any one of the modules to be upgraded in the UAV system may send an instruction to call or read the upgrade package to the storage device through the communication link.
  • the storage device may receive a call of a camera module directly connected to it or read an upgrade package instruction to transmit the upgrade package.
  • the storage device may transmit the camera upgrade package, the airplane image transfer upgrade package, the ground image transfer upgrade package, and the remote control panel upgrade package to at least two module groups to be upgraded at one time.
  • the storage device may transmit at least two upgrade packages of the camera upgrade package, the aircraft image transfer upgrade package, the ground image transfer upgrade package, and the remote control panel upgrade package to the at least two module groups to be upgraded at one time.
  • the storage device transmits at least two upgrade packages to the at least two module groups to be upgraded, and may first be directly connected to the storage device among the at least two module groups to be upgraded, or a standby device having a connection path.
  • the upgrade module group transmits these at least two upgrade packages, and the module group to be upgraded receives the corresponding upgrade packages of the at least two upgrade packages, and can transfer the remaining upgrade packages to other module groups to be upgraded through the communication link until All the upgrade packages transmitted by the storage device are transmitted to the corresponding module group to be upgraded.
  • the to-be-upgraded module group in the at least two to-be-upgraded module groups receives part or all of the at least two upgrade packages; the to-be-upgraded module group obtains from the received part or all of the upgrade packages An upgrade package corresponding to each module group to be upgraded.
  • the storage device first transfers the camera upgrade package, the aircraft image transfer upgrade package, the ground image transfer upgrade package, and the remote control panel upgrade package to the memory of the camera upgrade module group, such as The flash memory of the camera upgrade module group. Then, through the camera upgrade module group, other upgrade packages besides the camera upgrade package, that is, the aircraft image transmission upgrade package, the ground image transmission upgrade package, and the remote control panel upgrade package are transferred to the corresponding module group to be upgraded, such as to be upgraded.
  • the flash memory of the module group is not limited to the camera upgrade package, the aircraft image transmission upgrade package, the ground image transmission upgrade package, and the remote control panel upgrade package are transferred to the corresponding module group to be upgraded, such as to be upgraded.
  • the storage device transmits at least two upgrade packages to the at least two module groups to be upgraded, and may first be directly connected to the storage device among the at least two module groups to be upgraded, or to a module group to be upgraded with a connection path. These at least two upgrade packages are sent by the module group to be upgraded until at least two upgrade packages are received by each module group to be upgraded.
  • the storage device can transfer the camera upgrade package, aircraft image transfer upgrade package, ground image transfer upgrade package, and remote panel upgrade package to the camera upgrade module group.
  • the camera upgrade module group transfers the remote panel upgrade package through the aircraft image transfer module and ground image transfer.
  • the module is transferred to the remote control panel upgrade module group, and then the ground image transmission upgrade package and the aircraft image transmission upgrade package are transmitted in this order. Until the camera only stores the camera upgrade package.
  • the upgrade is performed in a unified manner.
  • the camera upgrade module group first receives the camera upgrade package, and the camera upgrade module group may wait for the completion of the transfer of the upgrade packages corresponding to the other module groups to be upgraded before performing subsequent module upgrades.
  • the module group to be upgraded can use the corresponding upgrade package to perform the upgrade.
  • the remote control panel module group can be upgraded after receiving the corresponding upgrade package.
  • the at least two module groups to be upgraded receive the corresponding upgrade package.
  • the camera upgrade module group receives a camera upgrade package
  • the aircraft image transmission upgrade module group receives an aircraft image transmission upgrade package
  • the ground image transmission upgrade module group receives a ground image transmission upgrade package
  • the remote control panel is upgraded.
  • the module group receives the remote control panel upgrade package.
  • receiving the corresponding upgrade package from the at least two module groups to be upgraded includes receiving the corresponding upgrade package from the at least two module groups to be upgraded from the at least two upgrade packages.
  • the module group to be upgraded obtains the upgrade package corresponding to each module group to be upgraded from the received part or all of the upgrade package.
  • the camera upgrade module group it receives all the upgrade packages in at least two upgrade packages, that is, the camera upgrade package, the aircraft image transmission upgrade package, the ground image transmission upgrade package, and the remote control panel upgrade package;
  • the module group to be upgraded other than the module group obtains the corresponding upgrade package from the received partial upgrade package, for example, the aircraft image transmission upgrade module group obtains the aircraft image transmission upgrade package from the received aircraft image transmission upgrade package.
  • the modules to be upgraded in the module group to be upgraded are upgraded according to the upgrade package.
  • the to-be-upgraded module in the to-be-upgraded module group can perform module upgrade according to the corresponding upgrade package.
  • the upgrade method in this embodiment can effectively reduce the module upgrade time in the UAV system and improve the upgrade efficiency.
  • T 1 is the total time for the camera upgrade module group upgrade
  • T 1t is the time for the camera upgrade package transmission
  • T 1u is the upgrade time required for the modules to be upgraded in the camera upgrade module group
  • T 2 is the aircraft image transmission upgrade module group upgrade Total time
  • T 2t is the time for transmitting the aircraft image transmission upgrade package
  • T 2u is the time required for the module to be upgraded in the aircraft image transmission upgrade module group
  • T 3 is the total time for the image transmission upgrade module group on the ground
  • T 3t is the transmission time of the ground image transmission upgrade package
  • T 3u is the time required for the modules to be upgraded in the ground image transmission upgrade module group
  • T 4 is the total time of the remote control panel upgrade module group upgrade
  • T 4t is the remote control panel
  • T 4u is the upgrade time required for the modules to be upgraded in the remote control panel upgrade module group.
  • the camera upgrade package transmission time T 1t 100s
  • the aircraft image transmission upgrade package transmission time T 2t 100s
  • the time T 3t 100s for the ground image transmission upgrade package transmission
  • the upgrade time T 3u 160s for the modules to be upgraded in the ground image transmission upgrade module group
  • Time T 2all 260s. Therefore, it is shown that the implemented module upgrading method can effectively reduce the module upgrading time in the UAV system and improve the upgrading efficiency.
  • the upgrade module in the remote control panel upgrade module group of the drone system can display the upgrade progress. .
  • the modules to be upgraded in the remote control panel upgrade module group are finally upgraded.
  • the modules to be upgraded in the camera upgrade module group, the modules to be upgraded in the aircraft image transmission upgrade module group, the modules to be upgraded in the ground image transmission upgrade module group, and the modules to be upgraded in the remote control panel upgrade module group are upgraded.
  • the storage device transmits at least two upgrade packages to at least two module groups to be upgraded.
  • the modules to be upgraded in the module group to be upgraded may be The upgrade package is used to generate modules instead of upgrading one by one, thereby reducing the module upgrade time in the drone system and improving the upgrade efficiency.
  • FIG. 4 is a schematic flowchart of another module upgrade method in a drone system according to an embodiment of the present invention.
  • This method can be used to upgrade modules in UAV systems.
  • the UAV system includes a storage device and at least two module groups to be upgraded.
  • Each of the at least two module groups to be upgraded includes at least one module to be upgraded.
  • the storage device includes at least two modules. Upgrade package, each upgrade package corresponds to a module group to be upgraded.
  • the module upgrading method in the UAV system includes:
  • the storage device transmits at least two upgrade packages to the at least two module groups to be upgraded.
  • the at least two module groups to be upgraded receive corresponding upgrade packages.
  • steps 401 to 402 have the same technical characteristics as steps 201 to 202 in the module upgrade method in the drone system shown in FIG. 2 respectively. Therefore, the specific implementation thereof may refer to the above embodiments. The corresponding descriptions in steps 201-202 are not repeated in this embodiment.
  • the at least two to-be-upgraded module groups to be upgraded receive the corresponding upgrade package, and the method further includes: a first stage in the to-be-upgraded module group in the at least two to-be-upgraded module groups.
  • the module to be upgraded receives an upgrade package corresponding to the module group to be upgraded.
  • the at least two module groups to be upgraded include: a camera upgrade module group, an airplane image transmission upgrade module group, a ground image transmission upgrade module group, and a remote control panel upgrade module group.
  • the to-be-upgraded modules in the above to-be-upgraded module group include a first-to-be-upgraded module and a second-to-be-upgraded module.
  • the aircraft image transmission module is a first-level upgrade module; the vision module, PTZ module, 4 ESC modules, intelligent battery module, ultrasound module, flight control module, and aircraft image transmission body module are Two-level upgrade module.
  • the first-level module to be upgraded splits the upgrade package corresponding to the module group to be upgraded into sub-upgrade packages corresponding to each module to be upgraded in the module group to be upgraded.
  • the aircraft image transmission module splits the aircraft image transmission upgrade package into a visual module sub-upgrade package, a PTZ module sub-upgrade package, four ESC module sub-upgrade packages, a smart battery module sub-upgrade package, and an ultrasound module.
  • the ground image transmission module divides the ground image transmission upgrade package into a remote control single-chip microcomputer module sub-upgrade package and a ground image transmission body module sub-upgrade package.
  • the first-level module to be upgraded transmits a sub-upgrade package corresponding to the second-level module to be upgraded in the module group to be upgraded to the second-level module to be upgraded.
  • the number of the second-level modules to be upgraded is at least two, and the at least two second-level modules to be upgraded are connected through a serial interface.
  • the transmitting, by the first-level module to be upgraded, a sub-upgrade package corresponding to the second-level module to be upgraded in the group of modules to be upgraded to the second-level module to be upgraded includes the following steps: One of the at least two second-level modules to be upgraded transmits a corresponding sub-upgrade package, and after the second-level modules to be upgraded are upgraded according to the corresponding sub-upgrade packages, the next-level two modules The upgrade module transmits the corresponding sub-upgrade package.
  • the aircraft image transmission module is connected to the vision module through serial port 1, and the gimbal module is connected through serial port 2.
  • the aircraft image transmission module can transmit the sub-upgrade package corresponding to the vision module to the vision module through serial port 1, and can transmit the corresponding correspondence to other modules through serial port 2.
  • Child upgrade package Because serial port 1 and serial port 2 are independent of each other, the vision module and other modules in the aircraft image transmission upgrade module group are upgraded in parallel.
  • the aircraft image transmission module forwards to the PTZ module and 4 ESC modules,
  • the intelligent battery module, the ultrasound module, the flight control module, and the aircraft image transmission body module transmit the corresponding sub-upgrade package, and after one module is upgraded through the corresponding sub-upgrade package, the corresponding sub-upgrade package is transmitted to the next module.
  • the aircraft image transmission module may sequentially transmit the corresponding sub-upgrade packages of each module according to the connection order of each module.
  • the aircraft image transmission module can be transmitted in sequence from far to near or from near to far according to the connection order.
  • the aircraft image transmission module may first transmit the sub-upgrade package corresponding to the PTZ module.
  • the next-stage to-be-upgraded module of the PTZ module such as 4
  • the tuning module transmits the corresponding sub-upgrade package, so that the four ESC modules can complete the module upgrade, and so on.
  • the aircraft image transmission module first transmits the sub-upgrade package corresponding to the flight control module. After the flight control module is upgraded according to the corresponding sub-upgrade package, it transmits to the next level two to-be-upgraded module of the PTZ module, such as the ultrasonic module. Child upgrade package.
  • the aircraft image transmission module can also transmit the corresponding sub-upgrade packages of each module in order according to user requirements or rules, which is not limited here.
  • the modules to be upgraded in the module group to be upgraded perform module upgrade according to the upgrade package.
  • the module to be upgraded in the module group to be upgraded is subjected to module upgrade according to the upgrade package, and the module to be upgraded in the module group to be upgraded is subjected to module upgrade according to the corresponding sub-upgrade package.
  • the time for module upgrade in the UAV system can be reduced, and the upgrade efficiency can be improved.
  • FIG. 5 is a schematic diagram of an upgrade package transmission of a module upgrade method in a drone system according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of an upgrade package transmission of a current upgrade method.
  • the UAV system is divided into 4 network nodes.
  • the camera module and the aircraft image transmission module are connected through Ethernet.
  • the aircraft image transmission module and the ground image transmission module are connected through a wireless network.
  • the ground image transmission module is connected through Ethernet. It is connected with the remote control panel module, and these modules communicate with each other through a network protocol.
  • the aircraft image transmission module communicates with the vision module through serial port 1, and communicates with the gimbal module, ESC module, intelligent battery module, ultrasound module, and flight control module through serial port 2.
  • the ground image transmission module communicates with remote control microcontroller module through serial port 3. Communication.
  • camera upgrade package In order to facilitate network transmission, 4 independent upgrade packages are needed: camera upgrade package, aircraft image transmission upgrade package (including visual sub-upgrade package, PTZ sub-upgrade package, electric key upgrade package, smart battery sub-update package, ultrasonic sub-upgrade package, Flight control sub-upgrade package, aircraft image transmission main body upgrade package), ground image transmission upgrade package (including remote control single-chip microcomputer upgrade package, aircraft image transmission main body upgrade package), remote control panel upgrade package.
  • the aircraft image transmission upgrade package is read from the storage device through the camera module, and then sent to the aircraft image transmission module through the network, and stored in its Flash (assuming the time is T 2t ), and then sent to each module through the serial port for upgrading. Assume that the time spent for serial port 1 transmission and vision module upgrade is T mu .
  • the time of the PTZ module is T iu
  • the time of the first ESC module is T e1u
  • the time of the second ESC module is T e2u
  • the time of the third ESC module is T e3u
  • the time of the fourth ESC module is T e4u
  • the time of the smart battery module is T bu
  • the time of the ultrasound module is T su
  • the time of the flight control module is T fu
  • the time of the aircraft image transmission ontology module is T au .
  • T 2 T 2t + T mu + T iu + T e1u + T e2u + T e3u + T e4u + T bu + T su + T fu + T au .
  • the ground image transmission upgrade package is read from the storage device through the camera module, and then sent to the aircraft image transmission module through the network, and stored in the flash of the aircraft image transmission module, and then sent to the ground image transmission module through the wireless network, and saved to In the flash of the ground image transmission module, it is sent to the remote control MCU module through the serial port 3 for upgrading.
  • the required time is T 4t and the upgrade time is T 4u .
  • T 1t 100s
  • T 1u 160s
  • T 2t 100s
  • T mu 160s
  • T iu + T e1u + T e2u + T e3u + T e4u + T bu + T su + T fu + T au 160s
  • T 3t 100s
  • T ru + T gu 160s
  • T 4t 60s
  • T 4u 60s
  • the T 3all 1060s.
  • the at least two module groups to be upgraded include the remote control panel module.
  • the upgrade progress is displayed by a remote control panel module of a remote control device in the UAV system. Therefore, the remote control panel module is finally upgraded.
  • the module to be upgraded in the module group to be upgraded according to the upgrade package includes module upgrade. After the remote control panel module determines that the other modules to be upgraded in the at least two module groups to be upgraded have been upgraded, The upgrade is performed according to the upgrade package corresponding to the remote control panel module.
  • the module upgrade process in the drone system can be divided into three parts: 1, 4 upgrade packages are transferred from a storage device such as an SD card in parallel to the flash memory of each module group to be upgraded. Process in the camera; 2. Parallel upgrade process of the modules to be upgraded in the camera upgrade module group, the modules to be upgraded in the aircraft image transmission upgrade module group and the modules to be upgraded in the ground image transmission upgrade module group; 3. Remote control panel upgrade module The process of upgrading the modules in the group.
  • the transfer of 4 upgrade packages to the flash of the corresponding module group to be upgraded is a parallel transmission process. Since the camera upgrade module group is directly connected to the storage device, the camera upgrade package is transferred first, and the storage device The upgrade package is read and distributed through the camera upgrade module group, so the camera upgrade module group must wait for the transfer of other upgrade packages to complete before upgrading. Others, such as the aircraft image transmission upgrade module group, have a similar situation, so after all transmission is completed, the parallel upgrade process can be unified.
  • the parallel upgrade process is a camera upgrade package, an airplane image transmission upgrade package, and a ground image transmission upgrade package.
  • the camera module upgrade time is T 1u .
  • the aircraft image transmission module is connected to the vision module through serial port 1 and the gimbal module is connected through serial port 2, and the modules to be upgraded connected to serial port 1 and serial port 2 are in parallel upgrade mode.
  • the time taken to upgrade the vision module is T mu. Because the upgrade of the module to be connected connected to the serial port 2 involves a large amount of data interaction, it can only be made in a serial manner, that is, the PTZ module and 4 ESC modules, and smart battery.
  • the module, ultrasonic module, flight control module, and aircraft image transmission body module are connected in series.
  • the time required for all modules to be upgraded in the aircraft image transmission upgrade module to complete the module upgrade takes the maximum value of T 22 and T mu max (T iu + T e1u + T e2u + T e3u + T e4u + T bu + T su + T fu + T au , T mt ⁇ . It takes time for Tru + T gu to complete the ground image transmission module.
  • T u max ⁇ T 1u , max ⁇ T iu + T e1u + T e2u + T e3u + T e4u + T bu + T su + T fu + T au , T mt ⁇ , T ru + T gu ⁇
  • T 4all max ⁇ T 1t , T 2t , T 3t , T 4t ⁇ +
  • the module upgrade method of the embodiment of the present invention can effectively reduce the module upgrade time in the UAV system and improve the upgrade efficiency.
  • determining the upgrade progress according to the transmission status of the at least two upgrade packages and the upgrade status of each of the at least two upgrade module groups to be upgraded includes: when the at least two upgrade packages are in When transmitting in the at least two module groups to be upgraded, the transmission duration of the at least two upgrade packages is determined; and an upgrade progress is determined according to a ratio between the transmitted duration and a preset total upgrade duration.
  • the transmission of the at least two upgrade packages is completed, and the at least two module groups to be upgraded are in an upgrade phase, determining a length of time for completing the upgrade of the upgrade modules in the at least two module groups to be upgraded; A ratio between the duration of the time and the preset total upgrade duration determines the upgrade progress.
  • the upgrade progress percentage is used to indicate the upgrade progress.
  • the denominator of the upgrade progress percentage is the total upgrade time, that is, the preset total upgrade time.
  • the numerator of the upgrade progress percentage denominator has different solutions according to the transmission situation and the upgrade situation.
  • the transmitted duration is determined based on the total file transfer percentage. For example, if the size of the total capacity of the four upgrade packages is S and the size of the transferred file is S 0 , then the upgrade progress is determined according to the ratio of the transferred duration and the preset total upgrade duration:
  • the preset total upgrade duration can be customized or evaluated based on past experience. In the case of time, the preset total upgrade time is usually evaluated based on past experience. In order to determine the upgrade progress more accurately, the upgrade time of the upgraded module and the estimated time of the upgrade of the non-upgraded module can be used to calculate the upgrade in real time. Progress to modify the preset total upgrade duration.
  • a first message identifying the module to be upgraded is sent, and after the upgrade of the module to be upgraded is completed, a second message indicating that the upgrade of the module to be upgraded is sent, so that The actual upgrade time of the module to be upgraded is determined by the time when the first message and the second message are sent, so as to modify the preset total upgrade time.
  • correcting the preset total upgrade duration includes: when there is a module to be upgraded connected in a serial interface manner in the at least two modules to be upgraded, performing an update on all the modules according to the upgrade time of the modules to be upgraded that have completed the upgrade. Modify the preset total upgrade duration.
  • the modules connected to serial port 2 are used as an example for description.
  • the module currently being upgraded is a smart battery module.
  • the current upgrade time of the smart battery module is t.
  • the time taken to upgrade the PTZ module in front of the smart battery module is T iu ′.
  • 4 ESC modules are upgraded.
  • the elapsed time is T e1u ′, T e2u ′, T e3u ′, T e4u ′, then the revised time progress is:
  • the remote control panel module of the remote control device in the drone system displays the upgrade progress in real time.
  • the upgrade progress can be displayed in an upgrade bar or other upgrade forms.
  • the steps 406-407 may not be mandatory steps in different embodiments.
  • a person of ordinary skill in the art according to the embodiments of the present invention It can be understood that in different embodiments, the steps 401-407 may have different execution orders without conflict.
  • the storage device transmits at least two upgrade packages to at least two module groups to be upgraded.
  • the modules to be upgraded in the module group to be upgraded may be The upgrade package is used to generate modules instead of upgrading one by one, thereby reducing the module upgrade time in the drone system and improving the upgrade efficiency.
  • the upgrade progress is calculated in real time according to the time taken for the upgrade of the upgraded module and the estimated time for the upgrade of the non-upgraded module to improve the determination. Accuracy of upgrade progress.
  • the present invention also provides a drone system, the drone system includes a storage device, at least two module groups to be upgraded, at least one processor, and a communication connection with the at least one processor. Memory.
  • each of the at least two modules to be upgraded includes at least one module to be upgraded
  • the storage device includes at least two upgrade packages, and each upgrade package corresponds to one module to be upgraded
  • the memory An instruction executable by the at least one processor is stored, and the instruction is executed by the at least one processor, so that the at least one processor can execute the method in the foregoing embodiment.
  • the embodiments can be implemented by means of software plus a general hardware platform, and of course, can also be implemented by hardware.
  • the program can be stored in a computer-readable storage medium, and the program is being executed. In this case, the process of the embodiment of each method may be included.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random, Access Memory, RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

一种无人机系统中的模块升级方法和无人机系统,其中,无人机系统(100)包括存储装置和至少两个待升级模块组,至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,存储装置包括至少两个升级包,每个升级包对应一个待升级模块组,无人机系统中的模块升级方法包括:存储装置向至少两个待升级模块组传输至少两个升级包;至少两个待升级模块组中的待升级模块组接收对应的升级包;待升级模块组中的待升级模块根据升级包进行模块升级。通过无人机系统中的模块升级方法,可以降低无人机系统中的模块升级的时间,提高升级效率。

Description

一种无人机系统中的模块升级方法和无人机系统
申请要求于2018年6月29日申请的、申请号为201810697855.2、申请名称为“一种无人机系统中的模块升级方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明实施例涉及无人机技术领域,尤其涉及一种无人机系统中的模块升级方法和无人机系统。
背景技术
为了更好的满足用户的需求或提高稳定性等,往往需要定期或不定期的对无人机系统中的模块进行升级。通常无人机系统中包含有多个模块,例如,在无人机系统的飞机侧有相机模块、云台模块、视觉模块、4个电调模块、智能电池模块、超声模块、飞控模块、飞机图传模块等;在无人机系统的地面侧有遥控单片机模块、地面图传模块、遥控面板模块等。并且,各个模块都是独立的硬件和软件系统,之间通过串口或者网络连接。对无人机系统中的模块进行升级也即对无人机系统中的各个模块进行升级。
而目前一般采用逐个模块依次升级的方式对无人机系统中的模块进行升级。具体的,存储有升级包的存储装置向无人机系统中的模块发送对应的升级包,待该模块根据升级包升级结束后,再依次向下一个模块发送对应的升级包,直至无人机系统中的所有模块升级完成。
在实现本发明的过程中,发明人发现相关技术至少存在以下问题:由于无人机系统中的模块众多,采用逐个模块依次升级的方式对无人机 系统中的模块进行升级,需要耗费很长的时间,升级效率低。
发明内容
本申请实施例提供一种无人机系统中的模块升级方法,可以降低无人机系统中的模块升级的时间,提高升级效率。
本发明实施例公开了如下技术方案:
本发明实施例提供了一种无人机系统中的模块升级方法,所述无人机系统包括存储装置和至少两个待升级模块组,所述至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,所述存储装置包括至少两个升级包,每个升级包对应一个待升级模块组,所述方法包括:
所述存储装置向所述至少两个待升级模块组传输至少两个升级包;
所述至少两个待升级模块组中的待升级模块组接收对应的升级包;
所述待升级模块组中的待升级模块根据所述升级包进行模块升级。
在一些实施例中,所述存储装置向所述至少两个待升级模块组传输至少两个升级包,包括:
所述存储装置一次向所述至少两个待升级模块组中的一个待升级模块组传输至少两个升级包,并通过所述待升级模块组将所述至少两个升级包传输至所述至少两个待升级模块组中的其他待升级模块组中。
在一些实施例中,所述至少两个待升级模块组中的待升级模块组接收对应的升级包,包括:
所述至少两个待升级模块组中的待升级模块组接收所述至少两个升级包中的部分或全部升级包;
所述待升级模块组从接收到的所述部分或全部升级包中获取所述各待升级模块组对应的升级包。
在一些实施例中,所述至少两个待升级模块组中的待升级模块组包括一级待升级模块;所述至少两个待升级模块组中的待升级模块组接收对应的升级包,包括:
所述一级待升级模块接收所述待升级模块组对应的升级包。
在一些实施例中,所述至少两个待升级模块组中的待升级模块还包括二级待升级模块,所述方法还包括:
所述一级待升级模块将所述待升级模块组对应的升级包拆分为所述待升级模块组中的各待升级模块对应的子升级包;
所述一级待升级模块将所述待升级模块组中的二级待升级模块对应的子升级包传输至所述二级待升级模块;
所述待升级模块组中的待升级模块根据所述升级包进行模块升级,包括:
所述待升级模块组中的待升级模块根据对应的子升级包进行模块升级。
在一些实施例中,所述二级待升级模块的数量为至少两个,至少两个二级待升级模块之间通过串行接口方式连接;
其中,所述一级待升级模块将所述待升级模块组中的二级待升级模块对应的子升级包传输至所述二级待升级模块,包括:
所述一级待升级模块按照连接顺序依次向所述至少两个二级待升级模块中的一个二级待升级模块传输对应的子升级包,并在所述二级待升级模块根据对应的子升级包升级完成后,向下一个二级待升级模块传输对应的子升级包。
在一些实施例中,所述方法还包括:
根据所述至少两个升级包的传输情况和所述至少两个待升级模块组中各待升级模块组的升级情况,确定升级进度;
显示所述升级进度。
在一些实施例中,所述根据所述至少两个升级包的传输情况和所述至少两个待升级模块组中各待升级模块组的升级情况,确定升级进度,包括:
当所述至少两个升级包在所述至少两个待升级模块组中传输时,确 定所述至少两个升级包已传输时长;
根据所述已传输时长和预设的总升级时长的比值,确定升级进度。
在一些实施例中,所述根据所述至少两个升级包的传输情况和所述至少两个待升级模块组中各待升级模块组的升级情况,确定升级进度,包括:
当所述至少两个升级包传输完成,所述至少两个待升级模块组处于升级阶段时,确定所述至少两个待升级模块组中升级模块升级完成的时长;
根据所述升级模块升级完成的时长和所述预设的总升级时长的比值,确定升级进度。
在一些实施例中,所述升级进度是由所述无人机系统中的遥控设备的遥控面板模块显示的。
在一些实施例中,所述至少两个待升级模块组包括所述遥控面板模块,所述待升级模块组中的待升级模块根据所述升级包进行模块升级,包括:
所述遥控面板模块在确定所述至少两个待升级模块组中的其他待升级模块均已升级完成后,根据所述遥控面板模块对应的升级包进行升级。
一种无人机系统,包括存储装置和至少两个待升级模块组,所述至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,所述存储装置包括至少两个升级包,每个升级包对应一个待升级模块组;
至少一个处理器;以及
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述方法。
本发明实施例,存储装置向至少两个待升级模块组传输至少两个升 级包,在待升级模块组接收到对应的升级包后,待升级模块组中的待升级模块便可根据对应的升级包进行模块生成,而非逐个模块依次升级,从而降低无人机系统中的模块升级的时间,提高升级效率。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他实施例的附图。
图1是本发明实施例提供的一种无人机系统中的模块升级方法的应用环境的示意图;
图2是本发明实施例提供的一种无人机系统中的模块升级方法的流程示意图;
图3是本发明实施例提供的待升级模块组示意图;
图4是本发明实施例提供的另一种无人机系统中的模块升级方法的流程示意图;
图5是本发明实施例提供的升级包传输示意图;
图6是目前采用的逐个模块依次升级的方式的升级包传输示意图;
图7是本发明实施例提供的串口2连接的模块的示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
此外,下面所描述的本发明各个实施方式中所涉及到的技术特征只 要彼此之间未构成冲突就可以相互组合。
图1是本发明实施例提供的无人机系统中的模块升级方法的其中一种应用环境的示意图。其中,该应用环境中包括:无人机系统100。该无人机系统100包括无人机10以及遥控设备20。在无人机系统100中的模块进行升级时,该无人机10与遥控设备20建立连接,以便实现对无人机系统100进行升级,进一步地,可以在遥控设备20的遥控面板模块显示升级进度。
其中,该无人机系统100中包括有存储装置和至少两个待升级模块组。所述至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,所述存储装置包括至少两个升级包,每个升级包对应一个待升级模块组,升级包用于对对应的待升级模块组中的待升级模块进行模块升级。
一种实现方式中,对于无人机系统100的无人机10来说,该无人机10中的待升级模块组可以包括相机升级模块组、飞机图传升级模块组等。其中,相机升级模块组包括的待升级模块有相机升级模块;飞机图传升级模块组包括的待升级模块有视觉模块、云台模块、4个电调模块、智能电池模块、超声模块、飞控模块、飞机图传模块等。当然,无人机10中的各升级模块可以依据其他分组方式,组成至少两个待升级模块组。例如,各升级模块可以依据相互之间的连接关系,相互之间的功能关联程度等因素,组成至少两个待升级模块组。
一种实现方式中,对于无人机系统100的遥控设备20来说,该遥控设备20包括地面图传升级模块组及遥控面板升级模块组等。其中,地面图传升级模块组包括的待升级模块有遥控单片机模块、地面图传模块;遥控面板升级模块组包括的待升级模块有遥控面板模块等。当然,遥控设备20中的各升级模块可以依据其他分组方式,组成至少两个待升级模块组。例如,各升级模块可以依据相互之间的连接关系,相互之间的功能关联程度等因素,组成至少两个个待升级模块组。
存储装置可以固定设置在无人机系统100的无人机10上,或者存储装置可以与无人机系统100的无人机10进行可插拔式地连接。例如,无人机10设置有用于容置存储装置的接口,该存储装置可以容置于该接口中,并通过该接口与无人机10的待升级模块组中待升级模块实现通信连接,以便将存储于存储装置的升级包传输至待升级模块组。
在此,存储装置可以是易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM),如静态随机存取存储器(英文:static random-access memory,缩写:SRAM),双倍数据率同步动态随机存取存储器(英文:Double Data Rate Synchronous Dynamic Random Access Memory,缩写:DDR SDRAM)等;存储装置也可以是非易失性存储器(英文:non-volatile memory),例如快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);存储装置还可以包括上述种类的存储器的组合。
其中,至少两个升级包可以预存至存储装置中,或者,至少两个升级包可以是存储装置通过与终端设备或服务器连接实时获得的。例如,终端设备或服务器向存储装置传输升级包的传输的方式可以包括:当存储装置固定设置在无人机10中时,终端设备或服务器可以通过无线连接方式,将升级包发送至存储装置中;或者,终端设备或服务器通过有线连接方式,将升级包写入存储装置中。
存储装置在获得升级包后,可以对其进行存储。当无人机系统100需要进行升级时,无人机系统100中的待升级模块组可以调用存储装置中的升级包,或者,无人机系统100可以触发存储装置向待升级模块组传输升级包,在此不予限定。
本申请实施例中,无人机10可以包括:固定翼无人机、多旋翼无人机等。在此,无人机可以是指无人飞行器(Unmanned Aerial Vehicle,UAV)。在一些其它实施例中,还可以是其他飞行器,如无人船等。
遥控设备20可以为任何合适的具有遥控功能的设备,如遥控器等。
存储装置可以为任意具备存储功能的装置,其可以内置于无人机10内,或者是可移动地,如SD卡等。存储装置用于存储对无人机系统100中的模块进行升级的升级包。终端设备可以包括智能手机、个人电脑、可穿戴智能设备等终端设备。一种实现方式中,终端设备可以通过与服务器连接,获取无人机系统100的升级包。
为了使得无人机系统100可以更好的满足用户的需求或者提高无人机系统100的稳定性,通常需要对无人机系统100中的模块进行模块升级,也即对无人机系统100的待升级模块组中的待升级模块进行模块升级,以优化无人机系统100的功能,让用户能有更好的体验。而由于无人机系统中的模块众多,目前采用逐个模块依次升级的方式对无人机系统中的模块进行升级,需要耗费很长的时间,升级效率低。
基于上述问题,结合上述应用场景,本发明实施例主要目的在于提供一种无人机系统中的模块升级方法,可以降低无人机系统中的模块升级的时间,提高升级效率。
下面结合附图,对本发明实施例作进一步阐述。
实施例1:
图2为本发明实施例提供的一种无人机系统中的模块升级方法的流程示意图。该方法可用于对无人机系统中的模块进行升级。其中,该无人机系统包括存储装置和至少两个待升级模块组,所述至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,所述存储装置包括至少两个升级包,每个升级包对应一个待升级模块组。
参照图2,所述无人机系统中的模块升级方法包括:
201:所述存储装置向所述至少两个待升级模块组传输至少两个升级包。
无人机系统中可以包括至少两个待升级模块组。例如,如图3所示, 所述至少两个待升级模块组包括有:相机升级模块组、飞机图传升级模块组、地面图传升级模块组、遥控面板升级模块组等。由于每个升级包对应一个待升级模块组,相应地,所述存储装置包括至少两个升级包有:相机升级包、飞机图传升级包、地面图传升级包、遥控面板升级包等。
存储装置可以在接收到至少两个待升级模块组的调用或读取升级包的指令后,向至少两个待升级模块组传输升级包。其中,无人机系统中的任意一个待升级模块可以通过通信链路向存储装置发送调用或读取升级包的指令。例如,存储装置可以接收与其直接连接的相机模块的调用或读取升级包指令,以传输升级包。例如,存储装置可以一次将相机升级包、飞机图传升级包、地面图传升级包、遥控面板升级包全部传输至至少两个待升级模块组。或者,存储装置可以一次将相机升级包、飞机图传升级包、地面图传升级包、遥控面板升级包中的至少两个升级包传输至所述至少两个待升级模块组。
一种实现方式中,所述存储装置向所述至少两个待升级模块组传输至少两个升级包,可以首先向至少两个待升级模块组中与存储装置直接连接,或者具有连接通路的待升级模块组传输这至少两个升级包,该待升级模块组接收至少两个升级包中与其对应的升级包,并可以将剩余的升级包通过通信链路传输至其他待升级模块组中,直至存储装置传输的所有升级包传输至对应的待升级模块组中。
所述至少两个待升级模块组中的待升级模块组接收所述至少两个升级包中的部分或全部升级包;所述待升级模块组从接收到的所述部分或全部升级包中获取所述各待升级模块组对应的升级包。
以图3中的待升级模块组为例,并结合图6中各待升级模块组的连接方式进行举例说明。由于相机升级模块组直接与存储装置通信连接,因此,存储装置最先将相机升级包、飞机图传升级包、地面图传升级包、遥控面板升级包传输至相机升级模块组的存储器中,如相机升级模块组的Flash闪存中。然后,通过相机升级模块组将除相机升级包之外的其 他升级包,也即飞机图传升级包、地面图传升级包、遥控面板升级包传输至对应的待升级模块组中,如待升级模块组的Flash闪存中。
或者,所述存储装置向所述至少两个待升级模块组传输至少两个升级包,可以首先向至少两个待升级模块组中与存储装置直接连接,或者具有连接通路的待升级模块组传输这至少两个升级包,并由该待升级模块组分发接收到的至少两个升级包直至各待升级模块组接收到各自对应的升级包。
以图3中的待升级模块组为例,并结合图6中各待升级模块组的连接方式进行举例说明。存储装置可以将相机升级包、飞机图传升级包、地面图传升级包、遥控面板升级包传输至相机升级模块组中,相机升级模块组将遥控面板升级包通过飞机图传模块、地面图传模块传输至遥控面板升级模块组中,再依次传输地面图传升级包和飞机图传升级包。直至相机中仅存储有相机升级包。
对于各个待升级模块组来说,可以等到升级包传输完成后,即各待升级模块组均接收到升级包后,再统一进行升级。
例如,相机升级模块组最先接收到相机升级包,相机升级模块组可以等到其他待升级模块组所对应的升级包传输完成后再进行后续的模块升级。
或者,待升级模块组可以在接收到对应的升级包后,即可利用对应的升级包进行升级。
例如,遥控面板模块组在接收到对应的升级包后,即可以进行升级。
202:所述至少两个待升级模块组中的待升级模块组接收对应的升级包。
以图3中的待升级模块组为例,相机升级模块组接收相机升级包,飞机图传升级模块组接收飞机图传升级包,地面图传升级模块组接收地面图传升级包,遥控面板升级模块组接收遥控面板升级包。
具体的,所述至少两个待升级模块组中的待升级模块组接收对应的 升级包,包括:所述至少两个待升级模块组中的待升级模块组接收所述至少两个升级包中的部分或全部升级包;所述待升级模块组从接收到的所述部分或全部升级包中获取所述各待升级模块组对应的升级包。例如,对应相机升级模块组来说,其接收至少两个升级包中的全部升级包,也即相机升级包、飞机图传升级包、地面图传升级包、遥控面板升级包;对于除相机升级模块组之外的待升级模块组从接收到的部分升级包中获取其所对应的升级包,例如,飞机图传升级模块组从接收到的飞机图传升级包获取该飞机图传升级包。
203:所述待升级模块组中的待升级模块根据所述升级包进行模块升级。
在所述至少两个待升级模块组中的待升级模块组接收对应的升级包后,待升级模块组中的待升级模块便可根据其所对应的升级包进行模块升级。与目前的采用逐个模块依次升级的方式对无人机系统中的模块进行升级相比,本实施例的升级方法可以有效的降低无人机系统中的模块升级的时间,提高升级效率。
例如,以图3中的待升级模块组为例,对于采用逐个模块依次升级的方式对无人机系统中的模块进行升级所需的总时间T 1all为:T 1all=T 1+T 2+T 3+T 4,其中T 1=T 1t+T 1u,T 2=T 2t+T 2u,T 3=T 3t+T 3u,T 4=T 4t+T 4u。T 1为相机升级模块组升级的总时间,T 1t为相机升级包传输的时间,T 1u为相机升级模块组中的待升级模块所需的升级时间;T 2为飞机图传升级模块组升级的总时间,T 2t为飞机图传升级包传输的时间,T 2u为飞机图传升级模块组中的待升级模块所需的升级时间;T 3为地面图传升级模块组升级的总时间,T 3t为地面图传升级包传输的时间,T 3u为地面图传升级模块组中的待升级模块所需的升级时间;T 4为遥控面板升级模块组升级的总时间,T 4t为遥控面板升级包传输的时间,T 4u为遥控面板升级模块组中的待升级模块所需的升级时间。
而在本实施例中,对无人机系统中的模块进行升级所需的总时间 T 2all为:T 2all=T 2t_all+T 2u_all,其中,相机升级包、飞机图传升级包、地面图传升级包、遥控面板升级包传输的总时间T 2t_all为:T 2t_all=max{T 1t,T 2t,T 3t,T 4t},相机升级模块组中的待升级模块、飞机图传升级模块组中的待升级模块、地面图传升级模块组中的待升级模块、遥控面板升级模块组中的待升级模块升级的总时间T 2u_all为:T 2u_all=max{T 1u,T 2u,T 3u,T 4u}。
假设,相机升级包传输的时间T 1t=100s,相机升级模块组中的待升级模块所需的升级时间T 1u=160s,飞机图传升级包传输的时间T 2t=100s,飞机图传升级模块组中的待升级模块所需的升级时间T 2u=160s,地面图传升级包传输的时间T 3t=100s,地面图传升级模块组中的待升级模块所需的升级时间T 3u=160s,遥控面板升级包传输的时间T 4t=60s,遥控面板升级模块组中的待升级模块所需的升级时间T 4u=60s。则采用逐个模块依次升级的方式对无人机系统中的模块进行升级所需的总时间T 1all=900s,而采用本发明实施例的方法对无人机系统中的模块进行升级所需的总时间T 2all=260s,因此,说明本实施了的模块升级方法可以有效降低无人机系统中的模块升级的时间,提高升级效率。
在一些实施例中,考虑到用户界面上的体验,也即为了便于用户实时了解模块的升级进度,可以由所述无人机系统中的遥控面板升级模块组中的待升级模块显示该升级进度。此时,由于需要为用户提供模块的升级进度,因此,遥控面板升级模块组中的待升级模块最后进行模块升级。在该情况下,相机升级模块组中的待升级模块、飞机图传升级模块组中的待升级模块、地面图传升级模块组中的待升级模块、遥控面板升级模块组中的待升级模块升级的总时间T 2u_all=max{T 1u,T 2u,T 3u}+T 4u,则T 2all=320s。即便考虑到显示升级进度,其所需的总时间还是小于采用目前的升级方式进行模块升级的总时间。
在本发明实施例中,存储装置向至少两个待升级模块组传输至少两个升级包,在待升级模块组接收到对应的升级包后,待升级模块组中的 待升级模块便可根据对应的升级包进行模块生成,而非逐个模块依次升级,从而降低无人机系统中的模块升级的时间,提高升级效率。
实施例2:
图4为本发明实施例提供的另一种无人机系统中的模块升级方法的流程示意图。该方法可用于对无人机系统中的模块进行升级。其中,该无人机系统包括存储装置和至少两个待升级模块组,所述至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,所述存储装置包括至少两个升级包,每个升级包对应一个待升级模块组。
参照图4,所述无人机系统中的模块升级方法包括:
401:所述存储装置向所述至少两个待升级模块组传输至少两个升级包。
402:所述至少两个待升级模块组中的待升级模块组接收对应的升级包。
需要说明的是,上述步骤401-402分别与如图2所示的无人机系统中的模块升级方法中的步骤201-202具有相同的技术特征,因此,其具体实施方式可以参考上述实施例的步骤201-202中相应的描述,在本实施例中便不再赘述。
在本实施例中,所述述至少两个待升级模块组中的待升级模块组接收对应的升级包,还包括:所述至少两个待升级模块组中的待升级模块组中的一级待升级模块接收所述待升级模块组对应的升级包。如图5所示,所述至少两个待升级模块组包括有:相机升级模块组、飞机图传升级模块组、地面图传升级模块组、遥控面板升级模块组。以上待升级模块组中的待升级模块包括有一级待升级模块与二级待升级模块。以飞机图传升级模块组为例,飞机图传模块为一级升级模块;视觉模块、云台模块、4个电调模块、智能电池模块、超声模块、飞控模块、飞机图传本体模块为二级升级模块。
403:所述一级待升级模块将所述待升级模块组对应的升级包拆分为所述待升级模块组中的各待升级模块对应的子升级包。
当所述待升级模块组包括至少两个待升级模块时,待升级模块中的以及待升级模块对接收到的与其对应的升级包进行拆分。以图5为例,飞机图传模块将飞机图传升级包拆分为视觉模块子升级包、云台模块子升级包、4个电调模块子升级包、智能电池模块子升级包、超声模块子升级包、飞控模块子升级包、飞机图传本体模块子升级包。地面图传模块将地面图传升级包拆分为遥控单片机模块子升级包及地面图传本体模块子升级包。
404:所述一级待升级模块将所述待升级模块组中的二级待升级模块对应的子升级包传输至所述二级待升级模块。
一种实现方式中,所述二级待升级模块的数量为至少两个,至少两个二级待升级模块之间通过串行接口方式连接。
所述一级待升级模块将所述待升级模块组中的二级待升级模块对应的子升级包传输至所述二级待升级模块,包括:所述一级待升级模块按照连接顺序依次向所述至少两个二级待升级模块中的一个二级待升级模块传输对应的子升级包,并在所述二级待升级模块根据对应的子升级包升级完成后,向下一个二级待升级模块传输对应的子升级包。
例如,飞机图传模块通过串口1连接视觉模块,通过串口2连接云台模块,飞机图传模块可以通过串口1向视觉模块传输视觉模块对应的子升级包,可以通过串口2向其他模块传输对应的子升级包。由于串口1与串口2相互独立,因此,视觉模块与飞机图传升级模块组中的其他模块实现并行升级。当云台模块与4个电调模块、智能电池模块、超声模块、飞控模块、飞机图传本体模块通过串行方式连接时,飞机图传模块依次向云台模块与4个电调模块、智能电池模块、超声模块、飞控模块、飞机图传本体模块传输对应的子升级包,并在一个模块通过对应的子升级包实现升级后,再向下一个模块传输对应的子升级包。
示例性地,飞机图传模块可以按照各模块的连接顺序,依次传输各模块的对应子升级包。其中,飞机图传模块可以按照连接顺序由远及近或由近及远的顺序依次传输。例如,飞机图传模块可以首先传输云台模块对应的子升级包,在云台模块根据云台模块子升级包升级完成后,向云台模块的下一个二级待升级模块,如4个电调模块传输对应的子升级包,以便4个电调模块完成模块升级,并依次类推。或者,飞机图传模块首先传输飞控模块对应的子升级包,在飞控模块根据对应的子升级包升级完成后,向云台模块的下一个二级待升级模块,如超声模块传输对应的子升级包。
当然,飞机图传模块还可以按照用户需求或规则依次传输各模块的对应子升级包,在此不予限定。
405:所述待升级模块组中的待升级模块根据所述升级包进行模块升级。
其中,所述待升级模块组中的待升级模块根据所述升级包进行模块升级,包括:所述待升级模块组中的待升级模块根据对应的子升级包进行模块升级。
通过本发明实施例的升级方法,可以降低无人机系统中的模块升级的时间,提高升级效率。
下面结合如5和图6对本发明实施例的无人机系统中的模块升级方法减低升级时间进行具体说明。其中,图5为本发明实施例提供的无人机系统中的模块升级方法的升级包传输示意图,图6为目前的升级方法的升级包传输示意图。
如图6所示,无人机系统分为4个网络节点,相机模块和飞机图传模块通过以太网连接,飞机图传模块与地面图传模块通过无线网络连接,地面图传模块通过以太网与遥控面板模块连接,这几个模块之间通过网络协议进行互通。飞机图传模块通过串口1与视觉模块进行通信,通过串口2与云台模块、电调模块、智能电池模块、超声模块、飞控模块进 行通信,地面图传模块通过串口3与遥控单片机模块进行通信。
为了方便网络传输,需要4个独立的升级包:相机升级包、飞机图传升级包(包括视觉子升级包、云台子升级包、电调子升级包、智能电池子升级包、超声子升级包、飞控子升级包、飞机图传本体子升级包)、地面图传升级包(包括遥控单片机子升级包、飞机图传本体子升级包)、遥控面板升级包。
相机升级包,从存储装置如SD卡直接传输到相机模块即可直接升级,假设传输时间为T 1t,升级时间为T 1u,则相机模块升级总时间为T 1=T 1t+T 1u
飞机图传升级包,从存储装置通过相机模块读取到,然后通过网络发送到飞机图传模块,并存到它的Flash中(假设时间为T 2t),再通过串口发送到各个模块进行升级,假设串口1传输与视觉模块升级所花时间为T mu,类似的,云台模块的时间为T iu,第一个电调模块的时间为T e1u,第二个电调模块的时间为T e2u,第三个电调模块的时间为T e3u,第四个电调模块的时间为T e4u,智能电池模块的时间为T bu,超声模块的时间为T su,飞控模块的时间为T fu,飞机图传本体模块的时间为T au。则飞机图传模块升级总时间为T 2=T 2t+T mu+T iu+T e1u+T e2u+T e3u+T e4u+T bu+T su+T fu+T au
地面图传升级包,从存储装置通过相机模块读取到,然后通过网络发送到飞机图传模块,并存到飞机图传模块的Flash中、然后在通过无线网络发送到地面图传模块,并存到地面图传模块的Flash中,再通过串口3发送到遥控单片机模块进行升级。假设传输到地面图传模块的Flash中所花时间为T 3t,遥控单片机模块升级的时间为T ru,地面图传本体模块升级的时间为T gu。则地面图传模块升级总时间为T 3=T 3t+T ru+T gu
遥控面板升级包,从存储装置到飞机图传模块再中转到地面图传模块,最后到遥控面板模块的Flash中,所需时间为T 4t,升级时间为T 4u。则遥控面板模块升级总时间为T 4=T 4t+T 4u
则按照上述方式,对无人机系统中的所有待升级模块升级完毕,需 要的总体时间为:
T 3all=T 1+T 2+T 3+T 4=T 1t+T 1u+T 2t+T mu+T iu+T e1u+T e2u+T e3u+T e4u+T bu+T su+T fu+T au+T 3t+T ru+T gu+T 4t+T 4u
假设,T 1t=100s、T 1u=160s、T 2t=100s、T mu=160s、T iu+T e1u+T e2u+T e3u+T e4u+T bu+T su+T fu+T au=160s、T 3t=100s、T ru+T gu=160s、T 4t=60s、T 4u=60s,则T 3all=1060s。
所述至少两个待升级模块组包括所述遥控面板模块。由于为了便于用户实时了解升级进度,而该升级进度是由所述无人机系统中的遥控设备的遥控面板模块显示的。因此,遥控面板模块最后进行模块升级。所述待升级模块组中的待升级模块根据所述升级包进行模块升级,包括:所述遥控面板模块在确定所述至少两个待升级模块组中的其他待升级模块均已升级完成后,根据所述遥控面板模块对应的升级包进行升级。
如图5所示,本发明实施例的无人机系统中的模块的升级过程可以分为三大部分:1、4个升级包从存储装置如SD卡并行传输到各个待升级模块组的Flash中的过程;2、相机升级模块组中的待升级模块、飞机图传升级模块组中的待升级模块和地面图传升级模块组中的待升级模块的并行升级过程;3、遥控面板升级模块组中的待升级模块升级过程。
1)4个升级包传输到对应的待升级模块组的Flash中是一个并行传输的过程,由于相机升级模块组直接与存储装置通信连接,相机升级包是最先传输完的,而存储装置中升级包是通过相机升级模块组读取并分发出去的,所以相机升级模块组必须等待其他升级包传输完毕才能升级。其他的比如飞机图传升级模块组也是类似情况,故需要全部传输完毕之后,才能统一进入并行升级流程。传输过程所需要的总时间T 4t_all就是取T 1t、T 2t、T 3t、T 4t的最大值,也即T 4t_all=max{T 1t,T 2t,T 3t,T 4t}。
2)并行升级过程是相机升级包、飞机图传升级包、地面图传升级包并行进行升级。相机模块升级时间为T 1u。飞机图传模块通过串口1连接视觉模块,通过串口2连接云台模块,并且,串口1与串口2连接的 待升级模块为并行升级方式。视觉模块升级所花时间为T mu由于串口2连接的待升级模块的升级中会涉及大量数据交互,故只能做成串行的方式,也即云台模块与4个电调模块、智能电池模块、超声模块、飞控模块、飞机图传本体模块通过串行方式连接,它所需的升级时间为:T 22=T iu+T e1u+T e2u+T e3u+T e4u+T bu+T su+T fu+T au。飞机图传升级模块中的所有待升级模块完成模块升级所需要时间取T 22和T mu的最大值max{T iu+T e1u+T e2u+T e3u+T e4u+T bu+T su+T fu+T au,T mt}。地面图传模块全部升完需要时间为T ru+T gu
因此,第二升级过程所需的时间为:
T u=max{T 1u,max{T iu+T e1u+T e2u+T e3u+T e4u+T bu+T su+T fu+T au,T mt},T ru+T gu}
3)由于遥控面板模块显示上升级进度,故遥控面板模块最后才进行升级,它的时间为T 4u
综上,本发明实施例对无人机系统的模块进行升级的总体升级时间为T 4all=T 4t_all+T u+T 4u,即为:
T 4all=max{T 1t,T 2t,T 3t,T 4t}+
{max{T 1u,max{T iu+T e1u+T e2u+T e3u+T e4u+T bu+T su+T fu+T au,T mt},T ru+T gu}+T 4u
与上述假设相同,则可以得到max{T 1t,T 2t,T 3t,T 4t}=100s;max{160s,max{160s,160s},160s}=160s;则总时间T 4all=320s。
因此,采用本发明实施例的模块升级方法可以有效降低无人机系统中的模块升级的时间,提高升级效率。
406:根据所述至少两个升级包的传输情况和所述至少两个待升级模块组中各待升级模块组的升级情况,确定升级进度。
其中,所述根据所述至少两个升级包的传输情况和所述至少两个待升级模块组中各待升级模块组的升级情况,确定升级进度,包括:当所述至少两个升级包在所述至少两个待升级模块组中传输时,确定所述至少两个升级包已传输时长;根据所述已传输时长和预设的总升级时长的比值,确定升级进度。当所述至少两个升级包传输完成,所述至少两个待升级模块组处于升级阶段时,确定所述至少两个待升级模块组中升级 模块升级完成的时长;根据所述升级模块升级完成的时长和所述预设的总升级时长的比值,确定升级进度。
具体的,采用升级进度百分比表示升级进度,升级进度百分比的分母为升级总时间,也即预设的总升级时长,升级进度百分比的分母的分子根据传输情况及升级情况有不同的求解方式。
1)当所述至少两个升级包在所述至少两个待升级模块组中传输时,已传输时长基于总文件传输百分比来确定。例如,上述4个升级包总容量的大小为S,以传输的文件的容量的大小为S 0,则根据所述已传输时长和预设的总升级时长的比值,确定升级进度为:
Figure PCTCN2018106557-appb-000001
2)当所述至少两个升级包传输完成,所述至少两个待升级模块组处于升级阶段时,根据所述至少两个待升级模块组中升级模块升级完成的时长和预设的总升级时长的比值,确定升级进度。其中,该预设的总升级时长可以自定义设置,也可以是基于以往经验评估出来。由于在时间情况下该预设的总升级时长通常是基于以往经验评估出来,为了更准确的确定升级进度,可以已经升级的模块升级所用时间和未升级的模块的升级的估计时间来实时计算升级进度,以对该预设的总升级时长进行修正。
其中,在每个待升级模块进行模块升级前,发送标识该待升级模块进行模块升级的第一消息,在该待升级模块升级完成后,发送标识该待升级模块升级完成的第二消息,以便通过第一消息与第二消息发送的时间确定该待升级模块实际升级的时间,以修正所述预设的总升级时长。
具体的,对该预设的总升级时长进行修正包括:当所述至少两个待升级模块中存在串行接口方式连接的待升级模块时,根据以完成升级的待升级模块的升级时间对所述预设的总升级时长进行修正。
由于在对无人机系统的模块进行升级的过程中,串口2连接的模块 最多,最为复杂,因此以串口2连接的模块为例进行说明。如图7所示,当前正在升级的模块为智能电池模块,智能电池模块当前升级的时间为t,该智能电池模块前面的云台模块升级所用的时间为T iu′,4个电调模块升级所用的时间分别为T e1u′、T e2u′、T e3u′、T e4u′,则修正后的时间进度为:
Figure PCTCN2018106557-appb-000002
407:显示所述升级进度。
为了便于用户实时了解模块的升级进度,由所述无人机系统中的遥控设备的遥控面板模块实时显示该升级进度。其中,升级进度可以以升级条或其他升级形式进行显示。
可以理解的是,在一些实施例中,所述步骤406-407在不同的实施例中,可以不是必选步骤,另外,在本发明实施例中,本领域普通技术人员,根据本发明实施例的描述可以理解,在不同实施例中,在不矛盾的情况下,所述步骤401-407可以有不同的执行顺序。
还需要说明的是,本发明实施例中所述步骤401-407中未详尽描述的技术细节,可参考上述实施例的具体描述。
在本发明实施例中,存储装置向至少两个待升级模块组传输至少两个升级包,在待升级模块组接收到对应的升级包后,待升级模块组中的待升级模块便可根据对应的升级包进行模块生成,而非逐个模块依次升级,从而降低无人机系统中的模块升级的时间,提高升级效率。并且,当所述至少两个升级包在所述至少两个待升级模块组中传输时,根据已经升级的模块升级所用时间和未升级的模块的升级的估计时间来实时计算升级进度,提高确定升级进度的准确性。
在一个实施例中,本发明还提供一种无人机系统,所述无人机系统包括存储装置、至少两个待升级模块组、至少一个处理器和与所述至少一个处理器通信连接的存储器。
其中,所述至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,所述存储装置包括至少两个升级包,每个升级包对应一 个待升级模块组;所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述实施例中的方法。
通过以上的实施例的描述,本领域普通技术人员可以清楚地了解到各实施例可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件来实现。本领域普通技术人员可以理解实现所述实施例方法中的全部或部分流程是可以通过计算机程序指令相关的硬件来完成,所述的程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如所述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (12)

  1. 一种无人机系统中的模块升级方法,其特征在于,所述无人机系统包括存储装置和至少两个待升级模块组,所述至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,所述存储装置包括至少两个升级包,每个升级包对应一个待升级模块组,所述方法包括:
    所述存储装置向所述至少两个待升级模块组传输至少两个升级包;
    所述至少两个待升级模块组中的待升级模块组接收对应的升级包;
    所述待升级模块组中的待升级模块根据所述升级包进行模块升级。
  2. 根据权利要求1所述的方法,其特征在于,所述存储装置向所述至少两个待升级模块组传输至少两个升级包,包括:
    所述存储装置一次向所述至少两个待升级模块组中的一个待升级模块组传输至少两个升级包,并通过所述待升级模块组将所述至少两个升级包传输至所述至少两个待升级模块组中的其他待升级模块组中。
  3. 根据权利要求2所述的方法,其特征在于,所述至少两个待升级模块组中的待升级模块组接收对应的升级包,包括:
    所述至少两个待升级模块组中的待升级模块组接收所述至少两个升级包中的部分或全部升级包;
    所述待升级模块组从接收到的所述部分或全部升级包中获取所述各待升级模块组对应的升级包。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述至少两个待升级模块组中的待升级模块组包括一级待升级模块;所述至少两个待升级模块组中的待升级模块组接收对应的升级包,包括:
    所述一级待升级模块接收所述待升级模块组对应的升级包。
  5. 根据权利要求4所述的方法,其特征在于,所述至少两个待升级模块组中的待升级模块还包括二级待升级模块,所述方法还包括:
    所述一级待升级模块将所述待升级模块组对应的升级包拆分为所 述待升级模块组中的各待升级模块对应的子升级包;
    所述一级待升级模块将所述待升级模块组中的二级待升级模块对应的子升级包传输至所述二级待升级模块;
    所述待升级模块组中的待升级模块根据所述升级包进行模块升级,包括:
    所述待升级模块组中的待升级模块根据对应的子升级包进行模块升级。
  6. 根据权利要求5所述的方法,其特征在于,所述二级待升级模块的数量为至少两个,至少两个二级待升级模块之间通过串行接口方式连接;
    其中,所述一级待升级模块将所述待升级模块组中的二级待升级模块对应的子升级包传输至所述二级待升级模块,包括:
    所述一级待升级模块按照连接顺序依次向所述至少两个二级待升级模块中的一个二级待升级模块传输对应的子升级包,并在所述二级待升级模块根据对应的子升级包升级完成后,向下一个二级待升级模块传输对应的子升级包。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    根据所述至少两个升级包的传输情况和所述至少两个待升级模块组中各待升级模块组的升级情况,确定升级进度;
    显示所述升级进度。
  8. 根据权利要求7所述的方法,其特征在于,所述根据所述至少两个升级包的传输情况和所述至少两个待升级模块组中各待升级模块组的升级情况,确定升级进度,包括:
    当所述至少两个升级包在所述至少两个待升级模块组中传输时,确定所述至少两个升级包已传输时长;
    根据所述已传输时长和预设的总升级时长的比值,确定升级进度。
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述至少两个升级包的传输情况和所述至少两个待升级模块组中各待升级模块组的升级情况,确定升级进度,包括:
    当所述至少两个升级包传输完成,所述至少两个待升级模块组处于升级阶段时,确定所述至少两个待升级模块组中升级模块升级完成的时长;
    根据所述升级模块升级完成的时长和所述预设的总升级时长的比值,确定升级进度。
  10. 根据权利要求7-9任一项所述的方法,其特征在于,所述升级进度是由所述无人机系统中的遥控设备的遥控面板模块显示的。
  11. 根据权利要求10所述的方法,其特征在于,所述至少两个待升级模块组包括所述遥控面板模块,所述待升级模块组中的待升级模块根据所述升级包进行模块升级,包括:
    所述遥控面板模块在确定所述至少两个待升级模块组中的其他待升级模块均已升级完成后,根据所述遥控面板模块对应的升级包进行升级。
  12. 一种无人机系统,其特征在于,包括存储装置和至少两个待升级模块组,所述至少两个待升级模块组中每个待升级模块组包括至少一个待升级模块,所述存储装置包括至少两个升级包,每个升级包对应一个待升级模块组;
    至少一个处理器;以及
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-11的任一项所述方法。
PCT/CN2018/106557 2018-06-29 2018-09-19 一种无人机系统中的模块升级方法和无人机系统 WO2020000700A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/136,493 US11609755B2 (en) 2018-06-29 2020-12-29 Method for upgrading modules in unmanned aircraft system and unmanned aircraft system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810697855.2A CN108920162A (zh) 2018-06-29 2018-06-29 一种无人机系统中的模块升级方法
CN201810697855.2 2018-06-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/136,493 Continuation US11609755B2 (en) 2018-06-29 2020-12-29 Method for upgrading modules in unmanned aircraft system and unmanned aircraft system

Publications (1)

Publication Number Publication Date
WO2020000700A1 true WO2020000700A1 (zh) 2020-01-02

Family

ID=64423685

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106557 WO2020000700A1 (zh) 2018-06-29 2018-09-19 一种无人机系统中的模块升级方法和无人机系统

Country Status (3)

Country Link
US (1) US11609755B2 (zh)
CN (1) CN108920162A (zh)
WO (1) WO2020000700A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650520A (zh) * 2020-12-31 2021-04-13 威胜集团有限公司 电表升级方法、系统、智能电表及存储介质
CN112667272A (zh) * 2020-12-31 2021-04-16 威胜集团有限公司 电表升级方法、系统、智能电表及存储介质
CN116661821A (zh) * 2023-05-10 2023-08-29 浙江简捷物联科技有限公司 一种应用升级方法、装置、电子设备及存储介质

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019084843A1 (zh) * 2017-11-01 2019-05-09 深圳市大疆创新科技有限公司 固件升级方法、电子设备、相机系统和无人飞行器
CN113010194A (zh) * 2019-12-19 2021-06-22 云丁网络技术(北京)有限公司 单片机的升级方法、监控系统、升级控制装置及设备
CN111722861B (zh) * 2020-06-17 2023-03-10 中国第一汽车股份有限公司 一种应用程序升级方法、装置、设备及存储介质
CN112817625B (zh) * 2021-01-29 2024-03-08 青岛海信移动通信技术有限公司 系统升级方法、装置、电子设备及存储介质
USD1031864S1 (en) * 2021-07-06 2024-06-18 Autel Robotics Co., Ltd. Remote control

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101907998A (zh) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 嵌入式系统的更新系统和方法
CN103533041A (zh) * 2013-10-09 2014-01-22 哈尔滨工程大学 一种面向水下无人航行器的软件远程更新方法
CN106055373A (zh) * 2016-07-04 2016-10-26 苏州光之翼智能科技有限公司 一种批量无人机固件自动升级装置及其方法
CN107454129A (zh) * 2016-12-27 2017-12-08 亿航智能设备(广州)有限公司 固件升级方法、装置和系统
US20170371640A1 (en) * 2016-06-22 2017-12-28 Hyundai Motor Company Method and apparatus for controlling electronic device of vehicle
CN107580322A (zh) * 2017-08-28 2018-01-12 驭势科技(北京)有限公司 无人驾驶车辆软件系统的升级方法、装置和无人驾驶车辆

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101694622A (zh) * 2009-09-29 2010-04-14 中兴通讯股份有限公司 一种多设备组合装置的固件远程升级方法及系统
CN107409051B (zh) * 2015-03-31 2021-02-26 深圳市大疆创新科技有限公司 用于生成飞行管制的认证系统和方法
CN107357601A (zh) * 2016-05-10 2017-11-17 零度智控(北京)智能科技有限公司 无人机固件升级装置、方法及终端
CN106598636A (zh) * 2016-07-14 2017-04-26 深圳曼塔智能科技有限公司 用于无人机的固件升级方法及装置
JP2018200510A (ja) * 2017-05-25 2018-12-20 株式会社デンソーテン ソフトウェア更新装置、ソフトウェア更新システム、及び、ソフトウェア更新方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101907998A (zh) * 2010-08-17 2010-12-08 中兴通讯股份有限公司 嵌入式系统的更新系统和方法
CN103533041A (zh) * 2013-10-09 2014-01-22 哈尔滨工程大学 一种面向水下无人航行器的软件远程更新方法
US20170371640A1 (en) * 2016-06-22 2017-12-28 Hyundai Motor Company Method and apparatus for controlling electronic device of vehicle
CN106055373A (zh) * 2016-07-04 2016-10-26 苏州光之翼智能科技有限公司 一种批量无人机固件自动升级装置及其方法
CN107454129A (zh) * 2016-12-27 2017-12-08 亿航智能设备(广州)有限公司 固件升级方法、装置和系统
CN107580322A (zh) * 2017-08-28 2018-01-12 驭势科技(北京)有限公司 无人驾驶车辆软件系统的升级方法、装置和无人驾驶车辆

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112650520A (zh) * 2020-12-31 2021-04-13 威胜集团有限公司 电表升级方法、系统、智能电表及存储介质
CN112667272A (zh) * 2020-12-31 2021-04-16 威胜集团有限公司 电表升级方法、系统、智能电表及存储介质
CN112650520B (zh) * 2020-12-31 2023-08-01 威胜集团有限公司 电表升级方法、系统、智能电表及存储介质
CN116661821A (zh) * 2023-05-10 2023-08-29 浙江简捷物联科技有限公司 一种应用升级方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
CN108920162A (zh) 2018-11-30
US11609755B2 (en) 2023-03-21
US20210124569A1 (en) 2021-04-29

Similar Documents

Publication Publication Date Title
WO2020000700A1 (zh) 一种无人机系统中的模块升级方法和无人机系统
US10409584B1 (en) Peripheral device firmware update using rest over IPMI interface firmware update module
US9971519B2 (en) System and method for efficient access for remote storage devices
US9880859B2 (en) Boot image discovery and delivery
US9986028B2 (en) Techniques to replicate data between storage servers
US10102170B2 (en) System and method for providing input/output functionality by an I/O complex switch
US10110691B2 (en) Systems and methods for enabling virtual keyboard-video-mouse for external graphics controllers
US10853052B1 (en) Peripheral device firmware update using rest over IPMI interface firmware shell utility
US20160141730A1 (en) Method of Controlling Different Kinds of Battery Cells and Electronic Device for Same
JP2023036774A (ja) 共有メモリのアクセス制御方法、共有メモリのアクセス制御装置、電子機器および自動運転車両
US10033202B2 (en) Method and apparatus for controlling battery charging of device
CN104699647B (zh) 用于操作双芯片组网络接口控制器的方法和系统
CN115309321A (zh) 用于融合命令的原子处理的方法和存储器设备
US10789200B2 (en) Server message block remote direct memory access persistent memory dialect
JP2007264697A (ja) 処理システム、プロジェクタ、プログラムおよび情報記憶媒体
CN111083190A (zh) 处理数据的方法和电子装置
WO2019242133A1 (zh) 电子设备中的软件升级方法、装置及电子设备
US20220237061A1 (en) Data collection agent trained for telemetry data collection
US10592438B2 (en) Firmware configuration through emulated commands
US11593121B1 (en) Remotely disabling execution of firmware components
US10402357B1 (en) Systems and methods for group manager based peer communication
US11847316B2 (en) System and method for managing data storage in network interface controllers
JP2011034569A (ja) プロジェクタおよびファームウェア更新方法
US11847081B2 (en) Smart network interface controller (SmartNIC) storage non-disruptive update
US12019489B1 (en) System and method for provisioning free standing modules

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18924067

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18924067

Country of ref document: EP

Kind code of ref document: A1