CN106980511B - Firmware upgrading method, device and system - Google Patents

Firmware upgrading method, device and system Download PDF

Info

Publication number
CN106980511B
CN106980511B CN201710321654.8A CN201710321654A CN106980511B CN 106980511 B CN106980511 B CN 106980511B CN 201710321654 A CN201710321654 A CN 201710321654A CN 106980511 B CN106980511 B CN 106980511B
Authority
CN
China
Prior art keywords
firmware
upgraded
file
equipment
upgrading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710321654.8A
Other languages
Chinese (zh)
Other versions
CN106980511A (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.)
Shenzhen Legendary Technologies Co ltd
Original Assignee
Shenzhen Legendary Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Legendary Technologies Co ltd filed Critical Shenzhen Legendary Technologies Co ltd
Priority to CN201710321654.8A priority Critical patent/CN106980511B/en
Publication of CN106980511A publication Critical patent/CN106980511A/en
Application granted granted Critical
Publication of CN106980511B publication Critical patent/CN106980511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation

Abstract

The embodiment of the invention discloses a firmware upgrading method, a firmware upgrading device and a firmware upgrading system. The method comprises the following steps: when detecting that USB connection is established with equipment to be upgraded, the control equipment enumerates the equipment to be upgraded into a USB flash disk, and displays a preset link file in the equipment to be upgraded under a directory of the USB flash disk; when monitoring that a user opens a preset link file, the control device acquires preset website information in the preset link file, accesses a corresponding server, and sends current firmware version information in the preset link file to the server; the server provides downloading service of the firmware upgrading file for the control equipment when detecting that the firmware upgrading file of the new version exists according to the current firmware version information; and the equipment to be upgraded receives the firmware upgrading file downloaded by the control equipment and carries out firmware upgrading operation. By adopting the technical scheme, the embodiment of the invention does not need to install a special program on the control equipment, can simplify the firmware upgrading process and improve the firmware upgrading efficiency.

Description

Firmware upgrading method, device and system
Technical Field
The embodiment of the invention relates to the technical field of firmware upgrading, in particular to a firmware upgrading method, device and system.
Background
Firmware (firmware) is generally stored in devices such as electrically Erasable read only memory (eeprom) or FLASH memory (FLASH) chips, and generally refers to software that serves as the most basic and bottom layer of the device.
Along with the continuous change of the function requirements of the equipment or the defects of the firmware, which needs to be repaired, and the like, the firmware in the equipment is often required to be upgraded. For security or manufacturing cost, many devices do not have networking function, i.e. cannot access the internet, and for such devices requiring firmware upgrade, the traditional firmware upgrade methods include the following two methods: firstly, a technical support engineer performs field manual upgrade, and fig. 1 is a field upgrade flow diagram, as shown in fig. 1, when a user finds that a firmware needs to be upgraded, the user needs to contact and communicate with the technical support engineer first, and after the technical support engineer determines a condition, the user is helped to manually upgrade the firmware or provide a latest firmware for the user to download and update; secondly, downloading and updating from the official website by using specific application software and drivers, and fig. 2 is a schematic diagram of an existing official website upgrading process, as shown in fig. 2, when a user needs to update firmware, the user first needs to download a dedicated application software and driver on the official website, and then upgrade the firmware through the application software.
For the first mode, real-time updating cannot be achieved, great inconvenience is brought to engineers, great waste is caused to labor cost, and the firmware updating method has the defects that the updating period is too long, the product development of a company is easy to be unfavorable, and the popularization time of a product scheme is influenced; for the second way, before upgrading the firmware, the user needs to go to the official website to download the dedicated application software and driver to update the firmware, and both the driver and the application software have a cross-platform problem, and different operating systems, even different versions of the same operating system, may cause a compatibility problem, resulting in low upgrading efficiency.
Disclosure of Invention
The embodiment of the invention aims to provide a firmware upgrading method, a firmware upgrading device and a firmware upgrading system, which can solve the problem that the upgrading process of the existing firmware upgrading scheme is complicated and time-consuming.
In a first aspect, an embodiment of the present invention provides a firmware upgrading method, including:
when detecting that a Universal Serial Bus (USB) connection is established with equipment to be upgraded, a control device enumerates the equipment to be upgraded into a USB flash disk, and displays a preset link file in the equipment to be upgraded under a directory of the USB flash disk, wherein the preset link file comprises preset website information and current firmware version information of the equipment to be upgraded;
when the control equipment monitors that a user opens the preset link file, the control equipment acquires the preset website information and accesses a corresponding server, and sends the current firmware version information to the server;
the server provides downloading service of the firmware upgrading file to the control equipment when detecting that the firmware upgrading file of the new version exists according to the current firmware version information;
and the equipment to be upgraded receives the firmware upgrading file downloaded by the control equipment and carries out firmware upgrading operation.
In a second aspect, an embodiment of the present invention provides a firmware upgrading method, including:
when detecting that a device to be upgraded is enumerated as a USB (Universal Serial bus) flash disk by a control device, displaying a preset link file stored in the device to be upgraded in an directory of the USB flash disk, wherein the preset link file comprises preset website information and current firmware version information of the device to be upgraded, and the device to be upgraded is in communication with the control device through USB connection;
when an opening request aiming at the preset link file sent by the control equipment is received, feeding back the preset website information and the current firmware version information to the control equipment so that the control equipment can access a server corresponding to the website information and send the current firmware version to the server; when the server detects that the firmware upgrading file of the new version exists according to the current firmware version information, the server provides downloading service of the firmware upgrading file for the control equipment;
and receiving the firmware upgrading file downloaded by the control equipment and carrying out firmware upgrading operation.
In a third aspect, an embodiment of the present invention provides a firmware upgrade system, including a device to be upgraded, a control device, and a server;
the control apparatus includes:
the device enumeration module is used for enumerating the device to be upgraded into a USB flash disk when detecting that a Universal Serial Bus (USB) connection is established with the device to be upgraded, and displaying a preset link file in the device to be upgraded under a directory of the USB flash disk, wherein the preset link file comprises preset website information and current firmware version information of the device to be upgraded;
the server access module is used for acquiring the preset website information and accessing a corresponding server when the opening operation of a user for the preset link file is monitored, and sending the current firmware version information to the server;
the server includes:
the download service providing module is used for providing download service of the firmware upgrade file for the control equipment when detecting that the firmware upgrade file of a new version exists according to the current firmware version information;
the device to be upgraded comprises:
and the upgrading module is used for receiving the firmware upgrading file downloaded by the control equipment and carrying out firmware upgrading operation.
In a fourth aspect, an embodiment of the present invention provides a firmware upgrading apparatus, including:
the file display control module is used for displaying a preset link file stored in the equipment to be upgraded under an directory of the USB flash disk when detecting that the equipment to be upgraded is enumerated as the USB flash disk by the controlled equipment, wherein the preset link file comprises preset website information and current firmware version information of the equipment to be upgraded, and the equipment to be upgraded and the control equipment are connected through a Universal Serial Bus (USB) for communication;
the information feedback module is used for feeding back the preset website information and the current firmware version information to the control equipment when receiving an opening request aiming at the preset link file and sent by the control equipment, so that the control equipment accesses a server corresponding to the website information and sends the current firmware version to the server; when the server detects that the firmware upgrading file of the new version exists according to the current firmware version information, the server provides downloading service of the firmware upgrading file for the control equipment;
and the upgrading module is used for receiving the firmware upgrading file downloaded by the control equipment and carrying out firmware upgrading operation.
The firmware upgrading scheme provided by the embodiment of the invention enumerates equipment to be upgraded into a USB flash disk in control equipment, a preset link file containing preset website information and current firmware version information is stored in the equipment to be upgraded, the control equipment can automatically access a server corresponding to the preset website information after the preset link file in the USB flash disk is opened on the control equipment, and when the server detects that a new version of the firmware upgrading file exists, the server provides downloading service for the control equipment so that the control equipment can download the firmware upgrading file into the equipment to be upgraded and then the equipment to be upgraded can automatically carry out firmware upgrading operation, the scheme can realize remote firmware online upgrading without installing special application software and driving programs on the control equipment, simplifies firmware upgrading flow, reduces professional difficulty of firmware upgrading and can realize rapid upgrading without the guidance of professional personnel, and the firmware upgrading efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of a field upgrade process;
FIG. 2 is a schematic diagram of an existing official website upgrading process;
fig. 3 is a flowchart illustrating a firmware upgrading method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a firmware upgrading method according to a second embodiment of the present invention;
fig. 5 is a flowchart illustrating a firmware upgrading method according to a third embodiment of the present invention;
fig. 6 is a block diagram of a firmware upgrading system according to a fourth embodiment of the present invention;
fig. 7 is a schematic diagram of a working process of a firmware upgrade system according to a fourth embodiment of the present invention;
fig. 8 is a block diagram of a firmware upgrading apparatus according to a fifth embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 3 is a flowchart illustrating a firmware upgrading method according to an embodiment of the present invention, where the method may be executed by a firmware upgrading system. As shown in fig. 3, the method includes:
step 301, when detecting that a Universal Serial Bus (USB) connection is established with a device to be upgraded, a control device enumerates the device to be upgraded into a USB flash disk, and displays a preset link file in the device to be upgraded under a directory of the USB flash disk.
And the preset link file comprises preset website information and the current firmware version information of the equipment to be upgraded.
For example, the control device in the embodiment of the present invention may be a Personal Computer (PC), a tablet Computer, or a smart phone. The equipment to be upgraded can be production equipment, detection equipment, experimental equipment, public service equipment and other equipment containing firmware. Illustratively, the device to be upgraded does not have a networking function, that is, the device to be upgraded does not have a function of accessing the internet.
In this embodiment, the control device and the device to be upgraded communicate with each other based on a Universal Serial Bus (USB) protocol. When the USB plug of the equipment to be upgraded or the connected USB connecting line joint is inserted into the control equipment, the control equipment can detect that the equipment to be upgraded is connected with the USB, and at the moment, the equipment to be upgraded is enumerated as a USB flash disk. Preferably, the usb disk is in a File Allocation Table (FAT) format. The U disk has the advantages of being free of drive, so that a user can be prevented from downloading related drives manually, and the problem of compatibility caused by different system configurations or system versions is also solved. It should be noted that the control device may also enumerate the device to be upgraded into two or more devices, where one device is a usb disk.
In this embodiment, the device to be upgraded stores a preset link file, where the preset link file includes preset website information and current firmware version information of the device to be upgraded. And when the equipment to be upgraded is enumerated as a USB flash disk, displaying the preset link file in a USB flash disk directory. Illustratively, the preset link file may be a hyperlink file with a suffix of html, for example, a Check for update. The preset website information is website information corresponding to a server providing the firmware upgrade file, and may be, for example, a website of an official website download area page of a company to which the device to be upgraded belongs. The current firmware version information may be a version number of the current firmware version.
Step 302, when it is monitored that the user opens the preset link file, the control device acquires the preset website information and accesses a corresponding server, and sends the current firmware version information to the server.
For example, after the preset link file is displayed in the control device, the user may select to open the preset link file (if the control device is a PC, the user may double-click the preset link file), at this time, the control device may monitor an opening operation of the user for the preset link file, so as to obtain the preset website information therein and access the corresponding server, and send the current firmware version information included in the preset link file to the server, so that the server may perform subsequent determination.
Step 303, when detecting that the firmware upgrade file of the new version exists according to the current firmware version information, the server provides a downloading service of the firmware upgrade file to the control device.
For example, after receiving the current firmware version information, the server may search in the internal database whether a firmware version updated with the current version exists, and if so, it indicates that the device to be upgraded needs to be upgraded, and if not, it indicates that the device to be upgraded does not need to be upgraded. Optionally, the server determines whether to perform version detection by determining whether parameters such as current firmware version information transmitted by the preset link file are valid.
If the firmware upgrade file of the new version is detected to exist, a download interface can be provided for the control equipment, for example, a download button is displayed on a webpage opened by the control equipment for a user to click, and if the user clicks the download button, the firmware upgrade file of the new version can be automatically downloaded.
And step 304, the equipment to be upgraded receives the firmware upgrading file downloaded by the control equipment and carries out firmware upgrading operation.
For example, the control device may store the firmware upgrade file in an enumerated usb disk in the device to be upgraded. When the equipment to be upgraded detects the firmware upgrading file in the USB flash disk, the related operation of firmware upgrading can be automatically executed, and the purpose of firmware upgrading is achieved.
The firmware upgrading method provided by the embodiment of the invention enumerates equipment to be upgraded into a USB flash disk in control equipment, a preset link file containing preset website information and current firmware version information is stored in the equipment to be upgraded, the control equipment can automatically access a server corresponding to the preset website information after the preset link file in the USB flash disk is opened on the control equipment, when the server detects that a new version of the firmware upgrade file exists, downloading service is provided for the control equipment, so that the control equipment can download the firmware upgrade file into the equipment to be upgraded, and then the equipment to be upgraded can automatically perform firmware upgrading operation, and the scheme can realize remote firmware online upgrading without installing special application software and driving programs on the control equipment, simplifies firmware upgrading flow, reduces professional difficulty of firmware upgrading, and can realize rapid upgrading without the guidance of professional personnel, and the firmware upgrading efficiency is improved.
On the basis of the above embodiment, after the device to be upgraded receives the firmware upgrade file downloaded by the control device and performs the firmware upgrade operation, the method may further include: and after detecting that the firmware is upgraded successfully, the equipment to be upgraded updates the current firmware version information contained in the preset link file. After the firmware is upgraded successfully, the current firmware version is changed accordingly, so that accurate current firmware version information is acquired in the next upgrading process, and the current firmware version information contained in the preset link file, such as the update version number, can be updated.
On the basis of the above embodiment, the preset link file may further include hardware version information of the device to be upgraded and/or identity information of the device to be upgraded. When detecting that a firmware upgrade file of a new version exists according to the current firmware version information, the server provides a download service of the firmware upgrade file to the control device, and the download service may include: and when detecting that the firmware upgrading file of the new version exists according to the current firmware version information, the hardware version information of the equipment to be upgraded and/or the identity information of the equipment to be upgraded, the server provides a downloading service of the firmware upgrading file for the control equipment.
For example, the firmware version information corresponding to the firmware upgrade file stored in the database of the server may be in a corresponding relationship with hardware version information (such as a hardware version number), and whether a firmware upgrade file suitable for the current device to be upgraded exists may be further determined according to the hardware version information, so as to more accurately determine whether firmware update is required.
For example, the identity information of the device to be upgraded may be a unique ID number of the device, and the server may verify the ID number of the device, the hardware version number, and the firmware version information one by one, and may further determine whether a firmware upgrade file suitable for the current device to be upgraded exists, thereby more accurately determining whether firmware update is required.
On the basis of the above embodiment, the firmware upgrade file can be stored and transmitted in an encrypted manner. Specifically, the providing of the download service of the firmware upgrade file to the control device may include providing of an encrypted download service of the firmware upgrade file to the control device; correspondingly, the device to be upgraded receives the firmware upgrade file downloaded by the control device and performs firmware upgrade operation, including: and the equipment to be upgraded receives the firmware upgrading encryption file downloaded by the control equipment, decrypts the firmware upgrading encryption file, and performs firmware upgrading operation. Illustratively, an encryption algorithm and a decryption algorithm can be well defined before the equipment leaves a factory, so that the safety of firmware upgrading can be further enhanced, a malicious program is prevented from tampering the firmware of the equipment to be upgraded, and meanwhile, the firmware upgrading file can be prevented from being stolen by malicious personnel.
Fig. 4 is a flowchart illustrating a firmware upgrading method according to a second embodiment of the present invention, as shown in fig. 4, the method includes:
step 401, the device to be upgraded is inserted into a PC.
Step 402, the device to be upgraded is connected with the PC through the USB protocol.
Step 403, the PC enumerates the device to be upgraded as a usb disk.
Step 404, the PC detects that the user double-clicks the link file in the usb disk.
Step 405, the background server receives the parameter information from the link.
Step 406, the background server checks whether the firmware needs to be updated, if so, step 407 is executed; otherwise, step 412 is performed.
Step 407, the background server provides the firmware upgrade file for the PC to download.
And step 408, the PC stores the firmware upgrading file to the USB flash disk according to the user operation.
409, detecting the legality of the firmware upgrading file by the equipment to be upgraded, and if the equipment to be upgraded is legal, executing 410; otherwise, the flow ends.
Step 410, write new firmware.
And step 411, updating the link file and finishing the upgrading process.
Step 412, displaying greeting information.
According to the firmware upgrading method provided by the embodiment of the invention, the remote firmware online upgrading can be realized without installing special application software and a special driver on the control equipment, the firmware upgrading process is simplified, the professional difficulty of firmware upgrading is reduced, the rapid upgrading can be realized without the guidance of professional personnel, and the firmware upgrading efficiency is improved.
EXAMPLE III
Fig. 5 is a flowchart of a firmware upgrading method according to a third embodiment of the present invention, where the method may be executed by a firmware upgrading apparatus, and the apparatus may be implemented by software and/or hardware, and may generally be integrated in a device with an upgrading function. As shown in fig. 5, the method includes:
step 501, when it is detected that the device to be upgraded is enumerated as a usb disk by the control device, displaying a preset link file stored in the device to be upgraded in a directory of the usb disk.
The device to be upgraded and the control device are connected through a Universal Serial Bus (USB) for communication.
Step 502, when receiving an opening request for a preset link file sent by a control device, feeding back preset website information and the current firmware version information to the control device, so that the control device accesses a server corresponding to the website information and sends the current firmware version to the server.
And when the server detects that the firmware upgrading file of the new version exists according to the current firmware version information, the server provides the downloading service of the firmware upgrading file for the control equipment.
Step 503, receiving the firmware upgrade file downloaded by the control device and performing firmware upgrade operation.
The principle and technical effect of the technical solution in the embodiments of the present invention are similar to those in the embodiments, and specific technical details may refer to relevant contents in the embodiments, which are not described herein again.
Example four
Fig. 6 is a schematic frame diagram of a firmware upgrade system according to a fourth embodiment of the present invention, as shown in fig. 6, the system includes: a control device 61, a server 62 and a device to be upgraded 63;
the control device 61 includes:
the device enumeration module 611 is configured to, when it is detected that a Universal Serial Bus (USB) connection is established with a device to be upgraded, enumerate the device to be upgraded into a USB disk, and display a preset link file in the device to be upgraded in a directory of the USB disk, where the preset link file includes preset website information and current firmware version information of the device to be upgraded;
a server access module 612, configured to, when it is monitored that a user opens the preset link file, obtain the preset website information and access a corresponding server, and send the current firmware version information to the server;
the server 62 includes:
a download service providing module 621, configured to provide a download service of the firmware upgrade file to the control device when it is detected that the firmware upgrade file of the new version exists according to the current firmware version information;
the device to be upgraded 63 includes:
the upgrade module 631 is configured to receive the firmware upgrade file downloaded by the control device and perform a firmware upgrade operation.
Fig. 7 is a schematic diagram of a working process of a firmware upgrading system according to a fourth embodiment of the present invention, as shown in the figure, after an upgradable device is connected to a PC through a USB interface and is located in the PC in a drive-free USB disk form, the USB disk includes an upgrade check link file, after a user opens the link file, the PC is connected to the internet in a wired or wireless manner, firmware parameters included in the link file are provided to a background server, the background server provides updated encrypted firmware to the PC, and after the PC stores the encrypted firmware in the USB disk, the device to be upgraded can automatically complete decryption and firmware upgrade.
On the basis of the above embodiment, the device to be upgraded further includes:
and the version information updating module is used for updating the current firmware version information contained in the preset link file after the firmware upgrading operation is successfully detected after the firmware upgrading file downloaded by the control equipment is received and the firmware upgrading operation is carried out.
On the basis of the above embodiment, the preset link file further includes hardware version information of the device to be upgraded and/or identity information of the device to be upgraded;
the download service providing module is used for:
and when detecting that the firmware upgrading file of the new version exists according to the current firmware version information, the hardware version information of the equipment to be upgraded and/or the identity information of the equipment to be upgraded, providing a downloading service of the firmware upgrading file for the control equipment.
On the basis of the above embodiment, the providing, to the control device, the download service of the firmware upgrade file includes: providing an encrypted download service of the firmware upgrade file to the control device;
correspondingly, the upgrade module is configured to:
and receiving the firmware upgrading encryption file downloaded by the control equipment, decrypting the firmware upgrading encryption file, and performing firmware upgrading operation.
Fig. 8 is a block diagram of a firmware upgrading apparatus according to a fifth embodiment of the present invention, which may be integrated into an upgradable device. Upgradeable devices are also referred to as devices to be upgraded in embodiments of the invention. The device to be upgraded can be a production device, a detection device, an experimental device, a public service device and other devices containing firmware, and generally does not have the function of accessing the internet. As shown in fig. 8, the apparatus includes:
the file display control module 81 is configured to, when it is detected that a device to be upgraded is enumerated as a USB disk by a control device, display a preset link file stored in the device to be upgraded in an entry of the USB disk, where the preset link file includes preset website information and current firmware version information of the device to be upgraded, and the device to be upgraded and the control device are connected by a Universal Serial Bus (USB) to communicate;
an information feedback module 82, configured to, when receiving an opening request for the preset link file sent by the control device, feed back the preset website information and the current firmware version information to the control device, so that the control device accesses a server corresponding to the website information and sends the current firmware version to the server; when the server detects that the firmware upgrading file of the new version exists according to the current firmware version information, the server provides downloading service of the firmware upgrading file for the control equipment;
and the upgrading module 83 is configured to receive the firmware upgrading file downloaded by the control device and perform firmware upgrading operation.
The firmware upgrading device provided by the embodiment of the invention can realize remote firmware online upgrading without installing special application software and a special driver on the control equipment, simplifies the firmware upgrading process, reduces the professional difficulty of firmware upgrading, can realize rapid upgrading without the guidance of professional personnel, and improves the firmware upgrading efficiency.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method for upgrading firmware, comprising:
when detecting that a Universal Serial Bus (USB) connection is established with equipment to be upgraded, a control device enumerates the equipment to be upgraded into a USB flash disk, and displays a preset link file in the equipment to be upgraded under a directory of the USB flash disk, wherein the preset link file comprises preset website information and current firmware version information of the equipment to be upgraded;
when the control equipment monitors that a user opens the preset link file, the control equipment acquires the preset website information and accesses a corresponding server, and sends the current firmware version information to the server;
the server provides downloading service of the firmware upgrading file to the control equipment when detecting that the firmware upgrading file of the new version exists according to the current firmware version information;
the equipment to be upgraded receives the firmware upgrading file downloaded by the control equipment and carries out firmware upgrading operation;
after the device to be upgraded receives the firmware upgrade file downloaded by the control device and performs firmware upgrade operation, the method further comprises the following steps: and after detecting that the firmware is upgraded successfully, the equipment to be upgraded updates the current firmware version information contained in the preset link file.
2. The method according to claim 1, wherein the preset link file further includes hardware version information of the device to be upgraded and/or identity information of the device to be upgraded;
when detecting that the firmware upgrading file of the new version exists according to the current firmware version information, the server provides a downloading service of the firmware upgrading file to the control equipment, and the downloading service comprises the following steps:
and when detecting that the firmware upgrading file of the new version exists according to the current firmware version information, the hardware version information of the equipment to be upgraded and/or the identity information of the equipment to be upgraded, the server provides a downloading service of the firmware upgrading file for the control equipment.
3. The method of claim 1, wherein providing the control device with a download service of the firmware upgrade file comprises:
providing an encrypted download service of the firmware upgrade file to the control device;
correspondingly, the device to be upgraded receives the firmware upgrade file downloaded by the control device and performs firmware upgrade operation, including:
and the equipment to be upgraded receives the firmware upgrading encryption file downloaded by the control equipment, decrypts the firmware upgrading encryption file, and performs firmware upgrading operation.
4. A method for upgrading firmware, comprising:
when detecting that a device to be upgraded is enumerated as a USB (Universal Serial bus) flash disk by a control device, displaying a preset link file stored in the device to be upgraded in an directory of the USB flash disk, wherein the preset link file comprises preset website information and current firmware version information of the device to be upgraded, and the device to be upgraded is in communication with the control device through USB connection;
when an opening request aiming at the preset link file sent by the control equipment is received, feeding back the preset website information and the current firmware version information to the control equipment so that the control equipment can access a server corresponding to the website information and send the current firmware version to the server; when the server detects that the firmware upgrading file of the new version exists according to the current firmware version information, the server provides downloading service of the firmware upgrading file for the control equipment;
receiving a firmware upgrading file downloaded by the control equipment and carrying out firmware upgrading operation;
after the receiving the firmware upgrade file downloaded by the control device and performing the firmware upgrade operation, the method further includes: and after detecting that the firmware is upgraded successfully, updating the current firmware version information contained in the preset link file.
5. A firmware upgrading system is characterized by comprising equipment to be upgraded, control equipment and a server;
the control apparatus includes:
the device enumeration module is used for enumerating the device to be upgraded into a USB flash disk when detecting that a Universal Serial Bus (USB) connection is established with the device to be upgraded, and displaying a preset link file in the device to be upgraded under a directory of the USB flash disk, wherein the preset link file comprises preset website information and current firmware version information of the device to be upgraded;
the server access module is used for acquiring the preset website information and accessing a corresponding server when the opening operation of a user for the preset link file is monitored, and sending the current firmware version information to the server;
the server includes:
the download service providing module is used for providing download service of the firmware upgrade file for the control equipment when detecting that the firmware upgrade file of a new version exists according to the current firmware version information;
the device to be upgraded comprises:
the upgrading module is used for receiving the firmware upgrading file downloaded by the control equipment and carrying out firmware upgrading operation;
and the version information updating module is used for updating the current firmware version information contained in the preset link file after the firmware upgrading operation is successfully detected after the firmware upgrading file downloaded by the control equipment is received and the firmware upgrading operation is carried out.
6. The system according to claim 5, wherein the preset link file further includes hardware version information of the device to be upgraded and/or identity information of the device to be upgraded;
the download service providing module is used for:
and when detecting that the firmware upgrading file of the new version exists according to the current firmware version information, the hardware version information of the equipment to be upgraded and/or the identity information of the equipment to be upgraded, providing a downloading service of the firmware upgrading file for the control equipment.
7. The system of claim 5, wherein providing the control device with a download service of the firmware upgrade file comprises:
providing an encrypted download service of the firmware upgrade file to the control device;
correspondingly, the upgrade module is configured to:
and receiving the firmware upgrading encryption file downloaded by the control equipment, decrypting the firmware upgrading encryption file, and performing firmware upgrading operation.
8. A firmware upgrade apparatus, comprising:
the file display control module is used for displaying a preset link file stored in the equipment to be upgraded under an directory of the USB flash disk when detecting that the equipment to be upgraded is enumerated as the USB flash disk by the controlled equipment, wherein the preset link file comprises preset website information and current firmware version information of the equipment to be upgraded, and the equipment to be upgraded and the control equipment are connected through a Universal Serial Bus (USB) for communication;
the information feedback module is used for feeding back the preset website information and the current firmware version information to the control equipment when receiving an opening request aiming at the preset link file and sent by the control equipment, so that the control equipment accesses a server corresponding to the website information and sends the current firmware version to the server; when the server detects that the firmware upgrading file of the new version exists according to the current firmware version information, the server provides downloading service of the firmware upgrading file for the control equipment;
the upgrading module is used for receiving the firmware upgrading file downloaded by the control equipment and carrying out firmware upgrading operation;
and the version information updating module is used for updating the current firmware version information contained in the preset link file after the firmware upgrading operation is successfully detected after the firmware upgrading file downloaded by the control equipment is received and the firmware upgrading operation is carried out.
CN201710321654.8A 2017-05-09 2017-05-09 Firmware upgrading method, device and system Active CN106980511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710321654.8A CN106980511B (en) 2017-05-09 2017-05-09 Firmware upgrading method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710321654.8A CN106980511B (en) 2017-05-09 2017-05-09 Firmware upgrading method, device and system

Publications (2)

Publication Number Publication Date
CN106980511A CN106980511A (en) 2017-07-25
CN106980511B true CN106980511B (en) 2020-12-11

Family

ID=59341157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710321654.8A Active CN106980511B (en) 2017-05-09 2017-05-09 Firmware upgrading method, device and system

Country Status (1)

Country Link
CN (1) CN106980511B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562439A (en) * 2017-09-29 2018-01-09 河南职业技术学院 Computer based firmware upgrade method and device for upgrading firmware
CN108446131B (en) * 2018-03-19 2021-10-08 深圳怡化电脑股份有限公司 ATM firmware upgrading method, device, equipment and storage medium
CN108845811B (en) * 2018-05-30 2021-12-03 武汉高仕达电气有限公司 Dual-core DSP firmware upgrading method and system based on CAN bus
CN109086060A (en) * 2018-06-15 2018-12-25 深圳市炬力北方微电子有限公司 The method of system, electronic equipment and online upgrading firmware
CN111258599B (en) * 2018-12-03 2023-06-20 中国电信股份有限公司 Firmware upgrade method, system and computer readable storage medium
CN112394966A (en) * 2019-08-19 2021-02-23 云丁网络技术(北京)有限公司 Equipment upgrading method and device, computer readable medium and equipment
CN112052029B (en) * 2020-08-20 2022-08-12 厦门亿联网络技术股份有限公司 Configuration method and system of USB device management software and computer device
CN115328521B (en) * 2022-10-10 2023-05-16 广州鲁邦通物联网科技股份有限公司 USB automatic upgrading method and system based on embedded equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193408A (en) * 2006-12-01 2008-06-04 富士通株式会社 Efficient utilization of cache servers in mobile communication system
TWI341492B (en) * 2007-04-14 2011-05-01 Via Tech Inc Method for updating firmware

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033758A (en) * 2009-09-25 2011-04-27 深圳市福智软件技术有限公司 Firmware updating method of audio playing device and system using same
CN104598279A (en) * 2015-01-23 2015-05-06 广州快飞计算机科技有限公司 Method and device for upgrading firmware based on flight controller
CN106612192A (en) * 2015-10-22 2017-05-03 阿里巴巴集团控股有限公司 An equipment upgrading method, apparatus and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193408A (en) * 2006-12-01 2008-06-04 富士通株式会社 Efficient utilization of cache servers in mobile communication system
TWI341492B (en) * 2007-04-14 2011-05-01 Via Tech Inc Method for updating firmware

Also Published As

Publication number Publication date
CN106980511A (en) 2017-07-25

Similar Documents

Publication Publication Date Title
CN106980511B (en) Firmware upgrading method, device and system
EP1360592B1 (en) Configurable measuring apparatus
US8261261B2 (en) Installing a computer program
CN104199706A (en) Firmware upgrade method and device for eMMC
US20070261046A1 (en) Television and display device with a USB port for updating firmware
US20210011709A1 (en) Program update system, program update method, and computer program
EP3007062A1 (en) Firmware upgrade method and apparatus, and communication device
CN104978206A (en) Method, device and system for updating vehicle body control module of vehicle
EP2863281A2 (en) System and method to configure a field device
CN103763351A (en) Software online upgrading method based on upper computer and lower computers
JP2011070307A (en) Program update device
CN106550022B (en) Application program distribution control processing method and system
US20090248384A1 (en) Process control system in an automation installation
JP5293061B2 (en) Device management program and device management system
KR20110047671A (en) System for firmware upgrade of electronic book
US8589906B2 (en) Software update method for display device
KR20150069297A (en) Terminal Apparatus and Method for Connecting of Head-Unit for Vehicle
CN108989428B (en) Bluetooth terminal upgrading method, server, computer readable storage medium and system
CN104516743A (en) Upgrading method and system of embedded device firmware based on ActiveX
KR20110087111A (en) Avn head unit and ecu upgrade system using bluetooth and method thereof
JP2004341707A (en) Maintenance work support system and method for computer
CN110058994B (en) Method and system for debugging program in android medical terminal
CN111786837A (en) System and method for wirelessly modifying configuration parameters of KNX (Konnex) equipment
CN111143262A (en) Switching device, instrument control system and instrument control method
KR20130025559A (en) The upgrade method of map information using the mobile router

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
GR01 Patent grant
GR01 Patent grant