Nothing Special   »   [go: up one dir, main page]

CN108984222B - Cloud deck firmware upgrading method and system - Google Patents

Cloud deck firmware upgrading method and system Download PDF

Info

Publication number
CN108984222B
CN108984222B CN201710413004.6A CN201710413004A CN108984222B CN 108984222 B CN108984222 B CN 108984222B CN 201710413004 A CN201710413004 A CN 201710413004A CN 108984222 B CN108984222 B CN 108984222B
Authority
CN
China
Prior art keywords
firmware
frame
user terminal
holder
latest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710413004.6A
Other languages
Chinese (zh)
Other versions
CN108984222A (en
Inventor
陈华
盛光有
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Luzhou Hemiao Communication Technology Co ltd
Original Assignee
Luzhou Hemiao Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Luzhou Hemiao Communication Technology Co ltd filed Critical Luzhou Hemiao Communication Technology Co ltd
Priority to CN201710413004.6A priority Critical patent/CN108984222B/en
Publication of CN108984222A publication Critical patent/CN108984222A/en
Application granted granted Critical
Publication of CN108984222B publication Critical patent/CN108984222B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The invention discloses a cloud deck firmware upgrading method, which comprises the following steps: after the cloud deck firmware is updated and interrupted, the cloud deck sends a firmware data request to the user terminal; the firmware data request includes a lost frame number; the user terminal sends a device information request to the cradle head, so that the cradle head feeds back cradle head device information; and the user terminal acquires the latest firmware data corresponding to the cloud platform equipment information, and sends the frame data corresponding to the lost frame number in the latest firmware data to the cloud platform so as to enable the cloud platform firmware to be continuously updated. The invention also discloses a cloud platform firmware upgrading system. The invention can enable the cradle head to continue unfinished upgrade after the firmware upgrade is interrupted, and effectively improve the upgrade efficiency and stability.

Description

Cloud deck firmware upgrading method and system
Technical Field
The invention relates to the technical field of holders, in particular to a holder firmware upgrading method and a holder firmware upgrading system.
Background
With the general use of handheld cloud platforms, functions based on the handheld cloud platforms are more and more, when new functions appear, corresponding upgrades are sometimes required to be carried out on a cloud platform main board and a driving board to be matched with corresponding APP for use, and corresponding upgrading functions are required to be provided for the handheld cloud platforms which are sold. Various unexpected situations can be possibly generated in the upgrading process, such as that the mobile phone or the cradle head is suddenly out of power, the upgraded mobile phone is suddenly used suddenly but is wanted to be continuously upgraded, and the like, but the cradle head in the prior art cannot process the unexpected situations in the upgrading process, and only can be upgraded again after the upgrading is interrupted, so that the upgrading efficiency is low.
Therefore, the cradle head can cope with various emergency situations to continue upgrading in the firmware upgrading process, and the technical problem to be solved by the person skilled in the art is urgent.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method and a system for upgrading the cloud deck firmware, which can enable the cloud deck to continue unfinished upgrade after the firmware upgrade is interrupted, and effectively improve the upgrade efficiency and stability.
The technical scheme provided by the invention for the technical problems is as follows:
in one aspect, the invention provides a method for upgrading cloud deck firmware, which comprises the following steps:
after the cloud deck firmware is updated and interrupted, the cloud deck sends a firmware data request to the user terminal; the firmware data request includes a lost frame number;
the user terminal sends a device information request to the cradle head, so that the cradle head feeds back cradle head device information;
and the user terminal acquires the latest firmware data corresponding to the cloud platform equipment information, and sends the frame data corresponding to the lost frame number in the latest firmware data to the cloud platform so as to enable the cloud platform firmware to be continuously updated.
Further, the user terminal obtains the latest firmware data corresponding to the cradle head equipment information, which specifically includes:
the user terminal detects whether the terminal has the latest firmware data corresponding to the cradle head equipment information;
if yes, acquiring the latest firmware data;
if not, downloading the latest firmware data corresponding to the cloud platform equipment information from the server.
Further, the cloud platform firmware upgrading method further comprises the following steps:
before the upgrade of the cloud deck firmware is interrupted, a user terminal sends a device information request to the cloud deck so that the cloud deck feeds back the cloud deck device information; the cradle head equipment information comprises a cradle head type and a firmware version number;
the user terminal obtains the latest firmware version number corresponding to the holder type from a server, downloads latest firmware data corresponding to the latest firmware version number from the server when detecting that the firmware version number is different from the latest firmware version number, and sends an upgrading instruction to the holder; the upgrade instruction includes a size of the latest firmware data;
the cloud platform acquires the frame number of the latest firmware data according to the size of the latest firmware data, and sequentially sends a firmware data request of each frame to the user terminal; the firmware data request of each frame comprises a frame number of the frame;
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to the frame number in the latest firmware data to the holder so as to upgrade the holder firmware.
Further, the cradle head comprises a main control board which is in communication connection with the user terminal; the firmware version number comprises a main control board version number;
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to the frame number in the latest firmware data to the holder so as to upgrade the holder firmware, wherein the method specifically comprises the following steps of:
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to the frame number in the latest firmware data to the main control board, so that the main control board is upgraded.
Further, the cradle head comprises a main control board, a first driving board, a second driving board and a third driving board which are sequentially connected in series; the firmware version number comprises a drive board version number;
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to the frame number in the latest firmware data to the holder so as to upgrade the holder firmware, wherein the method specifically comprises the following steps of:
each time the user terminal receives a firmware data request of one frame, frame data corresponding to the frame number in the latest firmware data is sent to the main control board;
the main control board sends the frame data to the first driving board, and sends the frame data to the second driving board through the first driving board, and sends the frame data to the third driving board through the first driving board and the second driving board, so that the first driving board, the second driving board and the third driving board are updated.
On the other hand, the invention provides a cloud deck firmware upgrading system, which comprises a cloud deck and a user terminal;
the cloud platform is used for sending a firmware data request to the user terminal after the firmware upgrade is interrupted; the firmware data request includes a lost frame number;
the user terminal is used for sending a device information request to the cradle head so that the cradle head feeds back cradle head device information;
the user terminal is further configured to obtain the latest firmware data corresponding to the holder device information, and send frame data corresponding to the lost frame number in the latest firmware data to the holder, so that the holder firmware is continuously updated.
Further, the user terminal is specifically configured to detect whether the terminal has the latest firmware data corresponding to the cradle head device information; if yes, acquiring the latest firmware data; if not, downloading the latest firmware data corresponding to the cloud platform equipment information from the server.
Further, before the upgrade of the holder firmware is interrupted, the user terminal is further configured to send a device information request to the holder, so that the holder feeds back holder device information; the cradle head equipment information comprises a cradle head type and a firmware version number;
the user terminal is further configured to obtain an latest firmware version number corresponding to the holder type from a server, and when detecting that the firmware version number is different from the latest firmware version number, download latest firmware data corresponding to the latest firmware version number from the server, and send an upgrade instruction to the holder; the upgrade instruction includes a size of the latest firmware data;
the cradle head is also used for acquiring the frame number of the latest firmware data according to the size of the latest firmware data and sequentially sending a firmware data request of each frame to the user terminal; the firmware data request of each frame comprises a frame number of the frame;
and the user terminal is also used for transmitting frame data corresponding to the frame number in the latest firmware data to the holder when receiving a firmware data request of one frame, so that the holder firmware is upgraded.
Further, the cradle head comprises a main control board which is in communication connection with the user terminal; the firmware version number comprises a main control board version number;
the user terminal is specifically configured to send frame data corresponding to the frame number in the latest firmware data to the main control board when receiving a firmware data request of one frame, so that the main control board is upgraded.
Further, the cradle head comprises a main control board, a first driving board, a second driving board and a third driving board which are sequentially connected in series; the firmware version number comprises a drive board version number;
the user terminal is specifically configured to send frame data corresponding to the frame number in the latest firmware data to the main control board when receiving a firmware data request of one frame;
the main control board is used for sending the frame data to the first driving board, sending the frame data to the second driving board through the first driving board, and sending the frame data to the third driving board through the first driving board and the second driving board, so that the first driving board, the second driving board and the third driving board are updated.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
after the cloud platform firmware upgrade is interrupted, the cloud platform sends a firmware data request containing a lost frame number to the user terminal, the user terminal acquires the latest firmware data required by the cloud platform upgrade, and feeds back the frame data corresponding to the lost frame number in the latest firmware data to the cloud platform, so that the cloud platform continues unfinished upgrade without re-upgrade, and the upgrade efficiency and stability are effectively improved; when the drive boards are upgraded, the latest firmware data are sent to the three drive boards, so that the three drive boards are upgraded at the same time, and the upgrading efficiency is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for upgrading a holder firmware according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a frame data structure in a method for upgrading a holder firmware according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a structure of a cradle head in a cradle head firmware upgrade method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a cradle head and a user terminal in a cradle head firmware upgrading method according to a first embodiment of the present invention;
fig. 5 is a specific flow chart of a method for upgrading a holder firmware according to the first embodiment of the present invention;
fig. 6 is a schematic structural diagram of a holder firmware upgrade system according to a second embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
The embodiment of the invention provides a cloud deck firmware upgrading method, which comprises the following steps of:
s1, after the cloud deck firmware upgrade is interrupted, the cloud deck sends a firmware data request to a user terminal; the firmware data request includes a lost frame number;
s2, the user terminal sends a device information request to the cradle head, so that the cradle head feeds back cradle head device information;
s3, the user terminal obtains the latest firmware data corresponding to the cloud platform equipment information, and sends frame data corresponding to the lost frame number in the latest firmware data to the cloud platform, so that the cloud platform firmware is continuously updated.
It should be noted that, in the process of upgrading the holder firmware, if the holder does not receive data, or if the user terminal stops running, changes the user terminal, and the holder is restarted to interrupt the upgrade, the holder re-requests the lost frame data, and sends the frame number corresponding to the lost frame data to the user terminal currently communicating with the holder. The user terminal does not respond immediately to the frame data requested by the cradle head, but sends a device information request to the cradle head to obtain corresponding device information of the cradle head, so that corresponding latest firmware data is obtained again according to the device information of the cradle head, after the latest firmware data is obtained, the request of the cradle head is responded, and the frame data corresponding to the lost frame number in the latest firmware data is sent to the cradle head, so that the cradle head can continue unfinished firmware upgrading. For example, when the holder firmware is upgraded to 30%, the upgrade is interrupted, and after the interruption is repaired, the upgrade is started from 30%. The response mechanism guarantees the integrity and reliability of the upgrade data, supports breakpoint continuous transmission, can distinguish different types of the cradle head, processes emergency in the upgrade process, ensures normal operation of the upgrade function in the emergency, does not depend on the style and the platform of the user terminal, and effectively improves the upgrade efficiency and stability.
Further, the user terminal obtains the latest firmware data corresponding to the cradle head equipment information, which specifically includes:
the user terminal detects whether the terminal has the latest firmware data corresponding to the cradle head equipment information;
if yes, acquiring the latest firmware data;
if not, downloading the latest firmware data corresponding to the cloud platform equipment information from the server.
It should be noted that after the user terminal obtains the information of the cradle head device, it is checked whether the latest firmware data corresponding to the information of the cradle head device is downloaded locally, if the latest firmware data is locally available, the latest firmware data is directly obtained; if the latest firmware data is not available locally, the latest firmware data is downloaded from the server, so that the upgrading operation can be continued.
Further, the cloud platform firmware upgrading method further comprises the following steps:
before the upgrade of the cloud deck firmware is interrupted, a user terminal sends a device information request to the cloud deck so that the cloud deck feeds back the cloud deck device information; the cradle head equipment information comprises a cradle head type and a firmware version number;
the user terminal obtains the latest firmware version number corresponding to the holder type from a server, downloads latest firmware data corresponding to the latest firmware version number from the server when detecting that the firmware version number is different from the latest firmware version number, and sends an upgrading instruction to the holder; the upgrade instruction includes a size of the latest firmware data;
the cloud platform acquires the frame number of the latest firmware data according to the size of the latest firmware data, and sequentially sends a firmware data request of each frame to the user terminal; the firmware data request of each frame comprises a frame number of the frame;
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to a corresponding frame number in the latest firmware data to the holder so as to upgrade the holder firmware.
Before upgrading, the cradle head is connected with the user terminal, the user terminal is generally a mobile phone, the connection mode of the user terminal is generally Bluetooth connection, the user terminal sends a device information request to the cradle head to obtain the cradle head type and a corresponding firmware version number, when the firmware version number is smaller than the latest firmware version number corresponding to the cradle head type in the server, the user terminal downloads the latest firmware data corresponding to the latest firmware version number and sends an upgrading instruction containing the latest firmware data to the cradle head, and the cradle head can know how many frames the latest firmware data need to be divided into according to the latest firmware data to request. Wherein, the cradle head and the user terminal communicate through Bluetooth, and each frame of data transmits 20 bytes at most. The cradle head starts from a first frame, sends a firmware data request to the user terminal, and the user terminal feeds back corresponding frame data according to the firmware data request, stores the frame data in a local place after receiving the frame data, and requests the next frame data. If the cradle head does not receive the frame data fed back by the user terminal, the cradle head continues to request the frame data every 500ms until the frame data is requested.
The frame data format is shown in fig. 2, and includes:
frame header: a start flag of one frame of data;
target address: a message recipient address;
source address: a message sender address;
data length N: the length of the valid data.
Valid data: the payload, the first byte of the payload data is typically the message ID, and the following several bytes are data corresponding to the message ID.
Check bit: the destination address sums to the lower 8 bits of all bytes preceding the check bit.
Further, the cradle head comprises a main control board which is in communication connection with the user terminal; the firmware version number comprises a main control board version number;
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to a corresponding frame number in the latest firmware data to the holder so as to upgrade the holder firmware, wherein the method specifically comprises the following steps of:
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to a corresponding frame number in the latest firmware data to the main control board, so that the main control board is upgraded.
Further, the cradle head comprises a main control board, a first driving board, a second driving board and a third driving board which are sequentially connected in series; the firmware version number comprises a drive board version number;
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to a corresponding frame number in the latest firmware data to the holder so as to upgrade the holder firmware, wherein the method specifically comprises the following steps of:
each time the user terminal receives a firmware data request of one frame, frame data corresponding to a corresponding frame number in the latest firmware data is sent to the main control board;
the main control board sends the frame data to the first driving board, and sends the frame data to the second driving board through the first driving board, and sends the frame data to the third driving board through the first driving board and the second driving board, so that the first driving board, the second driving board and the third driving board are updated.
It should be noted that the cradle head mainly comprises three driving modules, a handle, a clamping device, a battery, a plurality of LED lamps and keys, and each driving module is respectively provided with a driving plate and a motor. Wherein, main control board 21, first drive plate 22, second drive plate 23, third drive plate 24 and clamping device 25 are as shown in fig. 3, and main control board 21 is located handle position department, and clamping device 25 is used for the centre gripping shooting equipment, installs the application program APP that matches with the cloud platform in the shooting equipment, through APP and the use of button, can control the cloud platform and shoot, wherein shoot and have multiple modes, for example 360 degrees ring beats, 720 degrees ring beats etc.. Under the control of an intelligent control algorithm, a high-quality picture can be shot by using the cradle head, and shake is reduced to the greatest extent.
The cloud platform firmware upgrade comprises the upgrade of the main control board and the three driving boards, wherein the connection modes of the user terminal, the main control board and the three driving boards are shown in fig. 4. The user terminal communicates with the main control board through Bluetooth, and the communication mode between the main control board and the three drive boards belongs to serial communication, preferably UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous receiver Transmitter).
The addresses allocated to the user terminal, the main control board, the first driving board, the second driving board and the third driving board are respectively 20, 10, 11, 12 and 13, and the common address of the three driving boards is 14. Because each frame of data contains the addresses of the sender and the receiver, the frame of data can be effectively transferred among the user terminal, the main control board and the three driving boards. In the communication process of the user terminal, the main control board and the three driving boards, the main control board receives a message sent by the user terminal, and if the destination address of the message is 10, the main control board analyzes and processes the message; if the destination address of the message is 11, 12, 13, 14, the main control board forwards the message to the first driving board, and the first driving board processes or forwards the message according to the corresponding destination address. The main control board receives the message sent by the first drive board, and if the destination address of the message is 10, the main control board analyzes and processes the message; if the destination address of the message is 20, the main control board forwards the message to the user terminal. If the user terminal or the main control board needs to send a message to the three drive boards, the destination address is selected to be 14.
In practical application, the main control board divides the flash into three storage spaces, and the first storage space stores a bootstrap program, namely a bootloader, which is not changed after the cloud deck leaves the factory; the second storage space stores an application program APP, namely a program which needs to be updated and upgraded; the third storage space stores user parameters and some factory configuration information, such as cradle head device information, appneedleupgrade (a parameter for recording whether firmware needs to be upgraded), and the like. After the program is powered on, the BootLoader program is firstly run, necessary initialization is carried out, the AppPodUpgrade parameter is read, if the parameter is equal to 1, the upgrade is indicated, and otherwise, the program is tuned to the app program. After receiving the latest firmware data fed back by the user terminal, the BootLoader writes the latest firmware data into the second storage space of the flash, and when all the received latest firmware data are written into the second storage space, the BootLoader indicates that the upgrading is completed. After the upgrading is finished, the program jumps to a second storage space to run the APP program, and when the APP program detects that the AppUpGrade parameter is 1, the AppUpGrade parameter is modified to 0, so that the cradle head is not upgraded when being electrified next time.
In addition, the user terminal can also be a computer, the computer is connected with the cradle head through a USB interface, and the process of upgrading the cradle head firmware through an application program by the computer is the same as the process of upgrading by using the mobile phone. If the cradle head is connected with the mobile phone and the computer at the same time, the cradle head selects the computer for upgrading.
Referring to fig. 5, a specific flow chart of a method for upgrading a holder firmware according to an embodiment of the present invention is shown, where the method includes:
s501, bluetooth connection. And connecting the cradle head with the mobile phone through Bluetooth.
S502, judging whether the connection is already established. If the cradle head is connected with the mobile phone, step S503 is executed, and if the cradle head is not connected with the mobile phone, step S501 is returned.
S503, the mobile phone sends a device information request. And the mobile phone sends a device information request to the cradle head.
S504, the cradle head replies a device information request. And the cradle head feeds back cradle head equipment information containing a cradle head version number to the mobile phone according to the equipment information request.
S505, judging whether the version is the latest version. The mobile phone judges whether the cloud deck version number fed back by the cloud deck is the latest version number; if yes, the upgrade is ended, if not, step S506 is executed.
S506, the mobile phone downloads the latest firmware data from the server.
S507, the mobile phone sends an upgrade instruction.
S508, the main control board enters an upgrade mode.
S509, the main control board requests the latest firmware data description information.
S510, the mobile phone sends file description information comprising firmware size information.
S511, the main control board requests one frame of firmware data.
S512, the mobile phone sends the firmware data of the corresponding frame number requested by the main control board.
S513, judging whether the frame data is the last frame data; if yes, the upgrade is ended, if not, the process returns to step S511.
After the cloud platform firmware upgrade is interrupted, the cloud platform sends a firmware data request containing the lost frame number to the user terminal, the user terminal acquires the latest firmware data required by the cloud platform upgrade, and feeds back the frame data corresponding to the lost frame number in the latest firmware data to the cloud platform, so that the cloud platform continues unfinished upgrade without re-upgrade, and the upgrade efficiency and stability are effectively improved; when the drive boards are upgraded, the latest firmware data are sent to the three drive boards, so that the three drive boards are upgraded at the same time, and the upgrading efficiency is further improved.
Example two
Correspondingly, the embodiment of the invention also provides a system for upgrading the cloud platform firmware, which can execute all the processes of the embodiment. Referring to fig. 6, the system includes a cradle head 61 and a user terminal 62;
the cradle head 61 is configured to send a firmware data request to the user terminal 42 after the firmware upgrade is interrupted; the firmware data request includes a lost frame number;
the user terminal 62 is configured to send a device information request to the pan-tilt 61, so that the pan-tilt 61 feeds back pan-tilt device information;
the user terminal 62 is further configured to obtain the latest firmware data corresponding to the holder device information, and send frame data corresponding to the lost frame number in the latest firmware data to the holder, so that the holder firmware is continuously updated.
Further, the user terminal is specifically configured to detect whether the terminal has the latest firmware data corresponding to the cradle head device information; if yes, acquiring the latest firmware data; if not, downloading the latest firmware data corresponding to the cloud platform equipment information from the server.
Further, before the upgrade of the holder firmware is interrupted, the user terminal is further configured to send a device information request to the holder, so that the holder feeds back holder device information; the cradle head equipment information comprises a cradle head type and a firmware version number;
the user terminal is further configured to obtain an latest firmware version number corresponding to the holder type from a server, and when detecting that the firmware version number is different from the latest firmware version number, download latest firmware data corresponding to the latest firmware version number from the server, and send an upgrade instruction to the holder; the upgrade instruction includes a size of the latest firmware data;
the cradle head is also used for acquiring the frame number of the latest firmware data according to the size of the latest firmware data and sequentially sending a firmware data request of each frame to the user terminal; the firmware data request of each frame comprises a frame number of the frame;
and the user terminal is also used for sending frame data corresponding to a corresponding frame number in the latest firmware data to the holder when receiving a firmware data request of one frame, so that the holder firmware is upgraded.
Further, the cradle head comprises a main control board which is in communication connection with the user terminal; the firmware version number comprises a main control board version number;
the user terminal is specifically configured to send frame data corresponding to a corresponding frame number in the latest firmware data to the main control board when receiving a firmware data request of one frame, so that the main control board is upgraded.
Further, the cradle head comprises a main control board, a first driving board, a second driving board and a third driving board which are sequentially connected in series; the firmware version number comprises a drive board version number;
the user terminal is specifically configured to send frame data corresponding to a corresponding frame number in the latest firmware data to the main control board when receiving a firmware data request of one frame;
the main control board is used for sending the frame data to the first driving board, sending the frame data to the second driving board through the first driving board, and sending the frame data to the third driving board through the first driving board and the second driving board, so that the first driving board, the second driving board and the third driving board are updated.
After the cloud platform firmware upgrade is interrupted, the cloud platform sends a firmware data request containing the lost frame number to the user terminal, the user terminal acquires the latest firmware data required by the cloud platform upgrade, and feeds back the frame data corresponding to the lost frame number in the latest firmware data to the cloud platform, so that the cloud platform continues unfinished upgrade without re-upgrade, and the upgrade efficiency and stability are effectively improved; when the drive boards are upgraded, the latest firmware data are sent to the three drive boards, so that the three drive boards are upgraded at the same time, and the upgrading efficiency is further improved.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A cloud platform firmware upgrading method is characterized by comprising the following steps:
after the cloud deck firmware is updated and interrupted, the cloud deck sends a firmware data request to the user terminal; the firmware data request includes a lost frame number;
the user terminal sends a device information request to the cradle head, so that the cradle head feeds back cradle head device information;
the user terminal obtains the latest firmware data corresponding to the cloud platform equipment information, and sends frame data corresponding to the lost frame number in the latest firmware data to the cloud platform so as to enable the cloud platform firmware to be continuously updated;
the method further comprises the steps of: before the cloud platform firmware upgrade is interrupted, the user terminal sends an upgrade instruction to the cloud platform, wherein the upgrade instruction comprises the size of the latest firmware data; the cloud platform acquires the frame number of the latest firmware data according to the size of the latest firmware data, and sequentially sends a firmware data request of each frame to the user terminal; the firmware data request of each frame comprises a frame number of the frame; and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to a corresponding frame number in the latest firmware data to the holder so as to upgrade the holder firmware.
2. The method for upgrading the holder firmware of claim 1, wherein the user terminal obtains the latest firmware data corresponding to the holder equipment information, specifically including:
the user terminal detects whether the terminal has the latest firmware data corresponding to the cradle head equipment information;
if yes, acquiring the latest firmware data;
if not, downloading the latest firmware data corresponding to the cradle head equipment information from a server.
3. The cradle head firmware upgrade method of claim 1, wherein the cradle head firmware upgrade method further comprises:
before the cloud deck firmware upgrade is interrupted, the user terminal sends a device information request to the cloud deck so that the cloud deck feeds back the cloud deck device information; the cradle head equipment information comprises a cradle head type and a firmware version number;
and the user terminal acquires the latest firmware version number corresponding to the holder type from a server, downloads latest firmware data corresponding to the latest firmware version number from the server when detecting that the firmware version number is different from the latest firmware version number, and sends an upgrading instruction to the holder.
4. The holder firmware upgrade method of claim 3, wherein the holder includes a main control board in communication connection with the user terminal; the firmware version number comprises a main control board version number;
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to a corresponding frame number in the latest firmware data to the holder so as to upgrade the holder firmware, wherein the method specifically comprises the following steps of:
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to a corresponding frame number in the latest firmware data to the main control board, so that the main control board is upgraded.
5. The holder firmware upgrade method of claim 3, wherein the holder comprises a main control board, a first driving board, a second driving board and a third driving board which are sequentially connected in series; the firmware version number comprises a drive board version number;
and each time the user terminal receives a firmware data request of one frame, sending frame data corresponding to a corresponding frame number in the latest firmware data to the holder so as to upgrade the holder firmware, wherein the method specifically comprises the following steps of:
each time the user terminal receives a firmware data request of one frame, frame data corresponding to a corresponding frame number in the latest firmware data is sent to the main control board;
the main control board sends the frame data to the first driving board, and sends the frame data to the second driving board through the first driving board, and sends the frame data to the third driving board through the first driving board and the second driving board, so that the first driving board, the second driving board and the third driving board are updated.
6. The cloud platform firmware upgrading system is characterized by comprising a cloud platform and a user terminal;
the cloud platform is used for sending a firmware data request to the user terminal after the firmware upgrade is interrupted; the firmware data request includes a lost frame number;
the user terminal is used for sending a device information request to the cradle head so that the cradle head feeds back cradle head device information;
the user terminal is further used for acquiring the latest firmware data corresponding to the cloud platform equipment information, and sending the frame data corresponding to the lost frame number in the latest firmware data to the cloud platform so as to enable the cloud platform firmware to be continuously updated;
the user terminal is further used for sending an upgrade instruction to the cradle head before the upgrade of the cradle head firmware is interrupted, and the upgrade instruction comprises the latest firmware data; the cradle head is also used for acquiring the frame number of the latest firmware data according to the size of the latest firmware data and sequentially sending a firmware data request of each frame to the user terminal; the firmware data request of each frame comprises a frame number of the frame; and the user terminal is also used for sending frame data corresponding to a corresponding frame number in the latest firmware data to the holder when receiving a firmware data request of one frame, so that the holder firmware is upgraded.
7. The holder firmware upgrade system of claim 6, wherein the user terminal is specifically configured to detect whether the user terminal has the latest firmware data corresponding to the holder device information; if yes, acquiring the latest firmware data; if not, downloading the latest firmware data corresponding to the cradle head equipment information from a server.
8. The holder firmware upgrade system of claim 6, wherein the user terminal is further configured to send a device information request to the holder before the holder firmware upgrade is interrupted, so that the holder feeds back holder device information; the cradle head equipment information comprises a cradle head type and a firmware version number;
the user terminal is further configured to obtain an latest firmware version number corresponding to the holder type from a server, and when detecting that the firmware version number is different from the latest firmware version number, download latest firmware data corresponding to the latest firmware version number from the server, and send an upgrade instruction to the holder.
9. The holder firmware upgrade system of claim 8, wherein the holder includes a main control board in communication with the user terminal; the firmware version number comprises a main control board version number;
the user terminal is specifically configured to send frame data corresponding to a corresponding frame number in the latest firmware data to the main control board when receiving a firmware data request of one frame, so that the main control board is upgraded.
10. The holder firmware upgrade system of claim 8, wherein the holder comprises a main control board, a first drive board, a second drive board, and a third drive board, which are sequentially connected in series; the firmware version number comprises a drive board version number;
the user terminal is specifically configured to send frame data corresponding to a corresponding frame number in the latest firmware data to the main control board when receiving a firmware data request of one frame;
the main control board is used for sending the frame data to the first driving board, sending the frame data to the second driving board through the first driving board, and sending the frame data to the third driving board through the first driving board and the second driving board, so that the first driving board, the second driving board and the third driving board are updated.
CN201710413004.6A 2017-06-05 2017-06-05 Cloud deck firmware upgrading method and system Active CN108984222B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710413004.6A CN108984222B (en) 2017-06-05 2017-06-05 Cloud deck firmware upgrading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710413004.6A CN108984222B (en) 2017-06-05 2017-06-05 Cloud deck firmware upgrading method and system

Publications (2)

Publication Number Publication Date
CN108984222A CN108984222A (en) 2018-12-11
CN108984222B true CN108984222B (en) 2023-12-22

Family

ID=64502198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710413004.6A Active CN108984222B (en) 2017-06-05 2017-06-05 Cloud deck firmware upgrading method and system

Country Status (1)

Country Link
CN (1) CN108984222B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112559014A (en) * 2020-12-28 2021-03-26 南京立迈胜机器人有限公司 Servo drive firmware upgrading method based on EtherCAT real-time Ethernet
CN112764781A (en) * 2021-01-28 2021-05-07 深圳市科陆电子科技股份有限公司 Platform area intelligent terminal, alternate acquisition board firmware upgrading method, system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859123A (en) * 2006-03-17 2006-11-08 华为技术有限公司 Dynamic content continuous transmission method and system
CN105183515A (en) * 2015-09-02 2015-12-23 深圳一电科技有限公司 Cloud deck firmware updating method and device
CN105591824A (en) * 2016-01-14 2016-05-18 杭州赫智电子科技有限公司 Method and system for firmware upgrade
CN105676794A (en) * 2014-11-18 2016-06-15 广东美的生活电器制造有限公司 Control circuit and system for household appliances on the basis of WIFI communication
CN106411586A (en) * 2016-09-23 2017-02-15 深圳英飞拓科技股份有限公司 Pan-tilt upgrading method and device of pan-tilt control system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105408944A (en) * 2013-07-22 2016-03-16 因特立维森技术公司 System and method for scalable video cloud services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859123A (en) * 2006-03-17 2006-11-08 华为技术有限公司 Dynamic content continuous transmission method and system
CN105676794A (en) * 2014-11-18 2016-06-15 广东美的生活电器制造有限公司 Control circuit and system for household appliances on the basis of WIFI communication
CN105183515A (en) * 2015-09-02 2015-12-23 深圳一电科技有限公司 Cloud deck firmware updating method and device
CN105591824A (en) * 2016-01-14 2016-05-18 杭州赫智电子科技有限公司 Method and system for firmware upgrade
CN106411586A (en) * 2016-09-23 2017-02-15 深圳英飞拓科技股份有限公司 Pan-tilt upgrading method and device of pan-tilt control system

Also Published As

Publication number Publication date
CN108984222A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
KR101905019B1 (en) Method for upgrading terminal system, terminal, and system
CN107608701A (en) A kind of method and apparatus of firmware updating
CN104410665B (en) A kind of method for down loading and equipment upgrading bag
JP2004297813A (en) Method to obtain application for mobile terminal accessory from communication network and mobile terminal
US20090119659A1 (en) Method of Computer Based Data Card Software Downloading and Updating
CN108984222B (en) Cloud deck firmware upgrading method and system
CN103220822A (en) Data transmission method, data transmission device and mobile terminal
WO2018121272A1 (en) Firmware upgrade method, device and system
EP2664988A1 (en) Method, device and system for installing terminal software
CN101841594A (en) Portable electronic equipment and downloading method of firmware downloading program thereof
JP2022535949A (en) Model file distribution method, platform, system, terminal and readable storage medium
CN106814751B (en) A kind of flight control protocol automatic adaptation method, apparatus and system
CN113741925A (en) Software upgrading method and device
CN109189419B (en) System upgrading method, device and system, server and client
CN104469715A (en) Delayed message sending method, terminal, server and system
EP3015990B1 (en) Information processing device, and destination information updating method and program
CN113259169A (en) Data processing method and device, electronic equipment and storage medium
CN114253558A (en) Method and device for installing patch package
CN104580360A (en) System and method for updating firmware through heterogeneous network
CN112166411A (en) Equipment control method, system and control terminal
US20180270872A1 (en) Method and apparatus for establishing communication connection between mobile device and fixed device
JP6331429B2 (en) Vehicle system, vehicle apparatus and mobile terminal compatible information acquisition method, program, and recording medium
CN116225482A (en) Firmware upgrading method, system, device, electronic equipment and storage medium
CN110704080A (en) Method for upgrading Bluetooth module through Wi-Fi module
CN111935271A (en) Data updating method, device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20230907

Address after: 646000 Buildings 13 and 15, No. 1, Section 6, Jiugu Avenue, Jiangyang District, Luzhou, Sichuan

Applicant after: Luzhou hemiao Communication Technology Co.,Ltd.

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant before: SHENZHEN AREOX TECHNOLOGIES CO.,LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant