CN107357601A - Unmanned plane device for upgrading firmware, method and terminal - Google Patents
Unmanned plane device for upgrading firmware, method and terminal Download PDFInfo
- Publication number
- CN107357601A CN107357601A CN201610306053.5A CN201610306053A CN107357601A CN 107357601 A CN107357601 A CN 107357601A CN 201610306053 A CN201610306053 A CN 201610306053A CN 107357601 A CN107357601 A CN 107357601A
- Authority
- CN
- China
- Prior art keywords
- firmware
- unmanned plane
- latest edition
- version
- upgrading
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44573—Execute-in-place [XIP]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present invention proposes a kind of unmanned plane device for upgrading firmware, method and terminal, and the unmanned plane firmware upgrade method includes:Respond being clicked operation and obtaining latest edition firmware for the first control;Respond being clicked operation and pushing the latest edition firmware to unmanned plane for the second control;After the push of latest edition firmware is completed upgrade command is sent to unmanned plane;Updating result is verified after unmanned plane firmware upgrade completion, if upgrading failure, the unmanned plane do not perform takeoff maneuver.The embodiment of the present invention does not need USB lines to be attached PC and unmanned plane, and unmanned plane firmware upgrade directly can be achieved by wireless network so that the escalation process of unmanned plane firmware is simple and convenient, improves user experience.
Description
Technical field
The present invention relates to firmware upgrade technical field, in particular to a kind of unmanned plane firmware upgrade
Device, method and terminal.
Background technology
Unmanned plane be it is a kind of based on wireless remotecontrol or itself programme-control, have self-navigation and
Perform the unmanned vehicle of special duty.The either nothing of wireless remotecontrol or itself type of programme control
It is man-machine, it is necessary to flight controller to be installed in unmanned plane, the main work of flight controller is exactly
Read default parameter or receive the guidance command of external remote control with the flight progress to unmanned plane
Control, and receive the data that each tape deck and sensing device in unmanned plane are monitored.Nobody
After machine dispatches from the factory, producer is subsequently also possible to that unmanned plane can be carried out performance boost, repairs BUG or add
Add function etc. to safeguard, upgrade maintenance is carried out generally by the mode of firmware updating.
In the prior art, PC and unmanned plane are attached to carry out generally by USB lines
Firmware upgrade, or the firmware to be upgraded is put into the SD card of unmanned plane by PC ends, weight
Unmanned plane is opened to upgrade to the firmware of unmanned plane.However, above-mentioned existing firmware upgrade method is very
Unfriendly, user is frequently necessary to also need to take heavy PC and more when aerial mission is performed
The USB line of kind interface brings very big as technical support, such a upgrading mode for user
Inconvenience, Consumer's Experience are bad.
The content of the invention
It is an object of the invention to provide a kind of unmanned plane device for upgrading firmware, method and terminal, so that
The escalation process of unmanned plane firmware is simple and convenient, improves user experience.
To achieve these goals, the technical scheme that the embodiment of the present invention uses is as follows:
In a first aspect, the embodiments of the invention provide a kind of unmanned plane device for upgrading firmware, applied to nothing
Man-machine firmware upgrade terminal, the unmanned plane device for upgrading firmware include:Acquisition module, for responding
First control is clicked operation and obtains latest edition firmware;Pushing module, for responding the second control
Part is clicked operation and pushes the latest edition firmware to unmanned plane;Sending module, for most
After the push completion of redaction firmware upgrade command is sent to unmanned plane;Correction verification module, in unmanned plane
Firmware upgrade verifies after completing to updating result, if upgrading failure, the unmanned plane are not held
Row takeoff maneuver.
Second aspect, the embodiment of the present invention additionally provide a kind of unmanned plane firmware upgrade method, are applied to
Unmanned plane firmware upgrade terminal, the unmanned plane firmware upgrade method include:Respond the quilt of the first control
Clicking operation and obtain latest edition firmware;Respond being clicked operation and being pushed away to unmanned plane for the second control
Send the latest edition firmware;Upgrading is sent after the push of latest edition firmware is completed to unmanned plane to refer to
Order;Updating result is verified after unmanned plane firmware upgrade completion, if upgrading failure, institute
State unmanned plane and do not perform takeoff maneuver.
The third aspect, the embodiment of the present invention additionally provide a kind of unmanned plane firmware upgrade terminal, the nothing
Man-machine firmware upgrade terminal includes:Memory;Processor;And unmanned plane device for upgrading firmware, institute
Unmanned plane device for upgrading firmware is stated to be installed in the memory and including one or more by described
The software function module that device performs is managed, the unmanned plane device for upgrading firmware includes:Acquisition module, use
In respond the first control being clicked operation and obtain latest edition firmware;Pushing module, for responding
Second control is clicked operation and pushes the latest edition firmware to unmanned plane;Sending module, use
After being completed in the push of latest edition firmware upgrade command is sent to unmanned plane;Correction verification module, for
Unmanned plane firmware upgrade complete after updating result is verified, if upgrading failure, it is described nobody
Machine does not perform takeoff maneuver.
A kind of unmanned plane device for upgrading firmware, method and terminal provided in an embodiment of the present invention, pass through sound
Answer being clicked operation and obtaining latest edition firmware for the first control;Respond the second control is clicked behaviour
Make and push the latest edition firmware to unmanned plane;To nobody after the push of latest edition firmware is completed
Machine sends upgrade command;Updating result is verified after unmanned plane firmware upgrade completion, if rising
Level failure, then the unmanned plane does not perform takeoff maneuver.In this way, the embodiment of the present invention does not need USB
PC and unmanned plane are attached by line, and unmanned plane firmware directly can be achieved by wireless network
Upgrading so that the escalation process of unmanned plane firmware is simple and convenient, improves user experience.Also, this
Inventive embodiments only change related application program, to other portions of system when carrying out firmware upgrade
Divide and do not make an amendment then, even if upgrading failure, user also can solve problem by upgrading again, completely
Avoid the risk for causing system can not start or can not use because of firmware upgrade failure.
It is cited below particularly preferably real to enable the above objects, features and advantages of the present invention to become apparent
Example, and accompanying drawing appended by cooperation are applied, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed for embodiment
The accompanying drawing to be used is briefly described, it will be appreciated that the following drawings illustrate only some of the present invention
Embodiment, therefore the restriction to scope is not construed as, for those of ordinary skill in the art,
On the premise of not paying creative work, the attached of other correlations can also be obtained according to these accompanying drawings
Figure.
Fig. 1 shows the application of unmanned plane device for upgrading firmware provided in an embodiment of the present invention and method
Environment schematic;
Fig. 2 shows the application of unmanned plane device for upgrading firmware provided in an embodiment of the present invention and method
Environment schematic;
Fig. 3 shows the structured flowchart of unmanned plane firmware upgrade terminal provided in an embodiment of the present invention;
Fig. 4 shows the structured flowchart of unmanned plane device for upgrading firmware provided in an embodiment of the present invention;
Fig. 5 shows that the step of unmanned plane firmware upgrade method provided in an embodiment of the present invention schemes;
Fig. 6 shows the detail flowchart of unmanned plane firmware upgrade method provided in an embodiment of the present invention;
Fig. 7 shows that the upgrading progress of unmanned plane firmware upgrade method provided in an embodiment of the present invention is shown
It is intended to.
Embodiment
Unmanned plane device for upgrading firmware, method and the terminal that the embodiment of the present invention is provided can be applied to as
In application environment shown in Fig. 1.As shown in figure 1, unmanned plane firmware upgrade terminal 100 passes through the nothing
The server 200 of gauze network 300 carries out data interaction.The unmanned plane firmware upgrade terminal 100 passes through
After the network 300 accesses the server 200, the server 200 can provide latest edition
Firmware is downloaded for the unmanned plane firmware upgrade terminal 100.Unmanned plane device for upgrading firmware 400 can be with
Unmanned plane firmware upgrade terminal 100 is stored in, for upgrading to the firmware of unmanned plane.
In the present embodiment, the unmanned plane firmware upgrade terminal 100 may be, but not limited to, intelligence
Mobile phone, PC (personal computer, PC), tablet personal computer, personal digital assistant (personal
Digital assistant, PDA), mobile internet surfing equipment (mobile Internet device, MID) etc..
The server 200 may be, but not limited to, web (website) server, ftp (file transfer
Protocol, FTP) server etc..The behaviour of the unmanned plane firmware upgrade terminal 100
It may be, but not limited to, as system, Android (Android) system, IOS (iPhone operating
System) system, Windows phone systems, Windows systems etc..Preferably, this implementation
In example, the operating system of the unmanned plane firmware upgrade terminal 100 is IOS systems.
Fig. 2 shows unmanned plane device for upgrading firmware, method and the terminal that the embodiment of the present invention is provided
Another application environment.In embodiments of the present invention, unmanned plane firmware upgrade terminal 100 can pass through
Wireless network 300 upgrades to the firmware of unmanned plane 500.
Fig. 3 shows a kind of unmanned plane device for upgrading firmware and method using the embodiment of the present invention
Unmanned plane firmware upgrade terminal 100 structured flowchart.As shown in figure 3, unmanned plane firmware upgrade is whole
End 100 includes memory 102, storage control 104, one or more (one is only shown in figure)
Processor 106, Peripheral Interface 108, radio frequency unit 110, audio unit 112 and Touch Screen
114。
The memory 102, storage control 104, one or more processors 106, peripheral hardware connect
Mouth 108, radio frequency unit 110, audio unit 112 and 114 each element of Touch Screen are mutual
Directly or indirectly it is electrically connected with, to realize the transmission of data or interaction, for example, these components pass through
One or more communication bus/signal wire 116 mutually communicates.The unmanned plane device for upgrading firmware 400
The memory 102 can be stored in the form of software or firmware (firmware) including at least one
In or be solidificated in the unmanned plane firmware upgrade terminal 100 operating system (operating system,
OS the software function module in).
Memory 102 is stored with the unmanned plane firmware upgrade terminal 100 from the server 200
The firmware of download.The processor 106 is used to perform the executable mould stored in the memory 102
Block, such as software function module and computer program included by unmanned plane device for upgrading firmware 400
Deng.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one
Individual or multiple magnetic storage devices, flash memory or other non-volatile solid state memories.Processor
106 and access of other possible components to memory 102 can be in the control of storage control 104
Lower progress.
Various input/output devices are coupled to processor 106 and memory by Peripheral Interface 108
102.In certain embodiments, Peripheral Interface 108, processor 106 and storage control 104
It can be realized in one single chip.In some other example, they can be respectively by independent chip
Realize.
Radio frequency unit 110 is used to receiving and sending radio wave signal (such as electromagnetic wave), realizes nothing
The mutual conversion of line electric wave and electric signal, so as to realize the unmanned plane firmware upgrade terminal 100 and institute
State the radio communication between network 300 or unmanned plane 500.
Audio unit 112 provides a user COBBAIF, and it may include one or more microphones, one
Individual or multiple loudspeakers and voicefrequency circuit.
Offer one is defeated simultaneously between unmanned plane firmware upgrade terminal 100 and user for Touch Screen 114
Go out and inputting interface.In the present embodiment, the Touch Screen 114 supports single-point and multi-point touch behaviour
Make, for example, the Touch Screen 114 can be the capacitance type touch control screen for supporting single-point and multi-point touch operation
Or resistance type touch control screen etc..It is next that support single-point and multi-point touch operation enable Touch Screen 114 to sense
From one or more positions on the Touch Screen 114 with caused touch control operation, and this is sensed
To multi-point touch operation transfer to processor 106 to be handled.For example, Touch Screen 114 can be set
Have that control firmware is downloaded and the control of push, user, can be by firmwares from service by clicking on the control
Device 200 is downloaded to unmanned plane firmware upgrade terminal 100, or firmware is whole from unmanned plane firmware upgrade
End 100 pushes to unmanned plane 500.
It is appreciated that the structure shown in Fig. 3 is only to illustrate, unmanned plane firmware upgrade terminal 100 may be used also
Including more either less components than shown in Fig. 3 or there is the configuration different from shown in Fig. 3.
Each component shown in Fig. 3 can use hardware, software or its combination to realize.
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describing, it is clear that described embodiment is only part of the embodiment of the present invention,
Rather than whole embodiment.The group of embodiments of the present invention, which are generally described and illustrated herein in the accompanying drawings
Part can be configured to arrange and design with a variety of.Therefore, the sheet to providing in the accompanying drawings below
The detailed description of the embodiment of invention is not intended to limit the scope of claimed invention, but only
Only represent the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not having
There is the every other embodiment obtained on the premise of making creative work, belong to protection of the present invention
Scope.
It should be noted that:Similar label and letter represents similar terms, therefore, one in following accompanying drawing
It is defined, then it need not be carried out further in subsequent accompanying drawing in a certain Xiang Yi accompanying drawing of denier
Definition and explanation.Meanwhile in the description of the invention, term " first ", " second " etc. are only used for area
Divide description, and it is not intended that instruction or hint relative importance.
First embodiment
Referring to Fig. 4, a kind of unmanned plane device for upgrading firmware 400 provided in an embodiment of the present invention includes:
Acquisition module 410, comparison module 420, handover module 430, pushing module 440, sending module
450 and correction verification module 460.
The acquisition module 410 is used to respond being clicked operation and obtaining latest edition and consolidate for the first control
Part.
In embodiments of the present invention, unmanned plane firmware upgrade terminal 100 is connecting a unmanned plane every time
When 500, first have to obtain the essential information of the unmanned plane 500, which includes the unmanned plane 500
Firmware version, the form of firmware version is major version number minor version numbers, then by the unmanned plane 500
Firmware version be recorded in unmanned plane firmware upgrade terminal 100, for example it is possible to record consolidating in unmanned plane
The memory 102 of part upgrading terminals 100,100 records of unmanned plane firmware upgrade terminal are the last
The firmware version of the unmanned plane of connection.Size by comparing version number can learn the firmware of the version
Whether it is latest edition firmware.
When user needs the unmanned plane 500 to be upgraded to one to carry out firmware upgrade, open unmanned plane and consolidate
Part upgrading terminals 100, it is attached by WiFi and unmanned plane 500, obtains the unmanned plane 500
Firmware version, and be recorded in the memory 102 of unmanned plane firmware upgrade terminal 100.Then, nothing
Man-machine firmware upgrade terminal 100 disconnects with unmanned plane 500, and now, unmanned plane firmware upgrade is whole
End 100 can prompt the company of need of user's unmanned plane firmware upgrade terminal 100 by way of voice or word
Wireless network 300 is connect, is established and connected by wireless network 300 and server 200.Need what is illustrated
It is, if the last connection of unmanned plane firmware upgrade terminal 100 is unmanned plane 500 to be upgraded,
So, unmanned plane firmware upgrade terminal 100 has been recorded with the firmware version of unmanned plane 500 to be upgraded
This, after unmanned plane firmware upgrade terminal 100 is opened, can without be again coupled to unmanned plane 500 with
Obtain its firmware version.
The Touch Screen 114 of unmanned plane firmware upgrade terminal 100 can be provided with the first control, the first control
The dispaly state of part can be " downloading new edition AKU ", and first control corresponds to download instruction.
When user clicks on the first control, unmanned plane device for upgrading firmware 400 sends inquiry to server 200
Request, to inquire about in server 200 version of the latest edition firmware stored.In addition, server
200 can also have the message of latest edition firmware to the active push of unmanned plane firmware upgrade terminal 100.
Certainly, the first above-mentioned control is alternatively physical button.
Comparison module 420 is used for firmware version and the service for recording unmanned plane firmware upgrade terminal 100
The version of the latest edition firmware of device 200 is compared, if version is different, illustrates that unmanned plane is consolidated
The firmware version that part upgrading terminals 100 record is not newest firmware version, and acquisition module 410 starts
Downloaded from server 200 and obtain latest edition firmware, if version is identical, illustrate that unmanned plane is consolidated
The firmware version that part upgrading terminals 100 record has been newest firmware version, that is, this is to be upgraded
Unmanned plane 500 be newest firmware version, thus need not be newest in download server 200 again
Version firmware, now, unmanned plane firmware upgrade terminal 100 can be carried by way of voice or word
Show that user's latest edition firmware had been downloaded.
After the latest edition firmware is downloaded to unmanned plane firmware upgrade terminal 100, correction verification module
460 can verify to the latest edition firmware, such as the flag of verification latest edition firmware,
Whether data check position, data length and default value are identical, if it is different, then illustrating unmanned plane firmware
The latest edition firmware that upgrading terminals 100 obtain is not complete effective, and acquisition module 410 is again
The latest edition firmware is obtained to server 200;If identical, illustrate unmanned plane firmware upgrade terminal
100 latest edition firmwares obtained are complete effective.
The handover module 430 can get latest edition firmware in unmanned plane firmware upgrade terminal 100
Afterwards, the first control is switched into the second control, the dispaly state of second control can be " upgrading
Unmanned plane firmware ", and the second control respective upgrades instruct.Certainly, the second control is alternatively reality
Body button, corresponding handover module 430 can be omitted.
The pushing module 440 is used to respond being clicked operation and pushing to unmanned plane 500 for the second control
The latest edition firmware.
In embodiments of the present invention, after the completion of the download of latest edition firmware, the first control switches to the
Two controls, user clicks on the second control, if now unmanned plane firmware upgrade terminal 100 does not connect
To unmanned plane 500, then unmanned plane firmware upgrade terminal 100 can be by playing voice or by touching
Control screen 114 shows that the mode of word prompts user that the unmanned plane firmware upgrade terminal 100 need to connect nothing
Man-machine 500.Unmanned plane firmware upgrade terminal 100 can be connected by WIFI and unmanned plane 500
Connect, then, unmanned plane device for upgrading firmware 400 inquires about the current firmware version of unmanned plane 500, and
By comparison module 420 by the current firmware version of the unmanned plane 500 inquired and acquisition module 410
The version of the latest edition firmware of acquisition is compared, if version is different, illustrates unmanned plane 500
Current firmware version is not newest firmware version, and pushing module 440 can be transmitted by file and assisted
Discuss (File Transfer Protocol, FTP) by the latest edition firmware that acquisition module 410 obtains to
Unmanned plane 500 pushes, and is received by the ftp server on unmanned plane 500.If version
Identical, then it has been newest firmware version to illustrate the current firmware version of unmanned plane 500, thus not
Need to push latest edition firmware to unmanned plane 500 again.
Sending module 450 is used to after the push of latest edition firmware is completed send to unmanned plane 500 to upgrade
Instruction.
In embodiments of the present invention, latest edition firmware push complete after, sending module 450 i.e. to
Unmanned plane 500 sends upgrade command.After unmanned plane 500 receives upgrade command, taken from FTP
Latest edition firmware is read in business device and carries out data check, such as the mark of verification latest edition firmware
Whether position, data check position, data length and default value are identical, if it is different, then illustrating unmanned plane
500 latest edition firmwares received are not complete effective, and pushing module 440 is again to nobody
Machine 500 pushes the latest edition firmware;If identical, this for illustrating that unmanned plane 500 receives is newest
Version firmware is complete effective.The latest edition firmware is stored in the form of compressed package, works as school
Test result for the latest edition firmware it is completely effective when, unmanned plane 500 carry out firmware upgrade, by this most
Redaction firmware is decompressed, and performs the shell script of the inside, and the journey of old edition is covered with the program of new edition
Sequence.During firmware upgrade, there can be progress bar to show the upgrading progress of firmware.Upgrade
Into afterwards, unmanned plane 500 notifies unmanned plane firmware upgrade terminal 100 upgrades to complete, unmanned plane
Firmware upgrade terminal 100 has been completed by light and auditory tone cues customer upgrade, and restarts unmanned plane
500。
The correction verification module 460 is used to carry out school to updating result after the upgrading of unmanned plane 500 is completed
Test, if upgrading failure, unmanned plane 500 do not perform takeoff maneuver.
In embodiments of the present invention, after the firmware upgrade of unmanned plane 500 is completed, unmanned plane is restarted
500, to be verified to updating result.Unmanned plane firmware upgrade terminal 100 reconnects unmanned plane
500, the current firmware version of inquiry unmanned plane 500, if consistent with the version of latest edition firmware,
Then check results prompt customer upgrade success to upgrade successfully.If version is inconsistent, verification knot
Fruit fails for upgrading, prompts the user whether to continue to upgrade.
In the firmware upgrade failure of unmanned plane 500, unmanned plane device for upgrading firmware 400 can be to institute
The instruction that unmanned plane 500 sends upgrading failure is stated, the flight controller on unmanned plane 500 receives this
Upgrade the instruction of failure, then do not send instruction of taking off, flown so as to not allow unmanned plane 500 to perform
Make, in order to avoid because function imperfection or cause because of BUG user property and personal safety by
Threaten.
It should be noted that operation system of the upgrading not comprising unmanned plane 500 that the embodiment of the present invention is said
System upgrading, when carrying out firmware upgrade, related application program is only changed, to the other parts of system
Do not make an amendment then.Also, during the firmware upgrade of unmanned plane 500 of the present invention, unmanned plane
The application program of ftp server and responsible upgrading in 500 can't be changed in itself, Yi Mianzao
Upgrade into these programs and fail, so that user can not solve problem by upgrading again.In this hair
In bright embodiment, even if upgrading failure, user also can solve problem by upgrading again, keep away completely
The risk for causing system can not start or can not use because of firmware upgrade is exempted from.
Second embodiment
Fig. 5 and Fig. 6 are referred to, is the step of unmanned plane firmware upgrade method provided in an embodiment of the present invention
Rapid figure and detail flowchart.Unmanned plane firmware upgrade method provided in an embodiment of the present invention includes following step
Suddenly:
Step S1, the first control of response are clicked operation and obtain latest edition firmware.
In embodiments of the present invention, step S1 can be performed by acquisition module 410.Of the invention real
Apply in example, unmanned plane firmware upgrade terminal 100 when connecting a unmanned plane 500, first has to every time
The essential information of the unmanned plane 500 is obtained, which includes the firmware version of the unmanned plane 500, Gu
The form of part version is major version number minor version numbers, then remembers the firmware version of the unmanned plane 500
Record in unmanned plane firmware upgrade terminal 100, for example it is possible to record in unmanned plane firmware upgrade terminal 100
Memory 102, the unmanned plane of the last connection of 100, unmanned plane firmware upgrade terminal record
Firmware version.Size by comparing version number can learn whether the firmware of the version is latest edition
Firmware.
When user needs to carry out firmware upgrade to a unmanned plane 500, it is whole to open unmanned plane firmware upgrade
End 100, is attached by WiFi and unmanned plane 500, obtains the firmware version of the unmanned plane 500
This, and it is recorded in the memory 102 of unmanned plane firmware upgrade terminal 100.Then, unmanned plane firmware
Upgrading terminals 100 disconnect with unmanned plane 500, and now, unmanned plane firmware upgrade terminal 100 can
User's unmanned plane firmware upgrade terminal 100 is prompted to connect wirelessly in a manner of by voice or word
Network 300, established and connected by wireless network 300 and server 200.If it should be noted that
The last connection of unmanned plane firmware upgrade terminal 100 is unmanned plane 500 to be upgraded, then,
Unmanned plane firmware upgrade terminal 100 has been recorded with the firmware version of unmanned plane 500 to be upgraded,
After opening unmanned plane firmware upgrade terminal 100, it can not have to be again coupled to unmanned plane 500 to obtain it
Firmware version.
The Touch Screen 114 of unmanned plane firmware upgrade terminal 100 can be provided with the first control, the first control
The dispaly state of part can be " downloading new edition AKU ", and first control corresponds to download instruction.
When user clicks on the first control, unmanned plane device for upgrading firmware 400 sends inquiry to server 200
Request, to inquire about in server 200 version of the latest edition firmware stored.In addition, server
200 can also have the message of latest edition firmware to the active push of unmanned plane firmware upgrade terminal 100.
Then, the firmware version recorded unmanned plane firmware upgrade terminal 100 by comparison module 420
Compared with the version of the latest edition firmware of server 200, if version is different, illustrate nothing
The firmware version that man-machine firmware upgrade terminal 100 records is not newest firmware version, acquisition module
410 start to download from server 200 and obtain latest edition firmware, if version is identical, illustrate
The firmware version that unmanned plane firmware upgrade terminal 100 records has been newest firmware version, that is,
The unmanned plane 500 to be upgraded is newest firmware version, thus need not download server 200 again
In latest edition firmware, now, unmanned plane firmware upgrade terminal 100 can pass through voice or word
Mode prompt user that latest edition firmware had been downloaded.
After the latest edition firmware is downloaded to unmanned plane firmware upgrade terminal 100, correction verification module
460 can verify to the latest edition firmware, such as the flag of verification latest edition firmware,
Whether data check position, data length and default value are identical, if it is different, then illustrating unmanned plane firmware
The latest edition firmware that upgrading terminals 100 obtain is not complete effective, and acquisition module 410 is again
The latest edition firmware is obtained to server 200;If identical, illustrate unmanned plane firmware upgrade terminal
100 latest edition firmwares obtained are complete effective, and unmanned plane firmware upgrade terminal 100 can be with
Prompt the user whether to need to upgrade.
Then, handover module 430 can get latest edition in unmanned plane firmware upgrade terminal 100
After firmware, the first control is switched into the second control, the dispaly state of second control can be " to rise
Level unmanned plane firmware ", and the second control respective upgrades instruct.
Step S2, the second control of response are clicked operation and pushed to unmanned plane 500 described newest
Version firmware.
In embodiments of the present invention, step S2 can be performed by pushing module 440.Work as latest edition
After the completion of firmware is downloaded, the first control switches to the second control, and user clicks on the second control, if this
When unmanned plane firmware upgrade terminal 100 be not connected to unmanned plane 500, then unmanned plane firmware upgrade is whole
End 100 can prompt user by way of playing voice or showing word by Touch Screen 114
The unmanned plane firmware upgrade terminal 100 need to connect unmanned plane 500.Unmanned plane firmware upgrade terminal 100
It can be attached by WIFI and unmanned plane 500, then, unmanned plane device for upgrading firmware 400
Inquire about the current firmware version of unmanned plane 500, and the unmanned plane that will be inquired by comparison module 420
The version for the latest edition firmware that 500 current firmware versions obtain with acquisition module 410 is compared
Compared with if version is different, it is not newest firmware version to illustrate the current firmware version of unmanned plane 500
This, pushing module 440 can pass through FTP (File Transfer Protocol, FTP)
The latest edition firmware that acquisition module 410 obtains is pushed to unmanned plane 500, and by unmanned plane 500
On ftp server received.If version is identical, illustrates that unmanned plane 500 is current and consolidate
Part version has been newest firmware version, thus need not push latest edition to unmanned plane 500 again
Firmware.
Step S3, upgrade command is sent to unmanned plane 500 after the push of latest edition firmware is completed.
In embodiments of the present invention, step S3 can be performed by sending module 450.In latest edition
After firmware push is completed, sending module 450 sends upgrade command to unmanned plane 500.Unmanned plane
After 500 receive upgrade command, latest edition firmware is read from ftp server and carries out data
Verification, for example, the verification flag of latest edition firmware, data check position, data length with it is default
Whether value is identical, if it is different, then illustrating that the latest edition firmware that unmanned plane 500 receives has not been
Whole effective, pushing module 440 pushes the latest edition firmware to unmanned plane 500 again;If identical,
Then illustrate that the latest edition firmware that unmanned plane 500 receives is complete effective.The latest edition is consolidated
Part is stored in the form of compressed package, when check results are that the latest edition firmware is completely effective,
Unmanned plane 500 carries out firmware upgrade, and the latest edition firmware is decompressed, and performs the script of the inside
Program, the program of old edition is covered with the program of new edition.As shown in fig. 7, during firmware upgrade,
There can be progress bar to show the upgrading progress of firmware.After upgrading is completed, unmanned plane 500 notifies nothing
Man-machine firmware upgrade terminal 100, which upgrades, have been completed, and unmanned plane firmware upgrade terminal 100 passes through light
Completed with auditory tone cues customer upgrade, and restarted unmanned plane 500.
Step S4, updating result is verified after the upgrading of unmanned plane 500 is completed, if upgrading
Failure, then the unmanned plane 500 does not perform takeoff maneuver.
In embodiments of the present invention, step S4 can be performed by correction verification module 460.When unmanned plane 500
After upgrading is completed, unmanned plane 500 is restarted, to be verified to updating result.Unmanned plane firmware liter
Level terminal 100 reconnects unmanned plane 500, inquires about the current firmware version of unmanned plane 500, if
Consistent with the version of latest edition firmware, then check results is upgrade successfully, prompting customer upgrade success,
Upgrading terminates.If version is inconsistent, check results fail for upgrading, prompt the user whether to continue
Upgrading, if user's selection continues to upgrade, unmanned plane firmware upgrade terminal 100 is again by latest edition
Firmware is uploaded to unmanned plane 500 and upgraded.
In the firmware upgrade failure of unmanned plane, unmanned plane device for upgrading firmware 400 can be to the nothing
Man-machine 500 send the instruction of upgrading failure, and the flight controller on unmanned plane 500 receives the upgrading
The instruction of failure, then do not send instruction of taking off, so as to not allow unmanned plane 500 to perform takeoff maneuver,
In order to avoid because function imperfection or cause because of BUG user property and personal safety by prestige
The side of body.
It should be noted that operation system of the upgrading not comprising unmanned plane 500 that the embodiment of the present invention is said
System upgrading, when carrying out firmware upgrade, related application program is only changed, to the other parts of system
Do not make an amendment then.Also, during the firmware upgrade of unmanned plane 500 of the present invention, unmanned plane
The application program of ftp server and responsible upgrading in 500 can't be changed in itself, even if solid
Part upgrading failure, user also can solve problem by upgrading again, it is entirely avoided because firmware loses
The risk for losing upgrading and causing system can not start or can not use.Also, the embodiment of the present invention is not
Need USB lines to be attached PC and unmanned plane 500, and directly pass through wireless network 300
The firmware upgrade of unmanned plane 500 can be achieved so that the escalation process of unmanned plane firmware is simple and convenient,
Improve user experience.
It should be noted that herein, such as first and second or the like relational terms are only used
By an entity or operation with another entity or operate make a distinction, and not necessarily require or
Imply between these entities or operation any this actual relation or order be present.Moreover, term
" comprising ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that
Process, method, article or equipment including a series of elements not only include those key elements, but also
Including the other element being not expressly set out, or also include for this process, method, article or
The intrinsic key element of person's equipment.In the absence of more restrictions, by sentence "including a ..."
The key element of restriction, it is not excluded that in the process including the key element, method, article or equipment also
Other identical element be present.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for
For those skilled in the art, the present invention can have various modifications and variations.All essences in the present invention
God any modification, equivalent substitution and improvements made etc., should be included in the present invention with principle
Protection domain within.It should be noted that:Similar label represents similar with letter in following accompanying drawing
, therefore, once be defined in a certain Xiang Yi accompanying drawing, then in subsequent accompanying drawing do not need pair
It further define and explain.
Claims (11)
- A kind of 1. unmanned plane device for upgrading firmware, applied to unmanned plane firmware upgrade terminal with to nobody Machine carries out firmware upgrade, it is characterised in that the unmanned plane device for upgrading firmware includes:Acquisition module, latest edition firmware is obtained for responding being clicked operation of the first control;Pushing module, pushed for responding being clicked operation of the second control to unmanned plane described newest Version firmware;Sending module, for sending upgrade command to unmanned plane after the push of latest edition firmware is completed;Correction verification module, for being verified after unmanned plane firmware upgrade completion to updating result, if Upgrading failure, then the unmanned plane does not perform takeoff maneuver.
- 2. unmanned plane device for upgrading firmware as claimed in claim 1, it is characterised in that the nothing Man-machine device for upgrading firmware also includes handover module, for after latest edition firmware is obtained, by institute State the first control and switch to second control.
- 3. unmanned plane device for upgrading firmware as claimed in claim 1, it is characterised in that the nothing Man-machine device for upgrading firmware also includes comparison module, for will remember in the unmanned plane firmware upgrade terminal The firmware version of record is compared with the version of the latest edition firmware in server, if version is not Together, then the acquisition module obtains the latest edition firmware from server.
- 4. unmanned plane device for upgrading firmware as claimed in claim 3, it is characterised in that the ratio The version for the latest edition firmware for being additionally operable to obtain the acquisition module compared with module and working as unmanned plane Preceding firmware version is compared, if version is different, described in the pushing module to unmanned plane push most Redaction firmware.
- 5. unmanned plane device for upgrading firmware as claimed in claim 1, it is characterised in that the school Whether testing module, to be additionally operable to verify the latest edition firmware that the acquisition module obtains complete effectively.
- A kind of 6. unmanned plane firmware upgrade method, applied to unmanned plane firmware upgrade terminal with to nobody Machine carries out firmware upgrade, it is characterised in that the unmanned plane firmware upgrade method includes:Respond being clicked operation and obtaining latest edition firmware for the first control;Respond being clicked operation and pushing the latest edition firmware to unmanned plane for the second control;After the push of latest edition firmware is completed upgrade command is sent to unmanned plane;Updating result is verified after unmanned plane firmware upgrade completion, if upgrading failure, institute State unmanned plane and do not perform takeoff maneuver.
- 7. unmanned plane firmware upgrade method as claimed in claim 6, it is characterised in that the nothing Man-machine firmware upgrade method also includes:After latest edition firmware is obtained, first control is cut It is changed to second control.
- 8. unmanned plane firmware upgrade method as claimed in claim 6, it is characterised in that the nothing Man-machine firmware upgrade method also includes:The firmware version that will be recorded in the unmanned plane firmware upgrade terminal Compared with the version of the latest edition firmware in server, if version is different, from service Device obtains the latest edition firmware.
- 9. unmanned plane firmware upgrade method as claimed in claim 8, it is characterised in that the nothing Man-machine firmware upgrade method also includes:By the version of the latest edition firmware of acquisition and unmanned plane Current version of firmware is compared, if version is different, the latest edition firmware is pushed to unmanned plane.
- 10. unmanned plane firmware upgrade method as claimed in claim 6, it is characterised in that the nothing Man-machine firmware upgrade method also includes:It is whether complete effectively to verify the latest edition firmware.
- 11. a kind of unmanned plane firmware upgrade terminal, it is characterised in that the unmanned plane firmware upgrade is whole End includes:Memory;Processor;AndUnmanned plane device for upgrading firmware, the unmanned plane device for upgrading firmware are installed in the memory And including one or more software function modules by the computing device, the unmanned plane firmware liter Stage arrangement includes:Acquisition module, latest edition firmware is obtained for responding being clicked operation of the first control;Pushing module, pushed for responding being clicked operation of the second control to unmanned plane described newest Version firmware;Sending module, for sending upgrade command to unmanned plane after the push of latest edition firmware is completed;Correction verification module, for being verified after unmanned plane firmware upgrade completion to updating result, if Upgrading failure, then the unmanned plane does not perform takeoff maneuver.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610306053.5A CN107357601A (en) | 2016-05-10 | 2016-05-10 | Unmanned plane device for upgrading firmware, method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610306053.5A CN107357601A (en) | 2016-05-10 | 2016-05-10 | Unmanned plane device for upgrading firmware, method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107357601A true CN107357601A (en) | 2017-11-17 |
Family
ID=60271308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610306053.5A Pending CN107357601A (en) | 2016-05-10 | 2016-05-10 | Unmanned plane device for upgrading firmware, method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107357601A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108886516A (en) * | 2017-11-30 | 2018-11-23 | 深圳市大疆创新科技有限公司 | UAV system and method |
CN108897560A (en) * | 2018-06-27 | 2018-11-27 | 北京小米移动软件有限公司 | Firmware upgrade method, device and the storage medium of smart machine |
CN108920162A (en) * | 2018-06-29 | 2018-11-30 | 深圳市道通智能航空技术有限公司 | A kind of module updating method in UAV system |
WO2019205138A1 (en) * | 2018-04-28 | 2019-10-31 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle and battery firmware upgrade device and firmware upgrade method |
WO2020010695A1 (en) * | 2018-07-13 | 2020-01-16 | 深圳市道通智能航空技术有限公司 | Module upgrade method and module to be upgraded in unmanned aerial vehicle system |
CN111541562A (en) * | 2020-04-16 | 2020-08-14 | 中电科航空电子有限公司 | Network driver layer-based airborne equipment firmware upgrading method and system |
CN111752578A (en) * | 2019-09-20 | 2020-10-09 | 广州极飞科技有限公司 | Firmware upgrade management method and device and electronic equipment |
CN112166411A (en) * | 2019-09-20 | 2021-01-01 | 深圳市大疆创新科技有限公司 | Equipment control method, system and control terminal |
CN112650277A (en) * | 2020-12-07 | 2021-04-13 | 航天时代飞鸿技术有限公司 | Topological type online programming method for unmanned aerial vehicle electrical equipment and unmanned aerial vehicle |
WO2021142594A1 (en) * | 2020-01-13 | 2021-07-22 | 深圳市大疆创新科技有限公司 | Parameter updating method, apparatus, system, and computer readable storage medium |
CN113377406A (en) * | 2021-07-13 | 2021-09-10 | 读书郎教育科技有限公司 | Automatic device and method for updating intelligent firmware |
US20210357338A1 (en) * | 2020-05-12 | 2021-11-18 | Francesco E. DeAngelis | Dual memory secure digital (sd) card and system and method for wirelessly and automatically updating data in host computer using dual memory sd card |
CN113805924A (en) * | 2021-09-27 | 2021-12-17 | 一飞智控(天津)科技有限公司 | Method, system, terminal and application for processing overall upgrading process of formation airplane |
CN113848852A (en) * | 2021-09-27 | 2021-12-28 | 一飞智控(天津)科技有限公司 | Formation airplane firmware version returning method, system, terminal, medium and application |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598279A (en) * | 2015-01-23 | 2015-05-06 | 广州快飞计算机科技有限公司 | Method and device for upgrading firmware based on flight controller |
CN105183515A (en) * | 2015-09-02 | 2015-12-23 | 深圳一电科技有限公司 | Cloud deck firmware updating method and device |
-
2016
- 2016-05-10 CN CN201610306053.5A patent/CN107357601A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104598279A (en) * | 2015-01-23 | 2015-05-06 | 广州快飞计算机科技有限公司 | Method and device for upgrading firmware based on flight controller |
CN105183515A (en) * | 2015-09-02 | 2015-12-23 | 深圳一电科技有限公司 | Cloud deck firmware updating method and device |
Non-Patent Citations (1)
Title |
---|
HTTPS://V.QQ.COM/X/PAGE/C0164VZ9SHY.HTML: "精灵3 标准版固件升级", 《HTTPS://V.QQ.COM/X/PAGE/C0164VZ9SHY.HTML》 * |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108886516A (en) * | 2017-11-30 | 2018-11-23 | 深圳市大疆创新科技有限公司 | UAV system and method |
US11246177B2 (en) | 2017-11-30 | 2022-02-08 | SZ DJI Technology Co., Ltd. | Unmanned aerial vehicle system and method |
WO2019205138A1 (en) * | 2018-04-28 | 2019-10-31 | 深圳市大疆创新科技有限公司 | Unmanned aerial vehicle and battery firmware upgrade device and firmware upgrade method |
CN108897560A (en) * | 2018-06-27 | 2018-11-27 | 北京小米移动软件有限公司 | Firmware upgrade method, device and the storage medium of smart machine |
CN108920162A (en) * | 2018-06-29 | 2018-11-30 | 深圳市道通智能航空技术有限公司 | A kind of module updating method in UAV system |
WO2020010695A1 (en) * | 2018-07-13 | 2020-01-16 | 深圳市道通智能航空技术有限公司 | Module upgrade method and module to be upgraded in unmanned aerial vehicle system |
US11861344B2 (en) | 2018-07-13 | 2024-01-02 | Autel Robotics Co., Ltd. | Module upgrade method and module to be upgraded in unmanned aerial vehicle system |
WO2021051370A1 (en) * | 2019-09-20 | 2021-03-25 | 深圳市大疆创新科技有限公司 | Device control method and system as well as control terminal |
CN112166411A (en) * | 2019-09-20 | 2021-01-01 | 深圳市大疆创新科技有限公司 | Equipment control method, system and control terminal |
CN111752578A (en) * | 2019-09-20 | 2020-10-09 | 广州极飞科技有限公司 | Firmware upgrade management method and device and electronic equipment |
WO2021142594A1 (en) * | 2020-01-13 | 2021-07-22 | 深圳市大疆创新科技有限公司 | Parameter updating method, apparatus, system, and computer readable storage medium |
CN111541562B (en) * | 2020-04-16 | 2022-09-20 | 中电科航空电子有限公司 | Network driver layer-based airborne equipment firmware upgrading method and system |
CN111541562A (en) * | 2020-04-16 | 2020-08-14 | 中电科航空电子有限公司 | Network driver layer-based airborne equipment firmware upgrading method and system |
US20210357338A1 (en) * | 2020-05-12 | 2021-11-18 | Francesco E. DeAngelis | Dual memory secure digital (sd) card and system and method for wirelessly and automatically updating data in host computer using dual memory sd card |
US11593282B2 (en) * | 2020-05-12 | 2023-02-28 | Francesco E. DeAngelis | Dual memory secure digital (SD) card and system and method for wirelessly and automatically updating data in host computer using dual memory SD card |
CN112650277A (en) * | 2020-12-07 | 2021-04-13 | 航天时代飞鸿技术有限公司 | Topological type online programming method for unmanned aerial vehicle electrical equipment and unmanned aerial vehicle |
CN113377406A (en) * | 2021-07-13 | 2021-09-10 | 读书郎教育科技有限公司 | Automatic device and method for updating intelligent firmware |
CN113805924A (en) * | 2021-09-27 | 2021-12-17 | 一飞智控(天津)科技有限公司 | Method, system, terminal and application for processing overall upgrading process of formation airplane |
CN113848852A (en) * | 2021-09-27 | 2021-12-28 | 一飞智控(天津)科技有限公司 | Formation airplane firmware version returning method, system, terminal, medium and application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107357601A (en) | Unmanned plane device for upgrading firmware, method and terminal | |
US20200196131A1 (en) | Profile Download Method and System, and Related Device | |
CN103581706B (en) | The application installation method of intelligent television and system | |
EP3001309A1 (en) | Application migration method, device and system for mobile terminal | |
CN105763723A (en) | Mobile terminal and system update method | |
CN108605220B (en) | Application processing method and device for embedded universal integrated circuit card | |
CN103152392B (en) | Installation kit supplying method, acquisition methods, equipment and system | |
CN102255887A (en) | Method and system for providing online services corresponding to multiple mobile devices | |
CN104657201A (en) | Method, device, equipment and system for pushing application program | |
CN102984209A (en) | Distributing method of application program and terminals thereof | |
CN104115119A (en) | Mobile device application integration with infotainment head units | |
CN104978183A (en) | Icon construction method, and terminal equipment | |
CN106201484A (en) | The collocation method of application program, device and terminal unit | |
CN107015828A (en) | Audio software upgrade method, application program updating method, apparatus and system | |
CN105657781A (en) | Method and device for accessing WiFi network | |
CN103634393A (en) | IVR (interactive voice response) and realization method thereof | |
CN102722404B (en) | Management system, device and method for application software in intelligent terminal | |
CN104506587A (en) | Network information providing method and network storage equipment | |
CN106203015A (en) | The collocation method of application program, device and terminal unit | |
KR20180050001A (en) | Firmware upgrade system and method for IoT | |
CN106878976A (en) | The data sharing method of mobile terminal and dual system | |
CN110493644A (en) | TV applications upgrade method, television terminal and server | |
KR101401938B1 (en) | Application Launch Service System and Method, Apparatus supporting the same | |
CN109408098A (en) | Dynamic updating method, system, electronic equipment and the storage medium of application | |
CN105763709A (en) | Address list update method, user terminal and server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180929 Address after: 300220 Hexi District, Tianjin Dongting Road 20, Chen Tang science and Technology Business District Service Center 309-9. Applicant after: Tianjin far Technology Co., Ltd. Address before: 100094 203, Zhongguancun Software Park, 8 Northeast Northeast Road, Haidian District, Beijing 203, 203 Applicant before: Zero degree intelligence control (Beijing) intelligent Science and Technology Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171117 |
|
RJ01 | Rejection of invention patent application after publication |