CN108897560A - Firmware upgrade method, device and the storage medium of smart machine - Google Patents

Firmware upgrade method, device and the storage medium of smart machine Download PDF

Info

Publication number
CN108897560A
CN108897560A CN201810681337.1A CN201810681337A CN108897560A CN 108897560 A CN108897560 A CN 108897560A CN 201810681337 A CN201810681337 A CN 201810681337A CN 108897560 A CN108897560 A CN 108897560A
Authority
CN
China
Prior art keywords
firmware
equipment
information
firmware upgrade
client
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
Application number
CN201810681337.1A
Other languages
Chinese (zh)
Inventor
张国乾
王超
莫委洳
曾登艺
刘向宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Fei Fei Robot Technology Co Ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Shenzhen Fei Fei Robot Technology Co Ltd
Beijing Xiaomi Mobile Software Co Ltd
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 Shenzhen Fei Fei Robot Technology Co Ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Shenzhen Fei Fei Robot Technology Co Ltd
Priority to CN201810681337.1A priority Critical patent/CN108897560A/en
Publication of CN108897560A publication Critical patent/CN108897560A/en
Pending legal-status Critical Current

Links

Classifications

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

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

The disclosure provides a kind of firmware upgrade method of smart machine, device and storage medium, it is detected automatically by firmware information of the client using the first equipment with the second apparatus bound to new version, and determine whether the firmware upgrade packet of firmware upgrade of the downloading for the second equipment, any firmware information is understood without user, manual screening is not needed to go out to meet the firmware upgrade packet of the second equipment yet, so that not needing the user's operation that places one's entire reliance upon as the unmanned plane of the second equipment or the firmware upgrade of other equipment, advantageously reduce the error probability of firmware upgrade, simplify firmware upgrade process, improve upgrading efficiency and enhancing upgrading timeliness.

Description

Firmware upgrade method, device and the storage medium of smart machine
Technical field
This disclosure relates to the firmware upgrade method of firmware upgrade technical field more particularly to smart machine, device and storage Medium.
Background technique
Unmanned plane be it is a kind of based on wireless remotecontrol or itself process control, have self-navigation and execute special The unmanned vehicle of business.The either unmanned plane of wireless remotecontrol or itself type of programme control, it is necessary to pacify in unmanned plane Flight controller is filled, flight controller groundwork is to read parameter preset or receive the remote control command of external remote control with right The flight of unmanned plane is controlled, and receives the data that each recording device and sensing device are monitored in unmanned plane.Unmanned plane After factory, producer is subsequent may also to carry out performance boost to unmanned plane, repair the maintenance such as BUG or addition function, and these are tieed up What shield was realized generally by the mode of firmware updating.
Realize at present is to the upgrade method of unmanned plane firmware:Unmanned plane is connected to computer using data line, passes through electricity The TF card of copies of firmware to unmanned plane is realized firmware upgrade by brain.And before by new copies of firmware to TF card, user need according to Computer equipment is relied to search corresponding firmware from the firmware of the different intelligent hardware on producer official website, wherein user needs to pass through The information such as product category, ardware model number, firmware version number are distinguished, obtain corresponding firmware, then pass through down operation and copy behaviour Firmware is stored in TF card by work, is then carried out upgrading certainly by the hardware automatic identification firmware of unmanned plane.So, existing The firmware upgrade method of unmanned plane and other smart machines identical with unmanned plane firmware upgrade mode excessively depends on user to grasp Make, there is the problems such as escalation process is complicated, upgrading low efficiency is low with upgrading timeliness.
Summary of the invention
To overcome the problems in correlation technique, present disclose provides the firmware upgrade method of smart machine, device and Storage medium.
According to the first aspect of the embodiments of the present disclosure, a kind of firmware upgrade method of smart machine is provided, the method is answered In client for the first equipment, the client and the second apparatus bound;The method includes:
Receive the firmware information of the new version sent by server-side;
Determined whether to download firmware upgrade packet according to the firmware information of the firmware information of the new version and the second equipment;
When determining the downloading firmware upgrade packet, the firmware upgrade packet is downloaded;The firmware upgrade packet is for described The firmware upgrade of second equipment.
The disclosure passes through the firmware information using the client with the first equipment of the second apparatus bound to new version as a result, Automatically it is detected, and determines whether the firmware upgrade packet of firmware upgrade of the downloading for the second equipment, without user Understand any firmware information, does not also need manual screening and go out to meet the firmware upgrade packet of the second equipment, so that as the second equipment Unmanned plane or the firmware upgrades of other equipment do not need the user's operation that places one's entire reliance upon, advantageously reduce the error of firmware upgrade Probability simplifies firmware upgrade process, improves upgrading efficiency and enhancing upgrading timeliness.
Optionally, the firmware upgrade method of disclosure smart machine further includes:After the completion of firmware upgrade packet downloading, The firmware upgrade packet is sent to second equipment.
After completing firmware upgrade packet by client downloads, firmware upgrade packet is just sent to the second equipment, is realized to second The firmware upgrade of equipment does not need user and realizes firmware upgrade to the second equipment, Neng Goujin in such a way that data line transmits One step improves firmware upgrade efficiency and enhancing upgrading timeliness.
Optionally, the firmware information of second equipment is pre-stored in the client or obtains from second equipment It takes.
By the way that the firmware information of the second equipment to be prestored to the firmware information be conducive on the client in detection new version When, the firmware information that can call directly the second equipment prestored detects the firmware information of new version, without weight It is new to obtain, detection efficiency can be improved to a certain extent.And the firmware information by obtaining the second equipment from the second equipment again, Advantageously ensure that client is to examine according to the firmware information of the second current connected equipment to the firmware information of new version It surveys, is avoided that the miss detection caused by firmware information when detection because of the second equipment is inaccurate occurs, and avoid subsequent The phenomenon that upgrading fails.
Optionally, before sending the firmware upgrade packet to second equipment, further include:
The firmware information of second equipment is obtained from second equipment;
Determined whether to send institute according to the firmware information of the firmware information of the new version and second equipment of acquisition State firmware upgrade packet.
By before sending firmware upgrade packet to the second equipment, according to the firmware of the second equipment obtained from the second equipment Information detects the firmware information (firmware information of the i.e. described new version) for the firmware upgrade packet downloaded again, advantageously ensures that Client is to detect according to the firmware information of the second current connected equipment to the firmware information of new version, is avoided that inspection When survey because the second equipment firmware information inaccuracy caused by miss detection occur, and avoid subsequent upgrade failure show As occurring.
Optionally, before sending the firmware upgrade packet to second equipment, further include:
The device status information of second equipment is detected, and is according to the determination of the device status information of second equipment It is no to send the firmware upgrade packet.
By before sending firmware upgrade packet to the second equipment, the device status information determination also according to the second equipment is No transmission firmware upgrade packet, can be avoided causes to upgrade the phenomenon that failing because the equipment state of the second equipment is unqualified, Probability is upgraded successfully to further increase.
Optionally, the firmware upgrade method of disclosure smart machine further includes:
During sending the firmware upgrade packet to second equipment, the network state of second equipment is detected And state of charge, and determine whether to interrupt according to the network state or state of charge and send the firmware upgrade packet.
By being detected to the network state and state of charge of the second equipment in the transmission process of firmware upgrade packet, And interrupted based on this or continue to send firmware upgrade packet, the network state or state of charge being able to achieve in the second equipment are not met It is required that when, it avoids continuing to send firmware upgrade packet and occupy network, and make user when finding to interrupt, can take measures to solve to ask Topic, and restore firmware upgrade packet and continue to send.
Optionally, the firmware upgrade method of disclosure smart machine further includes:
When interrupting the transmission firmware upgrade packet to second equipment, prompt interruption source and/or repair to suggest.
By firmware upgrade packet transmission interruption when, prompt interruption source and/or repair suggest, can remind user and When solve the problems, such as, and can allow user can quickly learn solve interrupt relevant operation, with restore in time firmware upgrade packet after Supervention is sent, and can improve the firmware upgrade probability of success of the second equipment.
Optionally, the firmware information of the new version includes at least one of:It is product type, firmware module signal, new Firmware version, upgrading number, upgrading mode, target user's information, more new content second speed information and type of server;Described second The firmware information of equipment includes at least one of:Version area information, device model, equipment firmware module model, equipment are solid Part version, upgrading number, upgrading mode and user information.
Optionally, the device status information includes at least one of:Network state, current working status, current electricity Amount and current residual memory headroom.
According to the second aspect of an embodiment of the present disclosure, present disclose provides a kind of firmware upgrade method of smart machine, institutes Method is stated applied in server-side;The method includes:
The firmware information of new version is sent to the client of the first equipment;The client and the second apparatus bound;
When receiving the downloading request sent by the client, firmware upgrade packet is sent to the client;Institute State firmware upgrade of the firmware upgrade packet for second equipment.
The firmware information of new version is sent to the first equipment with the second apparatus bound by server-side by the disclosure as a result, Client in, detected automatically by firmware information of the client to new version, and receiving by client send under When carrying request, firmware upgrade packet is sent to client, any firmware information is understood thus without user, does not also need manually Filter out the firmware upgrade packet for meeting the second equipment so that as the second equipment unmanned plane or other equipment firmware upgrade not The user's operation that places one's entire reliance upon is needed, the error probability of firmware upgrade is advantageously reduced, simplifies firmware upgrade process, improves upgrading Efficiency and enhancing upgrading timeliness.
Optionally, it is described send new version firmware information to the first equipment client the step of, including:
When biography is wrapped in the firmware upgrade for detecting new version to be completed, the firmware information of new version is obtained;
According to the firmware information of the new version and the facility information library prestored, the firmware information of the new version is sent To corresponding client;The facility information inventory contains firmware information and second equipment and the visitor of second equipment The corresponding relationship at family end.
By according to the firmware information of new version and the facility information library prestored, the firmware information of new version is sent to pair The client answered efficiently avoids new version firmware information being sent to the client being not correspond to, and causes to client Information interference and generation phenomena such as cause client to need to detect idle work caused by unrelated firmware information, favorably In the transmission for reducing invalid information, the data for reducing server-side send burden, and improve the firmware information that client receives Validity.
According to the third aspect of an embodiment of the present disclosure, present disclose provides a kind of device for upgrading firmware of smart machine, institutes Device is stated applied to client, including:Memory, processor and display;The memory is stored with a plurality of instruction, the finger The step of order can be executed by the processor and be realized the firmware upgrade method of smart machine provided by disclosure first aspect.
It is applied to since the device for upgrading firmware for the smart machine of the disclosure being applied in client covers the disclosure The firmware upgrade method of smart machine in client, therefore the firmware upgrade for the smart machine of the disclosure being applied in client Device includes aforementioned applications advantageous effects caused by the firmware upgrade method of the smart machine in client, herein not It repeats again.
According to a fourth aspect of embodiments of the present disclosure, present disclose provides a kind of device for upgrading firmware of smart machine, institutes Device is stated applied to server-side, including:Memory and processor;The memory is stored with a plurality of instruction, and described instruction can quilt The step of processor executes and realizes the firmware upgrade method of smart machine provided by disclosure second aspect.
It is applied to since the device for upgrading firmware for the smart machine of the disclosure being applied in server-side covers the disclosure The firmware upgrade method of smart machine in server-side, therefore the firmware upgrade for the smart machine of the disclosure being applied in server-side Device includes aforementioned applications advantageous effects caused by the firmware upgrade method of the smart machine in server-side, herein not It repeats again.
According to a fifth aspect of the embodiments of the present disclosure, it present disclose provides a kind of computer readable storage medium, deposits thereon The step of containing computer program, any one of aforementioned the method realized when described program is executed by processor.
Since disclosure computer readable storage medium covers the firmware upgrade method of disclosure smart machine, therefore this public affairs Advantageous effects caused by the firmware upgrade method that computer readable storage medium includes aforementioned intelligent equipment are opened, herein not It repeats again.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
Fig. 1 is a kind of disclosure process of the firmware upgrade method of smart machine shown according to an exemplary embodiment Figure;
Fig. 2 is a kind of network structure of the disclosure based on the application scenarios shown in FIG. 1 for implementing to exemplify;
Fig. 3 is a kind of disclosure process of the firmware upgrade method of smart machine shown according to an exemplary embodiment Figure;
Fig. 4 is a kind of network structure of the disclosure based on the application scenarios shown in Fig. 2 for implementing to exemplify;
Fig. 5 is the friendship between disclosure server-side shown according to an exemplary embodiment, the first equipment and the second equipment Mutual process schematic;
Fig. 6 is a kind of disclosure process of the firmware upgrade method of smart machine shown according to an exemplary embodiment Figure;
Fig. 7 is the friendship between disclosure server-side shown according to an exemplary embodiment, the first equipment and the second equipment Mutual process schematic;
Fig. 8 is a kind of disclosure process of the firmware upgrade method of smart machine shown according to an exemplary embodiment Figure;
Fig. 9 is a kind of disclosure process of the firmware upgrade method of smart machine shown according to an exemplary embodiment Figure;
It is a kind of when Figure 10 is that the disclosure network link shown according to an exemplary embodiment in the second equipment is not connected to Prompt the client end interface schematic diagram of firmware upgrade Bao Weifa reason;
Figure 11 is that the disclosure is shown according to an exemplary embodiment when the second equipment is in calibration, a kind of prompt The client end interface schematic diagram of firmware upgrade Bao Weifa reason;
Figure 12 is that the disclosure the second equipment shown according to an exemplary embodiment is in work, is flown as aircraft is in When row state, a kind of client end interface schematic diagram prompting firmware upgrade Bao Weifa reason;
When Figure 13 is the current residual memory headroom deficiency of the disclosure the second equipment shown according to an exemplary embodiment, A kind of client end interface schematic diagram prompting firmware upgrade Bao Weifa reason;
Figure 14 is a kind of disclosure client of prompt interruption source and reparation suggestion shown according to an exemplary embodiment Hold interface schematic diagram;
Figure 15 is a kind of disclosure client end interface signal that prompt upgrades successfully shown according to an exemplary embodiment Figure;
Figure 16 is a kind of disclosure smart machine shown according to an exemplary embodiment applied to client device The structural block diagram of the electronic equipment of device for upgrading firmware.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only to be not intended to be limiting the disclosure merely for for the purpose of describing particular embodiments in the term that the disclosure uses. The "an" of the singular used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Referring to Figures 1 and 2, Fig. 1 is a kind of disclosure firmware liter of smart machine shown according to an exemplary embodiment The flow chart of grade method;Fig. 2 is a kind of network structure of the disclosure based on the application scenarios shown in FIG. 1 for implementing to exemplify. The method is applied in the client of the first equipment, the client and the second apparatus bound;Wherein, the first equipment can be Computer equipment, mobile device or remote control equipment.When in use, user can use the client of the first equipment by network with Server-side interaction.It the described method comprises the following steps:
Step 101, the firmware information of the new version sent by server-side is received.
Step 102, determined whether to download firmware according to the firmware information of the firmware information of the new version and the second equipment Upgrade package.
Step 103, when determining the downloading firmware upgrade packet, the firmware upgrade packet is downloaded;The firmware upgrade packet Firmware upgrade for the second equipment.
Optionally, in a step 101, the firmware information of the new version includes at least one of:Product type, firmware Module model, upgrading number, upgrading mode, target user's information, updates content description information and server category at new firmware version Type.Wherein, product type refers to the type for this time upgrading the hardware for the smart machine being applicable in, for example, unmanned flight's type Number 1, unmanned vehicle model 2 etc..Firmware module model refers to that the firmware module for this time upgrading corresponding smart machine is solid Part type, it may for example comprise at least one of:Flight control modules firmware model, battery firmware model, light stream firmware model, With camera firmware model.New firmware version refers to the version number of the firmware upgrade packet of new version, for example, version number is 1000. Upgrading number refers to the endless form this time upgraded, it may for example comprise at least one of:Single upgrading, circulation upgrading.Upgrading Mode refers to this time upgrading available mode, it may for example comprise at least one of:Commonly upgrade, ignores edition upgrading, forces Upgrading and the upgrading of minimum version lower limit.Target user's information refers to the target group that this time upgrading is pointed, may include: All users, white list user or preset specific condition user.Update content description information may include it is following at least it One:The effect of optimization for this time upgrading updated content and reaching.Type of server refers to this time upgrading the service being applicable in Device, for example, domestic server, external server.
Optionally, in a step 102, the firmware information of second equipment is pre-stored in client or from the second equipment It obtains.Wherein it is possible to which client obtains it from the second equipment and consolidates after establishing connection by the last time of client and the second equipment Part information simultaneously stores, and realizes and prestore the firmware information of the second equipment on the client.Furthermore it is possible to current by client The connection between the second equipment is established, the firmware information of the second equipment is obtained after successful connection, and is realized from the second equipment Obtain the firmware information of the second equipment.
Optionally, client can establish connection with the second equipment by way of WIFI or bluetooth or data line connection.
Optionally, in a step 102, the firmware information of second equipment includes at least one of:Version region letter Breath, device model, equipment firmware module model, equipment firmware version, upgrading number, upgrading mode and user information.Wherein, institute The version region that version area information refers to the firmware of the second equipment is stated, for example, for international version or Chinese version.Equipment type The product type or model for number referring to the second equipment, for example, unmanned vehicle model 1, unmanned vehicle model 2 etc..Equipment Firmware module model refers to the type of the firmware module of the second equipment, it may for example comprise at least one of:Flight control modules Model, battery size, light stream model and camera model.Equipment firmware version refers to the current possessed solid of the second equipment The version number of part, for example, version number is 900.Upgrading number refers to the acceptable upgrading endless form of the second equipment, example Such as, including at least one of:Single upgrading, circulation upgrading.Upgrading mode refers to the acceptable upgrading shape of the second equipment Formula, it may for example comprise at least one of:Commonly upgrade, ignore edition upgrading, mandatory upgrade and the upgrading of minimum version lower limit.With Family information refers to the type with user bound in the second equipment, for example, being white list user or specific condition user or general General family.
In the present embodiment, in the step 101, the firmware information of the new version includes following all:Product type, Firmware module model, upgrading number, upgrading mode, target user's information, updates content description information and service at new firmware version Device type.In the step 102, the firmware information of second equipment includes following all:Version area information, equipment type Number, equipment firmware module model, equipment firmware version, upgrading number, upgrading mode and user information.Thus, it is possible to guarantee visitor Family end can carry out complete detection to the firmware information of new version according to the firmware information of the second equipment, avoid occurring because of missing inspection Upgrading failure phenomenon, can be further ensured that success rate for upgrading.
In a step 102, described to be determined whether according to the firmware information of the new version and the firmware information of the second equipment The step of downloading firmware upgrade packet, including two following situations:The first:When the firmware information of new version and consolidating for the second equipment When part information matches, firmware upgrade packet is downloaded;Second:When new version firmware information and the second equipment firmware information not Firmware upgrade packet is not downloaded in timing.Wherein, explanation will reach the first feelings so that the second equipment is unmanned vehicle as an example below Shape, the condition of required satisfaction:
A, the product that the firmware upgrade packet of new version is applicable in is needed comprising the second equipment, that is, the firmware of new version is believed Product type in breath need to include the device model of the second equipment, for example, the product type in the firmware information of new version includes Unmanned vehicle model 1 and unmanned vehicle model 2, and the device model of the second equipment is unmanned vehicle model 1, at this point, Testing result is:Product type in the firmware information of new version is matched with the device model in the firmware information of the second equipment.
B, the type of server in the firmware information of new version need to include the version region of the second equipment, for example, new version Type of server in firmware information includes domestic server and external server, and the version region of the second equipment belongs to China Version, at this point, testing result is:Type of server in the firmware information of new version and the version in the firmware information of the second equipment One's respective area information matches.
C, firmware module model need to be suitable for the equipment firmware module model of the second equipment, example in the firmware information of new version Such as, the flight control modules when only needing to update the flight control modules and battery of the second equipment, in new version firmware information Flight control modules model pointed by firmware model is consistent with the flight control modules model of the second equipment, new version firmware letter Battery size pointed by battery firmware model in breath is consistent with the battery size of the second equipment, at this point, testing result is:Newly Firmware module model in the firmware information of version is matched with the equipment firmware module model in the firmware information of the second equipment.
D, new firmware version needs to be higher than the current equipment firmware version of the second equipment, example in the firmware information of new version Such as, new firmware version is 1000 in the firmware information of new version, and the current equipment firmware version of the second equipment is 900, then bright Aobvious 1000 > 900 indicate that the current equipment firmware version of the second equipment is not up to newest, need to upgrade, at this point, testing result For:New firmware version in the firmware information of new version can be matched with the equipment firmware version in the firmware information of the second equipment.
E, upgrade the upgrading number that number need to include the second equipment in the firmware information of new version, for example, new version firmware The mode of upgrading number in information can upgrade for single, or circulation upgrading, and the upgrading number of the second equipment Mode can support circulation to upgrade, at this point, testing result is:Upgrading number in the firmware information of new version is consolidated with the second equipment Upgrading number matching in part information.
F, the upgrading mode of the second equipment need to be supported by upgrading mode in the firmware information of new version, for example, new version is consolidated Upgrading mode in part information includes common upgrading and two kinds of mandatory upgrade, and the upgrading mode of the second equipment allows commonly to upgrade, At this point, testing result is:Upgrading mode in the firmware information of new version and the upgrading mode in the firmware information of the second equipment Matching.
G, user pointed by target user's information need to include the user information of the second equipment in the firmware information of new version Pointed user, for example, target group pointed by target user's information is all users in new version firmware information, and the User type bound in two equipment is ordinary user, at this point, testing result is:Target user believes in the firmware information of new version Breath is matched with user information in the firmware information of the second equipment.
In the case where all items of A~G all meet, obtained total testing result is:The firmware information of new version and The firmware information of two equipment matches, at this point, determining downloading firmware upgrade packet.In A~G, as long as being unsatisfactory for one of them, obtain Total testing result be:The firmware information of new version and the firmware information of the second equipment mismatch, and do not download admittedly at this point, determining Part upgrade package.
In step 103, when determining that the client of the first equipment can be by service when downloading the firmware upgrade packet End sends downloading request, and after server-side is requested in response to the downloading, the client of the first equipment can be received by server-side The firmware upgrade packet of transmission realizes the downloading to firmware upgrade packet.
Optionally, in step 103, determining that client can first work as itself when downloading the firmware upgrade packet Preceding network connection state is detected, and when having detected 4G or WIFI, just downloads the firmware upgrade to server-side request Packet.
After the completion of the downloading of firmware upgrade packet, the firmware upgrade to the second equipment can be accomplished by the following way:
A, when the first equipment is computer equipment, the second equipment is connected to computer using data line, will have been downloaded Firmware upgrade packet copy the second equipment to, it is automatic to upgrade by the hardware automatic identification firmware upgrade packet of the second equipment.Alternatively, If the second equipment has USB flash disk upgrade function, the firmware upgrade packet downloaded can be copied to USB flash disk, then by USB flash disk insertion the The corresponding USB interface of two equipment;It is automatic to upgrade by the hardware automatic identification firmware upgrade packet of the second equipment.
B, when the first equipment is mobile device or remote control equipment, the firmware upgrade packet that can will have been downloaded by client The cloud disk encrypted is uploaded to, then logs in cloud disk on a computing device, the second equipment is connected to calculating using data line Machine copies the firmware upgrade packet in cloud disk in the second equipment to, by the hardware automatic identification firmware upgrade packet of the second equipment, certainly Dynamic upgrading.
The disclosure passes through the firmware information using the client with the first equipment of the second apparatus bound to new version as a result, Automatically it is detected, and determines whether the firmware upgrade packet of firmware upgrade of the downloading for the second equipment, without user Understand any firmware information, does not also need manual screening and go out to meet the firmware upgrade packet of the second equipment, so that as the second equipment Unmanned plane or the firmware upgrades of other equipment do not need the user's operation that places one's entire reliance upon, advantageously reduce the error of firmware upgrade Probability simplifies firmware upgrade process, improves upgrading efficiency and enhancing upgrading timeliness.
In one embodiment, referring to Fig. 3~Fig. 5, Fig. 3 is a kind of disclosure intelligence shown according to an exemplary embodiment The flow chart of the firmware upgrade method of equipment;Fig. 4 is the one kind of the disclosure based on the application scenarios shown in Fig. 2 for implementing to exemplify Network structure;Fig. 5 is between disclosure server-side shown according to an exemplary embodiment, the first equipment and the second equipment Interactive process schematic diagram.On the basis of previous embodiment, the firmware upgrade mode of the second equipment is changed, that is, the disclosure The firmware upgrade method of smart machine further include:
Step 104, after the completion of the downloading of firmware upgrade packet, firmware upgrade packet is sent to the second equipment.
At step 104, client is sent firmware upgrade packet by 3G/4G or WIFI or bluetooth or other communication modes To the second equipment.After the second equipment receives complete firmware upgrade packet, the second equipment meeting automatic identification firmware upgrade packet is complete At automatic upgrading.
At step 104, the transmission of firmware upgrade packet can be automatic transmission, be also possible to artificially send.Wherein, automatically Transmission refers to:When meeting promotion condition, that is, detect that the firmware information of new version is matched with the firmware information of the second equipment When, client downloads firmware upgrade packet automatically, and after the completion of the downloading of firmware upgrade packet, can trigger automatic sending function, will consolidate Part upgrade package is automatically transmitted to the second equipment.And it artificially sends and refers to:When meeting promotion condition, client can show phase The upgrading control interface answered, configured with upgrading control in the upgrading control interface, user, which can pass through, clicks upgrading control Upgrade command is generated, client is triggered by upgrade command, firmware upgrade packet is sent to the second equipment.
After the disclosure completes firmware upgrade packet by client downloads as a result, firmware upgrade packet is just sent to the second equipment, It realizes firmware upgrade to the second equipment, does not need user and realize firmware liter to the second equipment in such a way that data line transmits Grade can further increase firmware upgrade efficiency and enhancing upgrading timeliness.
In one embodiment, referring to figure 6 and figure 7, Fig. 6 is a kind of disclosure intelligence shown according to an exemplary embodiment The flow chart of the firmware upgrade method of equipment;Fig. 7 is disclosure server-side shown according to an exemplary embodiment, the first equipment And the second interactive process schematic diagram between equipment.On the basis of embodiment shown in Fig. 3, the disclosure is sending firmware liter Before grade packet to the second equipment, further include:
Step 1041, the firmware information of the second equipment is obtained from the second equipment.
Step 1042, determine whether to send out according to the firmware information of the firmware information of the new version and the second equipment obtained Send firmware upgrade packet.
Optionally, in step 1041, the client of the first equipment is set by establishing the connection with the second equipment from second The standby firmware information for obtaining the second equipment.
Optionally, in step 1042, the firmware information of the new version can refer to the aforementioned firmware information to new version Illustrate, the firmware information of second equipment can refer to the explanation of the aforementioned firmware information to the second equipment, and this will not be repeated here.
Optionally, in step 1042, in the firmware information of the new version and the firmware information of the second equipment obtained Timing, i.e., when the two meets aforementioned A~G all, client can just send firmware upgrade packet to the second equipment;At this point, second It is automatic to upgrade after equipment receives complete firmware upgrade packet.
Optionally, in step 1042, the firmware information of the new version can be:Client downloads firmware upgrade packet Afterwards, the firmware information of the new version directly obtained from the firmware upgrade packet after the completion of downloading.
The disclosure is by before sending firmware upgrade packet to the second equipment as a result, according to obtained from the second equipment The firmware information of two equipment examines the firmware information (firmware information of the i.e. described new version) for the firmware upgrade packet downloaded again It surveys, advantageously ensures that client is to carry out according to the firmware information of the second current connected equipment to the firmware information of new version Detection, when being avoided that detection because of the firmware information inaccuracy of the second equipment caused by miss detection generation, and after avoiding The phenomenon that grade of continuing rising fails.
In one embodiment, referring to Fig. 8, Fig. 8 is a kind of disclosure smart machine shown according to an exemplary embodiment Firmware upgrade method flow chart.On the basis of embodiment shown in Fig. 3, the disclosure is sending firmware upgrade packet to the Before two equipment, further include:
Step 1043, the device status information of the second equipment is detected, and is determined according to the device status information of the second equipment Whether firmware upgrade packet is sent.
Optionally, it in step 1043, after client establishes connection by communication network and the second equipment, can obtain in real time The device status information of the second equipment is taken, and realizes the detection to the device status information of the second equipment.
Optionally, in step 1043, the device status information includes at least one of:Network state, current work Make state, current electric quantity and current residual memory headroom.Wherein, network state is detected, whether mainly detection network link connects It is logical.Current working status is detected, mainly detects whether the second equipment is in the state for executing work, or whether in calibration In work, or whether in escalation process.Current electric quantity is detected, the electricity or second equipment of the second equipment are mainly detected Whether the electricity of each hardware module (control module of such as unmanned vehicle, camera model) is greater than default electricity, wherein default Electricity can be set to the 15% of total electricity, and the disclosure does not limit this.Current residual memory headroom is detected, mainly detection the Installation space needed for whether the free memory space of two equipment is greater than firmware upgrade packet.
In the present embodiment, the device status information in the step 1043 includes following all:Network state, work at present State, current electric quantity and current residual memory headroom.As a result, when all information in device status information all meet testing requirements When, firmware upgrade packet can be just sent to the second equipment.So as to guarantee the complete detection to the equipment state of the second equipment, with It avoids causing device upgrade to fail because of equipment component state missing inspection.
In one embodiment, referring to Fig. 9, Fig. 9 is a kind of disclosure smart machine shown according to an exemplary embodiment Firmware upgrade method flow chart.On the basis of embodiment shown in fig. 6, the firmware upgrade of the smart machine of the disclosure Method further includes relative to embodiment shown in Fig. 3:
Step 1041 ', the firmware information of the second equipment is obtained from the second equipment.
Step 1042 ', determined whether according to the firmware information of the firmware information of the new version and the second equipment obtained Detect the device status information of the second equipment.
Step 1043 ', when detecting the device status information of the second equipment, the device status information according to the second equipment is true It is fixed whether to send firmware upgrade packet.
Wherein, to step 1041, the understanding of ' understanding please refer to the aforementioned explanation to step 1041, to step 1042 ' can Referring to the aforementioned explanation to step 1042, to step 1043 ' understanding can refer to the aforementioned explanation to step 1043, do not go to live in the household of one's in-laws on getting married herein It states.
The disclosure is by before sending firmware upgrade packet to the second equipment as a result, also according to the equipment shape of the second equipment State information determines whether transmission firmware upgrade packet, and can be avoided causes upgrading to fail because the equipment state of the second equipment is unqualified The phenomenon that occur, upgrade successfully probability to further increase.
In one embodiment, on the basis of based on Fig. 8 or embodiment shown in Fig. 9, the firmware of the smart machine of the disclosure Upgrade method further includes:
Step 105, it when not sending firmware upgrade packet according to the device status information of the second equipment is determining, prompts not send out original Cause.
Optionally, in the step 105, client can issue voice by the voice module of the first equipment or by aobvious Show that module shows related content, and realizes the prompt for not sending out reason.
It optionally, can be with when the current state for detecting the network state in device status information is that link is not connected to The suggestion content that this is solved the problems, such as by client end interface display can also be learnt indirectly from suggestion content and not send currently admittedly The reason of part upgrade package, as shown in Figure 10, Figure 10 are the disclosure nets shown according to an exemplary embodiment in the second equipment When network link is not connected to, a kind of client end interface schematic diagram prompting firmware upgrade Bao Weifa reason.
Optionally, when detecting the current working status in device status information is in calibration, visitor can be passed through Family end interface display does not send out reason, and as shown in figure 11, Figure 11 is that the disclosure is shown according to an exemplary embodiment to be set second When for being in calibration, a kind of client end interface schematic diagram prompting firmware upgrade Bao Weifa reason.
Optionally, when detecting the current working status in device status information to execute in work, such as unmanned flight When device is in state of flight, it can be shown by client end interface and not send out reason, as shown in figure 12, Figure 12 is the disclosure according to one The second equipment shown in exemplary embodiment is in work, when being in state of flight such as aircraft, a kind of prompt firmware upgrade The client end interface schematic diagram of Bao Weifa reason.
Optionally, when detecting the current residual memory headroom deficiency in device status information, client can be passed through Interface display does not send out reason, and as shown in figure 13, Figure 13 is working as the disclosure the second equipment shown according to an exemplary embodiment When preceding free memory insufficient space, a kind of client end interface schematic diagram prompting firmware upgrade Bao Weifa reason.
The reason of disclosure does not send firmware upgrade packet by prompt as a result, facilitating user quickly to learn currently can not be right The reason of second equipment is upgraded, and scheme can be resolved according to suggested reason in time, can make user and When qualified upgrade environments are provided for the second equipment, while also can guarantee the safe handling of the second equipment.
In one embodiment, on the basis of based on embodiment shown in step 105, the firmware liter of the smart machine of the disclosure Grade method further include:
Step 106, during sending firmware upgrade packet to the second equipment, the network state and electricity of the second equipment are detected Amount state, and determine whether to interrupt according to the network state or state of charge and send firmware upgrade packet.
Optionally, in step 106, the understanding of the network state to the second equipment and state of charge is see aforementioned to network The explanation of state and state of charge.
The disclosure passes through the network state and electricity shape in the transmission process of firmware upgrade packet, to the second equipment as a result, State is detected, and is interrupted based on this or continued to send firmware upgrade packet, and the network state or electricity in the second equipment are able to achieve When amount state is undesirable, avoids continuing to send firmware upgrade packet and occupy network, and make user when finding to interrupt, can adopt It takes measure to solve the problems, such as, and restores firmware upgrade packet and continue to send.
In one embodiment, on the basis of based on embodiment shown in abovementioned steps 106, the smart machine of the disclosure is consolidated Part upgrade method further includes:
Step 107, it when interrupting transmission firmware upgrade packet to the second equipment, prompts interruption source and/or repairs to suggest.
Optionally, in the step 107, client can issue voice by the voice module of the first equipment or by aobvious Show that module shows related content, and realizes interruption source and/or repair the prompt suggested.
It optionally, can when causing the transmission of firmware upgrade packet to be interrupted when the state of charge because of the second equipment is unqualified Suggested with showing corresponding interruption source by client end interface and repairing, as shown in figure 14, Figure 14 is that the disclosure is shown according to one Example property implements a kind of prompt interruption source exemplified and repairs the client end interface schematic diagram suggested.
The disclosure is by prompting interruption source and/or repairing to suggest, energy in the transmission interruption of firmware upgrade packet as a result, Enough user is reminded to solve a problem promptly, and can allow user that can quickly learn the relevant operation for solving to interrupt, restores solid with timely Part upgrade package continues to send, and can improve the firmware upgrade probability of success of the second equipment.
In one embodiment, it is based on the basis of aforementioned any embodiment, the firmware upgrade side of the smart machine of the disclosure Method further includes:
Step 108, after detecting that the second equipment completes firmware upgrade, prompt is upgraded successfully.
Optionally, in step 108, after the second equipment completes firmware upgrade, it can return and upgrade successfully message to client End, after client receives, i.e., known to the second equipment firmware upgrade is completed, then can be by the voice module of the first equipment or aobvious Show that module realization upgrades successfully prompt.Wherein, can be in such a way that display module realization upgrades successfully prompt:Pass through client Interface display upgrading is held to complete content, the upgrading is completed the firmware upgrade that content may include related hardware module and successfully mentioned Show, such as the firmware of aircraft control module, camera firmware, relaying firmware and battery firmware upgrade success, as shown in figure 15, Figure 15 It is a kind of disclosure client end interface schematic diagram for prompting to upgrade successfully shown according to an exemplary embodiment.
The disclosure successfully prompts the second device upgrade by increasing as a result, passes through complicated operation ability without user Second after the completion of capable of learning whether the second equipment successfully upgrades, and user is enabled to timely use upgrading when there is use demand Equipment.
In one embodiment, a kind of firmware upgrade method of smart machine, the method are shown from the angle of server Applied in server-side, include the following steps:
Step 201, the firmware information of new version is sent to the client of the first equipment;The client is tied up with the second equipment It is fixed.
Step 202, when receiving the downloading request sent by client, firmware upgrade packet is sent to client;Institute State firmware upgrade of the firmware upgrade packet for the second equipment.
Optionally, the step 201 may include:
Step 2011, when biography is wrapped in the firmware upgrade for detecting new version to be completed, the firmware information of new version is obtained.
Step 2012, according to the firmware information of new version and the facility information library prestored, the firmware information of new version is sent out It send to corresponding client;The facility information inventory contains the firmware information and the second equipment and client of the second equipment Corresponding relationship.
In step 2011, the firmware upgrade that exploitation is completed can be wrapped by developer or related personnel and pass to clothes It is engaged at end.The firmware information of the new version can be obtained from firmware upgrade packet by server-side.
In step 2012, the firmware information according to new version and the facility information library prestored, by consolidating for new version The step of part information is sent to corresponding client, including:
Step 20121, determining from the facility information library prestored to believe with the new version matched firmware of firmware information The second corresponding equipment of breath.
Step 20122, the firmware information of new version is sent to client corresponding with the second equipment obtained.
Optionally, aforementioned correspondence can be found in the understanding of the firmware upgrade method of the smart machine applied to server-side The explanation of the firmware upgrade method of the smart machine of client for the first equipment, this will not be repeated here.
In one embodiment, a little deformations can be done on the basis of the above embodiments, for example, the step 103 is replaced For:
Step 103a sends download instruction to the second equipment, by the second equipment when determining the downloading firmware upgrade packet The firmware upgrade packet is downloaded to server-side request.
Alternatively,
Step 103b, when determine download the firmware upgrade packet when, push instruction is sent to server-side, from server-side to the Two equipment send the firmware upgrade packet.
Client needs not participate in the downloading work of firmware upgrade packet as a result, it is only necessary to detect the firmware letter of the second equipment Whether breath matches with the firmware information of new version, can be reduced the work load of client.
Optionally, communication can be realized by WIFI, bluetooth or 4G between the second equipment and server-side.When the second equipment with When communicating between server-side by 4G network implementations, 4G communication module can be installed on the second device.
In one embodiment, it can be matched in the firmware information of the second equipment with the firmware information of new version and second sets When standby device status information meets upgrading and requires, step 103a or step 103b is just executed.
It is corresponding with the embodiment of firmware upgrade method of smart machine of the aforementioned applications in the client of the first equipment, The disclosure additionally provides a kind of device for upgrading firmware of smart machine, is used for client device, including:Memory, processor and Display.The memory is stored with a plurality of instruction, and described instruction can be executed by the processor and realize aforementioned applications in The step of firmware upgrade method of smart machine in the client of one equipment, including:Receive the new version sent by server-side Firmware information;
Determined whether to download firmware upgrade packet according to the firmware information of the firmware information of the new version and the second equipment;
When determining the downloading firmware upgrade packet, the firmware upgrade packet is downloaded;The firmware upgrade packet is used for second The firmware upgrade of equipment.
6, Figure 16 is a kind of disclosure intelligence shown according to an exemplary embodiment applied to client device referring to Fig.1 The structural block diagram of the electronic equipment of the device for upgrading firmware of energy equipment.The electronic equipment 500 can be computer, mobile electricity Words, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, individual digital help The terminal devices such as reason.
Referring to Fig.1 6, electronic equipment 500 may include following one or more components:Processing component 501, memory 502, Power supply module 503, multimedia component 504, audio component 505, the interface 506 of input/output (I/O), sensor module 507, And communication component 508.
The integrated operation of the usual controlling electronic devices 500 of processing component 501, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 501 may include one or more processors 509 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 501 may include one or more moulds Block, convenient for the interaction between processing component 501 and other components.For example, processing component 501 may include multi-media module, with Facilitate the interaction between multimedia component 504 and processing component 501.
Memory 502 is configured as storing various types of data to support the operation in electronic equipment 500.These data Example include any application or method for being operated on electronic equipment 500 instruction, contact data, telephone directory Data, message, picture, video etc..Memory 502 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, fastly Flash memory, disk or CD.
Power supply module 503 provides electric power for the various assemblies of electronic equipment 500.Power supply module 503 may include power supply pipe Reason system, one or more power supplys and other generates, managees, and distributes the associated component of electric power with for electronic equipment 500.
Multimedia component 504 includes the screen of one output interface of offer between the electronic equipment 500 and user. The screen may include touch panel (TP), be implemented as touch screen, to receive input signal from the user.Touch panel Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure Power.In some embodiments, multimedia component 504 includes a front camera and/or rear camera.Work as electronic equipment 500 are in operation mode, and such as in a shooting mode or a video mode, front camera and/or rear camera can receive outside Multi-medium data.Each front camera and rear camera can be a fixed optical lens system or have focal length And optical zoom ability.
Audio component 505 is configured as output and/or input audio signal.For example, audio component 505 includes a Mike Wind (MIC), when electronic equipment 500 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 502 or via logical Believe that component 508 is sent.In some embodiments, audio component 505 further includes a loudspeaker, is used for output audio signal.
I/O interface 502 provides interface between processing component 501 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 507 includes one or more sensors, for providing the state of various aspects for electronic equipment 500 Assessment.For example, sensor module 507 can detecte the state that opens/closes of electronic equipment 500, the relative positioning of component, example As the component be electronic equipment 500 display and keypad, sensor module 507 can also detect electronic equipment 500 or The position change of 500 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 500, electronic equipment 500 The temperature change of orientation or acceleration/deceleration and electronic equipment 500.Sensor module 507 may include proximity sensor, be configured For detecting the presence of nearby objects without any physical contact.Sensor module 507 can also include optical sensor, Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor, temperature sensor, photoelectric sensor or GPS sensor.
Communication component 508 is configured to facilitate the communication of wired or wireless way between electronic equipment 500 and other equipment. Electronic equipment 500 can access the wireless network based on communication standard, such as WiFi, 2G, 3G or 4G or their combination.One In a exemplary embodiment, communication component 508 via broadcast channel receive broadcast singal from external broadcasting management system or Broadcast related information.In one exemplary embodiment, the communication component 508 further includes near-field communication (NFC) module, to promote Into short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wide can be based in NFC module Band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 500 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electron component are realized, for executing the above method.
Corresponding in the embodiment of the firmware upgrade method of the smart machine of server-side with aforementioned applications, the disclosure additionally provides A kind of device for upgrading firmware of smart machine is used for server device, including:Memory and processor.The memory storage There is a plurality of instruction, described instruction can be executed and be realized the firmware liter of smart machine of the aforementioned applications in server-side by the processor The step of grade method, including:
The firmware information of new version is sent to the client of the first equipment;The client and the second apparatus bound;
When receiving the downloading request sent by client, firmware upgrade packet is sent to client;The firmware liter Grade packet is used for the firmware upgrade of the second equipment.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize disclosure scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
Corresponding with the embodiment of firmware upgrade method of aforementioned any smart machine, the disclosure also provides a kind of computer Readable storage medium storing program for executing is stored thereon with computer program, which realizes the smart machine when being executed by corresponding processor Firmware upgrade method the step of, including:
First equipment obtains target image, and target image is sent to server;Wherein, the target image and target Personage is corresponding;
Receive the firmware information of the new version sent by server-side;
Determined whether to download firmware upgrade packet according to the firmware information of the firmware information of the new version and the second equipment;
When determining the downloading firmware upgrade packet, the firmware upgrade packet is downloaded;The firmware upgrade packet is used for second The firmware upgrade of equipment.
Also may include:
The firmware information of new version is sent to the client of the first equipment;The client and the second apparatus bound;
When receiving the downloading request sent by client, firmware upgrade packet is sent to client;The firmware liter Grade packet is used for the firmware upgrade of the second equipment.
It wherein includes storage medium (the including but not limited to disk of program code that the disclosure, which can be used in one or more, Memory, CD-ROM, optical memory etc.) on the form of computer program product implemented.Computer-usable storage medium packet Permanent and non-permanent, removable and non-removable media is included, can be accomplished by any method or technique information storage.Letter Breath can be computer readable instructions, data structure, the module of program or other data.The example packet of the storage medium of computer It includes but is not limited to:Phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), Other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices or any other non-biography Defeated medium, can be used for storage can be accessed by a computing device information.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
The foregoing is merely the preferred embodiments of the disclosure, not to limit the disclosure, all essences in the disclosure Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of disclosure protection.

Claims (15)

1. a kind of firmware upgrade method of smart machine, which is characterized in that the method is applied in the client of the first equipment, The client and the second apparatus bound;The method includes:
Receive the firmware information of the new version sent by server-side;
Determined whether to download firmware upgrade packet according to the firmware information of the firmware information of the new version and the second equipment;
When determining the downloading firmware upgrade packet, the firmware upgrade packet is downloaded;The firmware upgrade packet is used for described second The firmware upgrade of equipment.
2. the method according to claim 1, wherein further including:
After the completion of firmware upgrade packet downloading, the firmware upgrade packet is sent to second equipment.
3. the method according to claim 1, wherein the firmware information of second equipment is pre-stored in the visitor It is obtained on the end of family or from second equipment.
4. according to the method described in claim 2, it is characterized in that, send the firmware upgrade packet to second equipment it Before, further include:
The firmware information of second equipment is obtained from second equipment;
Determine whether to send according to the firmware information of the firmware information of the new version and second equipment of acquisition described solid Part upgrade package.
5. method according to claim 2 or 4, which is characterized in that set in the transmission firmware upgrade packet to described second Before standby, further include:
The device status information of second equipment is detected, and determines whether to send out according to the device status information of second equipment Send the firmware upgrade packet.
6. according to the method described in claim 5, it is characterized in that, further including:
During sending the firmware upgrade packet to second equipment, the network state and electricity of second equipment are detected Amount state, and determine whether to interrupt according to the network state or state of charge and send the firmware upgrade packet.
7. according to the method described in claim 6, it is characterized in that, further including:The firmware upgrade packet is sent to institute when interrupting When stating the second equipment, prompt interruption source and/or repair to suggest.
8. the method according to claim 1, wherein the firmware information of the new version include it is following at least it One:Product type, firmware module model, new firmware version, upgrading number, upgrading mode, target user's information, more new content are retouched State information and type of server;
The firmware information of second equipment includes at least one of:Version area information, device model, equipment firmware module Model, equipment firmware version, upgrading number, upgrading mode and user information.
9. according to the method described in claim 5, it is characterized in that, the device status information includes at least one of:Net Network state, current working status, current electric quantity and current residual memory headroom.
10. a kind of firmware upgrade method of smart machine, which is characterized in that the method is applied in server-side;The method Including:
The firmware information of new version is sent to the client of the first equipment;The client and the second apparatus bound;
When receiving the downloading request sent by the client, firmware upgrade packet is sent to the client;It is described solid Part upgrade package is used for the firmware upgrade of second equipment.
11. method according to claim 10, which is characterized in that the firmware information for sending new version to the first equipment The step of client, including:
When biography is wrapped in the firmware upgrade for detecting new version to be completed, the firmware information of new version is obtained;
According to the firmware information of the new version and the facility information library that prestores, the firmware information of the new version is sent to pair The client answered;The facility information inventory contains the firmware information and second equipment and client of second equipment Corresponding relationship.
12. according to the method for claim 11, which is characterized in that the firmware information of the new version include it is following at least it One:Product type, firmware module model, new firmware version, upgrading number, upgrading mode, target user's information, more new content are retouched State information and type of server;
The firmware information of second equipment includes at least one of:Version area information, device model, equipment firmware module Model, equipment firmware version, upgrading number, upgrading mode and user information.
13. a kind of device for upgrading firmware of smart machine, which is characterized in that described device is applied to client, including:Storage Device, processor and display;The memory is stored with a plurality of instruction, and described instruction can be executed by the processor and realize power Benefit requires the step of any one of 1~9 the method.
14. a kind of device for upgrading firmware of smart machine, which is characterized in that described device is applied to server-side, including:Memory And processor;The memory is stored with a plurality of instruction, and described instruction can be executed by the processor and realize claim 10 The step of any one of~12 the method.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed The step of any one of claim 1~12 the method is realized when device executes.
CN201810681337.1A 2018-06-27 2018-06-27 Firmware upgrade method, device and the storage medium of smart machine Pending CN108897560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810681337.1A CN108897560A (en) 2018-06-27 2018-06-27 Firmware upgrade method, device and the storage medium of smart machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810681337.1A CN108897560A (en) 2018-06-27 2018-06-27 Firmware upgrade method, device and the storage medium of smart machine

Publications (1)

Publication Number Publication Date
CN108897560A true CN108897560A (en) 2018-11-27

Family

ID=64346854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810681337.1A Pending CN108897560A (en) 2018-06-27 2018-06-27 Firmware upgrade method, device and the storage medium of smart machine

Country Status (1)

Country Link
CN (1) CN108897560A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246205A (en) * 2018-08-27 2019-01-18 武汉市国扬科技集团有限公司 A kind of smart lock upgrade method and device based on mobile Internet and bluetooth
CN109951599A (en) * 2019-01-31 2019-06-28 苏州佳世达电通有限公司 Data transmission method and its system
CN109982308A (en) * 2019-03-07 2019-07-05 广东汇泰龙科技有限公司 It is a kind of to communicate the method and its system for carrying out door lock firmware upgrade by NFC
CN110515637A (en) * 2019-07-12 2019-11-29 湖南新云网科技有限公司 A kind of programme upgrade method, system and terminal device
CN110543319A (en) * 2019-09-05 2019-12-06 广州极飞科技有限公司 Charger firmware upgrading method and related device
CN111309348A (en) * 2019-05-27 2020-06-19 深圳市鸿合创新信息技术有限责任公司 Firmware upgrading method of electronic equipment and electronic equipment
CN111954040A (en) * 2020-07-17 2020-11-17 深圳市华曦达科技股份有限公司 Remote controller upgrading method and device, electronic equipment and storage medium
CN112230953A (en) * 2020-09-25 2021-01-15 深圳星标科技股份有限公司 Visual navigation aid equipment firmware upgrading method and device, computer equipment and medium
CN112866980A (en) * 2021-01-21 2021-05-28 成都万创科技股份有限公司 Pre-authentication 4G communication module and firmware upgrading method thereof
CN112925540A (en) * 2021-02-20 2021-06-08 潍柴动力股份有限公司 Firmware upgrading method and device
CN114995848A (en) * 2021-12-08 2022-09-02 荣耀终端有限公司 IoT device upgrading method, IoT device and computer-readable storage medium
CN115834382A (en) * 2022-12-02 2023-03-21 安徽送变电工程有限公司 Firmware upgrading method and system for relay base station of unmanned aerial vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598636A (en) * 2016-07-14 2017-04-26 深圳曼塔智能科技有限公司 Firmware upgrading method and device for unmanned aerial vehicle
CN107357601A (en) * 2016-05-10 2017-11-17 零度智控(北京)智能科技有限公司 Unmanned plane device for upgrading firmware, method and terminal
CN107454129A (en) * 2016-12-27 2017-12-08 亿航智能设备(广州)有限公司 Firmware upgrade method, device and system
CN107832065A (en) * 2017-10-24 2018-03-23 广州力浦高科技有限公司 Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357601A (en) * 2016-05-10 2017-11-17 零度智控(北京)智能科技有限公司 Unmanned plane device for upgrading firmware, method and terminal
CN106598636A (en) * 2016-07-14 2017-04-26 深圳曼塔智能科技有限公司 Firmware upgrading method and device for unmanned aerial vehicle
CN107454129A (en) * 2016-12-27 2017-12-08 亿航智能设备(广州)有限公司 Firmware upgrade method, device and system
CN107832065A (en) * 2017-10-24 2018-03-23 广州力浦高科技有限公司 Firmware upgrade method, water purifier, upgrade-system and readable storage medium storing program for executing

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246205A (en) * 2018-08-27 2019-01-18 武汉市国扬科技集团有限公司 A kind of smart lock upgrade method and device based on mobile Internet and bluetooth
CN109951599A (en) * 2019-01-31 2019-06-28 苏州佳世达电通有限公司 Data transmission method and its system
CN109982308A (en) * 2019-03-07 2019-07-05 广东汇泰龙科技有限公司 It is a kind of to communicate the method and its system for carrying out door lock firmware upgrade by NFC
CN111309348B (en) * 2019-05-27 2023-05-02 深圳市鸿合创新信息技术有限责任公司 Firmware upgrading method of electronic equipment and electronic equipment
CN111309348A (en) * 2019-05-27 2020-06-19 深圳市鸿合创新信息技术有限责任公司 Firmware upgrading method of electronic equipment and electronic equipment
CN110515637A (en) * 2019-07-12 2019-11-29 湖南新云网科技有限公司 A kind of programme upgrade method, system and terminal device
CN110543319A (en) * 2019-09-05 2019-12-06 广州极飞科技有限公司 Charger firmware upgrading method and related device
CN111954040A (en) * 2020-07-17 2020-11-17 深圳市华曦达科技股份有限公司 Remote controller upgrading method and device, electronic equipment and storage medium
CN112230953A (en) * 2020-09-25 2021-01-15 深圳星标科技股份有限公司 Visual navigation aid equipment firmware upgrading method and device, computer equipment and medium
CN112866980A (en) * 2021-01-21 2021-05-28 成都万创科技股份有限公司 Pre-authentication 4G communication module and firmware upgrading method thereof
CN112866980B (en) * 2021-01-21 2022-05-24 成都万创科技股份有限公司 Pre-authentication 4G communication module and firmware upgrading method thereof
CN112925540A (en) * 2021-02-20 2021-06-08 潍柴动力股份有限公司 Firmware upgrading method and device
CN112925540B (en) * 2021-02-20 2023-11-17 潍柴动力股份有限公司 Firmware upgrading method and device
CN114995848A (en) * 2021-12-08 2022-09-02 荣耀终端有限公司 IoT device upgrading method, IoT device and computer-readable storage medium
CN115834382A (en) * 2022-12-02 2023-03-21 安徽送变电工程有限公司 Firmware upgrading method and system for relay base station of unmanned aerial vehicle

Similar Documents

Publication Publication Date Title
CN108897560A (en) Firmware upgrade method, device and the storage medium of smart machine
CN103616860B (en) Method and device for remote control of household appliances
CN104917632B (en) The detection method and device for channel status of networking, electronic equipment
CN109379261A (en) Control method, device, system, equipment and the storage medium of smart machine
US20190229943A1 (en) System and method for crowdsourcing generalized smart home automation scenes
CN109270850A (en) A kind of intelligent household management system and method based on Internet of Things
JP2017004548A (en) Information processing terminal, information processing system, and information processing program
CN110262818A (en) The hot update method of Java code, device, electronic equipment and storage medium
CN104160382A (en) Coordination processing execution method and coordination processing execution system
TW201719333A (en) A voice controlling system and method
CN106462464B (en) Method and system for realizing functions by enabling hardware or software elements to execute linkage operation
CN107294793A (en) Replacement method, device, equipment and the storage medium of intelligent home device
CN103518182A (en) Apparatus and method for storing data of peripheral device in portable terminal
CN104239775B (en) The method and apparatus that mobile phone terminal and PC end set up wireless connections by short message
CN105930185A (en) Application updating method and apparatus, terminal and server
CN109429102A (en) For showing the electronic device and its operating method of application
CN104168667A (en) Data acquisition method, device and system
CN105549398B (en) Control system and method for driving corresponding device at fixed time according to trigger strategy
US20160337191A1 (en) Client application adaptation method, terminal device, and system
CN105430448B (en) A kind of the control processing method and video player client of video player
CN104363578A (en) Method and system for automatically installing matched application when mobile equipment accesses to WIFI (wireless fidelity) hot spot
CN109002314A (en) Oftware updating method, device, electronic equipment and storage medium
CN108076229A (en) A kind of application operation condition control method and mobile terminal
US20170195129A1 (en) Method and device to control secondary devices
JP2021152928A (en) Terminal device, method, and program

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127

RJ01 Rejection of invention patent application after publication