WO2021051370A1 - Device control method and system as well as control terminal - Google Patents

Device control method and system as well as control terminal Download PDF

Info

Publication number
WO2021051370A1
WO2021051370A1 PCT/CN2019/106880 CN2019106880W WO2021051370A1 WO 2021051370 A1 WO2021051370 A1 WO 2021051370A1 CN 2019106880 W CN2019106880 W CN 2019106880W WO 2021051370 A1 WO2021051370 A1 WO 2021051370A1
Authority
WO
WIPO (PCT)
Prior art keywords
firmware
target device
version
information
firmware version
Prior art date
Application number
PCT/CN2019/106880
Other languages
French (fr)
Chinese (zh)
Inventor
李佳
朱祖拯
李兴
陈志龙
马骏
王威
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980034061.0A priority Critical patent/CN112166411A/en
Priority to PCT/CN2019/106880 priority patent/WO2021051370A1/en
Publication of WO2021051370A1 publication Critical patent/WO2021051370A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • This application relates to the field of control technology, and in particular to a device control method, system and control terminal.
  • the device 1 that needs to be upgraded does not include a network module
  • device 2 determines that the firmware of device 1 needs to be upgraded according to the firmware version of device 1
  • device 2 downloads the firmware data package of the latest firmware version from the server, and transmits the firmware data package to the device 1.
  • Device 1 upgrades the firmware to the latest version based on the firmware data package.
  • the above-mentioned device control method has the problem of inconvenience in use of the device 1.
  • the user needs to wait for the device 2 to download the firmware data package and the device 1 to upgrade the firmware before using the device 1, and the waiting time is too long.
  • the firmware of one or more modules of the device 1 is not successfully upgraded, and the user believes that the function that the device 1 should support is inconsistent with the function that the device 1 actually supports.
  • the device 1 has an abnormal firmware status
  • the user cannot intuitively know that the firmware status is abnormal, and there is a risk of safe use.
  • the embodiments of the present application provide a device control method, system, and control terminal to solve at least one of the above-mentioned problems.
  • an embodiment of the present application provides a device control method, which is applied to a control terminal, and includes:
  • the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication connection established between the target device and the control terminal , The version information of the target device;
  • the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so as to send the firmware data when the target device and the control terminal establish a communication connection again Package to the target device.
  • an embodiment of the present application provides a device control method, which is applied to a control terminal, and includes:
  • the target device When the target device establishes a communication connection with the control terminal, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
  • the firmware status information determine whether the target device has a firmware status abnormality
  • abnormality prompt information If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  • an embodiment of the present application provides a device control system that is applied to a control terminal.
  • the device control system includes: a processor and a memory; the memory is used to store program code; the processor calls the Program code, when the program code is executed, it is used to perform the following operations:
  • the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication connection established between the target device and the control terminal , The version information of the target device;
  • the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so as to send the firmware data when the target device and the control terminal establish a communication connection again Package to the target device.
  • an embodiment of the present application provides a device control system that is applied to a control terminal.
  • the device control system includes: a processor and a memory; the memory is used to store program codes; the processor calls the Program code, when the program code is executed, it is used to perform the following operations:
  • the target device When the target device establishes a communication connection with the control terminal, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
  • the firmware status information determine whether the target device has a firmware status abnormality
  • abnormality prompt information If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, the at least one piece of code can be executed by a computer to control the The computer executes the method described in any one of the above-mentioned first aspects.
  • an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, the at least one piece of code can be executed by a computer to control the The computer executes the method described in any one of the above second aspects.
  • an embodiment of the present application provides a computer program, when the computer program is executed by a computer, it is used to implement the method described in any one of the foregoing first aspects.
  • an embodiment of the present application provides a computer program, when the computer program is executed by a computer, it is used to implement the method described in any one of the above second aspects.
  • an embodiment of the present application provides a control terminal, including the system described in any one of the third aspect and the fourth aspect.
  • the embodiments of the present application provide a device control method, system, and control terminal.
  • the first firmware version information includes the latest version of the target device and the control terminal.
  • the version information of the target device when a communication connection is established once.
  • the firmware data package of the latest firmware version is obtained and stored Firmware data package, because after the target device disconnects from the control terminal, the control terminal can obtain the latest firmware version of the firmware data package, and store the firmware data package, so that when the target device and the control terminal establish a communication connection again, the control The terminal can directly send the stored firmware data package of the latest firmware version to the target device, which avoids the time consumed by the user waiting for the control terminal to obtain the firmware data package when the target device establishes a communication connection with the control terminal, and reduces the user waiting for the target device The time-consuming of the equipment, thereby improving the usability of the target equipment.
  • FIG. 1 is a schematic diagram of an application scenario of a device control method provided by an embodiment of the application
  • FIG. 2 is a schematic flowchart of a device control method provided by an embodiment of this application.
  • FIG. 3 is a schematic flowchart of a device control method provided by another embodiment of this application.
  • FIG. 4 is a schematic flowchart of a device control method provided by another embodiment of this application.
  • FIG. 5 is a schematic flowchart of a device control method provided by another embodiment of this application.
  • FIG. 6 is a schematic flowchart of a device control method provided by another embodiment of this application.
  • FIG. 7 is a schematic flowchart of a device control method provided by another embodiment of this application.
  • FIG. 8 is a schematic structural diagram of a device control system provided by an embodiment of this application.
  • FIG. 9 is a schematic structural diagram of a device control system provided by another embodiment of this application.
  • FIG. 10 is a schematic structural diagram of a control terminal provided by an embodiment of this application.
  • the application scenario of the device control method provided in the embodiment of the present application may be as shown in FIG. 1.
  • the target device 11 can perform firmware upgrades through the control terminal 12.
  • the communication connection between the target device 11 and the control terminal 12 can be established or disconnected according to user requirements. For example, when the user needs to manage the target device 11 through the control terminal 12, the user can connect the communication interface of the target device 11 with the communication interface of the control terminal 12 through a signal line to establish a communication connection between the target device 11 and the control terminal 12 When the user needs to use the target device 11, the user can remove the signal line between the target device and the control terminal 12 to realize that the communication connection between the target device 11 and the control terminal 12 can be disconnected.
  • the target device 11 may specifically be any type of device that requires firmware upgrade through the control terminal 12.
  • the target device 11 may be a device that does not include a network module, for example, it may be a bracelet device, a movable platform, a remote control device, and the like.
  • the movable platform can be, for example, an unmanned aerial vehicle, a handheld pan-tilt, or a pan-tilt cart.
  • the control terminal 12 may specifically be any type of device that can be used to control other devices to perform firmware upgrades.
  • the control terminal 12 may be a device including a network module, such as a smart phone, a palmtop computer, a tablet computer, a desktop computer, and the like.
  • the network module may specifically be a hardware module that provides access to the network function.
  • the network module may specifically be a wireless network module, such as a wireless fidelity (Wireless Fidelity, WiFi) module, a Bluetooth module, and the like.
  • a wireless network module such as a wireless fidelity (Wireless Fidelity, WiFi) module, a Bluetooth module, and the like.
  • the control terminal 12 completes the following processing: obtains the current firmware version of the target device 11, and determines that the firmware of the target device 11 needs to be upgraded according to the current firmware version of the target device 11.
  • obtain the firmware data package of the latest firmware version from the server, and send the firmware data package of the latest firmware version to the target device 11 through the established communication connection, so that the target device 11 is based on the received firmware data package of the latest firmware version Upgrade the firmware.
  • the control terminal cannot perform firmware upgrade related operations when the target device is not connected. The control terminal can only perform the above processing when the control terminal is connected to the target device.
  • the user needs to wait for the control terminal 12 to complete the above processing, and the target device 11
  • the target device 11 can be used only after the firmware upgrade based on the firmware data package of the latest firmware version. Therefore, the user needs to wait too long, resulting in poor usability of the target device 11.
  • the control terminal 12 can obtain the firmware data package of the latest firmware version, and store the firmware data package, so that the target device 11 When the communication connection is established again with the control terminal 12, the firmware data packet is sent to the target device, thereby avoiding the user waiting for the control terminal 12 to obtain the latest firmware version when the control terminal 12 establishes a communication connection with the target device 11.
  • the time consumed by the firmware data package reduces the time it takes for the user to wait to use the target device 11, thereby improving the usability of the target device 11.
  • the control terminal 12 sends the firmware data package to the target device 11
  • the firmware of one or more hardware modules in the target device 11 is not successfully upgraded after the firmware upgrade is completed
  • the target device is a drone
  • the hardware module is, for example, a photographing module. Since the firmware of the one or more hardware modules has not been successfully upgraded to the current firmware version of the target device, there may be cases where the new functions supported by the current firmware version and related to the one or more hardware modules cannot take effect, so The user believes that the functions that the target device 11 should support are inconsistent with the functions actually supported by the target device 11, which leads to the problem of poor usability of the target device 11.
  • the device control method provided by the embodiment of the present application uses the control terminal 12 to determine whether the target device 11 has a firmware status abnormality when the target device 11 establishes a communication connection with the control terminal 12, and outputs the abnormality when the target device 11 has a firmware status abnormality.
  • the prompt information allows the user to know that the target device 11 cannot support all the functions of its current firmware version through the abnormal prompt information, so that the user believes that the functions that the target device 11 should support can be consistent with the functions actually supported by the target device 11, thereby improving The usability and use safety of the target device 11 are improved, and the user experience is improved.
  • FIG. 2 is a schematic flowchart of a device control method provided by an embodiment of this application.
  • the execution subject of this embodiment may be the control terminal 12, and specifically may be the processor of the control terminal 12.
  • the method of this embodiment may include:
  • Step 201 Obtain the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication between the target device and the control terminal When connecting, the version information of the target device.
  • step 201 may specifically include: when the target device and the control terminal establish a communication connection last time, the control terminal obtains the first firmware version information of the target device from the target device.
  • the last establishment of a communication connection may refer to the last establishment of a communication connection between the target device and the control terminal.
  • the target device may send the first firmware version information to the control terminal, or the control terminal may directly read the first firmware version information from the storage space of the target device.
  • the first firmware version information may refer to information about the current firmware version of the target device when the target device and the control terminal established a communication connection last time in step 201.
  • step 202 may be continued. At this time, the first firmware version information obtained in step 201 may not be stored.
  • step 202 may be executed when the trigger condition is further satisfied.
  • the first firmware version information of the target device may be stored.
  • the firmware version information of the target device can be stored in the local memory of the control terminal, so that the first firmware version information can be directly read from the local memory when step 202 is performed, which is beneficial to subsequent steps. Execution of step 202.
  • the number of the target device may be one or more.
  • the first firmware version information of the target device that established a communication connection with the control terminal last time can be obtained.
  • the target devices that establish a communication connection with the control terminal in turn are target device 1, target device 2, target device 3, and target device 4, you can obtain the latest communication connection between target device 4 and the control terminal.
  • the first firmware version information, that is, the target device is target device 4.
  • the first firmware version information of the target device that has established a communication connection with the control terminal last 1 to N times can be obtained, and N is an integer greater than 1.
  • the target devices that establish a communication connection with the control terminal in turn are target device 1, target device 2, target device 3, target device 4, target device 5, and target device 6, then target device 4, target device
  • Step 202 Determine whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
  • the first firmware version information is used to describe the first firmware version.
  • the first firmware version information may specifically include the version number of the first firmware version.
  • the latest firmware version is used to describe the latest firmware version, and the latest firmware version information may specifically include the version number of the latest firmware version.
  • the latest firmware version can be understood as the newly released firmware version applicable to the target device. It should be noted that the specific manner in which the control terminal obtains the latest firmware version information may not be limited in the embodiment of the present application. For example, the latest firmware version information can be obtained from the server.
  • step 202 may specifically include: determining whether the version number of the first firmware version is less than the version number of the latest firmware version according to the first firmware version information and the latest firmware version information ; If the version number of the first firmware version is less than the version number of the latest firmware version, the first firmware version of the target device is lower than the latest firmware version; if the version number of the first firmware version is equal to the latest firmware version, the first firmware version of the target device The firmware version is the latest firmware version, that is, the first firmware version of the target device is not lower than the latest firmware version.
  • a target application (application program, APP) of the target device may be started to trigger the execution of step 202, where the target APP may be used to control the firmware upgrade of the target device.
  • APP application program
  • step 202 may be triggered by a user operation.
  • the communication connection state between the target device and the control terminal may not be limited in this embodiment. That is, when step 202 is performed, the target device and the control terminal may be in a state of establishing a communication connection. Or, it may be in a state of disconnecting the communication connection.
  • Step 203 If the first firmware version is lower than the latest firmware version, obtain a firmware data package of the latest firmware version, and store the firmware data package; wherein, the target device and the control terminal After the communication connection is disconnected, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so that when the target device and the control terminal establish a communication connection again, the The firmware data packet to the target device.
  • the control terminal obtains the firmware data package of the latest firmware version, and is not limited to the establishment of a communication connection between the control terminal and the target device, that is, the control terminal can obtain the latest firmware version when the communication connection with the target device is disconnected.
  • Firmware data package This solves the problem that the control terminal cannot perform firmware upgrade related operations when the control terminal is not connected to the target device in the traditional technology.
  • the target device and the control terminal may be in a state of disconnecting the communication connection.
  • the state of disconnecting the communication connection can be a state in which the user no longer controls the target device through the control terminal.
  • the target device and the control terminal may change from the state of establishing a communication connection to the state of disconnecting the communication connection. For example, when the communication connection is established, the control terminal has already acquired the firmware data package. As part of this, when the communication connection is disconnected, the control terminal can still continue to obtain the firmware data package.
  • the storing the firmware data package may specifically be storing the firmware data package in the local memory of the control terminal, so that the control terminal can directly read the firmware from the local memory later.
  • the data packet facilitates the execution of the subsequent step 304.
  • the firmware data package may be stored in a non-volatile memory, which is beneficial to improve the security of the firmware data package.
  • the establishment of a communication connection between the target device and the control terminal once again is a communication connection established again relative to the last establishment of a communication connection between the target device and the control terminal.
  • the target device and the control terminal establish a communication connection again as the target device and the control terminal The communication connection is established for the third time.
  • the specific method for obtaining the firmware data package of the latest firmware version is not limited in the embodiment of the present application. Exemplarily, it can be obtained by downloading the firmware data package of the latest firmware version from the server.
  • the control terminal by acquiring the first firmware version information of the target device when the communication connection was established last time between the target device and the control terminal, if it is determined that the first firmware version of the target device is lower than the first firmware version information and the latest firmware version information according to the first firmware version information and the latest firmware version information. For the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package.
  • the control terminal can obtain the firmware data package of the latest firmware version and store the firmware data Package, so that when the target device and the control terminal establish a communication connection again, the control terminal can directly send the stored firmware data package of the latest firmware version to the target device, avoiding the user waiting for control when the target device and the control terminal establish a communication connection
  • the time it takes for the terminal to obtain the firmware data package reduces the time it takes for the user to wait to use the target device, thereby improving the usability of the target device.
  • FIG. 3 is a schematic flowchart of a device control method provided by another embodiment of this application. Based on the embodiment shown in FIG. 2, this embodiment mainly describes a specific implementation manner for the control terminal to control the target device to upgrade the firmware. As shown in FIG. 3, the method of this embodiment may include:
  • Step 301 Obtain the first firmware version information of the target device when the target device and the control terminal have recently established a communication connection, where the first firmware version information includes the last communication between the target device and the control terminal When connecting, the version information of the target device.
  • step 301 is similar to step 201 and will not be repeated here.
  • Step 302 Determine whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
  • step 302 can be triggered by the user.
  • step 302 By triggering step 302 by the user, the effect of improving the flexibility of the user using the control terminal to manage the target device can be achieved.
  • step 302 may specifically include the following steps A and B.
  • Step A Acquire a version comparison operation input by the user to generate a version comparison instruction, the version comparison instruction being used to instruct to compare the first firmware version information with the latest firmware version information.
  • Step B After obtaining the version comparison operation, determine whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
  • the specific type of the version comparison operation may not be limited in the embodiment of the present application.
  • the version comparison operation may specifically be a click operation on a preset button.
  • the version comparison operation may specifically be a selection operation on a preset selection box.
  • the version comparison operation may correspond to multiple target devices one-to-one.
  • step A may specifically be to obtain the version selection operation 1 corresponding to the target device 4 input by the user to generate a version comparison instruction 1.
  • the version comparison instruction 1 is used to instruct to compare the first firmware version information of the target device 4 with the latest firmware version information . This allows the user to further select a specific target device among multiple target devices for version comparison, which improves the flexibility of user triggering.
  • the corresponding latest firmware versions may be different.
  • target device 4 is a drone of model a
  • target device 5 is a drone of model b
  • the latest firmware version corresponding to target device 4 may be the latest firmware version applicable to model a
  • target device 5 The corresponding latest firmware version may be the latest released firmware version applicable to the drone of model b.
  • Step 303 If the first firmware version is lower than the latest firmware version, obtain a firmware data package of the latest firmware version, and store the firmware data package; wherein, the target device and the control terminal After the communication connection is disconnected, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so that when the target device and the control terminal establish a communication connection again, the The firmware data packet to the target device.
  • step 303 may specifically include the following steps C to E.
  • Step C If the first firmware version is lower than the latest firmware version, display firmware prompt information, and the firmware prompt information includes a firmware acquisition entry.
  • Step D Obtain the firmware acquisition operation input by the user according to the firmware prompt information to generate a firmware acquisition instruction, where the firmware acquisition instruction is used to instruct to acquire the firmware data package of the latest firmware version.
  • Step E Acquire the firmware data package of the latest firmware version according to the firmware acquisition operation, and store the firmware data package.
  • the firmware acquisition portal is used for a user to input a firmware acquisition operation.
  • the specific type of the firmware obtaining operation may not be limited in the embodiment of the present application.
  • the specific type of the firmware obtaining operation may correspond to the firmware obtaining entry.
  • the firmware acquisition entry may be an icon button, and correspondingly, the firmware acquisition operation may be a click operation on the icon button.
  • the firmware prompt information may also include other information related to the latest firmware version.
  • the firmware prompt information may further include: the latest firmware version information, and/or the size of the firmware data packet of the latest firmware version.
  • Step 304 When establishing a communication connection with the target device again, send the firmware data packet to the target device, so that the target device upgrades the firmware version to the latest firmware version.
  • the firmware data packet may be directly sent to the target device. That is, it is not necessary to obtain the current firmware version information of the target device when establishing a communication connection with the target device, and determine whether the firmware of the target device needs to be upgraded according to the current firmware version information and the latest firmware version information. Read the firmware data package directly from the local storage and send it to the target device, thus achieving the effect of simplifying the implementation.
  • the current firmware version information of the target device may be obtained, and it may be determined whether the firmware of the target device needs to be upgraded according to the current firmware version information and the latest firmware version information, if If it is determined that the firmware of the target device needs to be upgraded, the firmware data package is read from the local storage and sent to the target device, so that the firmware data package can be sent in a targeted manner, so as to reduce the power consumption of the target device and increase the target The effect of the storage space utilization of the device. For example, when the current firmware version information of the target device is lower than the latest firmware version information, and the latest firmware version information indicates that a mandatory upgrade is required, the firmware data package can be read from the local storage and sent to the target device.
  • the firmware data package can be read from the local storage and sent to the target equipment.
  • the firmware version information of each firmware version includes a mandatory information field. If the field value of the mandatory information field in the latest firmware version information is greater than the field value of the mandatory information field in the current firmware version information of the target device, it means that Mandatory upgrade. If the field value of the mandatory information field in the latest firmware version information is equal to the field value of the mandatory information field in the current firmware version information of the target device, it means that no mandatory upgrade is required.
  • the control terminal can obtain and store the firmware data package of the latest firmware version, and send the firmware data package to the target when the communication connection with the target device is established again Device, so that the target device upgrades the firmware version to the latest firmware version, which avoids the time consumed by the user waiting for the control terminal to obtain the firmware data package when the target device establishes a communication connection with the control terminal, and reduces the waiting time for the user to use Time-consuming of the target device, thereby improving the usability of the target device.
  • FIG. 4 is a schematic flow chart of a device control method provided by another embodiment of the application. This embodiment mainly describes a specific implementation of the device control method on the basis of the foregoing embodiment. As shown in FIG. 4, this embodiment Examples of methods can include:
  • Step 401 After the target device is connected to the target APP of the control terminal, the control terminal saves the current firmware version information of the target device in the local storage space of the target APP.
  • the control terminal can obtain the current firmware version information of the target device, and will obtain the current firmware version of the target device The information is saved in the local storage space of the target APP.
  • the current firmware version information of the target device in step 401 is the aforementioned first firmware version information.
  • Step 402 After the target APP is restarted, the control terminal reads the firmware version information of the target device stored locally.
  • restarting the target APP can be used as a trigger condition for the control terminal to read the firmware version information of the target device stored locally.
  • restarting the target APP may specifically include restarting the target device before connecting to the target APP again, restarting twice, restarting three times, and so on.
  • firmware version information read by the control terminal in step 402 is the first firmware version information saved in the local storage space of the target APP in step 401.
  • Step 403 The control terminal compares the latest firmware version information in the background of the server with the firmware version information stored locally to obtain a comparison result.
  • the version number in the firmware version information stored locally can be compared with the version number in the latest firmware version information.
  • the comparison result may be that the version number in the locally saved firmware version information is less than the version number in the latest firmware version information, or the comparison result may be that the version number in the locally saved firmware version information is equal to the latest firmware version information. Version number.
  • the version release time in the firmware version information stored locally may be compared with the version release time in the latest firmware version information.
  • the comparison result may be that the version release time in the locally saved firmware version information is earlier than the version release time in the latest firmware version information, or the comparison result may be that the version release time of the locally saved firmware version is equal to the latest firmware version The release time of the version in the message.
  • Step 404 The control terminal determines whether the firmware of the target device needs to be upgraded according to the comparison result.
  • the comparison result is that the version number in the locally saved firmware version information is less than the version number in the latest firmware version information, or the version release time in the locally saved firmware version information is earlier than the latest firmware version information
  • the comparison result can be that the version number in the locally saved firmware version information is equal to the version number in the latest firmware version information, or the version release time of the locally saved firmware version is equal to the version release time in the latest firmware version information
  • the target can be determined The firmware of the device does not need to be upgraded.
  • step 405 is executed. If the firmware of the target device does not need to be upgraded, the process ends.
  • step 405 the control terminal prompts to upgrade, and provides an entrance to download the latest firmware version of the server background.
  • the control terminal may prompt the user with the latest firmware version information, such as the version number of the latest firmware version; and/or, the control terminal may prompt the user with the size of the firmware data package of the latest firmware version.
  • the version information of the latest firmware version and the entry can be understood as the aforementioned firmware acquisition entry.
  • Step 406 Download the firmware data package of the latest firmware version to the local storage space of the target APP, and when the target device connects to the target APP again, directly send the locally stored firmware data package to the target device, so that The target device is upgraded based on the firmware data package.
  • the control terminal saves the current firmware version information of the target device to the local storage space of the target APP.
  • the control terminal reads the local storage The firmware version information of the target device, and after determining that the firmware of the target device needs to be upgraded according to the target firmware version information and the latest firmware version information, download the firmware data package of the latest firmware version to the local storage space of the target APP, and re
  • the target APP is connected once, the locally stored firmware data package is directly sent to the target device, so that the target device is upgraded based on the firmware data package, which breaks the situation that no firmware upgrade related operations can be performed when the target APP is not connected to the target device Due to the limitation, the target APP can use the connected target device to check the firmware upgrade status, and let the user download the firmware data package of the latest firmware version in advance.
  • FIG. 5 is a schematic flowchart of a device control method provided by another embodiment of this application.
  • the execution subject of this embodiment may be the control terminal 12, and specifically may be the processor of the control terminal 12.
  • the method of this embodiment may include:
  • Step 501 When the target device establishes a communication connection with the control terminal, obtain firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality.
  • step 501 may specifically include: receiving the firmware status information sent by the target device when the target device establishes a communication connection with the control terminal.
  • step 501 may specifically include: when the target device establishes a communication connection with the control terminal, reading the firmware status information from the local storage of the target device.
  • step 501 may specifically include: when the target device establishes a communication connection with the control terminal, determining whether the firmware abnormality indication information sent by the target device is received, and the firmware abnormality indication information is used to indicate the target The firmware status of the device is abnormal. If the firmware abnormality indication information is received, the firmware status information is used to indicate that the target device has a firmware status abnormality; if the firmware abnormality indication information is not received, the firmware status information is used to indicate that the target device does not have a status abnormality.
  • Step 502 Determine, according to the firmware status information, whether the target device has a firmware status abnormality.
  • a value of 1 for the firmware status information can indicate that the target device has a firmware status abnormality
  • a value of 0 for the firmware status information can indicate that the target device does not have a firmware status abnormality.
  • step 502 can be specifically It includes: determining whether the value of the target status information is 1, if it is 1, it is determined that the target device has a firmware status abnormality, and if it is not 0, it is determined that the target device does not have a firmware status abnormality.
  • Step 503 If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  • the present application may not limit the specific method of outputting the abnormal prompt information.
  • the abnormal prompt information may be output by one or more of voice, text, indicator light, vibration, and the like.
  • the voice broadcast "firmware abnormal”.
  • the text displays "Firmware Abnormal”.
  • the control terminal vibrates in a preset manner.
  • the indicator light of the control terminal lights up according to a preset lighting mode.
  • the control terminal determines whether the target device has an abnormal firmware status, and when the target device has an abnormal firmware status, it outputs an abnormality prompt message, so that the user can use the abnormality prompt information. Knowing that the target device cannot support all the functions of the current firmware version of the target device, so that the user believes that the function that the target device should support can be consistent with the function actually supported by the target device, thereby improving the usability and safety of the target device , And user experience.
  • FIG. 6 is a schematic flowchart of a device control method provided by another embodiment of this application. Based on the embodiment shown in FIG. 5, this embodiment mainly describes an optional implementation method when the target device has firmware abnormality. As shown in FIG. 6, the method of this embodiment may include:
  • Step 601 Acquire firmware status information when the target device establishes a communication connection with the control terminal.
  • step 601 is similar to step 501, and will not be repeated here.
  • Step 602 Determine, according to the firmware status information, whether the target device has a firmware status abnormality.
  • step 602 is similar to step 502, and will not be repeated here.
  • Step 603 If the target device has an abnormal firmware status, send a firmware data package of the latest firmware version to the target device, so that the target device upgrades the firmware version to the latest firmware version according to the firmware data package of the latest firmware version. State the latest firmware version.
  • the firmware data package of the latest firmware version can be sent to the target device.
  • the firmware data package of the latest firmware version can be forcibly sent to the target device without the user's confirmation, so as to avoid the user from using the target device when the firmware status of the target device is abnormal, and reduce the occurrence of the target device being unable to provide the user with the cost.
  • the probability of the functions that should be supported improves the user experience.
  • the method of this embodiment may further include: if the target device has an abnormal firmware status, outputting the mandatory Upgrade information, where the mandatory upgrade information is used to instruct to perform a mandatory upgrade on the target device.
  • the mandatory upgrade information may be output through one or more of voice, text, indicator light, vibration, and the like.
  • the firmware data package of the latest firmware version can be sent to the target device after confirmation by the user, so that when the target device has an abnormal firmware status, the user can further flexibly choose whether to upgrade the firmware, which can achieve improvement.
  • the method of this embodiment may further include: if the target device has an abnormal firmware status, and the firmware upgrade operation input by the user according to the abnormal prompt information is obtained, sending a firmware data package of the latest firmware version to all
  • the firmware upgrade operation is used to generate a firmware upgrade instruction
  • the upgrade instruction is used to instruct to upgrade the firmware version of the target device to the latest firmware version.
  • the target device by establishing a communication connection between the target device and the control terminal, it is determined whether the target device has an abnormal firmware status. If the target device has an abnormal firmware status, the firmware data package of the latest firmware version is sent to the target device, so that the target device The device upgrades the firmware version to the latest firmware version according to the firmware data package of the latest firmware version, so that when the target device has an abnormal firmware status, the target device is upgraded to solve the problem of the target device's abnormal firmware status.
  • the following steps may also be included: if the target device has firmware If the status is abnormal, a lock instruction is sent to the target device, where the lock instruction is used to instruct to lock a specific component of the target device.
  • the specific component may include a component in a hardware module with an abnormal firmware status.
  • the specific components in the hardware module with abnormal firmware status By including the specific components in the hardware module with abnormal firmware status, the effect of avoiding users from using the related functions of the hardware module with abnormal firmware status can be achieved.
  • the specific component may include a motor component.
  • Specific components including motor components can prevent the user from controlling the movement of the target device when the target device has firmware abnormalities. Since the functions supported by the target device usually need to be meaningful when the target device is moving, by preventing the user from having firmware on the target device Controlling the movement of the target device when it is abnormal can achieve the effect of preventing the user from using the target device when the target device has an abnormal firmware status.
  • the target device can unlock the specific component after the firmware data package based on the latest firmware version is upgraded, so that after the target device completes the firmware upgrade, the restriction on the user's use of the target device can be cancelled, which improves the user's Use experience.
  • Step F If the target device has no abnormal firmware status, obtain first firmware version information of the target device, where the first firmware version information includes the establishment of a communication connection between the target device and the control terminal , The version information of the target device.
  • the first firmware version information may refer to the information of the current firmware version of the target device when the communication connection between the target device and the control terminal is established in step 501.
  • the role of the first firmware version information in step F is different from the first firmware version information in step 201, and the first firmware version information in step F is used to determine whether to send a firmware data packet of the latest firmware version to the target device ,
  • the first firmware version information in step 201 is used to determine whether to obtain and store the firmware data package of the latest firmware version.
  • Step G Determine whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
  • the version release time in the first firmware version information can be compared with the version release time in the latest firmware version information. If the version release time in the first firmware version information is earlier than that in the latest firmware version information When the version is released, the first firmware version is lower than the latest firmware version. If the version release time in the first firmware version information is equal to the version release time in the latest firmware version information, the first firmware version is not lower than the latest firmware version.
  • the version number in the first firmware version information can be compared with the version number in the latest firmware version information. If the version number in the first firmware version information is less than the version number in the latest firmware version information, the first firmware version is lower In the latest firmware version, if the version number in the first firmware version information is equal to the version number in the latest firmware version information, the first firmware version is not lower than the latest firmware version.
  • Step H if the first firmware version is lower than the latest firmware version, send a firmware data packet of the latest firmware version to the target device.
  • the firmware data package of the latest firmware version may be sent to the target device without the user's confirmation, that is, the target device Perform a mandatory upgrade.
  • step H may specifically include: if the first firmware version is lower than the latest firmware version, displaying upgrade prompt information, where the upgrade prompt information is used to prompt to upgrade the firmware of the target device; The user enters the firmware upgrade operation according to the upgrade prompt information to generate a firmware upgrade instruction, the firmware upgrade instruction is used to instruct to upgrade the target device; according to the firmware upgrade operation, the firmware data package is sent to all The target device.
  • the target device when the latest firmware version indicates that a mandatory upgrade is required, the target device may be forced to upgrade, and when the latest firmware version indicates that a mandatory upgrade is not required, the target device may not be forced to upgrade, so that the firmware version issuer can Flexibly decide whether to perform mandatory upgrades according to requirements
  • steps I to K may also be performed.
  • Step I Obtain firmware restoration information of the target device, where the firmware restoration information is used to indicate whether the firmware of the target device is undergoing a restorative upgrade.
  • Step J Determine whether the target device is undergoing a restorative upgrade according to the firmware restoration information.
  • Step K If the target device is undergoing a restorative upgrade, output a restoring prompt message.
  • a firmware data package of a firmware version can include the respective firmware data packages of multiple hardware modules in the target device.
  • a firmware data package of a firmware version can be called a "big package”
  • the data package of the hardware module in the firmware version It can be called a "small package”.
  • the target device After the target device performs a firmware upgrade based on a large package, it can cache the small packages of some hardware modules. Further, in abnormal situations, the corresponding hardware modules can be upgraded based on the cached small packages. The upgrade at this time is the recovery upgrade.
  • the abnormal situation may include an abnormal firmware state of the hardware module.
  • determining whether the target device is undergoing a recovery upgrade may specifically include: when the target device establishes a communication connection with the control terminal To determine whether the firmware recovery instruction information sent by the target device is received, where the firmware recovery instruction information is used to indicate that the target device is performing a recoverable upgrade. If the firmware recovery instruction information is received, the firmware recovery information is used to indicate that the target device is performing a recoverable upgrade; if the firmware recovery instruction information is not received, the firmware recovery information is used to indicate that the target device is not performing a recoverable upgrade. upgrade.
  • the restoration prompt information may specifically include any type of information related to the restoration upgrade of the target device.
  • the restoration prompt information includes: restoration progress information, and/or restoration result information.
  • the restoration progress information is, for example, 50% of the restoration upgrade has been completed.
  • the recovery result information may be recovery success or recovery failure, for example.
  • step I to step K the user can know whether the target device is undergoing a restorative upgrade, so as to achieve the effect of improving the user's understanding of the firmware status in the target device.
  • the embodiments of the present application may not limit the conditions for triggering the recovery upgrade of the target device. For example, after the target device is powered on, if the firmware status is abnormal, the recovery upgrade may be performed.
  • the specific method of outputting the recovery prompt information is not limited in this application.
  • the recovery prompt information can be output through one or more of voice, text, indicator light, vibration, and the like.
  • the step of obtaining the firmware status information of the target device in step 501 may be performed. Since there are scenarios in which the target device eliminates the abnormal firmware status through restorative upgrade, after the target device completes the restorative upgrade, the effect of ensuring the accuracy of the prompt can be achieved.
  • FIG. 7 is a schematic flowchart of a device control method provided by another embodiment of this application. This embodiment mainly describes a specific implementation of the device control method based on the foregoing embodiments shown in FIG. 5 to FIG. 6, such as As shown in FIG. 7, the method of this embodiment may include:
  • Step 701 The target APP of the control terminal establishes a communication connection with the target device.
  • Step 702 The control terminal determines whether the firmware of the target device is undergoing a restorative upgrade.
  • step 705 is executed. If the control terminal determines that the firmware of the target device is not undergoing a restorative upgrade, step 703 is executed.
  • Step 703 The control terminal outputs recovery prompt information.
  • Step 704 The control terminal determines that the target device has completed the restorative upgrade.
  • step 705 can be continued.
  • Step 705 The control terminal determines whether the target device pushes firmware abnormally.
  • step 706 If the status of the firmware pushed by the target device is abnormal, step 706 is executed. If the target device does not push the firmware and the status is abnormal, step 707 is executed.
  • Step 706 The control terminal prompts the user that the target device needs to be forced to upgrade.
  • step 710 can be continued.
  • Step 707 The control terminal compares the current firmware version information of the target device with the latest firmware version information to obtain a comparison result.
  • the version number in the current firmware version information can be compared with the version number in the latest firmware version information.
  • the comparison result may be that the version number in the current firmware version information is less than the version number in the latest firmware version information, or the comparison result may be that the version number in the current firmware version information is equal to the version number in the latest firmware version information.
  • the version release time in the current firmware version information may be compared with the version release time in the latest firmware version information.
  • the comparison result may be that the version release time in the current firmware version information is earlier than the version release time in the latest firmware version information, or the comparison result may be that the version release time in the current firmware version information is equal to the latest firmware version information The release time of the version.
  • Step 708 The control terminal determines whether the firmware of the target device needs to be upgraded according to the comparison result.
  • the comparison result is that the version number in the current firmware version information is less than the version number in the latest firmware version information, or the version release time in the current firmware version information is earlier than the version release in the latest firmware version information
  • the comparison result can be that the version number in the current firmware version information is equal to the version number in the latest firmware version information, or the version release time of the current firmware version information is equal to the version release time in the latest firmware version information
  • the firmware of the target device can be determined No upgrade is required.
  • step 709 is executed. If it is determined that the firmware of the target device needs to be upgraded, step 709 is executed. If it is determined that the firmware of the target device does not need to be upgraded, the process ends.
  • step 709 the control terminal prompts the user to upgrade the firmware of the target device.
  • Step 710 The control terminal sends a data packet of the latest firmware version to the target device.
  • the firmware upgrade package is upgraded to realize the reasonable compatibility of abnormal firmware status, restorative upgrade and normal upgrade when the target APP of the control terminal and the target device establish a communication connection.
  • the content of the embodiment shown in Fig. 5 to Fig. 7 can be added to realize the prompt for the abnormal firmware status. Further, it can also be realized when the firmware status is abnormal. At the time of the firmware upgrade and/or resumable upgrade prompts.
  • step 304 when the communication connection with the target device is established again in step 304, the following steps may be further included:
  • the firmware status information determine whether the target device has a firmware status abnormality
  • abnormality prompt information If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  • the sending of the firmware data package to the target device in step 304 may specifically include:
  • If the target device has an abnormal firmware status sending the firmware data packet to the target device.
  • sending the firmware data packet to the target device may specifically include:
  • the firmware upgrade operation input by the user according to the abnormal prompt information is obtained
  • the firmware data packet is sent to the target device, and the firmware upgrade operation is used to generate a firmware upgrade instruction
  • the firmware upgrade instruction is used to instruct to upgrade the firmware version of the target device to the latest firmware version.
  • the method may further include the following step: if the target device has an abnormal firmware status, outputting mandatory upgrade information, where the mandatory upgrade information is used to instruct to perform a mandatory upgrade on the target device.
  • the method may further include the following step: if the target device has an abnormal firmware status, sending a lock instruction to the target device, where the lock instruction is used to instruct to lock a specific component of the target device.
  • the target device includes a movable platform, and the specific component includes a motor component.
  • the sending of the firmware data package to the target device in step 304 may specifically include:
  • the second firmware version information includes the The version information of the target device when the target device establishes a communication connection again;
  • the second firmware version information may refer to the information of the current firmware version of the target device when the communication connection with the target device is established again in step 304.
  • sending the firmware data packet of the latest firmware version to the target device may specifically include:
  • step 304 when the communication connection with the target device is established again in step 304, the following steps may be further included:
  • firmware restoration information determine whether the target device is undergoing a restorative upgrade
  • a restoration prompt message is output.
  • the step of acquiring the firmware status information of the target device is performed.
  • the restoration prompt information includes: restoration progress information, and/or restoration result information.
  • the contents of the embodiments shown in Figs. 2 to 4 can be added to realize that after the target device disconnects the communication connection with the control terminal, the control terminal can obtain and The function of storing the firmware data package of the latest firmware version.
  • the step 501 may further include the following steps before the target device establishes a communication connection with the control terminal:
  • the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package.
  • Sending the firmware data package of the latest firmware version to the target device may specifically include: reading the firmware data package of the latest firmware version from a local memory and sending it to the target device.
  • the role of the second firmware version information at this time is different from the aforementioned second firmware version information.
  • the second firmware version information at this time is used to determine whether to obtain and store the firmware data package of the latest firmware version.
  • the second firmware version information of is used to determine whether to send a firmware data packet of the latest firmware version to the target device.
  • acquiring the firmware data package of the latest firmware version and storing the firmware data package specifically includes:
  • firmware prompt information includes a firmware acquisition entry
  • the firmware data package of the latest firmware version is acquired, and the firmware data package is stored.
  • the firmware prompt information further includes: the latest firmware version information, and/or the size of the firmware data packet of the latest firmware version.
  • the determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information may specifically include:
  • the method may further include: storing the second firmware version information of the target device.
  • FIG. 8 is a schematic structural diagram of a device control system provided by an embodiment of the application.
  • the system may be applied to control terminals.
  • the system 800 may include a processor 801 and a memory 802.
  • the memory 802 is used to store program codes
  • the processor 801 calls the program code, and when the program code is executed, is configured to perform the following operations:
  • the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication connection established between the target device and the control terminal , The version information of the target device;
  • the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so as to send the firmware data when the target device and the control terminal establish a communication connection again Package to the target device.
  • the device control system provided in this embodiment can be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar to those of the method embodiments, and will not be repeated here.
  • FIG. 9 is a schematic structural diagram of a device control system provided by another embodiment of the application.
  • the system may be applied to control terminals.
  • the system 900 may include a processor 901 and a memory 902.
  • the memory 902 is used to store program codes
  • the processor 901 calls the program code, and when the program code is executed, is configured to perform the following operations:
  • the target device When the target device establishes a communication connection with the control terminal, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
  • the firmware status information determine whether the target device has a firmware status abnormality
  • abnormality prompt information If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  • FIG. 10 is a control terminal 1000 provided by an embodiment of this application.
  • the control terminal may include the device control system described in any of the foregoing embodiments, and details are not described herein again.
  • a person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware.
  • the aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.

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)
  • Information Transfer Between Computers (AREA)

Abstract

A device control method and system as well as a control terminal, wherein the method comprises: obtaining first firmware version information of a target device when the target device establishes a latest communication connection with the control terminal, wherein the first firmware version information comprises version information of the target device when the target device establishes the latest communication connection with the control terminal; determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information; acquiring a firmware data packet of the latest firmware version if the first firmware version is lower than the latest firmware version, and storing the firmware data packet; wherein, after the target device is disconnected from the control terminal, the control terminal can acquire the firmware data packet of the latest firmware version and store the firmware data packet, so as to send the firmware data packet to the target device when the target device establishes the communication connection with the control terminal again. The present application improves the usability of the target device.

Description

设备控制方法、系统及控制终端Equipment control method, system and control terminal 技术领域Technical field
本申请涉及控制技术领域,尤其涉及一种设备控制方法、系统及控制终端。This application relates to the field of control technology, and in particular to a device control method, system and control terminal.
背景技术Background technique
随着固件版本的不断更新,通常需要对设备的固件进行升级。然而,传统技术中,固件升级方式的用户体验不够友好。As the firmware version is continuously updated, it is usually necessary to upgrade the firmware of the device. However, in the traditional technology, the user experience of the firmware upgrade method is not friendly enough.
例如,当需要升级的设备1不包括网络模块时,需要将设备1与包括网络模块的设备2连接,通过设备2实现设备1的固件的版本升级。具体的,在设备1与设备2连接之后,若设备2根据设备1的固件版本确定需要升级设备1的固件,则设备2从服务器下载最新固件版本的固件数据包,将固件数据包传输到设备1,设备1基于固件数据包将固件升级到最新版本。但是,上述设备控制方法存在设备1的使用不便的问题。例如,用户需要等待设备2下载固件数据包以及设备1升级固件完成之后,才能使用设备1,等待时间过长。又例如,设备1的一个或多个模块的固件未成功升级,用户认为设备1所应支持的功能,与设备1实际所支持的功能不一致。For example, when the device 1 that needs to be upgraded does not include a network module, it is necessary to connect the device 1 with the device 2 that includes the network module, and the firmware version of the device 1 is upgraded through the device 2. Specifically, after device 1 and device 2 are connected, if device 2 determines that the firmware of device 1 needs to be upgraded according to the firmware version of device 1, device 2 downloads the firmware data package of the latest firmware version from the server, and transmits the firmware data package to the device 1. Device 1 upgrades the firmware to the latest version based on the firmware data package. However, the above-mentioned device control method has the problem of inconvenience in use of the device 1. For example, the user needs to wait for the device 2 to download the firmware data package and the device 1 to upgrade the firmware before using the device 1, and the waiting time is too long. For another example, the firmware of one or more modules of the device 1 is not successfully upgraded, and the user believes that the function that the device 1 should support is inconsistent with the function that the device 1 actually supports.
又例如,当设备1存在固件状态异常时,无法使用户直观获知固件状态异常,存在安全使用风险。For another example, when the device 1 has an abnormal firmware status, the user cannot intuitively know that the firmware status is abnormal, and there is a risk of safe use.
发明内容Summary of the invention
本申请实施例提供一种设备控制方法、系统及控制终端,用以解决上述至少一个问题。The embodiments of the present application provide a device control method, system, and control terminal to solve at least one of the above-mentioned problems.
第一方面,本申请实施例提供一种设备控制方法,应用于控制终端,包 括:In the first aspect, an embodiment of the present application provides a device control method, which is applied to a control terminal, and includes:
获取目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的版本信息;Acquire the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication connection established between the target device and the control terminal , The version information of the target device;
根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本;Determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information;
若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开通信连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包,以在所述目标设备与所述控制终端再一次建立通信连接时,发送所述固件数据包给所述目标设备。If the first firmware version is lower than the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package; wherein, the target device is disconnected from the control terminal After the connection, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so as to send the firmware data when the target device and the control terminal establish a communication connection again Package to the target device.
第二方面,本申请实施例提供一种设备控制方法,应用于控制终端,包括:In the second aspect, an embodiment of the present application provides a device control method, which is applied to a control terminal, and includes:
在目标设备与所述控制终端建立通信连接时,获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态异常;When the target device establishes a communication connection with the control terminal, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
根据所述固件状态信息,确定所述目标设备是否存在固件状态异常;According to the firmware status information, determine whether the target device has a firmware status abnormality;
若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
第三方面,本申请实施例提供一种设备控制系统,应用于控制终端,所述设备控制系统包括:处理器和存储器;所述存储器,用于存储程序代码;所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:In a third aspect, an embodiment of the present application provides a device control system that is applied to a control terminal. The device control system includes: a processor and a memory; the memory is used to store program code; the processor calls the Program code, when the program code is executed, it is used to perform the following operations:
获取目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的版本信息;Acquire the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication connection established between the target device and the control terminal , The version information of the target device;
根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本;Determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information;
若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开通信连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包,以在所述目标设备与所述控制终端再一次建立通信连接时,发送所述固件数据包给所述目标设备。If the first firmware version is lower than the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package; wherein, the target device is disconnected from the control terminal After the connection, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so as to send the firmware data when the target device and the control terminal establish a communication connection again Package to the target device.
第四方面,本申请实施例提供一种设备控制系统,应用于控制终端,所述设备控制系统包括:处理器和存储器;所述存储器,用于存储程序代码;所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:In a fourth aspect, an embodiment of the present application provides a device control system that is applied to a control terminal. The device control system includes: a processor and a memory; the memory is used to store program codes; the processor calls the Program code, when the program code is executed, it is used to perform the following operations:
在目标设备与所述控制终端建立通信连接时,获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态异常;When the target device establishes a communication connection with the control terminal, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
根据所述固件状态信息,确定所述目标设备是否存在固件状态异常;According to the firmware status information, determine whether the target device has a firmware status abnormality;
若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
第五方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包含至少一段代码,所述至少一段代码可由计算机执行,以控制所述计算机执行上述第一方面任一项所述的方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, the at least one piece of code can be executed by a computer to control the The computer executes the method described in any one of the above-mentioned first aspects.
第六方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包含至少一段代码,所述至少一段代码可由计算机执行,以控制所述计算机执行上述第二方面任一项所述的方法。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program includes at least one piece of code, the at least one piece of code can be executed by a computer to control the The computer executes the method described in any one of the above second aspects.
第七方面,本申请实施例提供一种计算机程序,当所述计算机程序被计算机执行时,用于实现上述第一方面任一项所述的方法。In a seventh aspect, an embodiment of the present application provides a computer program, when the computer program is executed by a computer, it is used to implement the method described in any one of the foregoing first aspects.
第八方面,本申请实施例提供一种计算机程序,当所述计算机程序被计算机执行时,用于实现上述第二方面任一项所述的方法。In an eighth aspect, an embodiment of the present application provides a computer program, when the computer program is executed by a computer, it is used to implement the method described in any one of the above second aspects.
第九方面,本申请实施例提供一种控制终端,包括上述第三方面、第四方面任一项所述的系统。In a ninth aspect, an embodiment of the present application provides a control terminal, including the system described in any one of the third aspect and the fourth aspect.
本申请实施例提供一种设备控制方法、系统及控制终端,通过获取目标设备与控制终端最近一次建立通信连接时目标设备的第一固件版本信息,第一固件版本信息包括目标设备与控制终端最近一次建立通信连接时目标设备的版本信息,若根据第一固件版本信息和最新固件版本信息,确定目标设备的第一固件版本低于最新固件版本,则获取最新固件版本的固件数据包,并存储固件数据包,由于在目标设备与控制终端断开通信连接后,控制终端能够获取最新固件版本的固件数据包,并存储固件数据包,使得在目标设备与控制终端再一次建立通信连接时,控制终端可以直接将所存储的最新固件版本的固件数据包给目标设备,避免了在目标设备与控制终端建立通信连接时 用户等待控制终端获取固件数据包所消耗的时长,减小了用户等待使用目标设备的耗时,从而提高了目标设备的可使用性。The embodiments of the present application provide a device control method, system, and control terminal. By acquiring the first firmware version information of the target device when the target device and the control terminal establish a communication connection last time, the first firmware version information includes the latest version of the target device and the control terminal. The version information of the target device when a communication connection is established once. If it is determined that the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information, then the firmware data package of the latest firmware version is obtained and stored Firmware data package, because after the target device disconnects from the control terminal, the control terminal can obtain the latest firmware version of the firmware data package, and store the firmware data package, so that when the target device and the control terminal establish a communication connection again, the control The terminal can directly send the stored firmware data package of the latest firmware version to the target device, which avoids the time consumed by the user waiting for the control terminal to obtain the firmware data package when the target device establishes a communication connection with the control terminal, and reduces the user waiting for the target device The time-consuming of the equipment, thereby improving the usability of the target equipment.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为本申请实施例提供的设备控制方法的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a device control method provided by an embodiment of the application;
图2为本申请一实施例提供的设备控制方法的流程示意图;FIG. 2 is a schematic flowchart of a device control method provided by an embodiment of this application;
图3为本申请另一实施例提供的设备控制方法的流程示意图;FIG. 3 is a schematic flowchart of a device control method provided by another embodiment of this application;
图4为本申请又一实施例提供的设备控制方法的流程示意图;4 is a schematic flowchart of a device control method provided by another embodiment of this application;
图5为本申请又一实施例提供的设备控制方法的流程示意图;FIG. 5 is a schematic flowchart of a device control method provided by another embodiment of this application;
图6为本申请又一实施例提供的设备控制方法的流程示意图;FIG. 6 is a schematic flowchart of a device control method provided by another embodiment of this application;
图7为本申请又一实施例提供的设备控制方法的流程示意图;FIG. 7 is a schematic flowchart of a device control method provided by another embodiment of this application;
图8为本申请一实施例提供的设备控制系统的结构示意图;FIG. 8 is a schematic structural diagram of a device control system provided by an embodiment of this application;
图9为本申请另一实施例提供的设备控制系统的结构示意图;FIG. 9 is a schematic structural diagram of a device control system provided by another embodiment of this application;
图10为本申请一实施例提供的控制终端的结构示意图。FIG. 10 is a schematic structural diagram of a control terminal provided by an embodiment of this application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by a person of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请实施例提供的设备控制方法的应用场景可以如图1所示。其中,目标设备11可以通过控制终端12进行固件升级。其中,目标设备11与控制终端12之间可以根据用户需求建立或断开通信连接。例如,当用户需要通过控制 终端12管理目标设备11时,用户可以通过信号线将目标设备11的通信接口与控制终端12的通信接口连接,以实现目标设备11与控制终端12之间建立通信连接,当用户需要使用目标设备11时,用户可以去掉目标设备与控制终端12之间的信号线,以实现目标设备11与控制终端12之间可以断开通信连接。The application scenario of the device control method provided in the embodiment of the present application may be as shown in FIG. 1. Among them, the target device 11 can perform firmware upgrades through the control terminal 12. Among them, the communication connection between the target device 11 and the control terminal 12 can be established or disconnected according to user requirements. For example, when the user needs to manage the target device 11 through the control terminal 12, the user can connect the communication interface of the target device 11 with the communication interface of the control terminal 12 through a signal line to establish a communication connection between the target device 11 and the control terminal 12 When the user needs to use the target device 11, the user can remove the signal line between the target device and the control terminal 12 to realize that the communication connection between the target device 11 and the control terminal 12 can be disconnected.
其中,目标设备11具体可以为需要通过控制终端12进行固件升级的任意类型设备。示例性的,目标设备11可以为不包括网络模块的设备,例如可以为手环设备、可移动平台、遥控器设备等。其中,可移动平台例如可以为无人机,手持云台,云台车。Among them, the target device 11 may specifically be any type of device that requires firmware upgrade through the control terminal 12. Exemplarily, the target device 11 may be a device that does not include a network module, for example, it may be a bracelet device, a movable platform, a remote control device, and the like. Among them, the movable platform can be, for example, an unmanned aerial vehicle, a handheld pan-tilt, or a pan-tilt cart.
控制终端12具体可以为能够用于控制其他设备进行固件升级的任意类型设备。示例性的,控制终端12可以为包括网络模块的设备,例如可以为智能手机、掌上电脑、平板电脑、台式机等。The control terminal 12 may specifically be any type of device that can be used to control other devices to perform firmware upgrades. Exemplarily, the control terminal 12 may be a device including a network module, such as a smart phone, a palmtop computer, a tablet computer, a desktop computer, and the like.
网络模块具体可以为提供访问网络功能的硬件模块。示例性的,网络模块具体可以为无线网络模块,例如无线保真(Wireless Fidelity,WiFi)模块、蓝牙模块等。The network module may specifically be a hardware module that provides access to the network function. Exemplarily, the network module may specifically be a wireless network module, such as a wireless fidelity (Wireless Fidelity, WiFi) module, a Bluetooth module, and the like.
通常,在目标设备11与控制终端12建立通信连接时,控制终端12完成如下处理:获取目标设备11的当前固件版本,在根据目标设备11的当前固件版本确定需要对目标设备11的固件进行升级时,从服务器获取最新固件版本的固件数据包,并通过所建立的通信连接将最新固件版本的固件数据包发送给目标设备11,以使目标设备11基于接收到的最新固件版本的固件数据包对固件进行升级。可以看出,传统技术中控制终端未连接目标设备时无法进行固件升级相关操作,只有在控制终端连接目标设备时控制终端才能进行上述处理,用户需要等待控制终端12完成上述处理,且目标设备11基于最新固件版本的固件数据包完成固件升级之后,才能使用目标设备11,从而存在由于用户需要等待的时间过长,导致目标设备11的可使用性较差的问题。Generally, when the target device 11 establishes a communication connection with the control terminal 12, the control terminal 12 completes the following processing: obtains the current firmware version of the target device 11, and determines that the firmware of the target device 11 needs to be upgraded according to the current firmware version of the target device 11. When, obtain the firmware data package of the latest firmware version from the server, and send the firmware data package of the latest firmware version to the target device 11 through the established communication connection, so that the target device 11 is based on the received firmware data package of the latest firmware version Upgrade the firmware. It can be seen that in the traditional technology, the control terminal cannot perform firmware upgrade related operations when the target device is not connected. The control terminal can only perform the above processing when the control terminal is connected to the target device. The user needs to wait for the control terminal 12 to complete the above processing, and the target device 11 The target device 11 can be used only after the firmware upgrade based on the firmware data package of the latest firmware version. Therefore, the user needs to wait too long, resulting in poor usability of the target device 11.
本申请实施例提供的设备控制方法,通过在目标设备11与控制终端12断开通信连接后,控制终端12能够获取最新固件版本的固件数据包,并存储所述固件数据包,以在目标设备11与控制终端12再一次建立通信连接时,发送所述固件数据包给所述目标设备,从而避免了在控制终端12与目标设备11建立通信连接时,用户等待控制终端12获取最新固件版本的固件数据包所消耗的时长,减小了用户等待使用目标设备11的耗时,从而提高了目标设备11的可使用性。In the device control method provided by the embodiments of the present application, after the target device 11 disconnects from the control terminal 12, the control terminal 12 can obtain the firmware data package of the latest firmware version, and store the firmware data package, so that the target device 11 When the communication connection is established again with the control terminal 12, the firmware data packet is sent to the target device, thereby avoiding the user waiting for the control terminal 12 to obtain the latest firmware version when the control terminal 12 establishes a communication connection with the target device 11. The time consumed by the firmware data package reduces the time it takes for the user to wait to use the target device 11, thereby improving the usability of the target device 11.
另外,在控制终端12将固件数据包发送给目标设备11之后,可能存在固件升级完成后,目标设备11中一个或多个硬件模块的固件未成功升级为的情况,以目标设备为无人机为例,该硬件模块例如为拍摄模块。由于该一个或多个硬件模块的固件未成功升级为目标设备的当前固件版本,因此会存在当前固件版本所支持且与该一个或多个硬件模块相关的新功能无法生效的情况,从而存在由于用户认为目标设备11所应支持的功能,与目标设备11实际所支持的功能不一致,导致目标设备11的可使用性较差的问题。In addition, after the control terminal 12 sends the firmware data package to the target device 11, there may be cases in which the firmware of one or more hardware modules in the target device 11 is not successfully upgraded after the firmware upgrade is completed, and the target device is a drone As an example, the hardware module is, for example, a photographing module. Since the firmware of the one or more hardware modules has not been successfully upgraded to the current firmware version of the target device, there may be cases where the new functions supported by the current firmware version and related to the one or more hardware modules cannot take effect, so The user believes that the functions that the target device 11 should support are inconsistent with the functions actually supported by the target device 11, which leads to the problem of poor usability of the target device 11.
本申请实施例提供的设备控制方法,通过在目标设备11与控制终端12建立通信连接时,控制终端12确定目标设备11是否存在固件状态异常,并在目标设备11存在固件状态异常时,输出异常提示信息,使得用户通过异常提示信息可以获知目标设备11无法支持其当前固件版本的全部功能,使得用户认为目标设备11所应支持的功能,与目标设备11实际所支持的功能可以一致,从而提高了目标设备11的可使用性、使用安全性、提升了用户使用体验。The device control method provided by the embodiment of the present application uses the control terminal 12 to determine whether the target device 11 has a firmware status abnormality when the target device 11 establishes a communication connection with the control terminal 12, and outputs the abnormality when the target device 11 has a firmware status abnormality. The prompt information allows the user to know that the target device 11 cannot support all the functions of its current firmware version through the abnormal prompt information, so that the user believes that the functions that the target device 11 should support can be consistent with the functions actually supported by the target device 11, thereby improving The usability and use safety of the target device 11 are improved, and the user experience is improved.
下面结合附图,对本申请的一些实施方式作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Hereinafter, some embodiments of the present application will be described in detail with reference to the accompanying drawings. In the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.
图2为本申请一实施例提供的设备控制方法的流程示意图,本实施例的执行主体可以为控制终端12,具体可以为控制终端12的处理器。如图2所示,本实施例的方法可以包括:2 is a schematic flowchart of a device control method provided by an embodiment of this application. The execution subject of this embodiment may be the control terminal 12, and specifically may be the processor of the control terminal 12. As shown in Figure 2, the method of this embodiment may include:
步骤201,获取目标设备与控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的版本信息。Step 201: Obtain the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication between the target device and the control terminal When connecting, the version information of the target device.
本步骤中,示例性的,步骤201具体可以包括:在所述目标设备与所述控制终端最近一次建立通信连接时,所述控制终端从所述目标设备获取目标设备的第一固件版本信息。最近一次建立通信连接,可以是指上一次所述目标设备与所述控制终端建立通信连接。例如,目标设备可以将第一固件版本信息发送给控制终端,或者控制终端可以直接从目标设备的存储空间中读取第一固件版本信息。In this step, as an example, step 201 may specifically include: when the target device and the control terminal establish a communication connection last time, the control terminal obtains the first firmware version information of the target device from the target device. The last establishment of a communication connection may refer to the last establishment of a communication connection between the target device and the control terminal. For example, the target device may send the first firmware version information to the control terminal, or the control terminal may directly read the first firmware version information from the storage space of the target device.
其中,所述第一固件版本信息可以是指步骤201中在所述目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的当前固件版本的信息。The first firmware version information may refer to information about the current firmware version of the target device when the target device and the control terminal established a communication connection last time in step 201.
示例性的,可以在执行完步骤201之后,继续执行步骤202,此时可以不存储步骤201获取的第一固件版本信息。Exemplarily, after step 201 is performed, step 202 may be continued. At this time, the first firmware version information obtained in step 201 may not be stored.
示例性的,可以在执行完步骤201之后,进一步满足触发条件时执行步骤202,此时在步骤201获得目标设备的第一固件版本信息之后,可以存储目标设备的第一固件版本信息。示例性的,在步骤201之后,可以将目标设备的固件版本信息存储至控制终端的本地存储器中,以便于在执行步骤202时可以直接从本地存储器中读取第一固件版本信息,有利于后续步骤202的执行。Exemplarily, after step 201 is executed, step 202 may be executed when the trigger condition is further satisfied. At this time, after the first firmware version information of the target device is obtained in step 201, the first firmware version information of the target device may be stored. Exemplarily, after step 201, the firmware version information of the target device can be stored in the local memory of the control terminal, so that the first firmware version information can be directly read from the local memory when step 202 is performed, which is beneficial to subsequent steps. Execution of step 202.
示例性的,所述目标设备的个数可以为一个或多个。当目标设备的个数为一个时,可以获取与控制终端最近一次建立通信连接的目标设备的第一固件版本信息。例如,假设与控制终端依次建立通信连接的目标设备为目标设备1、目标设备2、目标设备3和目标设备4,则可以获取目标设备4与控制终端最近一次建立通信连接时,目标设备4的第一固件版本信息,即,所述目标设备为目标设备4。Exemplarily, the number of the target device may be one or more. When the number of target devices is one, the first firmware version information of the target device that established a communication connection with the control terminal last time can be obtained. For example, assuming that the target devices that establish a communication connection with the control terminal in turn are target device 1, target device 2, target device 3, and target device 4, you can obtain the latest communication connection between target device 4 and the control terminal. The first firmware version information, that is, the target device is target device 4.
当目标设备的个数为多个时,可以获取与控制终端最近1至N次建立通信连接的目标设备的第一固件版本信息,N为大于1的整数。例如,假设N等于3,与控制终端依次建立通信连接的目标设备为目标设备1、目标设备2、目标设备3、目标设备4、目标设备5和目标设备6,则可以获取目标设备4、目标设备5和目标设备6与控制终端最近一次建立通信连接时,目标设备4、目标设备5和目标设备6分别的第一固件版本信息,即,所述目标设备包括目标设备4、目标设备5和目标设备6。从而能够对于多个目标设备进行管理,方便用户获知多个设备的固件版本历史信息,实现多目标设备固件版本管理功能。When there are multiple target devices, the first firmware version information of the target device that has established a communication connection with the control terminal last 1 to N times can be obtained, and N is an integer greater than 1. For example, assuming that N is equal to 3, the target devices that establish a communication connection with the control terminal in turn are target device 1, target device 2, target device 3, target device 4, target device 5, and target device 6, then target device 4, target device The first firmware version information of the target device 4, the target device 5, and the target device 6 respectively when the device 5 and the target device 6 establish a communication connection with the control terminal last time, that is, the target device includes the target device 4, the target device 5, and Target device 6. Thereby, multiple target devices can be managed, which is convenient for users to know the firmware version history information of multiple devices, and realizes the function of multi-target device firmware version management.
步骤202,根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本。Step 202: Determine whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
本步骤中,第一固件版本信息用于描述第一固件版本,示例性的,第一固件版本信息具体可以包括第一固件版本的版本号。最新固件版本用于描述最新固件版本,最新固件版本信息具体可以包括最新固件版本的版本号。其中,最新固件版本可以理解为最新发布的适用于目标设备的固件版本。需要说明的是,对于控制终端获得最新固件版本信息的具体方式,本申请实施例可以不做限定。例如,可以从服务器获取最新固件版本信息。In this step, the first firmware version information is used to describe the first firmware version. For example, the first firmware version information may specifically include the version number of the first firmware version. The latest firmware version is used to describe the latest firmware version, and the latest firmware version information may specifically include the version number of the latest firmware version. Among them, the latest firmware version can be understood as the newly released firmware version applicable to the target device. It should be noted that the specific manner in which the control terminal obtains the latest firmware version information may not be limited in the embodiment of the present application. For example, the latest firmware version information can be obtained from the server.
示例性的,若版本号越大表示固件版本越新,则步骤202具体可以包括:根据第一固件版本信息和最新固件版本信息,确定第一固件版本的版本号是否小于最新固件版本的版本号;若第一固件版本的版本号小于最新固件版本的版本号,则目标设备的第一固件版本低于最新固件版本;若第一固件版本 的版本号等于最新固件版本,则目标设备的第一固件版本是最新固件版本,即目标设备的第一固件版本未低于最新固件版本。Exemplarily, if the larger the version number, the newer the firmware version, step 202 may specifically include: determining whether the version number of the first firmware version is less than the version number of the latest firmware version according to the first firmware version information and the latest firmware version information ; If the version number of the first firmware version is less than the version number of the latest firmware version, the first firmware version of the target device is lower than the latest firmware version; if the version number of the first firmware version is equal to the latest firmware version, the first firmware version of the target device The firmware version is the latest firmware version, that is, the first firmware version of the target device is not lower than the latest firmware version.
需要说明的是,对于确定目标设备的第一固件版本是否低于最新固件版本的具体方式,本申请实施例不做限定。It should be noted that the specific method for determining whether the first firmware version of the target device is lower than the latest firmware version is not limited in the embodiment of the present application.
示例性的,可以由目标设备的目标应用程序(application program,APP)启动,触发执行步骤202,其中,目标APP可以用于控制目标设备的固件升级。Exemplarily, a target application (application program, APP) of the target device may be started to trigger the execution of step 202, where the target APP may be used to control the firmware upgrade of the target device.
示例性的,可以由用户操作触发执行步骤202。Exemplarily, step 202 may be triggered by a user operation.
需要说明的是,对于执行步骤202时,目标设备与控制终端的通信连接状态,本申请实施例可以不做限定,即在执行步骤202时,目标设备与控制终端可以是建立通信连接的状态,或者,也可以为断开通信连接的状态。It should be noted that when step 202 is performed, the communication connection state between the target device and the control terminal may not be limited in this embodiment. That is, when step 202 is performed, the target device and the control terminal may be in a state of establishing a communication connection. Or, it may be in a state of disconnecting the communication connection.
步骤203,若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开通信连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包,以在所述目标设备与所述控制终端再一次建立通信连接时,发送所述固件数据包给所述目标设备。Step 203: If the first firmware version is lower than the latest firmware version, obtain a firmware data package of the latest firmware version, and store the firmware data package; wherein, the target device and the control terminal After the communication connection is disconnected, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so that when the target device and the control terminal establish a communication connection again, the The firmware data packet to the target device.
本步骤中,控制终端获取最新固件版本的固件数据包,并不受限于控制终端与目标设备建立通信连接,即控制终端能够在与所述目标设备断开通信连接时,获取最新固件版本的固件数据包。从而解决了传统技术中控制终端未连接目标设备时无法进行固件升级相关操作的问题。利用控制终端未连接目标设备的时间,获取最新固件版本的固件数据包,可以不影响用户操作目标设备,减少占用用户操作目标设备的时间,提高用户的使用体验。示例性的,在执行步骤203时,目标设备与控制终端可以是断开通信连接的状态。断开通信连接的状态,可以是用户不再通过控制终端对目标设备进行控制的状态。示例性的,在执行步骤203的过程中,目标设备与控制终端可以由建立通信连接的状态变化为断开通信连接的状态,例如,在建立通信连接时,控制终端已经进行获取了固件数据包的一部分,当断开通信连接后,控制终端仍然能够继续获取固件数据包。In this step, the control terminal obtains the firmware data package of the latest firmware version, and is not limited to the establishment of a communication connection between the control terminal and the target device, that is, the control terminal can obtain the latest firmware version when the communication connection with the target device is disconnected. Firmware data package. This solves the problem that the control terminal cannot perform firmware upgrade related operations when the control terminal is not connected to the target device in the traditional technology. Use the time when the control terminal is not connected to the target device to obtain the firmware data package of the latest firmware version, which may not affect the user's operation of the target device, reduce the time occupied by the user to operate the target device, and improve the user experience. Exemplarily, when step 203 is performed, the target device and the control terminal may be in a state of disconnecting the communication connection. The state of disconnecting the communication connection can be a state in which the user no longer controls the target device through the control terminal. Exemplarily, in the process of performing step 203, the target device and the control terminal may change from the state of establishing a communication connection to the state of disconnecting the communication connection. For example, when the communication connection is established, the control terminal has already acquired the firmware data package. As part of this, when the communication connection is disconnected, the control terminal can still continue to obtain the firmware data package.
示例性的,所述存储所述固件数据包,具体可以为将所述固件数据包存储在所述控制终端的本地存储器中,以便于之后所述控制终端可以直接本地存储器中读取所述固件数据包,有利于后续步骤304的执行。为了避免控制终端关机后固件数据包丢失,可以将所述固件数据包存储在非易失性存储器, 有利于提高固件数据包的安全性。Exemplarily, the storing the firmware data package may specifically be storing the firmware data package in the local memory of the control terminal, so that the control terminal can directly read the firmware from the local memory later. The data packet facilitates the execution of the subsequent step 304. In order to prevent the firmware data package from being lost after the control terminal is shut down, the firmware data package may be stored in a non-volatile memory, which is beneficial to improve the security of the firmware data package.
需要说明的是,所述目标设备与所述控制终端再一次建立通信连接,为相对于所述目标设备与控制终端最近一次建立通信连接的又一次建立通信连接。例如,当所述目标设备与控制终端最近一次建立通信连接具体为目标设备与控制终端第2次建立通信连接时,所述目标设备与所述控制终端再一次建立通信连接为目标设备与控制终端第3次建立通信连接。It should be noted that the establishment of a communication connection between the target device and the control terminal once again is a communication connection established again relative to the last establishment of a communication connection between the target device and the control terminal. For example, when the last communication connection established between the target device and the control terminal is specifically the second communication connection between the target device and the control terminal, the target device and the control terminal establish a communication connection again as the target device and the control terminal The communication connection is established for the third time.
需要说明的是,对于获取最新固件版本的固件数据包的具体方式,本申请实施例不做限定。示例性的,可以通过从服务器下载最新固件版本的固件数据包的方式获取。It should be noted that the specific method for obtaining the firmware data package of the latest firmware version is not limited in the embodiment of the present application. Exemplarily, it can be obtained by downloading the firmware data package of the latest firmware version from the server.
本实施例中,通过获取目标设备与控制终端最近一次建立通信连接时,目标设备的第一固件版本信息,若根据第一固件版本信息和最新固件版本信息,确定目标设备的第一固件版本低于最新固件版本,则获取最新固件版本的固件数据包,并存储固件数据包,由于在目标设备与控制终端断开通信连接后,控制终端能够获取最新固件版本的固件数据包,并存储固件数据包,使得在目标设备与控制终端再一次建立通信连接时,控制终端可以直接将所存储的最新固件版本的固件数据包给目标设备,避免了在目标设备与控制终端建立通信连接时用户等待控制终端获取固件数据包所消耗的时长,减小了用户等待使用目标设备的耗时,从而提高了目标设备的可使用性。In this embodiment, by acquiring the first firmware version information of the target device when the communication connection was established last time between the target device and the control terminal, if it is determined that the first firmware version of the target device is lower than the first firmware version information and the latest firmware version information according to the first firmware version information and the latest firmware version information. For the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package. Since the target device is disconnected from the control terminal, the control terminal can obtain the firmware data package of the latest firmware version and store the firmware data Package, so that when the target device and the control terminal establish a communication connection again, the control terminal can directly send the stored firmware data package of the latest firmware version to the target device, avoiding the user waiting for control when the target device and the control terminal establish a communication connection The time it takes for the terminal to obtain the firmware data package reduces the time it takes for the user to wait to use the target device, thereby improving the usability of the target device.
图3为本申请另一实施例提供的设备控制方法的流程示意图,本实施例在图2所示实施例的基础上,主要描述了控制终端控制目标设备升级固件的一种具体的实现方式。如图3所示,本实施例的方法可以包括:FIG. 3 is a schematic flowchart of a device control method provided by another embodiment of this application. Based on the embodiment shown in FIG. 2, this embodiment mainly describes a specific implementation manner for the control terminal to control the target device to upgrade the firmware. As shown in FIG. 3, the method of this embodiment may include:
步骤301,获取目标设备与控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的版本信息。Step 301: Obtain the first firmware version information of the target device when the target device and the control terminal have recently established a communication connection, where the first firmware version information includes the last communication between the target device and the control terminal When connecting, the version information of the target device.
需要说明的是,步骤301与步骤201类似,在此不再赘述。It should be noted that step 301 is similar to step 201 and will not be repeated here.
步骤302,根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本。Step 302: Determine whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
本步骤中,可选的,可以由用户触发步骤302。通过用户触发步骤302,可以达到提高用户使用控制终端管理目标设备的灵活性的效果。示例性的,步骤302具体可以包括如下步骤A和步骤B。In this step, optionally, step 302 can be triggered by the user. By triggering step 302 by the user, the effect of improving the flexibility of the user using the control terminal to manage the target device can be achieved. Exemplarily, step 302 may specifically include the following steps A and B.
步骤A,获取用户输入的版本比较操作,以生成版本比较指令,所述版本 比较指令用于指示比较所述第一固件版本信息与所述最新固件版本信息。Step A: Acquire a version comparison operation input by the user to generate a version comparison instruction, the version comparison instruction being used to instruct to compare the first firmware version information with the latest firmware version information.
步骤B,在获取到所述版本比较操作之后,根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本。Step B: After obtaining the version comparison operation, determine whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
其中,对于版本比较操作的具体类型,本申请实施例可以不做限定。示例性的,版本比较操作具体可以为对预设按钮的点击操作。示例性的,版本比较操作具体可以为对预设选择框的选择操作。Among them, the specific type of the version comparison operation may not be limited in the embodiment of the present application. Exemplarily, the version comparison operation may specifically be a click operation on a preset button. Exemplarily, the version comparison operation may specifically be a selection operation on a preset selection box.
示例性的,当目标设备的个数为多个时,版本比较操作可以与多个目标设备一一对应。例如,步骤A具体可以为获取用户输入的目标设备4对应的版本选择操作1,以生成版本比较指令1,版本比较指令1用于指示比较目标设备4的第一固件版本信息与最新固件版本信息。从而使得用户可以在多个目标设备中进一步选择特定的目标设备进行版本比较,提高了用户触发的灵活性。Exemplarily, when the number of target devices is multiple, the version comparison operation may correspond to multiple target devices one-to-one. For example, step A may specifically be to obtain the version selection operation 1 corresponding to the target device 4 input by the user to generate a version comparison instruction 1. The version comparison instruction 1 is used to instruct to compare the first firmware version information of the target device 4 with the latest firmware version information . This allows the user to further select a specific target device among multiple target devices for version comparison, which improves the flexibility of user triggering.
需要说明的是,对于两个设备类型不相同的目标设备,其对应的最新固件版本可以不相同。例如,假设目标设备4为型号a的无人机、目标设备5为型号b的无人机,则目标设备4对应的最新固件版本可以为最新发布的适用于型号a的固件版本,目标设备5对应的最新固件版本可以为最新发布的适用于型号b的无人机的固件版本。It should be noted that for two target devices with different device types, the corresponding latest firmware versions may be different. For example, assuming that target device 4 is a drone of model a, and target device 5 is a drone of model b, the latest firmware version corresponding to target device 4 may be the latest firmware version applicable to model a, and target device 5 The corresponding latest firmware version may be the latest released firmware version applicable to the drone of model b.
步骤303,若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开通信连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包,以在所述目标设备与所述控制终端再一次建立通信连接时,发送所述固件数据包给所述目标设备。Step 303: If the first firmware version is lower than the latest firmware version, obtain a firmware data package of the latest firmware version, and store the firmware data package; wherein, the target device and the control terminal After the communication connection is disconnected, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so that when the target device and the control terminal establish a communication connection again, the The firmware data packet to the target device.
本步骤中,可选的,在所述第一固件版本低于所述最新固件版本时,可以由用户触发获取最新固件版本的固件数据包。通过在所述第一固件版本低于所述最新固件版本时,由用户触发获取最新固件版本的固件数据包,可以达到提高用户使用控制终端管理目标设备的灵活性的效果。示例性的,步骤303具体可以包括如下步骤C至步骤E。In this step, optionally, when the first firmware version is lower than the latest firmware version, the user may trigger to obtain the firmware data package of the latest firmware version. When the first firmware version is lower than the latest firmware version, the user triggers to obtain the firmware data package of the latest firmware version, which can achieve the effect of improving the flexibility of the user using the control terminal to manage the target device. Exemplarily, step 303 may specifically include the following steps C to E.
步骤C,若所述第一固件版本低于所述最新固件版本,则显示固件提示信息,所述固件提示信息包括固件获取入口。Step C: If the first firmware version is lower than the latest firmware version, display firmware prompt information, and the firmware prompt information includes a firmware acquisition entry.
步骤D,获取用户根据所述固件提示信息输入的固件获取操作,以生成固件获取指令,所述固件获取指令用于指示获取所述最新固件版本的固件数据 包。Step D: Obtain the firmware acquisition operation input by the user according to the firmware prompt information to generate a firmware acquisition instruction, where the firmware acquisition instruction is used to instruct to acquire the firmware data package of the latest firmware version.
步骤E,根据所述固件获取操作,获取所述最新固件版本的固件数据包,并存储所述固件数据包。Step E: Acquire the firmware data package of the latest firmware version according to the firmware acquisition operation, and store the firmware data package.
其中,所述固件获取入口用于用户输入固件获取操作。对于固件获取操作的具体类型本申请实施例可以不做限定,具体的,固件获取操作的具体类型可以与固件获取入口对应。示例性的,固件获取入口可以为一个图标按钮,相应的,固件获取操作可以为对该图标按钮的点击操作。Wherein, the firmware acquisition portal is used for a user to input a firmware acquisition operation. The specific type of the firmware obtaining operation may not be limited in the embodiment of the present application. Specifically, the specific type of the firmware obtaining operation may correspond to the firmware obtaining entry. Exemplarily, the firmware acquisition entry may be an icon button, and correspondingly, the firmware acquisition operation may be a click operation on the icon button.
为了达到便于用户获知最新固件版本的相关信息的效果,所述固件提示信息还可以包括与所述最新固件版本相关的其他信息。示例性的,所述固件提示信息还可以包括:所述最新固件版本信息,和/或,所述最新固件版本的固件数据包的大小。In order to achieve the effect of facilitating the user to know the relevant information of the latest firmware version, the firmware prompt information may also include other information related to the latest firmware version. Exemplarily, the firmware prompt information may further include: the latest firmware version information, and/or the size of the firmware data packet of the latest firmware version.
步骤304,在与所述目标设备再一次建立通信连接时,发送所述固件数据包给所述目标设备,以使所述目标设备将固件版本升级为所述最新固件版本。Step 304: When establishing a communication connection with the target device again, send the firmware data packet to the target device, so that the target device upgrades the firmware version to the latest firmware version.
本步骤中,示例性的,可以在与所述目标设备再一次建立通信连接时,直接发送所述固件数据包给所述目标设备。即,可以不经过在与所述目标设备建立通信连接时,获取目标设备的当前固件版本信息,并根据当前固件版本信息以及最新固件版本信息确定是否需要对目标设备的固件进行升级的相关处理,直接从本地存储器中读取固件数据包发送给目标设备,从而达到简化实现的效果。In this step, for example, when the communication connection with the target device is established again, the firmware data packet may be directly sent to the target device. That is, it is not necessary to obtain the current firmware version information of the target device when establishing a communication connection with the target device, and determine whether the firmware of the target device needs to be upgraded according to the current firmware version information and the latest firmware version information. Read the firmware data package directly from the local storage and send it to the target device, thus achieving the effect of simplifying the implementation.
示例性的,可以在与所述目标设备再一次建立通信连接时,获取目标设备的当前固件版本信息,并根据当前固件版本信息以及最新固件版本信息确定是否需要对目标设备的固件进行升级,如果确定需要对目标设备的固件进行升级,则从本地存储器中读取固件数据包并发送给目标设备,从而能够有针对性的发送固件数据包,达到可以减小目标设备的耗电量,提高目标设备的存储空间利用率的效果。例如,当目标设备的当前固件版本信息低于最新固件版本信息,且最新固件版本信息指示需要强制升级时,可以从本地存储器中读取固件数据包并发送给目标设备。又例如,当目标设备的当前固件版本信息低于最新固件版本信息,最新固件版本信息指示不需要强制升级,且用户确认需要进行升级时,可以从本地存储器中读取固件数据包并发送给目标设备。Exemplarily, when a communication connection is established with the target device again, the current firmware version information of the target device may be obtained, and it may be determined whether the firmware of the target device needs to be upgraded according to the current firmware version information and the latest firmware version information, if If it is determined that the firmware of the target device needs to be upgraded, the firmware data package is read from the local storage and sent to the target device, so that the firmware data package can be sent in a targeted manner, so as to reduce the power consumption of the target device and increase the target The effect of the storage space utilization of the device. For example, when the current firmware version information of the target device is lower than the latest firmware version information, and the latest firmware version information indicates that a mandatory upgrade is required, the firmware data package can be read from the local storage and sent to the target device. For another example, when the current firmware version information of the target device is lower than the latest firmware version information, the latest firmware version information indicates that no mandatory upgrade is required, and the user confirms that the upgrade is required, the firmware data package can be read from the local storage and sent to the target equipment.
对于固件版本信息指示是否需要进行强制升级的具体方式,本申请实施 例不做限定。例如,每个固件版本的固件版本信息中均包括一个强制信息字段,如果最新固件版本信息中强制信息字段的字段值大于目标设备的当前固件版本信息中强制信息字段的字段值,则表示需要进行强制升级,如果最新固件版本信息中强制信息字段的字段值等于目标设备的当前固件版本信息中强制信息字段的字段值,则表示不需要进行强制升级。The specific manner in which the firmware version information indicates whether a mandatory upgrade is required is not limited in the embodiment of this application. For example, the firmware version information of each firmware version includes a mandatory information field. If the field value of the mandatory information field in the latest firmware version information is greater than the field value of the mandatory information field in the current firmware version information of the target device, it means that Mandatory upgrade. If the field value of the mandatory information field in the latest firmware version information is equal to the field value of the mandatory information field in the current firmware version information of the target device, it means that no mandatory upgrade is required.
本实施例中,通过在目标设备与控制终端断开通信连接后,控制终端能够获取并存储最新固件版本的固件数据包,并在与目标设备再一次建立通信连接时,发送固件数据包给目标设备,以使所述目标设备将固件版本升级为所述最新固件版本,避免了在目标设备与控制终端建立通信连接时用户等待控制终端获取固件数据包所消耗的时长,减小了用户等待使用目标设备的耗时,从而提高了目标设备的可使用性。In this embodiment, after the target device disconnects from the control terminal, the control terminal can obtain and store the firmware data package of the latest firmware version, and send the firmware data package to the target when the communication connection with the target device is established again Device, so that the target device upgrades the firmware version to the latest firmware version, which avoids the time consumed by the user waiting for the control terminal to obtain the firmware data package when the target device establishes a communication connection with the control terminal, and reduces the waiting time for the user to use Time-consuming of the target device, thereby improving the usability of the target device.
图4为本申请又一实施例提供的设备控制方法的流程示意图,本实施例在前述实施例的基础上,主要描述了设备控制方法的一种具体实现方式,如图4所示,本实施例的方法可以包括:FIG. 4 is a schematic flow chart of a device control method provided by another embodiment of the application. This embodiment mainly describes a specific implementation of the device control method on the basis of the foregoing embodiment. As shown in FIG. 4, this embodiment Examples of methods can include:
步骤401,目标设备连接上控制终端的目标APP后,所述控制终端保存下所述目标设备的当前固件版本信息到目标APP的本地存储空间中。Step 401: After the target device is connected to the target APP of the control terminal, the control terminal saves the current firmware version information of the target device in the local storage space of the target APP.
本步骤中,所述目标设备与所述控制终端的目标APP建立通信连接之后,所述控制终端可以获取所述目标设备的当前固件版本信息,并将获取到的所述目标设备的当前固件版本信息保存到目标APP的本地存储空间中。In this step, after the target device establishes a communication connection with the target APP of the control terminal, the control terminal can obtain the current firmware version information of the target device, and will obtain the current firmware version of the target device The information is saved in the local storage space of the target APP.
需要说明的是,步骤401中所述目标设备的当前固件版本信息即为前述的所述第一固件版本信息。It should be noted that the current firmware version information of the target device in step 401 is the aforementioned first firmware version information.
步骤402,在所述目标APP再次启动后,所述控制终端读取本地保存的所述目标设备的固件版本信息。Step 402: After the target APP is restarted, the control terminal reads the firmware version information of the target device stored locally.
本步骤中,目标APP再次启动可以作为控制终端读取本地保存的目标设备的固件版本信息的触发条件。其中,目标APP再次启动具体可以包括所述目标设备再一次连接上目标APP之前的再一次启动,再两次启动,再三次启动等。In this step, restarting the target APP can be used as a trigger condition for the control terminal to read the firmware version information of the target device stored locally. Wherein, restarting the target APP may specifically include restarting the target device before connecting to the target APP again, restarting twice, restarting three times, and so on.
需要说明的是,步骤402中所述控制终端读取的所述固件版本信息,即为步骤401中保存到目标APP的本地存储空间中的第一固件版本信息。It should be noted that the firmware version information read by the control terminal in step 402 is the first firmware version information saved in the local storage space of the target APP in step 401.
步骤403,所述控制终端根据服务器后台的最新固件版本信息和本地保存的固件版本信息进行比较,获得比较结果。Step 403: The control terminal compares the latest firmware version information in the background of the server with the firmware version information stored locally to obtain a comparison result.
本步骤中,示例性的,可以比较本地保存的固件版本信息中的版本号和 最新固件版本信息中的版本号。示例性的,比较结果可以为本地保存的固件版本信息中的版本号小于最新固件版本信息中的版本号,或者,比较结果可以为本地保存的固件版本信息中的版本号等于最新固件版本信息中的版本号。In this step, for example, the version number in the firmware version information stored locally can be compared with the version number in the latest firmware version information. Exemplarily, the comparison result may be that the version number in the locally saved firmware version information is less than the version number in the latest firmware version information, or the comparison result may be that the version number in the locally saved firmware version information is equal to the latest firmware version information. Version number.
示例性的,可以比较本地保存的固件版本信息中的版本发布时间和最新固件版本信息中的版本发布时间。示例性的,比较结果可以为本地保存的固件版本信息中的版本发布时间早于最新固件版本信息中的版本发布时间,或者,比较结果可以为本地保存的固件版本的版本发布时间等于最新固件版本信息中的版本发布时间。Exemplarily, the version release time in the firmware version information stored locally may be compared with the version release time in the latest firmware version information. Exemplarily, the comparison result may be that the version release time in the locally saved firmware version information is earlier than the version release time in the latest firmware version information, or the comparison result may be that the version release time of the locally saved firmware version is equal to the latest firmware version The release time of the version in the message.
步骤404,所述控制终端根据比较结果,判断所述目标设备的固件是否需要进行升级。Step 404: The control terminal determines whether the firmware of the target device needs to be upgraded according to the comparison result.
本步骤中,示例性的,当比较结果为本地保存的固件版本信息中的版本号小于最新固件版本信息中的版本号,或者本地保存的固件版本信息中的版本发布时间早于最新固件版本信息中的版本发布时间时,可以确定目标设备的固件需要进行升级。当比较结果可以为本地保存的固件版本信息中的版本号等于最新固件版本信息中的版本号,或者本地保存的固件版本的版本发布时间等于最新固件版本信息中的版本发布时间时,可以确定目标设备的固件不需要进行升级。In this step, for example, when the comparison result is that the version number in the locally saved firmware version information is less than the version number in the latest firmware version information, or the version release time in the locally saved firmware version information is earlier than the latest firmware version information When the version in is released, it can be determined that the firmware of the target device needs to be upgraded. When the comparison result can be that the version number in the locally saved firmware version information is equal to the version number in the latest firmware version information, or the version release time of the locally saved firmware version is equal to the version release time in the latest firmware version information, the target can be determined The firmware of the device does not need to be upgraded.
若目标设备的固件需要进行升级,则执行步骤405。若目标设备的固件不需要进行升级,则结束。If the firmware of the target device needs to be upgraded, step 405 is executed. If the firmware of the target device does not need to be upgraded, the process ends.
步骤405,所述控制终端提示升级,并提供下载服务器后台的最新固件版本的入口。In step 405, the control terminal prompts to upgrade, and provides an entrance to download the latest firmware version of the server background.
本步骤中,示例性的,控制终端可以向用户提示最新固件版本信息,例如最新固件版本的版本号;和/或,控制终端可以向用户提示最新固件版本的固件数据包的大小。最新固件版本的版本信息以及所述入口可以理解为前述的固件获取入口。当用户通过所述入口输入固件获取操作后,进一步的可以执行步骤406。In this step, illustratively, the control terminal may prompt the user with the latest firmware version information, such as the version number of the latest firmware version; and/or, the control terminal may prompt the user with the size of the firmware data package of the latest firmware version. The version information of the latest firmware version and the entry can be understood as the aforementioned firmware acquisition entry. After the user enters the firmware acquisition operation through the portal, step 406 may be further executed.
步骤406,下载最新固件版本的固件数据包到目标APP的本地存储空间中,在所述目标设备再一次连接目标APP连接时,直接将本地存储的固件数据包发送给所述目标设备,以使目标设备基于所述固件数据包进行升级。Step 406: Download the firmware data package of the latest firmware version to the local storage space of the target APP, and when the target device connects to the target APP again, directly send the locally stored firmware data package to the target device, so that The target device is upgraded based on the firmware data package.
本实施例中,通过目标设备连接上控制终端的目标APP后,控制终端保存 下目标设备的当前固件版本信息到目标APP的本地存储空间中,在目标APP再次启动后,控制终端读取本地保存的目标设备的固件版本信息,并根据目标固件版本信息与最新固件版本信息确定目标设备的固件需要进行升级后,下载最新固件版本的固件数据包到目标APP的本地存储空间中,在目标设备再一次连接目标APP连接时,直接将本地存储的固件数据包发送给目标设备,以使目标设备基于固件数据包进行升级,打破了在目标APP没有连接目标设备的情况进行不了任何和固件升级相关操作的限制,使得目标APP可以利用连接过的目标设备进行固件升级状态检测,提前让用户下载最新固件版本的固件数据包。In this embodiment, after the target APP of the control terminal is connected through the target device, the control terminal saves the current firmware version information of the target device to the local storage space of the target APP. After the target APP is restarted, the control terminal reads the local storage The firmware version information of the target device, and after determining that the firmware of the target device needs to be upgraded according to the target firmware version information and the latest firmware version information, download the firmware data package of the latest firmware version to the local storage space of the target APP, and re When the target APP is connected once, the locally stored firmware data package is directly sent to the target device, so that the target device is upgraded based on the firmware data package, which breaks the situation that no firmware upgrade related operations can be performed when the target APP is not connected to the target device Due to the limitation, the target APP can use the connected target device to check the firmware upgrade status, and let the user download the firmware data package of the latest firmware version in advance.
图5为本申请又一实施例提供的设备控制方法的流程示意图,本实施例的执行主体可以为控制终端12,具体可以为控制终端12的处理器。如图5所示,本实施例的方法可以包括:FIG. 5 is a schematic flowchart of a device control method provided by another embodiment of this application. The execution subject of this embodiment may be the control terminal 12, and specifically may be the processor of the control terminal 12. As shown in FIG. 5, the method of this embodiment may include:
步骤501,在目标设备与所述控制终端建立通信连接时,获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态异常。Step 501: When the target device establishes a communication connection with the control terminal, obtain firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality.
本步骤中,示例性的,步骤501具体可以包括:在目标设备与控制终端建立通信连接时,接收所述目标设备发送的所述固件状态信息。示例性的,步骤501具体可以包括:在目标设备与控制终端建立通信连接时,从所述目标设备的本地存储中读取所述固件状态信息。In this step, as an example, step 501 may specifically include: receiving the firmware status information sent by the target device when the target device establishes a communication connection with the control terminal. Exemplarily, step 501 may specifically include: when the target device establishes a communication connection with the control terminal, reading the firmware status information from the local storage of the target device.
例性的,步骤501具体可以包括:在目标设备与所述控制终端建立通信连接时,确定是否接收到所述目标设备发送的固件异常指示信息,所述固件异常指示信息用于指示所述目标设备的固件状态异常。若接收到所述固件异常指示信息,则固件状态信息用于指示目标设备存在固件状态异常;若未接收到所述固件异常指示信息,则固件状态信息用于指示目标设备不存在状态异常。Exemplarily, step 501 may specifically include: when the target device establishes a communication connection with the control terminal, determining whether the firmware abnormality indication information sent by the target device is received, and the firmware abnormality indication information is used to indicate the target The firmware status of the device is abnormal. If the firmware abnormality indication information is received, the firmware status information is used to indicate that the target device has a firmware status abnormality; if the firmware abnormality indication information is not received, the firmware status information is used to indicate that the target device does not have a status abnormality.
步骤502,根据所述固件状态信息,确定所述目标设备是否存在固件状态异常。Step 502: Determine, according to the firmware status information, whether the target device has a firmware status abnormality.
本步骤中,示例性的,以固件状态信息的取值为1可以表示目标设备存在固件状态异常,固件状态信息的取值为0可以表示目标设备不存在固件状态异常为例,步骤502具体可以包括:判断所述目标状态信息的取值是否为1,若为1,则确定所述目标设备存在固件状态异常,若未0,则确定所述目标设备 不存在固件状态异常。In this step, for example, a value of 1 for the firmware status information can indicate that the target device has a firmware status abnormality, and a value of 0 for the firmware status information can indicate that the target device does not have a firmware status abnormality. As an example, step 502 can be specifically It includes: determining whether the value of the target status information is 1, if it is 1, it is determined that the target device has a firmware status abnormality, and if it is not 0, it is determined that the target device does not have a firmware status abnormality.
步骤503,若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。Step 503: If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
本步骤中,对于输出异常提示信息的具体方式,本申请可以不做限定,示例性的,可以通过语音、文字、指示灯、振动等中的一种或多种方式输出异常提示信息。例如,语音播报“固件异常”。再例如,文字显示“固件异常”。又例如,控制终端按照预设方式振动。又例如,控制终端的指示灯按照预设点亮方式点亮。In this step, the present application may not limit the specific method of outputting the abnormal prompt information. For example, the abnormal prompt information may be output by one or more of voice, text, indicator light, vibration, and the like. For example, the voice broadcast "firmware abnormal". For another example, the text displays "Firmware Abnormal". For another example, the control terminal vibrates in a preset manner. For another example, the indicator light of the control terminal lights up according to a preset lighting mode.
本实施例中,通过在目标设备与控制终端建立通信连接时,控制终端确定目标设备是否存在固件状态异常,并在目标设备存在固件状态异常时,输出异常提示信息,使得用户通过异常提示信息可以获知目标设备无法支持目标设备的当前固件版本的全部功能,使得用户认为目标设备所应支持的功能,与目标设备实际所支持的功能可以一致,从而提高了目标设备的可使用性、使用安全性、以及用户使用体验。In this embodiment, when a communication connection between the target device and the control terminal is established, the control terminal determines whether the target device has an abnormal firmware status, and when the target device has an abnormal firmware status, it outputs an abnormality prompt message, so that the user can use the abnormality prompt information. Knowing that the target device cannot support all the functions of the current firmware version of the target device, so that the user believes that the function that the target device should support can be consistent with the function actually supported by the target device, thereby improving the usability and safety of the target device , And user experience.
图6为本申请又一实施例提供的设备控制方法的流程示意图,本实施例在图5所示实施例的基础上,主要描述了在目标设备存在固件异常时的一种可选实现方式。如图6所示,本实施例的方法可以包括:FIG. 6 is a schematic flowchart of a device control method provided by another embodiment of this application. Based on the embodiment shown in FIG. 5, this embodiment mainly describes an optional implementation method when the target device has firmware abnormality. As shown in FIG. 6, the method of this embodiment may include:
步骤601,在目标设备与所述控制终端建立通信连接时,获取固件状态信息。Step 601: Acquire firmware status information when the target device establishes a communication connection with the control terminal.
需要说明的是,步骤601与步骤501类似,在此不再赘述。It should be noted that step 601 is similar to step 501, and will not be repeated here.
步骤602,根据所述固件状态信息,确定所述目标设备是否存在固件状态异常。Step 602: Determine, according to the firmware status information, whether the target device has a firmware status abnormality.
需要说明的是,步骤602与步骤502类似,在此不再赘述。It should be noted that step 602 is similar to step 502, and will not be repeated here.
步骤603,若所述目标设备存在固件状态异常,则发送最新固件版本的固件数据包给所述目标设备,以使所述目标设备根据所述最新固件版本的固件数据包将固件版本升级为所述最新固件版本。Step 603: If the target device has an abnormal firmware status, send a firmware data package of the latest firmware version to the target device, so that the target device upgrades the firmware version to the latest firmware version according to the firmware data package of the latest firmware version. State the latest firmware version.
本步骤中,在目标设备存在固件状态异常时,为了达到解决目标设备的固件状态异常问题的效果,可以将最新固件版本的固件数据包发送给目标设备,目标设备在接收到该固件数据包后,可以基于该固件数据包进行升级,以将目标设备的所有硬件模块的固件版本均升级为最新固件版本,从而解决目标设备固件状态异常的问题。In this step, when the target device has an abnormal firmware status, in order to achieve the effect of solving the problem of the abnormal firmware status of the target device, the firmware data package of the latest firmware version can be sent to the target device. After the target device receives the firmware data package , You can upgrade based on the firmware data package to upgrade the firmware version of all hardware modules of the target device to the latest firmware version, so as to solve the problem of abnormal firmware status of the target device.
可选的,可以不经用户确认,强制发送最新固件版本的固件数据包给目标设备,从而能够尽量避免用户在目标设备的固件状态异常时使用目标设备,减小出现目标设备无法向用户提供本应支持的功能的概率,提高用户的使用体验。进一步的,为了达到便于用户获知控制终端对目标设备的强制升级,以提高交互性的效果,示例性的,本实施例的方法还可以包括:若所述目标设备存在固件状态异常,则输出强制升级信息,所述强制升级信息用于指示对所述目标设备进行强制升级。需要说明的是,对于输出强制升级信息的具体方式,本申请实施例可以不做限定。示例性的,可以通过语音、文字、指示灯、振动等中的一种或多种方式输出强制升级信息。Optionally, the firmware data package of the latest firmware version can be forcibly sent to the target device without the user's confirmation, so as to avoid the user from using the target device when the firmware status of the target device is abnormal, and reduce the occurrence of the target device being unable to provide the user with the cost. The probability of the functions that should be supported improves the user experience. Further, in order to facilitate the user to learn about the mandatory upgrade of the target device by the control terminal to improve the effect of interactivity, exemplary, the method of this embodiment may further include: if the target device has an abnormal firmware status, outputting the mandatory Upgrade information, where the mandatory upgrade information is used to instruct to perform a mandatory upgrade on the target device. It should be noted that the specific method of outputting the mandatory upgrade information may not be limited in the embodiment of the present application. Exemplarily, the mandatory upgrade information may be output through one or more of voice, text, indicator light, vibration, and the like.
或者,示例性的,可以在经过用户确认后,发送最新固件版本的固件数据包给目标设备,实现了在目标设备存在固件状态异常时,可以进一步由用户灵活选择是否进行固件升级,可以达到提高灵活性的效果。示例性的,本实施例的方法还可以包括:若所述目标设备存在固件状态异常,且获取到用户根据所述异常提示信息输入的固件升级操作,则发送最新固件版本的固件数据包给所述目标设备,所述固件升级操作用于生成固件升级指令,所述升级指令用于指示将所述目标设备的固件版本升级为最新固件版本。Or, exemplarily, the firmware data package of the latest firmware version can be sent to the target device after confirmation by the user, so that when the target device has an abnormal firmware status, the user can further flexibly choose whether to upgrade the firmware, which can achieve improvement. The effect of flexibility. Exemplarily, the method of this embodiment may further include: if the target device has an abnormal firmware status, and the firmware upgrade operation input by the user according to the abnormal prompt information is obtained, sending a firmware data package of the latest firmware version to all For the target device, the firmware upgrade operation is used to generate a firmware upgrade instruction, and the upgrade instruction is used to instruct to upgrade the firmware version of the target device to the latest firmware version.
本实施例中,通过在目标设备与控制终端建立通信连接时,确定目标设备是否存在固件状态异常,若目标设备存在固件状态异常,则发送最新固件版本的固件数据包给目标设备,以使目标设备根据最新固件版本的固件数据包将固件版本升级为最新固件版本,实现了在目标设备存在固件状态异常时,通过对目标设备进行升级解决目标设备固件状态异常的问题。In this embodiment, by establishing a communication connection between the target device and the control terminal, it is determined whether the target device has an abnormal firmware status. If the target device has an abnormal firmware status, the firmware data package of the latest firmware version is sent to the target device, so that the target device The device upgrades the firmware version to the latest firmware version according to the firmware data package of the latest firmware version, so that when the target device has an abnormal firmware status, the target device is upgraded to solve the problem of the target device's abnormal firmware status.
为了避免在目标设备存在固件状态异常时,用户使用目标设备所带来的问题,可选的,在图4所示方法实施例的基础上,还可以包括如下步骤:若所述目标设备存在固件状态异常,则向所述目标设备发送锁定指令,所述锁定指令用于指示锁定所述目标设备的特定部件。In order to avoid problems caused by the user using the target device when the target device has an abnormal firmware status, optionally, based on the method embodiment shown in FIG. 4, the following steps may also be included: if the target device has firmware If the status is abnormal, a lock instruction is sent to the target device, where the lock instruction is used to instruct to lock a specific component of the target device.
示例性的,所述特定部件可以包括存在固件状态异常的硬件模块中的部件。通过特定部件包括存在固件状态异常的硬件模块中的部件,可以达到避免用户使用与固件状态异常的硬件模块的相关功能的效果。Exemplarily, the specific component may include a component in a hardware module with an abnormal firmware status. By including the specific components in the hardware module with abnormal firmware status, the effect of avoiding users from using the related functions of the hardware module with abnormal firmware status can be achieved.
示例性的,当所述目标设备包括可移动平台时,所述特定部件可以包括电机部件。通过特定部件包括电机部件,可以避免用户在目标设备存在固件异常时控制目标设备运动,由于目标设备所支持的功能通常需要在目标设备 运动时才有意义,因此,通过避免用户在目标设备存在固件异常时控制目标设备运动,可以达到避免用户在目标设备存在固件状态异常时使用目标设备的效果。Exemplarily, when the target device includes a movable platform, the specific component may include a motor component. Specific components including motor components can prevent the user from controlling the movement of the target device when the target device has firmware abnormalities. Since the functions supported by the target device usually need to be meaningful when the target device is moving, by preventing the user from having firmware on the target device Controlling the movement of the target device when it is abnormal can achieve the effect of preventing the user from using the target device when the target device has an abnormal firmware status.
示例性的,目标设备可以在基于最新固件版本的固件数据包进行升级后,解锁所述特定部件,从而使得在目标设备完成固件升级后,可以取消对用户使用目标设备的限制,提高了用户的使用体验。Exemplarily, the target device can unlock the specific component after the firmware data package based on the latest firmware version is upgraded, so that after the target device completes the firmware upgrade, the restriction on the user's use of the target device can be cancelled, which improves the user's Use experience.
为了提供目标设备不存在固件状态异常时的固件升级功能,可选的,在图4所示方法实施例的基础上,还可以包括如下步骤F至步骤H。In order to provide a firmware upgrade function when the target device does not have an abnormal firmware status, optionally, on the basis of the method embodiment shown in FIG. 4, the following steps F to H may be further included.
步骤F,若所述目标设备不存在固件状态异常,则获取所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述在目标设备与所述控制终端建立通信连接时,所述目标设备的版本信息。Step F: If the target device has no abnormal firmware status, obtain first firmware version information of the target device, where the first firmware version information includes the establishment of a communication connection between the target device and the control terminal , The version information of the target device.
本步骤中,所述第一固件版本信息可以是指步骤501中所述在目标设备与所述控制终端建立通信连接时,所述目标设备的当前固件版本的信息。In this step, the first firmware version information may refer to the information of the current firmware version of the target device when the communication connection between the target device and the control terminal is established in step 501.
需要说明的是,步骤F中第一固件版本信息与步骤201中第一固件版本信息的作用不同,步骤F中第一固件版本信息是用于确定是否发送最新固件版本的固件数据包给目标设备,步骤201中的第一固件版本信息是用于确定是否获取最新固件版本的固件数据包并存储。It should be noted that the role of the first firmware version information in step F is different from the first firmware version information in step 201, and the first firmware version information in step F is used to determine whether to send a firmware data packet of the latest firmware version to the target device , The first firmware version information in step 201 is used to determine whether to obtain and store the firmware data package of the latest firmware version.
步骤G,根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本。Step G: Determine whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
本步骤中,示例性的,可以比较第一固件版本信息中的版本发布时间和最新固件版本信息中的版本发布时间,若第一固件版本信息中的版本发布时间早于最新固件版本信息中的版本发布时间,则第一固件版本低于最新固件版本,若第一固件版本信息中的版本发布时间等于最新固件版本信息中的版本发布时间,则第一固件版本未低于最新固件版本。In this step, for example, the version release time in the first firmware version information can be compared with the version release time in the latest firmware version information. If the version release time in the first firmware version information is earlier than that in the latest firmware version information When the version is released, the first firmware version is lower than the latest firmware version. If the version release time in the first firmware version information is equal to the version release time in the latest firmware version information, the first firmware version is not lower than the latest firmware version.
示例性的,可以比较第一固件版本信息中的版本号和最新固件版本信息中的版本号,若第一固件版本信息中版本号小于最新固件版本信息中的版本号,则第一固件版本低于最新固件版本,若第一固件版本信息中的版本号等于最新固件版本信息中的版本号,则第一固件版本未低于最新固件版本。Exemplarily, the version number in the first firmware version information can be compared with the version number in the latest firmware version information. If the version number in the first firmware version information is less than the version number in the latest firmware version information, the first firmware version is lower In the latest firmware version, if the version number in the first firmware version information is equal to the version number in the latest firmware version information, the first firmware version is not lower than the latest firmware version.
步骤H,若所述第一固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备。Step H, if the first firmware version is lower than the latest firmware version, send a firmware data packet of the latest firmware version to the target device.
本步骤中,可选的,在所述第一固件版本低于所述最新固件版本时,可 以不经用户确认,强制发送所述最新固件版本的固件数据包给目标设备,即可以对目标设备进行强制升级。通过在不经过用户确认,强制发送最新固件版本的固件数据包给目标设备,可以达到及时升级固件的效果。In this step, optionally, when the first firmware version is lower than the latest firmware version, the firmware data package of the latest firmware version may be sent to the target device without the user's confirmation, that is, the target device Perform a mandatory upgrade. By forcibly sending the firmware data package of the latest firmware version to the target device without user confirmation, the effect of upgrading the firmware in time can be achieved.
或者,可选的,在所述第一固件版本低于所述最新固件版本时,可以在经过用户确认后,发送所述最新固件版本的固件数据包给目标设备,即可以不对目标设备进行强制升级。示例性的,步骤H具体可以包括:若所述第一固件版本低于所述最新固件版本,则显示升级提示信息,所述升级提示信息用于提示对所述目标设备的固件进行升级;获取用户根据所述升级提示信息输入的固件升级操作,以生成固件升级指令,所述固件升级指令用于指示对所述目标设备进行升级;根据所述固件升级操作,发送所述固件数据包给所述目标设备。通过在经过用户确认后,发送最新固件版本的固件数据包给目标设备,实现了在第一固件版本低于所述最新固件版本时,可以进一步由用户灵活选择是否进行固件升级,可以达到提高灵活性的效果。Or, optionally, when the first firmware version is lower than the latest firmware version, after confirmation by the user, the firmware data package of the latest firmware version may be sent to the target device, that is, the target device may not be forced upgrade. Exemplarily, step H may specifically include: if the first firmware version is lower than the latest firmware version, displaying upgrade prompt information, where the upgrade prompt information is used to prompt to upgrade the firmware of the target device; The user enters the firmware upgrade operation according to the upgrade prompt information to generate a firmware upgrade instruction, the firmware upgrade instruction is used to instruct to upgrade the target device; according to the firmware upgrade operation, the firmware data package is sent to all The target device. By sending the firmware data package of the latest firmware version to the target device after confirmation by the user, it is realized that when the first firmware version is lower than the latest firmware version, the user can further flexibly choose whether to upgrade the firmware, which can achieve increased flexibility. The effect of sex.
示例性的,在最新固件版本指示需要进行强制升级时,可以对目标设备进行强制升级,在最新固件版本指示不需要进行强制升级时,可以不对目标设备进行强制升级,从而使得固件版本发布方可以根据需求灵活决定是否进行强制升级。Exemplarily, when the latest firmware version indicates that a mandatory upgrade is required, the target device may be forced to upgrade, and when the latest firmware version indicates that a mandatory upgrade is not required, the target device may not be forced to upgrade, so that the firmware version issuer can Flexibly decide whether to perform mandatory upgrades according to requirements
可选的,在图4所示方法实施例的基础上,还可以执行如下步骤I至步骤K。Optionally, on the basis of the method embodiment shown in FIG. 4, the following steps I to K may also be performed.
步骤I,获取所述目标设备的固件恢复信息,所述固件恢复信息用于指示所述目标设备的固件是否在进行恢复性升级。Step I: Obtain firmware restoration information of the target device, where the firmware restoration information is used to indicate whether the firmware of the target device is undergoing a restorative upgrade.
步骤J,根据所述固件恢复信息,确定所述目标设备是否在进行恢复性升级。Step J: Determine whether the target device is undergoing a restorative upgrade according to the firmware restoration information.
步骤K,若所述目标设备在进行恢复性升级,则输出恢复提示信息。Step K: If the target device is undergoing a restorative upgrade, output a restoring prompt message.
一个固件版本的固件数据包可以包括目标设备中多个硬件模块分别的固件数据包,其中,将一个固件版本的固件数据包可以称为“大包”,将该固件版本中硬件模块的数据包可以称为“小包”。在目标设备基于一个大包进行固件升级后,其可以缓存部分硬件模块的小包,进一步的,在异常情况下可以基于缓存的小包对相应硬件模块进行升级,此时的升级即为所述恢复性升级。其中,该异常情况可以包括该硬件模块存在固件状态异常。A firmware data package of a firmware version can include the respective firmware data packages of multiple hardware modules in the target device. Among them, a firmware data package of a firmware version can be called a "big package", and the data package of the hardware module in the firmware version It can be called a "small package". After the target device performs a firmware upgrade based on a large package, it can cache the small packages of some hardware modules. Further, in abnormal situations, the corresponding hardware modules can be upgraded based on the cached small packages. The upgrade at this time is the recovery upgrade. Wherein, the abnormal situation may include an abnormal firmware state of the hardware module.
示例性的,在所述在目标设备与所述控制终端建立通信连接时,确定所述目标设备是否正在进行恢复性升级具体可以包括:在所述在目标设备与所 述控制终端建立通信连接时,确定是否接收到所述目标设备发送的固件恢复指示信息,所述固件恢复指示信息用于指示所述目标设备在进行恢复性升级。若接收到所述固件恢复指示信息,则固件恢复信息用于指示目标设备在进行恢复性升级;若未接收到所述固件恢复指示信息,则固件恢复信息用于指示目标设备未在进行恢复性升级。Exemplarily, when the target device establishes a communication connection with the control terminal, determining whether the target device is undergoing a recovery upgrade may specifically include: when the target device establishes a communication connection with the control terminal To determine whether the firmware recovery instruction information sent by the target device is received, where the firmware recovery instruction information is used to indicate that the target device is performing a recoverable upgrade. If the firmware recovery instruction information is received, the firmware recovery information is used to indicate that the target device is performing a recoverable upgrade; if the firmware recovery instruction information is not received, the firmware recovery information is used to indicate that the target device is not performing a recoverable upgrade. upgrade.
所述恢复提示信息具体可以包括与所述目标设备的恢复性升级相关的任意类型信息。示例性的,所述恢复提示信息包括:恢复进度信息,和/或,恢复结果信息。其中,恢复进度信息,例如为恢复性升级已完成50%。恢复结果信息例如可以为恢复成功或恢复失败。The restoration prompt information may specifically include any type of information related to the restoration upgrade of the target device. Exemplarily, the restoration prompt information includes: restoration progress information, and/or restoration result information. Among them, the restoration progress information is, for example, 50% of the restoration upgrade has been completed. The recovery result information may be recovery success or recovery failure, for example.
通过步骤I至步骤K,使得用户可以获知目标设备是否在进行恢复性升级,达到提高用户对目标设备中固件状态的了解程度的效果。Through step I to step K, the user can know whether the target device is undergoing a restorative upgrade, so as to achieve the effect of improving the user's understanding of the firmware status in the target device.
需要说明的是,对于触发目标设备进行恢复性升级的条件,本申请实施例可以不做限定,例如可以在目标设备开机之后,若存在固件状态异常,则进行恢复性升级。It should be noted that the embodiments of the present application may not limit the conditions for triggering the recovery upgrade of the target device. For example, after the target device is powered on, if the firmware status is abnormal, the recovery upgrade may be performed.
需要说明的是,对于输出恢复提示信息的具体方式,本申请可以不做限定,示例性的,可以通过语音、文字、指示灯、振动等中的一种或多种方式输出恢复提示信息。It should be noted that the specific method of outputting the recovery prompt information is not limited in this application. For example, the recovery prompt information can be output through one or more of voice, text, indicator light, vibration, and the like.
示例性的,可以在所述目标设备完成恢复性升级之后,执行步骤501中获取所述目标设备的固件状态信息的步骤。由于存在目标设备通过恢复性升级消除固件状态异常的场景,通过在目标设备完成恢复性升级之后,可以达到确保提示准确性的效果。Exemplarily, after the target device completes the restorative upgrade, the step of obtaining the firmware status information of the target device in step 501 may be performed. Since there are scenarios in which the target device eliminates the abnormal firmware status through restorative upgrade, after the target device completes the restorative upgrade, the effect of ensuring the accuracy of the prompt can be achieved.
图7为本申请又一实施例提供的设备控制方法的流程示意图,本实施例在前述图5至图6所示实施例的基础上,主要描述了设备控制方法的一种具体实现方式,如图7所示,本实施例的方法可以包括:FIG. 7 is a schematic flowchart of a device control method provided by another embodiment of this application. This embodiment mainly describes a specific implementation of the device control method based on the foregoing embodiments shown in FIG. 5 to FIG. 6, such as As shown in FIG. 7, the method of this embodiment may include:
步骤701,控制终端的目标APP与目标设备建立通信连接。Step 701: The target APP of the control terminal establishes a communication connection with the target device.
步骤702,所述控制终端确定所述目标设备的固件是否在进行恢复性升级。Step 702: The control terminal determines whether the firmware of the target device is undergoing a restorative upgrade.
若控制终端确定目标设备的固件在进行恢复性升级,则执行步骤705。若控制终端确定目标设备的固件未在进行恢复性升级,则执行步骤703。If the control terminal determines that the firmware of the target device is undergoing a restorative upgrade, step 705 is executed. If the control terminal determines that the firmware of the target device is not undergoing a restorative upgrade, step 703 is executed.
步骤703,所述控制终端输出恢复提示信息。Step 703: The control terminal outputs recovery prompt information.
步骤704,所述控制终端确定所述目标设备完成恢复性升级。Step 704: The control terminal determines that the target device has completed the restorative upgrade.
示例性的,可以通过恢复进度信息确定目标设备完成恢复性升级。Exemplarily, it can be determined through the restoration progress information that the target device has completed the restoration upgrade.
需要说明的是,步骤704执行完之后,可以继续执行步骤705。It should be noted that after step 704 is executed, step 705 can be continued.
步骤705,所述控制终端确定所述目标设备是否推送固件状态异常。Step 705: The control terminal determines whether the target device pushes firmware abnormally.
若所述目标设备推送固件状态异常,则执行步骤706。若所述目标设备未推送固件状态异常,则执行步骤707。If the status of the firmware pushed by the target device is abnormal, step 706 is executed. If the target device does not push the firmware and the status is abnormal, step 707 is executed.
步骤706,所述控制终端提示用户目标设备需要进行强制升级。Step 706: The control terminal prompts the user that the target device needs to be forced to upgrade.
需要说明的是,步骤706执行完之后,可以继续执行步骤710。It should be noted that after step 706 is executed, step 710 can be continued.
步骤707,所述控制终端比较所述目标设备的当前固件版本信息与最新固件版本信息,得到比较结果。Step 707: The control terminal compares the current firmware version information of the target device with the latest firmware version information to obtain a comparison result.
本步骤中,示例性的,可以比较当前固件版本信息中的版本号和最新固件版本信息中的版本号。示例性的,比较结果可以为当前固件版本信息中的版本号小于最新固件版本信息中的版本号,或者,比较结果可以为当前固件版本信息中的版本号等于最新固件版本信息中的版本号。In this step, for example, the version number in the current firmware version information can be compared with the version number in the latest firmware version information. Exemplarily, the comparison result may be that the version number in the current firmware version information is less than the version number in the latest firmware version information, or the comparison result may be that the version number in the current firmware version information is equal to the version number in the latest firmware version information.
示例性的,可以比较当前固件版本信息中的版本发布时间和最新固件版本信息中的版本发布时间。示例性的,比较结果可以为当前固件版本信息中的版本发布时间早于最新固件版本信息中的版本发布时间,或者,比较结果可以为当前固件版本信息中的版本发布时间等于最新固件版本信息中的版本发布时间。Exemplarily, the version release time in the current firmware version information may be compared with the version release time in the latest firmware version information. Exemplarily, the comparison result may be that the version release time in the current firmware version information is earlier than the version release time in the latest firmware version information, or the comparison result may be that the version release time in the current firmware version information is equal to the latest firmware version information The release time of the version.
步骤708,所述控制终端根据所述比较结果,确定是否需要对目标设备的固件进行升级。Step 708: The control terminal determines whether the firmware of the target device needs to be upgraded according to the comparison result.
本步骤中,示例性的,当比较结果为当前固件版本信息中的版本号小于最新固件版本信息中的版本号,或者当前固件版本信息中的版本发布时间早于最新固件版本信息中的版本发布时间时,可以确定目标设备的固件需要进行升级。当比较结果可以为当前固件版本信息中的版本号等于最新固件版本信息中的版本号,或者当前固件版本信息的版本发布时间等于最新固件版本信息中的版本发布时间时,可以确定目标设备的固件不需要进行升级。In this step, for example, when the comparison result is that the version number in the current firmware version information is less than the version number in the latest firmware version information, or the version release time in the current firmware version information is earlier than the version release in the latest firmware version information When time, it can be determined that the firmware of the target device needs to be upgraded. When the comparison result can be that the version number in the current firmware version information is equal to the version number in the latest firmware version information, or the version release time of the current firmware version information is equal to the version release time in the latest firmware version information, the firmware of the target device can be determined No upgrade is required.
若确定需要对目标设备的固件进行升级,则执行步骤709。若确定不需要对目标设备的固件进行升级,则结束。If it is determined that the firmware of the target device needs to be upgraded, step 709 is executed. If it is determined that the firmware of the target device does not need to be upgraded, the process ends.
步骤709,所述控制终端提示用户需要对目标设备的固件进行升级。In step 709, the control terminal prompts the user to upgrade the firmware of the target device.
步骤710,所述控制终端将最新固件版本的数据包发送给所述目标设备。Step 710: The control terminal sends a data packet of the latest firmware version to the target device.
本实施例中,通过在控制终端的目标APP与目标设备建立通信连接时,若 确定目标设备的固件在进行恢复性升级,则输出恢复提示信息并在完成恢复性升级后,确定目标设备是否推送固件状态异常,若推送固件状态异常则控制目标设备基于最新版本的固件升级包进行强制升级,若未推送固件状态异常且目标设备的当前固件版本低于最新固件版本,则控制目标设备基于最新版本的固件升级包进行升级,实现了在控制终端的目标APP与目标设备建立通信连接的状态下,固件状态异常、恢复性升级以及正常升级三者的合理兼容。In this embodiment, when a communication connection is established between the target APP of the control terminal and the target device, if it is determined that the firmware of the target device is undergoing a recovery upgrade, a recovery prompt message is output and after the recovery upgrade is completed, it is determined whether the target device is pushed The firmware status is abnormal. If the firmware status is abnormal, the target device will be forced to upgrade based on the latest version of the firmware upgrade package. If the firmware status is not abnormal and the current firmware version of the target device is lower than the latest firmware version, the target device will be controlled based on the latest version. The firmware upgrade package is upgraded to realize the reasonable compatibility of abnormal firmware status, restorative upgrade and normal upgrade when the target APP of the control terminal and the target device establish a communication connection.
需要说明的是,图2至图4所示实施例的内容,可以与图5至图7所示实施例的相关内容相互结合。It should be noted that the content of the embodiment shown in FIG. 2 to FIG. 4 can be combined with the related content of the embodiment shown in FIG. 5 to FIG. 7.
具体的,可以在图2至图4所示实施例的基础上,增加图5至图7所示实施例的内容,以实现对于固件状态异常的提示,进一步的,还可以实现在固件状态异常时的固件升级和/或恢复性升级的提示。Specifically, on the basis of the embodiment shown in Fig. 2 to Fig. 4, the content of the embodiment shown in Fig. 5 to Fig. 7 can be added to realize the prompt for the abnormal firmware status. Further, it can also be realized when the firmware status is abnormal. At the time of the firmware upgrade and/or resumable upgrade prompts.
示例性的,在步骤304中所述在与所述目标设备再一次建立通信连接时,还可以包括如下步骤:Exemplarily, when the communication connection with the target device is established again in step 304, the following steps may be further included:
获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态异常;Acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
根据所述固件状态信息,确定所述目标设备是否存在固件状态异常;According to the firmware status information, determine whether the target device has a firmware status abnormality;
若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
示例性的,步骤304中所述发送所述固件数据包给所述目标设备,具体可以包括:Exemplarily, the sending of the firmware data package to the target device in step 304 may specifically include:
若所述目标设备存在固件状态异常,则发送所述固件数据包给所述目标设备。If the target device has an abnormal firmware status, sending the firmware data packet to the target device.
示例性的,所述若所述目标设备存在固件状态异常,则发送所述固件数据包给所述目标设备,具体可以包括:Exemplarily, if the target device has an abnormal firmware status, sending the firmware data packet to the target device may specifically include:
若所述目标设备存在固件状态异常,且获取到用户根据所述异常提示信息输入的固件升级操作,则发送所述固件数据包给所述目标设备,所述固件升级操作用于生成固件升级指令,所述固件升级指令用于指示将所述目标设备的固件版本升级为最新固件版本。If the target device has an abnormal firmware status, and the firmware upgrade operation input by the user according to the abnormal prompt information is obtained, the firmware data packet is sent to the target device, and the firmware upgrade operation is used to generate a firmware upgrade instruction The firmware upgrade instruction is used to instruct to upgrade the firmware version of the target device to the latest firmware version.
示例性的,还可以包括如下步骤:若所述目标设备存在固件状态异常,则输出强制升级信息,所述强制升级信息用于指示对所述目标设备进行强制升级。Exemplarily, the method may further include the following step: if the target device has an abnormal firmware status, outputting mandatory upgrade information, where the mandatory upgrade information is used to instruct to perform a mandatory upgrade on the target device.
示例性的,还可以包括如下步骤:若所述目标设备存在固件状态异常,则发送锁定指令给所述目标设备,所述锁定指令用于指示锁定所述目标设备的特定部件。Exemplarily, the method may further include the following step: if the target device has an abnormal firmware status, sending a lock instruction to the target device, where the lock instruction is used to instruct to lock a specific component of the target device.
示例性的,所述目标设备包括可移动平台,所述特定部件包括电机部件。Exemplarily, the target device includes a movable platform, and the specific component includes a motor component.
示例性的,步骤304中所述发送所述固件数据包给所述目标设备,具体可以包括:Exemplarily, the sending of the firmware data package to the target device in step 304 may specifically include:
若所述目标设备不存在固件状态异常,则获取在与所述目标设备再一次建立通信连接时,所述目标设备的第二固件版本信息,其中,第二固件版本信息包括所述在与所述目标设备再一次建立通信连接时,所述目标设备的版本信息;If there is no abnormal firmware status of the target device, obtain the second firmware version information of the target device when the communication connection with the target device is established again, wherein the second firmware version information includes the The version information of the target device when the target device establishes a communication connection again;
根据所述第二固件版本信息和所述最新固件版本信息,确定所述目标设备的第二固件版本是否低于所述最新固件版本;Determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information;
若所述目标设备的第二固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备。If the second firmware version of the target device is lower than the latest firmware version, sending the firmware data packet of the latest firmware version to the target device.
需要说明的是,此时,所述第二固件版本信息可以是指步骤304中所述在与所述目标设备再一次建立通信连接时,所述目标设备的当前固件版本的信息。It should be noted that, at this time, the second firmware version information may refer to the information of the current firmware version of the target device when the communication connection with the target device is established again in step 304.
示例性的,所述若所述目标设备的第二固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备,具体可以包括:Exemplarily, if the second firmware version of the target device is lower than the latest firmware version, sending the firmware data packet of the latest firmware version to the target device may specifically include:
若所述目标设备的第二固件版本低于所述最新固件版本,则显示升级提示信息,所述升级提示信息用于提示对所述目标设备的固件进行升级;If the second firmware version of the target device is lower than the latest firmware version, display an upgrade prompt message, where the upgrade prompt information is used to prompt to upgrade the firmware of the target device;
获取用户根据所述升级提示信息输入的固件升级操作,以生成固件升级指令,所述固件升级指令用于指示对所述目标设备进行升级;Acquiring a firmware upgrade operation input by the user according to the upgrade prompt information to generate a firmware upgrade instruction, where the firmware upgrade instruction is used to instruct to upgrade the target device;
根据所述固件升级操作,发送所述固件数据包给所述目标设备。According to the firmware upgrade operation, sending the firmware data package to the target device.
示例性的,在步骤304中所述在与所述目标设备再一次建立通信连接时,还可以包括如下步骤:Exemplarily, when the communication connection with the target device is established again in step 304, the following steps may be further included:
获取所述目标设备的固件恢复信息,所述固件恢复信息用于指示所述目标设备的固件是否在进行恢复性升级;Acquiring firmware restoration information of the target device, where the firmware restoration information is used to indicate whether the firmware of the target device is undergoing a restorative upgrade;
根据所述固件恢复信息,确定所述目标设备是否在进行恢复性升级;According to the firmware restoration information, determine whether the target device is undergoing a restorative upgrade;
若所述目标设备在进行恢复性升级,则输出恢复提示信息。If the target device is undergoing a restorative upgrade, a restoration prompt message is output.
示例性的,在所述目标设备完成恢复性升级之后,执行所述获取所述目 标设备的固件状态信息的步骤。Exemplarily, after the target device completes the restorative upgrade, the step of acquiring the firmware status information of the target device is performed.
示例性的,所述恢复提示信息包括:恢复进度信息,和/或,恢复结果信息。Exemplarily, the restoration prompt information includes: restoration progress information, and/or restoration result information.
具体的,可以在图5至图7所示实施例的基础上,增加图2至图4所示实施例的内容,以实现在目标设备与控制终端断开通信连接后,控制终端能够获取并存储最新固件版本的固件数据包的功能。Specifically, on the basis of the embodiments shown in Figs. 5 to 7, the contents of the embodiments shown in Figs. 2 to 4 can be added to realize that after the target device disconnects the communication connection with the control terminal, the control terminal can obtain and The function of storing the firmware data package of the latest firmware version.
示例性的,步骤501中所述在目标设备与所述控制终端建立通信连接之前,还可以包括如下步骤:Exemplarily, the step 501 may further include the following steps before the target device establishes a communication connection with the control terminal:
获取所述目标设备与所述控制终端上一次建立通信连接时,所述目标设备的第二固件版本信息,其中,所述第二固件版本信息包括所述目标设备与所述控制终端上一次建立通信连接时,所述目标设备的版本信息;Acquire the second firmware version information of the target device when the communication connection was established last time between the target device and the control terminal, where the second firmware version information includes the last establishment of the target device and the control terminal When communicating, the version information of the target device;
根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本;Determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information;
若所述第二固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包。If the second firmware version is lower than the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package; wherein, the target device is disconnected from the control terminal Thereafter, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package.
通过在所述目标设备与所述控制终端断开连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包,图5至图7所示实施例中发送所述最新固件版本的固件数据包给目标设备具体可以包括:从本地存储器中读取所述最新固件版本的固件数据包并发送给目标设备。After the target device is disconnected from the control terminal, the control terminal can obtain the firmware data package of the latest firmware version and store the firmware data package. In the embodiments shown in FIGS. 5 to 7 Sending the firmware data package of the latest firmware version to the target device may specifically include: reading the firmware data package of the latest firmware version from a local memory and sending it to the target device.
需要说明的是,此时的第二固件版本信息与前述的第二固件版本信息的作用不同,此时的第二固件版本信息是用于确定是否获取最新固件版本的固件数据包并存储,前述的第二固件版本信息是用于确定是否发送最新固件版本的固件数据包给目标设备。It should be noted that the role of the second firmware version information at this time is different from the aforementioned second firmware version information. The second firmware version information at this time is used to determine whether to obtain and store the firmware data package of the latest firmware version. The second firmware version information of is used to determine whether to send a firmware data packet of the latest firmware version to the target device.
示例性的,所述若所述第二固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包,具体包括:Exemplarily, if the second firmware version is lower than the latest firmware version, acquiring the firmware data package of the latest firmware version and storing the firmware data package specifically includes:
若所述第二固件版本低于所述最新固件版本,则显示固件提示信息,所述固件提示信息包括固件获取入口;If the second firmware version is lower than the latest firmware version, display firmware prompt information, where the firmware prompt information includes a firmware acquisition entry;
获取用户根据所述固件提示信息输入的固件获取操作,以生成固件获取指令,所述固件获取指令用于指示获取所述最新固件版本的固件数据包;Acquiring a firmware acquisition operation input by a user according to the firmware prompt information to generate a firmware acquisition instruction, where the firmware acquisition instruction is used to instruct to acquire a firmware data package of the latest firmware version;
根据所述固件获取操作,获取所述最新固件版本的固件数据包,并存储所述固件数据包。According to the firmware acquisition operation, the firmware data package of the latest firmware version is acquired, and the firmware data package is stored.
示例性的,所述固件提示信息还包括:所述最新固件版本信息,和/或,所述最新固件版本的固件数据包的大小。Exemplarily, the firmware prompt information further includes: the latest firmware version information, and/or the size of the firmware data packet of the latest firmware version.
示例性的,所述根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本,具体可以包括:Exemplarily, the determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information may specifically include:
获取用户输入的版本比较操作,以生成版本比较指令,所述版本比较指令用于指示比较所述目标设备的第二固件版本信息与所述最新固件版本信息;Acquiring a version comparison operation input by a user to generate a version comparison instruction, the version comparison instruction being used to instruct to compare the second firmware version information of the target device with the latest firmware version information;
在获取到所述版本比较操作之后,根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本。After obtaining the version comparison operation, it is determined whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information.
示例性的,在所述获取目标设备与所述控制终端上一次建立通信连接时,所述目标设备的第二固件版本信息之后,还可以包括:存储所述目标设备的第二固件版本信息。Exemplarily, after the acquiring the second firmware version information of the target device when the communication connection is established last time between the target device and the control terminal, the method may further include: storing the second firmware version information of the target device.
图8为本申请一实施例提供的设备控制系统的结构示意图,该系统可以应用于控制终端,如图8所示,该系统800可以包括:处理器801和存储器802。FIG. 8 is a schematic structural diagram of a device control system provided by an embodiment of the application. The system may be applied to control terminals. As shown in FIG. 8, the system 800 may include a processor 801 and a memory 802.
所述存储器802,用于存储程序代码;The memory 802 is used to store program codes;
所述处理器801,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor 801 calls the program code, and when the program code is executed, is configured to perform the following operations:
获取目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的版本信息;Acquire the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication connection established between the target device and the control terminal , The version information of the target device;
根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本;Determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information;
若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开通信连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包,以在所述目标设备与所述控制终端再一次建立通信连接时,发送所述固件数据包给所述目标设备。If the first firmware version is lower than the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package; wherein, the target device is disconnected from the control terminal After the connection, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so as to send the firmware data when the target device and the control terminal establish a communication connection again Package to the target device.
本实施例提供的设备控制系统,可以用于执行前述方法实施例的技术方案,其实现原理和技术效果与方法实施例类似,在此不再赘述。The device control system provided in this embodiment can be used to implement the technical solutions of the foregoing method embodiments, and its implementation principles and technical effects are similar to those of the method embodiments, and will not be repeated here.
图9为本申请另一实施例提供的设备控制系统的结构示意图,该系统可以应用于控制终端,如图9所示,该系统900可以包括:处理器901和存储器902。FIG. 9 is a schematic structural diagram of a device control system provided by another embodiment of the application. The system may be applied to control terminals. As shown in FIG. 9, the system 900 may include a processor 901 and a memory 902.
所述存储器902,用于存储程序代码;The memory 902 is used to store program codes;
所述处理器901,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor 901 calls the program code, and when the program code is executed, is configured to perform the following operations:
在目标设备与所述控制终端建立通信连接时,获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态异常;When the target device establishes a communication connection with the control terminal, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
根据所述固件状态信息,确定所述目标设备是否存在固件状态异常;According to the firmware status information, determine whether the target device has a firmware status abnormality;
若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
图10为本申请一实施例提供的控制终端1000。该控制终端可以包括上述任一实施例所述的设备控制系统,在此不再赘述。FIG. 10 is a control terminal 1000 provided by an embodiment of this application. The control terminal may include the device control system described in any of the foregoing embodiments, and details are not described herein again.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that all or part of the steps in the foregoing method embodiments can be implemented by a program instructing relevant hardware. The aforementioned program can be stored in a computer readable storage medium. When the program is executed, it executes the steps including the foregoing method embodiments; and the foregoing storage medium includes: ROM, RAM, magnetic disk, or optical disk and other media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application, not to limit them; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or equivalently replace some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. range.

Claims (73)

  1. 一种设备控制方法,应用于控制终端,其特征在于,包括:A device control method applied to a control terminal, characterized in that it includes:
    获取目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的版本信息;Acquire the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication connection established between the target device and the control terminal , The version information of the target device;
    根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本;Determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information;
    若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开通信连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包,以在所述目标设备与所述控制终端再一次建立通信连接时,发送所述固件数据包给所述目标设备。If the first firmware version is lower than the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package; wherein, the target device is disconnected from the control terminal After the connection, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so as to send the firmware data when the target device and the control terminal establish a communication connection again Package to the target device.
  2. 根据权利要求1所述的方法,其特征在于,所述若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包,包括:The method according to claim 1, wherein if the first firmware version is lower than the latest firmware version, acquiring a firmware data package of the latest firmware version, and storing the firmware data package, include:
    若所述第一固件版本低于所述最新固件版本,则显示固件提示信息,所述固件提示信息包括固件获取入口;If the first firmware version is lower than the latest firmware version, display firmware prompt information, where the firmware prompt information includes a firmware acquisition entry;
    获取用户根据所述固件提示信息输入的固件获取操作,以生成固件获取指令,所述固件获取指令用于指示获取所述最新固件版本的固件数据包;Acquiring a firmware acquisition operation input by a user according to the firmware prompt information to generate a firmware acquisition instruction, where the firmware acquisition instruction is used to instruct to acquire a firmware data package of the latest firmware version;
    根据所述固件获取操作,获取所述最新固件版本的固件数据包,并存储所述固件数据包。According to the firmware acquisition operation, the firmware data package of the latest firmware version is acquired, and the firmware data package is stored.
  3. 根据权利要求2所述的方法,其特征在于,所述固件提示信息还包括:所述最新固件版本信息,和/或,所述最新固件版本的固件数据包的大小。The method according to claim 2, wherein the firmware prompt information further comprises: the latest firmware version information, and/or the size of the firmware data packet of the latest firmware version.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本,包括:The method according to any one of claims 1-3, wherein the determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information ,include:
    获取用户输入的版本比较操作,以生成版本比较指令,所述版本比较指令用于指示比较所述第一固件版本信息与所述最新固件版本信息;Acquiring a version comparison operation input by a user to generate a version comparison instruction, the version comparison instruction being used to instruct to compare the first firmware version information with the latest firmware version information;
    在获取到所述版本比较操作之后,根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本。After obtaining the version comparison operation, it is determined whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述存储所述固件 数据包之后,还包括:The method according to any one of claims 1-4, wherein after the storing the firmware data package, the method further comprises:
    在与所述目标设备再一次建立通信连接时,发送所述固件数据包给所述目标设备,以使所述目标设备将固件版本升级为所述最新固件版本。When establishing a communication connection with the target device again, sending the firmware data packet to the target device, so that the target device upgrades the firmware version to the latest firmware version.
  6. 根据权利要求5所述的方法,其特征在于,所述在与所述目标设备再一次建立通信连接时,方法还包括:The method according to claim 5, wherein when the communication connection with the target device is established again, the method further comprises:
    获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态异常;Acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
    根据所述固件状态信息,确定所述目标设备是否存在固件状态异常;According to the firmware status information, determine whether the target device has a firmware status abnormality;
    若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  7. 根据权利要求6所述的方法,其特征在于,所述发送所述固件数据包给所述目标设备,包括:The method according to claim 6, wherein the sending the firmware data package to the target device comprises:
    若所述目标设备存在固件状态异常,则发送所述固件数据包给所述目标设备。If the target device has an abnormal firmware status, sending the firmware data packet to the target device.
  8. 根据权利要求7所述的方法,其特征在于,所述若所述目标设备存在固件状态异常,则发送所述固件数据包给所述目标设备,包括:8. The method according to claim 7, wherein if the target device has a firmware status abnormality, sending the firmware data packet to the target device comprises:
    若所述目标设备存在固件状态异常,且获取到用户根据所述异常提示信息输入的固件升级操作,则发送所述固件数据包给所述目标设备,所述固件升级操作用于生成固件升级指令,所述固件升级指令用于指示将所述目标设备的固件版本升级为最新固件版本。If the target device has an abnormal firmware status, and the firmware upgrade operation input by the user according to the abnormal prompt information is obtained, the firmware data packet is sent to the target device, and the firmware upgrade operation is used to generate a firmware upgrade instruction The firmware upgrade instruction is used to instruct to upgrade the firmware version of the target device to the latest firmware version.
  9. 根据权利要求7所述的方法,其特征在于,所述方法还包括:The method according to claim 7, wherein the method further comprises:
    若所述目标设备存在固件状态异常,则输出强制升级信息,所述强制升级信息用于指示对所述目标设备进行强制升级。If the target device has an abnormal firmware status, output mandatory upgrade information, where the mandatory upgrade information is used to indicate a mandatory upgrade to the target device.
  10. 根据权利要求6-9任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6-9, wherein the method further comprises:
    若所述目标设备存在固件状态异常,则发送锁定指令给所述目标设备,所述锁定指令用于指示锁定所述目标设备的特定部件。If the target device has an abnormal firmware status, a lock instruction is sent to the target device, and the lock instruction is used to instruct to lock a specific component of the target device.
  11. 根据权利要求10所述的方法,其特征在于,所述目标设备包括可移动平台,所述特定部件包括电机部件。The method according to claim 10, wherein the target device includes a movable platform, and the specific component includes a motor component.
  12. 根据权利要求6所述的方法,其特征在于,所述发送所述固件数据包给所述目标设备,包括:The method according to claim 6, wherein the sending the firmware data package to the target device comprises:
    若所述目标设备不存在固件状态异常,则获取所述在与所述目标设备再 一次建立通信连接时,所述目标设备的第二固件版本信息,其中,所述第二固件版本信息包括所述在与所述目标设备再一次建立通信连接时,所述目标设备的版本信息;If there is no abnormal firmware status of the target device, obtain the second firmware version information of the target device when the communication connection is established again with the target device, wherein the second firmware version information includes all The version information of the target device when the communication connection is established again with the target device;
    根据所述第二固件版本信息和所述最新固件版本信息,确定所述目标设备的第二固件版本是否低于所述最新固件版本;Determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information;
    若所述目标设备的第二固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备。If the second firmware version of the target device is lower than the latest firmware version, sending the firmware data packet of the latest firmware version to the target device.
  13. 根据权利要求12所述的方法,其特征在于,所述若所述目标设备的第二固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备,包括:The method according to claim 12, wherein if the second firmware version of the target device is lower than the latest firmware version, sending a firmware data packet of the latest firmware version to the target device, include:
    若所述目标设备的第二固件版本低于所述最新固件版本,则显示升级提示信息,所述升级提示信息用于提示对所述目标设备的固件进行升级;If the second firmware version of the target device is lower than the latest firmware version, display an upgrade prompt message, where the upgrade prompt information is used to prompt to upgrade the firmware of the target device;
    获取用户根据所述升级提示信息输入的固件升级操作,以生成固件升级指令,所述固件升级指令用于指示对所述目标设备进行升级;Acquiring a firmware upgrade operation input by the user according to the upgrade prompt information to generate a firmware upgrade instruction, where the firmware upgrade instruction is used to instruct to upgrade the target device;
    根据所述固件升级操作,发送所述固件数据包给所述目标设备。According to the firmware upgrade operation, sending the firmware data package to the target device.
  14. 根据权利要求6所述的方法,其特征在于,所述在与所述目标设备再一次建立通信连接时,所述方法还包括:The method according to claim 6, characterized in that, when establishing a communication connection with the target device again, the method further comprises:
    获取所述目标设备的固件恢复信息,所述固件恢复信息用于指示所述目标设备的固件是否在进行恢复性升级;Acquiring firmware restoration information of the target device, where the firmware restoration information is used to indicate whether the firmware of the target device is undergoing a restorative upgrade;
    根据所述固件恢复信息,确定所述目标设备是否在进行恢复性升级;According to the firmware restoration information, determine whether the target device is undergoing a restorative upgrade;
    若所述目标设备在进行恢复性升级,则输出恢复提示信息。If the target device is undergoing a restorative upgrade, a restoration prompt message is output.
  15. 根据权利要求14所述的方法,其特征在于,在所述目标设备完成恢复性升级之后,执行所述获取所述目标设备的固件状态信息的步骤。The method according to claim 14, wherein the step of obtaining firmware status information of the target device is performed after the target device completes the restorative upgrade.
  16. 根据权利要求14所述的方法,其特征在于,所述恢复提示信息包括:恢复进度信息,和/或,恢复结果信息。The method according to claim 14, wherein the restoration prompt information comprises: restoration progress information, and/or restoration result information.
  17. 根据权利要求1所述的方法,其特征在于,所述目标设备为多个。The method according to claim 1, wherein there are multiple target devices.
  18. 根据权利要求1所述的方法,其特征在于,在所述获取目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息之后,所述方法还包括:The method according to claim 1, wherein after the obtaining the first firmware version information of the target device when the communication connection is established last time between the target device and the control terminal, the method further comprises:
    存储所述目标设备的第一固件版本信息。Store the first firmware version information of the target device.
  19. 一种设备控制方法,应用于控制终端,其特征在于,包括:A device control method applied to a control terminal, characterized in that it includes:
    在目标设备与所述控制终端建立通信连接时,获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态异常;When the target device establishes a communication connection with the control terminal, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
    根据所述固件状态信息,确定所述目标设备是否存在固件状态异常;According to the firmware status information, determine whether the target device has a firmware status abnormality;
    若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  20. 根据权利要求19所述的方法,其特征在于,所述方法还包括:The method according to claim 19, wherein the method further comprises:
    若所述目标设备存在固件状态异常,则发送最新固件版本的固件数据包给所述目标设备,以使所述目标设备根据所述最新固件版本的固件数据包将固件版本升级为所述最新固件版本。If the target device has an abnormal firmware status, send a firmware data package of the latest firmware version to the target device, so that the target device upgrades the firmware version to the latest firmware according to the firmware data package of the latest firmware version version.
  21. 根据权利要求20所述的方法,其特征在于,所述若所述目标设备存在固件状态异常,则发送最新固件版本的固件数据包给所述目标设备,包括:22. The method of claim 20, wherein if the target device has an abnormal firmware status, sending a firmware data packet of the latest firmware version to the target device comprises:
    若所述目标设备存在固件状态异常,且获取到用户根据所述异常提示信息输入的固件升级操作,则发送最新固件版本的固件数据包给所述目标设备,所述固件升级操作用于生成固件升级指令,所述升级指令用于指示将所述目标设备的固件版本升级为最新固件版本。If the target device has an abnormal firmware status, and the firmware upgrade operation input by the user according to the abnormal prompt information is obtained, the firmware data package of the latest firmware version is sent to the target device, and the firmware upgrade operation is used to generate firmware The upgrade instruction is used to instruct to upgrade the firmware version of the target device to the latest firmware version.
  22. 根据权利要求20所述的方法,其特征在于,所述方法还包括:The method according to claim 20, wherein the method further comprises:
    若所述目标设备存在固件状态异常,则输出强制升级信息,所述强制升级信息用于指示对所述目标设备进行强制升级。If the target device has an abnormal firmware status, output mandatory upgrade information, where the mandatory upgrade information is used to indicate a mandatory upgrade to the target device.
  23. 根据权利要求19所述的方法,其特征在于,所述方法还包括:The method according to claim 19, wherein the method further comprises:
    若所述目标设备存在固件状态异常,则向所述目标设备发送锁定指令,所述锁定指令用于指示锁定所述目标设备的特定部件。If the target device has an abnormal firmware status, a lock instruction is sent to the target device, where the lock instruction is used to instruct to lock a specific component of the target device.
  24. 根据权利要求23所述的方法,其特征在于,所述目标设备包括可移动平台,所述特定部件包括电机部件。The method according to claim 23, wherein the target device includes a movable platform, and the specific component includes a motor component.
  25. 根据权利要求19所述的方法,其特征在于,所述在目标设备与所述控制终端建立通信连接时,所述方法还包括:The method according to claim 19, wherein when the target device establishes a communication connection with the control terminal, the method further comprises:
    若所述目标设备不存在固件状态异常,则获取所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述在目标设备与所述控制终端建立通信连接时,所述目标设备的版本信息;If there is no abnormal firmware status of the target device, the first firmware version information of the target device is acquired, where the first firmware version information includes the information when the target device establishes a communication connection with the control terminal. State the version information of the target device;
    根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本;Determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information;
    若所述第一固件版本低于所述最新固件版本,则发送所述最新固件版本 的固件数据包给所述目标设备。If the first firmware version is lower than the latest firmware version, sending the firmware data packet of the latest firmware version to the target device.
  26. 根据权利要求25所述的方法,其特征在于,所述若所述第一固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备,包括:The method according to claim 25, wherein if the first firmware version is lower than the latest firmware version, sending a firmware data packet of the latest firmware version to the target device comprises:
    若所述第一固件版本低于所述最新固件版本,则显示升级提示信息,所述升级提示信息用于提示对所述目标设备的固件进行升级;If the first firmware version is lower than the latest firmware version, display an upgrade prompt message, where the upgrade prompt information is used to prompt to upgrade the firmware of the target device;
    获取用户根据所述升级提示信息输入的固件升级操作,以生成固件升级指令,所述固件升级指令用于指示对所述目标设备进行升级;Acquiring a firmware upgrade operation input by the user according to the upgrade prompt information to generate a firmware upgrade instruction, where the firmware upgrade instruction is used to instruct to upgrade the target device;
    根据所述固件升级操作,发送所述固件数据包给所述目标设备。According to the firmware upgrade operation, sending the firmware data package to the target device.
  27. 根据权利要求20-22、25-26任一项所述的方法,其特征在于,所述在目标设备与所述控制终端建立通信连接时之前,还包括:The method according to any one of claims 20-22 and 25-26, characterized in that, before the target device establishes a communication connection with the control terminal, the method further comprises:
    获取所述目标设备与所述控制终端上一次建立通信连接时,所述目标设备的第二固件版本信息,其中,所述第二固件版本信息包括所述目标设备与所述控制终端上一次建立通信连接时,所述目标设备的版本信息;Acquire the second firmware version information of the target device when the communication connection was established last time between the target device and the control terminal, where the second firmware version information includes the last establishment of the target device and the control terminal When communicating, the version information of the target device;
    根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本;Determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information;
    若所述第二固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包。If the second firmware version is lower than the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package; wherein, the target device is disconnected from the control terminal Thereafter, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package.
  28. 根据权利要求27所述的方法,其特征在于,所述若所述第二固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包,包括:28. The method of claim 27, wherein if the second firmware version is lower than the latest firmware version, acquiring a firmware data package of the latest firmware version, and storing the firmware data package, include:
    若所述第二固件版本低于所述最新固件版本,则显示固件提示信息,所述固件提示信息包括固件获取入口;If the second firmware version is lower than the latest firmware version, display firmware prompt information, where the firmware prompt information includes a firmware acquisition entry;
    获取用户根据所述固件提示信息输入的固件获取操作,以生成固件获取指令,所述固件获取指令用于指示获取所述最新固件版本的固件数据包;Acquiring a firmware acquisition operation input by a user according to the firmware prompt information to generate a firmware acquisition instruction, where the firmware acquisition instruction is used to instruct to acquire a firmware data package of the latest firmware version;
    根据所述固件获取操作,获取所述最新固件版本的固件数据包,并存储所述固件数据包。According to the firmware acquisition operation, the firmware data package of the latest firmware version is acquired, and the firmware data package is stored.
  29. 根据权利要求28所述的方法,其特征在于,所述固件提示信息还包括:所述最新固件版本信息,和/或,所述最新固件版本的固件数据包的大小。The method according to claim 28, wherein the firmware prompt information further comprises: the latest firmware version information, and/or the size of the firmware data packet of the latest firmware version.
  30. 根据权利要求27-29任一项所述的方法,其特征在于,所述根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本,包括:The method according to any one of claims 27-29, wherein the determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information ,include:
    获取用户输入的版本比较操作,以生成版本比较指令,所述版本比较指令用于指示比较所述目标设备的第二固件版本信息与所述最新固件版本信息;Acquiring a version comparison operation input by a user to generate a version comparison instruction, the version comparison instruction being used to instruct to compare the second firmware version information of the target device with the latest firmware version information;
    在获取到所述版本比较操作之后,根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本。After obtaining the version comparison operation, it is determined whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information.
  31. 根据权利要求27所述的方法,其特征在于,在所述获取目标设备与所述控制终端上一次建立通信连接时,所述目标设备的第二固件版本信息之后,所述方法还包括:The method according to claim 27, characterized in that, after the obtaining the second firmware version information of the target device when the communication connection was established last time between the target device and the control terminal, the method further comprises:
    存储所述目标设备的第二固件版本信息。Storing the second firmware version information of the target device.
  32. 根据权利要求19所述的方法,其特征在于,所述在目标设备与所述控制终端建立通信连接时,所述方法还包括:The method according to claim 19, wherein when the target device establishes a communication connection with the control terminal, the method further comprises:
    获取所述目标设备的固件恢复信息,所述固件恢复信息用于指示所述目标设备的固件是否在进行恢复性升级;Acquiring firmware restoration information of the target device, where the firmware restoration information is used to indicate whether the firmware of the target device is undergoing a restorative upgrade;
    根据所述固件恢复信息,确定所述目标设备是否在进行恢复性升级;According to the firmware restoration information, determine whether the target device is undergoing a restorative upgrade;
    若所述目标设备在进行恢复性升级,则输出恢复提示信息。If the target device is undergoing a restorative upgrade, a restoration prompt message is output.
  33. 根据权利要求32所述的方法,其特征在于,在所述目标设备完成恢复性升级之后,执行所述获取所述目标设备的固件状态信息的步骤。The method according to claim 32, wherein the step of obtaining firmware status information of the target device is performed after the target device completes the restorative upgrade.
  34. 根据权利要求32所述的方法,其特征在于,所述恢复提示信息包括:恢复进度信息,和/或,恢复结果信息。The method according to claim 32, wherein the restoration prompt information comprises: restoration progress information, and/or restoration result information.
  35. 一种设备控制系统,应用于控制终端,其特征在于,所述设备控制系统包括:存储器和处理器;A device control system applied to a control terminal, wherein the device control system includes: a memory and a processor;
    所述存储器,用于存储程序代码;The memory is used to store program code;
    所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:
    获取目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的版本信息;Acquire the first firmware version information of the target device when the target device and the control terminal established a communication connection last time, wherein the first firmware version information includes the last communication connection established between the target device and the control terminal , The version information of the target device;
    根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的 第一固件版本是否低于最新固件版本;Determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information;
    若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开通信连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包,以在所述目标设备与所述控制终端再一次建立通信连接时,发送所述固件数据包给所述目标设备。If the first firmware version is lower than the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package; wherein, the target device is disconnected from the control terminal After the connection, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package, so as to send the firmware data when the target device and the control terminal establish a communication connection again Package to the target device.
  36. 根据权利要求35所述的系统,其特征在于,所述处理器用于若所述第一固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包,具体包括:The system according to claim 35, wherein the processor is configured to obtain a firmware data packet of the latest firmware version if the first firmware version is lower than the latest firmware version, and store the firmware Data package, specifically including:
    若所述第一固件版本低于所述最新固件版本,则显示固件提示信息,所述固件提示信息包括固件获取入口;If the first firmware version is lower than the latest firmware version, display firmware prompt information, where the firmware prompt information includes a firmware acquisition entry;
    获取用户根据所述固件提示信息输入的固件获取操作,以生成固件获取指令,所述固件获取指令用于指示获取所述最新固件版本的固件数据包;Acquiring a firmware acquisition operation input by a user according to the firmware prompt information to generate a firmware acquisition instruction, where the firmware acquisition instruction is used to instruct to acquire a firmware data package of the latest firmware version;
    根据所述固件获取操作,获取所述最新固件版本的固件数据包,并存储所述固件数据包。According to the firmware acquisition operation, the firmware data package of the latest firmware version is acquired, and the firmware data package is stored.
  37. 根据权利要求36所述的系统,其特征在于,所述固件提示信息还包括:所述最新固件版本信息,和/或,所述最新固件版本的固件数据包的大小。The system according to claim 36, wherein the firmware prompt information further comprises: the latest firmware version information, and/or the size of the firmware data packet of the latest firmware version.
  38. 根据权利要求35-37任一项所述的系统,其特征在于,所述处理器用于根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本,具体包括:The system according to any one of claims 35-37, wherein the processor is configured to determine, according to the first firmware version information and the latest firmware version information, whether the first firmware version of the target device is lower than The latest firmware version, including:
    获取用户输入的版本比较操作,以生成版本比较指令,所述版本比较指令用于指示比较所述第一固件版本信息与所述最新固件版本信息;Acquiring a version comparison operation input by a user to generate a version comparison instruction, the version comparison instruction being used to instruct to compare the first firmware version information with the latest firmware version information;
    在获取到所述版本比较操作之后,根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的第一固件版本是否低于最新固件版本。After obtaining the version comparison operation, it is determined whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information.
  39. 根据权利要求35-38任一项所述的系统,其特征在于,所述处理器器用于存储所述固件数据包之后,还用于:The system according to any one of claims 35-38, wherein after the processor is used to store the firmware data package, it is further used to:
    在与所述目标设备再一次建立通信连接时,发送所述固件数据包给所述目标设备,以使所述目标设备将固件版本升级为所述最新固件版本。When establishing a communication connection with the target device again, sending the firmware data packet to the target device, so that the target device upgrades the firmware version to the latest firmware version.
  40. 根据权利要求39所述的系统,其特征在于,所述处理器还用于:The system according to claim 39, wherein the processor is further configured to:
    在所述在与所述目标设备再一次建立通信连接时,获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态 异常;When the communication connection with the target device is established again, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has firmware status abnormality;
    根据所述固件状态信息,确定所述目标设备是否存在固件状态异常;According to the firmware status information, determine whether the target device has a firmware status abnormality;
    若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  41. 根据权利要求40所述的系统,其特征在于,所述处理器用于发送所述固件数据包给所述目标设备,具体包括:The system according to claim 40, wherein the processor is configured to send the firmware data packet to the target device, specifically comprising:
    若所述目标设备存在固件状态异常,则发送所述固件数据包给所述目标设备。If the target device has an abnormal firmware status, sending the firmware data packet to the target device.
  42. 根据权利要求41所述的系统,其特征在于,所述处理器用于若所述目标设备存在固件状态异常,则发送所述固件数据包给所述目标设备,具体包括:The system according to claim 41, wherein the processor is configured to send the firmware data packet to the target device if the target device has an abnormal firmware status, which specifically comprises:
    若所述目标设备存在固件状态异常,且获取到用户根据所述异常提示信息输入的固件升级操作,则发送所述固件数据包给所述目标设备,所述固件升级操作用于生成固件升级指令,所述固件升级指令用于指示将所述目标设备的固件版本升级为最新固件版本。If the target device has an abnormal firmware status, and the firmware upgrade operation input by the user according to the abnormal prompt information is obtained, the firmware data packet is sent to the target device, and the firmware upgrade operation is used to generate a firmware upgrade instruction The firmware upgrade instruction is used to instruct to upgrade the firmware version of the target device to the latest firmware version.
  43. 根据权利要求41所述的系统,其特征在于,所述处理器还用于:The system according to claim 41, wherein the processor is further configured to:
    若所述目标设备存在固件状态异常,则输出强制升级信息,所述强制升级信息用于指示对所述目标设备进行强制升级。If the target device has an abnormal firmware status, output mandatory upgrade information, where the mandatory upgrade information is used to indicate a mandatory upgrade to the target device.
  44. 根据权利要求40-43任一项所述的系统,其特征在于,所述处理器还用于:The system according to any one of claims 40-43, wherein the processor is further configured to:
    若所述目标设备存在固件状态异常,则发送锁定指令给所述目标设备,所述锁定指令用于指示锁定所述目标设备的特定部件。If the target device has an abnormal firmware status, a lock instruction is sent to the target device, and the lock instruction is used to instruct to lock a specific component of the target device.
  45. 根据权利要求44所述的系统,其特征在于,所述目标设备包括可移动平台,所述特定部件包括电机部件。The system of claim 44, wherein the target device includes a movable platform, and the specific component includes a motor component.
  46. 根据权利要求40所述的系统,其特征在于,所述处理器用于发送所述固件数据包给所述目标设备,具体包括:The system according to claim 40, wherein the processor is configured to send the firmware data packet to the target device, specifically comprising:
    若所述目标设备不存在固件状态异常,则获取所述在与所述目标设备再一次建立通信连接时,所述目标设备的第二固件版本信息,其中,所述第二固件版本信息包括所述在与所述目标设备再一次建立通信连接时,所述目标设备的版本信息;If there is no abnormal firmware status of the target device, obtain the second firmware version information of the target device when the communication connection is established again with the target device, wherein the second firmware version information includes all The version information of the target device when the communication connection is established again with the target device;
    根据所述第二固件版本信息和所述最新固件版本信息,确定所述目标设 备的第二固件版本是否低于所述最新固件版本;Determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information;
    若所述目标设备的第二固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备。If the second firmware version of the target device is lower than the latest firmware version, sending the firmware data packet of the latest firmware version to the target device.
  47. 根据权利要求46所述的系统,其特征在于,所述处理器用于若所述目标设备的第二固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备,具体包括:The system according to claim 46, wherein the processor is configured to send a firmware data packet of the latest firmware version to the latest firmware version if the second firmware version of the target device is lower than the latest firmware version Target equipment, including:
    若所述目标设备的第二固件版本低于所述最新固件版本,则显示升级提示信息,所述升级提示信息用于提示对所述目标设备的固件进行升级;If the second firmware version of the target device is lower than the latest firmware version, display an upgrade prompt message, where the upgrade prompt information is used to prompt to upgrade the firmware of the target device;
    获取用户根据所述升级提示信息输入的固件升级操作,以生成固件升级指令,所述固件升级指令用于指示对所述目标设备进行升级;Acquiring a firmware upgrade operation input by the user according to the upgrade prompt information to generate a firmware upgrade instruction, where the firmware upgrade instruction is used to instruct to upgrade the target device;
    根据所述固件升级操作,发送所述固件数据包给所述目标设备。According to the firmware upgrade operation, sending the firmware data package to the target device.
  48. 根据权利要求40所述的系统,其特征在于,所述处理器还用于:The system according to claim 40, wherein the processor is further configured to:
    在所述在与所述目标设备再一次建立通信连接时,获取所述目标设备的固件恢复信息,所述固件恢复信息用于指示所述目标设备的固件是否在进行恢复性升级;When the communication connection with the target device is established again, acquiring firmware restoration information of the target device, the firmware restoration information being used to indicate whether the firmware of the target device is undergoing a restorative upgrade;
    根据所述固件恢复信息,确定所述目标设备是否在进行恢复性升级;According to the firmware restoration information, determine whether the target device is undergoing a restorative upgrade;
    若所述目标设备在进行恢复性升级,则输出恢复提示信息。If the target device is undergoing a restorative upgrade, a restoration prompt message is output.
  49. 根据权利要求48所述的系统,其特征在于,所述处理器具体用于在所述目标设备完成恢复性升级之后,执行所述获取所述目标设备的固件状态信息的步骤。The system according to claim 48, wherein the processor is specifically configured to execute the step of obtaining firmware status information of the target device after the target device completes the restorative upgrade.
  50. 根据权利要求48所述的系统,其特征在于,所述恢复提示信息包括:恢复进度信息,和/或,恢复结果信息。The system according to claim 48, wherein the restoration prompt information comprises: restoration progress information, and/or restoration result information.
  51. 根据权利要求35所述的系统,其特征在于,所述目标设备为多个。The system according to claim 35, wherein there are multiple target devices.
  52. 根据权利要求35所述的系统,其特征在于,所述处理器还用于:The system according to claim 35, wherein the processor is further configured to:
    在所述获取目标设备与所述控制终端最近一次建立通信连接时,所述目标设备的第一固件版本信息之后,存储所述目标设备的所述第一固件版本信息。After obtaining the first firmware version information of the target device when the communication connection is established last time between the target device and the control terminal, storing the first firmware version information of the target device.
  53. 一种设备控制系统,应用于控制终端,其特征在于,所述设备控制系统包括:存储器和处理器;A device control system applied to a control terminal, wherein the device control system includes: a memory and a processor;
    所述存储器,用于存储程序代码;The memory is used to store program code;
    所述处理器,调用所述程序代码,当程序代码被执行时,用于执行以下 操作:The processor calls the program code, and when the program code is executed, is used to perform the following operations:
    在目标设备与所述控制终端建立通信连接时,获取所述目标设备的固件状态信息,所述固件状态信息用于指示所述目标设备是否存在固件状态异常;When the target device establishes a communication connection with the control terminal, acquiring firmware status information of the target device, where the firmware status information is used to indicate whether the target device has a firmware status abnormality;
    根据所述固件状态信息,确定所述目标设备是否存在固件状态异常;According to the firmware status information, determine whether the target device has a firmware status abnormality;
    若所述目标设备存在固件状态异常,则输出异常提示信息,所述异常提示信息用于指示所述目标设备的固件存在异常。If the target device has an abnormal firmware status, output abnormality prompt information, where the abnormality prompt information is used to indicate that the firmware of the target device is abnormal.
  54. 根据权利要求53所述的系统,其特征在于,所述处理器还用于:The system according to claim 53, wherein the processor is further configured to:
    若所述目标设备存在固件状态异常,则发送最新固件版本的固件数据包给所述目标设备,以使所述目标设备根据所述最新固件版本的固件数据包将固件版本升级为所述最新固件版本。If the target device has an abnormal firmware status, send a firmware data package of the latest firmware version to the target device, so that the target device upgrades the firmware version to the latest firmware according to the firmware data package of the latest firmware version version.
  55. 根据权利要求54所述的系统,其特征在于,所述处理器用于若所述目标设备存在固件状态异常,则发送最新固件版本的固件数据包给所述目标设备,具体包括:The system according to claim 54, wherein the processor is configured to send a firmware data packet of the latest firmware version to the target device if the target device has an abnormal firmware status, which specifically comprises:
    若所述目标设备存在固件状态异常,且获取到用户根据所述异常提示信息输入的固件升级操作,则发送最新固件版本的固件数据包给所述目标设备,所述固件升级操作用于生成固件升级指令,所述升级指令用于指示将所述目标设备的固件版本升级为最新固件版本。If the target device has an abnormal firmware status, and the firmware upgrade operation input by the user according to the abnormal prompt information is obtained, the firmware data package of the latest firmware version is sent to the target device, and the firmware upgrade operation is used to generate firmware The upgrade instruction is used to instruct to upgrade the firmware version of the target device to the latest firmware version.
  56. 根据权利要求54所述的系统,其特征在于,所述处理器还用于:The system according to claim 54, wherein the processor is further configured to:
    若所述目标设备存在固件状态异常,则输出强制升级信息,所述强制升级信息用于指示对所述目标设备进行强制升级。If the target device has an abnormal firmware status, output mandatory upgrade information, where the mandatory upgrade information is used to indicate a mandatory upgrade to the target device.
  57. 根据权利要求53所述的系统,其特征在于,所述处理器还用于:The system according to claim 53, wherein the processor is further configured to:
    若所述目标设备存在固件状态异常,则向所述目标设备发送锁定指令,所述锁定指令用于指示锁定所述目标设备的特定部件。If the target device has an abnormal firmware status, a lock instruction is sent to the target device, where the lock instruction is used to instruct to lock a specific component of the target device.
  58. 根据权利要求57所述的系统,其特征在于,所述目标设备包括可移动平台,所述特定部件包括电机部件。The system according to claim 57, wherein the target device includes a movable platform, and the specific component includes a motor component.
  59. 根据权利要求53所述的系统,其特征在于,所述处理器还用于:The system according to claim 53, wherein the processor is further configured to:
    在所述在目标设备与所述控制终端建立通信连接时,若所述目标设备不存在固件状态异常,则获取所述目标设备的第一固件版本信息,其中,所述第一固件版本信息包括所述在目标设备与所述控制终端建立通信连接时,所述目标设备的版本信息;When the communication connection between the target device and the control terminal is established, if there is no abnormal firmware status of the target device, the first firmware version information of the target device is acquired, where the first firmware version information includes The version information of the target device when the target device establishes a communication connection with the control terminal;
    根据所述第一固件版本信息和最新固件版本信息,确定所述目标设备的 第一固件版本是否低于最新固件版本;Determining whether the first firmware version of the target device is lower than the latest firmware version according to the first firmware version information and the latest firmware version information;
    若所述第一固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备。If the first firmware version is lower than the latest firmware version, sending the firmware data packet of the latest firmware version to the target device.
  60. 根据权利要求59所述的系统,其特征在于,所述处理器用于若所述第一固件版本低于所述最新固件版本,则发送所述最新固件版本的固件数据包给所述目标设备,具体包括:The system according to claim 59, wherein the processor is configured to send a firmware data packet of the latest firmware version to the target device if the first firmware version is lower than the latest firmware version, Specifically:
    若所述第一固件版本低于所述最新固件版本,则显示升级提示信息,所述升级提示信息用于提示对所述目标设备的固件进行升级;If the first firmware version is lower than the latest firmware version, display an upgrade prompt message, where the upgrade prompt information is used to prompt to upgrade the firmware of the target device;
    获取用户根据所述升级提示信息输入的固件升级操作,以生成固件升级指令,所述固件升级指令用于指示对所述目标设备进行升级;Acquiring a firmware upgrade operation input by the user according to the upgrade prompt information to generate a firmware upgrade instruction, where the firmware upgrade instruction is used to instruct to upgrade the target device;
    根据所述固件升级操作,发送所述固件数据包给所述目标设备。According to the firmware upgrade operation, sending the firmware data package to the target device.
  61. 根据权利要求54-56、59-60任一项所述的系统,其特征在于,所述处理器还用于:The system according to any one of claims 54-56 and 59-60, wherein the processor is further configured to:
    在所述目标设备与所述控制终端本次建立通信连接之前,获取所述目标设备与所述控制终端上一次建立通信连接时,所述目标设备的第二固件版本信息,其中,所述第二固件版本信息包括所述目标设备与所述控制终端上一次建立通信连接时,所述目标设备的版本信息;Before the target device establishes a communication connection with the control terminal this time, obtain the second firmware version information of the target device when the target device and the control terminal establish a communication connection last time. 2. The firmware version information includes the version information of the target device when the target device and the control terminal establish a communication connection last time;
    根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本;Determining whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information;
    若所述第二固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包;其中,在所述目标设备与所述控制终端断开连接后,所述控制终端能够获取所述最新固件版本的固件数据包,并存储所述固件数据包。If the second firmware version is lower than the latest firmware version, obtain the firmware data package of the latest firmware version and store the firmware data package; wherein, the target device is disconnected from the control terminal Thereafter, the control terminal can obtain the firmware data package of the latest firmware version, and store the firmware data package.
  62. 根据权利要求61所述的系统,其特征在于,所述处理器用于若所述第二固件版本低于所述最新固件版本,则获取所述最新固件版本的固件数据包,并存储所述固件数据包,具体包括:The system according to claim 61, wherein the processor is configured to obtain a firmware data packet of the latest firmware version if the second firmware version is lower than the latest firmware version, and store the firmware Data package, specifically including:
    若所述第二固件版本低于所述最新固件版本,则显示固件提示信息,所述固件提示信息包括固件获取入口;If the second firmware version is lower than the latest firmware version, display firmware prompt information, where the firmware prompt information includes a firmware acquisition entry;
    获取用户根据所述固件提示信息输入的固件获取操作,以生成固件获取指令,所述固件获取指令用于指示获取所述最新固件版本的固件数据包;Acquiring a firmware acquisition operation input by a user according to the firmware prompt information to generate a firmware acquisition instruction, where the firmware acquisition instruction is used to instruct to acquire a firmware data package of the latest firmware version;
    根据所述固件获取操作,获取所述最新固件版本的固件数据包,并存储 所述固件数据包。According to the firmware acquisition operation, the firmware data package of the latest firmware version is acquired, and the firmware data package is stored.
  63. 根据权利要求62所述的系统,其特征在于,所述固件提示信息还包括:所述最新固件版本信息,和/或,所述最新固件版本的固件数据包的大小。The system according to claim 62, wherein the firmware prompt information further comprises: the latest firmware version information, and/or the size of the firmware data packet of the latest firmware version.
  64. 根据权利要求61-63任一项所述的系统,其特征在于,所述处理器用于根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本,具体包括:The system according to any one of claims 61-63, wherein the processor is configured to determine, according to the second firmware version information and the latest firmware version information, whether the second firmware version of the target device is lower than The latest firmware version, including:
    获取用户输入的版本比较操作,以生成版本比较指令,所述版本比较指令用于指示比较所述目标设备的第二固件版本信息与所述最新固件版本信息;Acquiring a version comparison operation input by a user to generate a version comparison instruction, the version comparison instruction being used to instruct to compare the second firmware version information of the target device with the latest firmware version information;
    在获取到所述版本比较操作之后,根据所述第二固件版本信息和最新固件版本信息,确定所述目标设备的第二固件版本是否低于最新固件版本。After obtaining the version comparison operation, it is determined whether the second firmware version of the target device is lower than the latest firmware version according to the second firmware version information and the latest firmware version information.
  65. 根据权利要求61所述的系统,其特征在于,所述处理器还用于:The system according to claim 61, wherein the processor is further configured to:
    在所述获取目标设备与所述控制终端上一次建立通信连接时,所述目标设备的第二固件版本信息之后,存储所述目标设备的第二固件版本信息。After acquiring the second firmware version information of the target device when the communication connection is established last time between the target device and the control terminal, storing the second firmware version information of the target device.
  66. 根据权利要求53所述的系统,其特征在于,所述处理器还用于:The system according to claim 53, wherein the processor is further configured to:
    在所述在目标设备与所述控制终端建立通信连接时,获取所述目标设备的固件恢复信息,所述固件恢复信息用于指示所述目标设备的固件是否在进行恢复性升级;When the target device establishes a communication connection with the control terminal, acquiring firmware recovery information of the target device, where the firmware recovery information is used to indicate whether the firmware of the target device is undergoing a recoverable upgrade;
    根据所述固件恢复信息,确定所述目标设备是否在进行恢复性升级;According to the firmware restoration information, determine whether the target device is undergoing a restorative upgrade;
    若所述目标设备在进行恢复性升级,则输出恢复提示信息。If the target device is undergoing a restorative upgrade, a restoration prompt message is output.
  67. 根据权利要求66所述的系统,其特征在于,所述处理器,具体用于在所述目标设备完成恢复性升级之后,执行所述获取所述目标设备的固件状态信息的步骤。The system according to claim 66, wherein the processor is specifically configured to execute the step of obtaining firmware status information of the target device after the target device completes the restorative upgrade.
  68. 根据权利要求66所述的系统,其特征在于,所述恢复提示信息包括:恢复进度信息,和/或,恢复结果信息。The system according to claim 66, wherein the restoration prompt information comprises: restoration progress information, and/or restoration result information.
  69. 一种控制终端,其特征在于,包括如权利要求35至68任一项所述的设备控制系统。A control terminal, characterized by comprising the equipment control system according to any one of claims 35 to 68.
  70. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包含至少一段代码,所述至少一段代码可由计算机执行,以控制所述计算机执行如权利要求1-18任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, the computer program contains at least one piece of code, and the at least one piece of code can be executed by a computer to control the computer to execute The method of any one of 1-18 is required.
  71. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质 存储有计算机程序,所述计算机程序包含至少一段代码,所述至少一段代码可由计算机执行,以控制所述计算机执行如权利要求19-34任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, the computer program contains at least one piece of code, and the at least one piece of code can be executed by a computer to control the computer to execute The method of any one of 19-34 is required.
  72. 一种计算机程序,其特征在于,当所述计算机程序被计算机执行时,用于实现如权利要求1-18任一项所述的方法。A computer program, characterized in that, when the computer program is executed by a computer, it is used to implement the method according to any one of claims 1-18.
  73. 一种计算机程序,其特征在于,当所述计算机程序被计算机执行时,用于实现如权利要求19-34任一项所述的方法。A computer program, characterized in that, when the computer program is executed by a computer, it is used to implement the method according to any one of claims 19-34.
PCT/CN2019/106880 2019-09-20 2019-09-20 Device control method and system as well as control terminal WO2021051370A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980034061.0A CN112166411A (en) 2019-09-20 2019-09-20 Equipment control method, system and control terminal
PCT/CN2019/106880 WO2021051370A1 (en) 2019-09-20 2019-09-20 Device control method and system as well as control terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/106880 WO2021051370A1 (en) 2019-09-20 2019-09-20 Device control method and system as well as control terminal

Publications (1)

Publication Number Publication Date
WO2021051370A1 true WO2021051370A1 (en) 2021-03-25

Family

ID=73859814

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/106880 WO2021051370A1 (en) 2019-09-20 2019-09-20 Device control method and system as well as control terminal

Country Status (2)

Country Link
CN (1) CN112166411A (en)
WO (1) WO2021051370A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747374B (en) * 2021-07-30 2023-01-06 荣耀终端有限公司 Message pushing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168327A (en) * 2014-08-26 2014-11-26 许磊 Method for automatically updating external device
US20160062759A1 (en) * 2014-09-03 2016-03-03 Hon Hai Precision Industry Co., Ltd. Server and method for allocating client device to update firmware
JP6181009B2 (en) * 2014-07-31 2017-08-16 東芝テック株式会社 Printer and firmware update control program thereof
CN107357601A (en) * 2016-05-10 2017-11-17 零度智控(北京)智能科技有限公司 Unmanned plane device for upgrading firmware, method and terminal
CN107707405A (en) * 2017-10-23 2018-02-16 广东新欧智能卫浴有限公司 The method and its remote control that intelligent closestool firmware remotely updates are realized by remote control

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291516B (en) * 2017-07-12 2019-10-22 珠海格力电器股份有限公司 A kind of firmware upgrade method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6181009B2 (en) * 2014-07-31 2017-08-16 東芝テック株式会社 Printer and firmware update control program thereof
CN104168327A (en) * 2014-08-26 2014-11-26 许磊 Method for automatically updating external device
US20160062759A1 (en) * 2014-09-03 2016-03-03 Hon Hai Precision Industry Co., Ltd. Server and method for allocating client device to update firmware
CN107357601A (en) * 2016-05-10 2017-11-17 零度智控(北京)智能科技有限公司 Unmanned plane device for upgrading firmware, method and terminal
CN107707405A (en) * 2017-10-23 2018-02-16 广东新欧智能卫浴有限公司 The method and its remote control that intelligent closestool firmware remotely updates are realized by remote control

Also Published As

Publication number Publication date
CN112166411A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
JP5838527B2 (en) Method, apparatus and communication device for updating firmware
US20090094450A1 (en) Firmware image update and management
JP6316536B2 (en) Information processing system, information processing apparatus, information processing program, and information processing method
CN110621011A (en) OTA firmware upgrading method and system based on Bluetooth device end
US20120117557A1 (en) Method and system for upgrading wireless data card
CN109725921B (en) Method and device for updating firmware of VCI (virtual vehicle interface) equipment and automobile fault diagnosis instrument
JP2019003557A (en) Information processing device, information processing system, information processing method, and information processing program
CN103106092A (en) System software updating method and device in terminal appliance
CN108536452B (en) Embedded device, system software upgrading method, system and terminal thereof
CN109582372B (en) System starting method and device
CN115328563B (en) System starting method and electronic equipment
JP2013025426A (en) Image output device and program therefor
WO2021051370A1 (en) Device control method and system as well as control terminal
CN108847959B (en) Server monitoring method and server
CN112486733B (en) System restoration method, device, terminal and storage medium
KR20180050001A (en) Firmware upgrade system and method for IoT
CN109308186A (en) A kind of method and terminal of edition upgrading
CN111566617A (en) Firmware upgrading method and device for unmanned aerial vehicle, control device, unmanned aerial vehicle and medium
CN104580360A (en) System and method for updating firmware through heterogeneous network
CN112073447B (en) Model file issuing method, platform, system, terminal and readable storage medium
US20090275318A1 (en) Method and apparatus for transferring data between mobile telephones and other digital devices
CN112306534A (en) Firmware upgrading method and device, electronic equipment and storage medium
KR101206639B1 (en) Server and Method for updating firmware in Mobile communication terminal
CN108965026B (en) Equipment upgrading method, unit system and unit upgrading system
CN113515299A (en) Software development kit SDK hot upgrading method, device, equipment and storage medium

Legal Events

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

Ref document number: 19945859

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19945859

Country of ref document: EP

Kind code of ref document: A1