[go: up one dir, main page]

CN109101252B - Firmware burning method, device, equipment and system - Google Patents

Firmware burning method, device, equipment and system Download PDF

Info

Publication number
CN109101252B
CN109101252B CN201810785264.0A CN201810785264A CN109101252B CN 109101252 B CN109101252 B CN 109101252B CN 201810785264 A CN201810785264 A CN 201810785264A CN 109101252 B CN109101252 B CN 109101252B
Authority
CN
China
Prior art keywords
firmware
upper computer
burning
equipment
handshake
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
CN201810785264.0A
Other languages
Chinese (zh)
Other versions
CN109101252A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810785264.0A priority Critical patent/CN109101252B/en
Publication of CN109101252A publication Critical patent/CN109101252A/en
Application granted granted Critical
Publication of CN109101252B publication Critical patent/CN109101252B/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

Landscapes

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

Abstract

The invention discloses a firmware burning method, which comprises the following steps: when the situation that the electrical connection with an upper computer is established is detected, sending data of preset common simulation equipment to the upper computer so that the upper computer loads the common simulation equipment; when a handshake instruction sent by the upper computer is received, a handshake connection is established with the upper computer; after handshake connection with the upper computer is detected, sending data of all simulation equipment to the upper computer so that the upper computer loads all the simulation equipment, wherein the simulation equipment comprises simulation firmware upgrading equipment and the common simulation equipment; and when a firmware upgrading package burnt by the upper computer after connection establishment is received, finishing firmware upgrading operation. The invention also discloses firmware burning equipment and a firmware burning system. By adopting the embodiment of the invention, the problem of abnormal loading of the firmware of the product can be solved, so that the normal burning of the firmware is realized.

Description

Firmware burning method, device, equipment and system
Technical Field
The invention relates to the technical field of burning, in particular to a firmware burning method, device, equipment and system.
Background
The firmware is a program burnt in the equipment, the firmware upgrading can reduce the defect or bug problem of the equipment, when the equipment carries out firmware upgrading, the USB (universal serial bus) is usually used for burning the firmware in the prior art, before burning the firmware by using burning tool software, product firmware special for upgrading the firmware needs to be loaded firstly, and specific drive needs to be installed in an upper computer for normal burning, if the upper computer does not install the specific drive, equipment with a yellow abnormal identifier appears in an equipment manager of the upper computer. However, at the client, the firmware cannot be automatically upgraded, so that the specific driver is not installed in the upper computer, when the product firmware to be upgraded is connected to the upper computer through the USB interface, a yellow abnormal identification device appears in the device manager of the upper computer, and a user can misunderstand that the product firmware has a problem and complains a manufacturer or requires goods return.
Disclosure of Invention
The embodiment of the invention aims to provide a firmware burning method, a firmware burning device, firmware burning equipment and a firmware burning system, which can solve the problem of abnormal loading of product firmware and realize normal burning of the firmware.
To achieve the above object, an embodiment of the present invention provides a firmware burning method, including:
when the situation that the electrical connection with an upper computer is established is detected, sending data of preset common simulation equipment to the upper computer so that the upper computer loads the common simulation equipment;
when a handshake instruction sent by the upper computer is received, a handshake connection is established with the upper computer;
after handshake connection with the upper computer is detected, sending data of all simulation equipment to the upper computer so that the upper computer loads all the simulation equipment, wherein the simulation equipment comprises simulation firmware upgrading equipment and the common simulation equipment;
and when a firmware upgrading package burnt by the upper computer after connection is established is received, firmware upgrading operation is completed.
Compared with the prior art, the firmware burning method disclosed by the embodiment of the invention has the advantages that the data of the preset common analog equipment is sent to the upper computer when the upper computer is electrically connected, so that the common analog equipment is loaded by the upper computer, and then the data of all the analog equipment is sent to the upper computer when the handshaking connection is established with the upper computer, so that all the analog equipment is loaded by the upper computer; and finally, finishing firmware upgrading operation when the firmware upgrading packet burnt by the upper computer after connection is established is received. The problem of abnormal loading of the firmware of the product can be solved, and normal burning of the firmware is realized.
As an improvement of the above solution, the common analog devices include, but are not limited to, an analog camera device, an analog microphone device, and/or an analog human interface device.
To achieve the above object, a second embodiment of the present invention provides a firmware burning method, including:
when a burning tool opening instruction is responded, a handshake instruction is sent to an interface at intervals of preset time until a preset stop condition is reached, so that the product firmware connected with the interface responds to the handshake instruction to establish handshake connection with the product firmware;
acquiring a firmware upgrade package corresponding to the product firmware;
and when the handshake connection with the product firmware is detected to be established, burning the firmware upgrade package into the product firmware so as to enable the product firmware to finish the firmware upgrade operation.
Compared with the prior art, the firmware burning method disclosed by the second embodiment of the invention sends the handshake command to the product firmware when responding to the burning tool opening command, so as to establish handshake connection with the product firmware; and then, by acquiring a firmware upgrade package, when the handshake connection with the product firmware is detected, burning the firmware upgrade package into the product firmware. The firmware upgrade package can be quickly burned into product firmware equipment.
As an improvement of the above scheme, the preset stop condition includes when a burn tool shutdown instruction is responded or when a handshake connection is established with the product firmware.
To achieve the above object, a third embodiment of the present invention provides a firmware burning device, including:
the common analog equipment sending unit is used for sending data of preset common analog equipment to the upper computer when detecting that the common analog equipment is electrically connected with the upper computer, so that the upper computer loads the common analog equipment;
the handshake connection establishing unit is used for establishing handshake connection with the upper computer when a handshake instruction sent by the upper computer is received;
and the analog equipment sending unit is used for sending data of all analog equipment to the upper computer after the handshaking connection is established with the upper computer so as to enable the upper computer to load all the analog equipment, wherein the analog equipment comprises analog firmware upgrading equipment and common analog equipment.
And the firmware upgrading unit is used for finishing firmware upgrading operation when a firmware upgrading package burnt by the upper computer after connection is established is received.
Compared with the prior art, the firmware burning device disclosed by the third embodiment of the invention sends the data of the preset common analog equipment to the upper computer through the common analog equipment sending unit when the common analog equipment sending unit is electrically connected with the upper computer, so that the upper computer loads the common analog equipment, and then the analog equipment sending unit sends the data of all the analog equipment to the upper computer when the handshake connection is established with the upper computer through the handshake connection establishing unit, so that the upper computer loads all the analog equipment; and finally, when a firmware upgrading package burnt by the upper computer after connection is established is received, firmware upgrading operation is completed through a firmware upgrading unit. The problem of abnormal loading of the product firmware can be solved, and the normal burning of the firmware is realized.
As an improvement of the above solution, the common analog devices include, but are not limited to, an analog camera device, an analog microphone device, and/or an analog human interface device.
To achieve the above object, a fourth embodiment of the present invention provides a firmware burning device, including:
the device comprises a handshake instruction sending unit, a recording tool starting instruction sending unit and a recording tool starting instruction sending unit, wherein the handshake instruction sending unit is used for sending a handshake instruction to an interface at intervals of preset time until a preset stopping condition is reached so that a product firmware connected with the interface responds to the handshake instruction to establish handshake connection with the product firmware;
the firmware upgrading package obtaining unit is used for obtaining a firmware upgrading package corresponding to the product firmware;
the firmware upgrade package burning unit is used for burning the firmware upgrade package into the product firmware when the handshake connection with the product firmware is detected to be established so that the product firmware can complete firmware upgrade operation;
the preset stop condition comprises the time when a burning tool closing instruction is responded or handshake connection is established with the product firmware.
Compared with the prior art, the firmware burning device disclosed by the fourth embodiment of the invention sends the handshake command to the product firmware when responding to the burning tool opening command through the handshake command sending unit, so as to establish handshake connection with the product firmware; and then, acquiring a firmware upgrade package through a firmware upgrade package acquisition unit, and burning the firmware upgrade package into the product firmware by a firmware upgrade package burning unit when handshake connection with the product firmware is detected. The firmware upgrade package can be quickly burned into the product firmware.
To achieve the above object, a fifth embodiment of the present invention provides a firmware burning device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the firmware burning method according to the first embodiment is implemented.
In order to achieve the above object, a sixth embodiment of the present invention provides a firmware burning device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the firmware burning method according to the second embodiment is implemented.
In order to achieve the above object, a seventh embodiment of the present invention provides a firmware burning system, which includes an upper computer, a burning tool, and at least one product firmware;
the product firmware is the firmware burning device of the third embodiment;
the burning tool is the firmware burning device of the fourth embodiment, and the burning tool is arranged in the upper computer.
Compared with the prior art, the firmware burning system disclosed by the seventh embodiment of the invention sends the data of the preset common analog equipment to the upper computer when the product firmware is electrically connected with the upper computer, so that the upper computer loads the common analog equipment, and then sends the data of all the analog equipment to the upper computer when the product firmware is connected with the burning tool in a handshaking manner, so that the upper computer loads all the analog equipment; and finally, finishing firmware upgrading operation when the product firmware receives a firmware upgrading packet burnt by the burning tool end in the upper computer after connection is established. The problem of abnormal loading of the product firmware can be solved, and the normal burning of the firmware is realized.
Drawings
Fig. 1 is a flowchart illustrating a firmware burning method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating that an upper computer loads a common simulation device in a firmware burning method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating that an upper computer loads all devices in a firmware burning method according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a firmware burning method according to a second embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a firmware burning device 10 according to a third embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a firmware burning device 20 according to a fourth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a firmware burning apparatus 30 according to a fifth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a firmware burning apparatus 40 according to a sixth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a firmware burning system according to a seventh embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a firmware burning method according to an embodiment of the present invention; the method comprises the following steps:
s11, when the situation that the electric connection with the upper computer is established is detected, sending data of preset common simulation equipment to the upper computer so that the upper computer loads the common simulation equipment;
s12, when a handshake instruction sent by the upper computer is received, establishing handshake connection with the upper computer;
s13, after detecting handshake connection with the upper computer, sending data of all simulation equipment to the upper computer so that the upper computer loads all the simulation equipment, wherein the simulation equipment comprises simulation firmware upgrading equipment and the common simulation equipment;
and S14, when the firmware upgrade package burned by the upper computer after the connection is established is received, finishing the firmware upgrade operation.
Wherein the common analog devices include, but are not limited to, an analog camera device, an analog microphone device, and/or an analog human interface device.
Specifically, the firmware burning method provided by this embodiment may be implemented by executing product firmware, and preferably, the upper computer may be connected to the product firmware through a USB socket, and a burning tool is disposed in the upper computer, and the burning tool is configured to send a handshake instruction to the product firmware so as to establish handshake connection with the product firmware, and further burn the firmware upgrade package into the product firmware. When the product firmware receives the firmware upgrading package burned by the burning tool, the firmware upgrading operation is completed, and when the embodiment is executed through the product firmware, a user can connect the upper computer with the product firmware for executing the firmware burning method of the embodiment in advance. The product firmware can be a mobile phone, a tablet personal computer or other terminal equipment, and the upper computer can be a computer.
When the existing product firmware is electrically connected with the upper computer, only one product firmware which is currently electrically connected is loaded in the equipment manager of the upper computer, and the product firmware is presented in the form of abnormal equipment with a yellow identifier in the equipment manager of the upper computer under the condition that a driver is not installed, so that a user is misled to think that the current product firmware has a problem.
The product firmware of this embodiment can send the data of analog device commonly used to the host computer when establishing the electricity with the host computer, analog device commonly used can include analog microphone equipment, analog camera equipment and analog man-machine interface equipment, and at this moment, this product firmware is in under the circumstances of not installing the drive in the equipment manager of host computer with analog microphone equipment, analog camera equipment and the form of analog man-machine interface equipment present, an unusual equipment that has yellow identifier can not appear. Under the condition that the upper computer is provided with a drive, the product firmware can send data of all simulation equipment to the upper computer when the handshake connection is established between the product firmware and the upper computer, the simulation equipment comprises common simulation equipment and simulation firmware upgrading equipment, at the moment, the product firmware is presented in the form of the simulation firmware upgrading equipment, the simulation microphone equipment, the simulation camera equipment and the simulation human-computer interface equipment in the upper computer equipment manager, and an abnormal device with a yellow identifier cannot appear.
Specifically, in step S11, when it is detected that an electrical connection is established with the upper computer, data of a predetermined common analog device is sent to the upper computer, and at this time, the common analog device loaded by the device manager in the upper computer is as shown in fig. 2, where [35] USB represents a device connected to the upper computer through USB, [36] SC07USB Microphone represents the analog Microphone device 36, [37] SC07USB Camera represents the analog Camera device 37, and [38] SC07USB Human-computer interaction represents the analog Human interface device 38. In the process, the upper computer is equivalent to be connected with an analog camera device, an analog microphone device and an analog human-computer interface device, and the analog firmware upgrading device is not loaded on the upper computer, so that an abnormal device with a yellow identifier cannot appear in the device manager of the upper computer even if a driver is not installed.
Specifically, in step S12, when a handshake instruction sent by the burning tool in the upper computer is received, a handshake connection is established with the burning tool; the difference between the handshake connection and the electrical connection in step S11 is that the handshake connection is established after the electrical connection and before the information transmission starts, that is, the handshake connection is established with the burning tool by receiving a handshake instruction sent by the upper computer under the same communication protocol.
Specifically, in step S13, after it is detected that a handshake connection is established with the burning tool, data of all analog devices is sent to the upper computer. Preferably, before establishing the handshake connection with the burning tool, the upper computer needs to be provided with a driver, and the handshake connection with the burning tool can be established only when the driver is installed on the upper computer. When the upper computer receives the data of each analog device, each analog device is loaded in a device manager of the upper computer, such as the loading schematic diagram of each analog device shown in fig. 3, where [35] USB represents a device connected to the upper computer through USB, [36] SC07USB Microphone represents an analog Microphone device 36, [37] SC07USB Camera represents an analog Camera device 37, [38] SC07USB Human-computer interface represents an analog Human-computer interface device 38, and [39] update firmware [ interface 5] represents an analog firmware upgrade device 39.
Preferably, the analog microphone device 36, the analog camera device 37 and the analog human-computer interface device 38 are all simulated by the same product firmware, so that the analog firmware upgrading device 39 is not loaded by the upper computer when the handshake connection with the burning tool is not established, and therefore devices with yellow abnormal marks cannot appear in the device manager of the upper computer. The upper computer loads the message that the analog firmware upgrading device 39 has established the handshake connection, and may start the burning operation or start the burning operation.
Specifically, in step S14, after the handshake connection is established with the burning tool, the burning tool starts burning a firmware upgrade package, and at this time, when the firmware upgrade package is received, the firmware upgrade operation is completed. Firmware upgrades can address existing error and compatibility issues while also improving the manner of operation.
In specific implementation, when the upper computer is electrically connected with the upper computer, data of preset common simulation equipment is sent to the upper computer, so that the upper computer loads the common simulation equipment, and when handshake connection is established with the upper computer, data of all simulation equipment is sent to the upper computer, so that the upper computer loads all the simulation equipment; and finally, finishing firmware upgrading operation when a firmware upgrading package burnt by the upper computer after connection is established is received.
Compared with the prior art, the firmware burning method disclosed by the embodiment of the invention solves the problem that a yellow abnormal identification device appears in the device manager of the upper computer when the drive is not installed in the prior art, so that a user mistakenly thinks that the product firmware to be upgraded has a problem and complains about a manufacturer or requires goods return, can solve the problem of abnormal loading of the product firmware device, and realizes normal burning of the firmware.
Example two
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a firmware burning method according to a second embodiment of the present invention; the method comprises the following steps:
s21, when responding to the opening instruction of the burning tool, sending a handshake instruction to an interface at preset time intervals until a preset stop condition is reached, so that the product firmware connected with the interface responds to the handshake instruction to establish handshake connection with the product firmware;
s22, acquiring a firmware upgrade package corresponding to the product firmware;
and S23, burning the firmware upgrade package into the product firmware when the handshake connection with the product firmware is detected to complete the firmware upgrade operation of the product firmware.
The preset stop condition comprises the time of responding to a burning tool closing instruction or the time of establishing handshake connection with the product firmware.
Specifically, the firmware burning method provided by the embodiment can be implemented through a burning tool, and the burning tool is arranged in the upper computer. The over-burning tool is used for burning the firmware upgrade package into the product firmware when the handshake connection with the product firmware is established, so that when the embodiment is executed through the burning tool, a user can electrically connect the product firmware with the upper computer in advance, and preferably, the upper computer can be connected with the product firmware through a USB interface. The product firmware can be a mobile phone, a tablet personal computer or other terminal equipment, and the upper computer can be a computer.
Specifically, in step S21, when the burn tool open command is responded, a handshake command is sent to the interface at preset intervals until a preset stop condition is reached, and at this time, even if the electrical connection with the product firmware is not established, the handshake command is sent as long as the burn tool open command is responded. Preferably, the preset time may be 1 second. And stopping sending the handshake instruction when the handshake connection is established with the product firmware or when a burning tool closing instruction is responded. At this time, when the product firmware receives the handshake instruction, the handshake connection is successful.
Specifically, in step S22, when a burn tool open instruction is responded or a handshake connection is established with the product firmware, a firmware upgrade package corresponding to the product firmware is obtained.
Specifically, in step S23, when it is detected that a handshake connection is established with the product firmware, the firmware upgrade package is burned into the product firmware. The handshake connection is established after the electrical connection and before the information transmission starts, that is, a handshake instruction is sent under the same communication protocol, so as to establish handshake connection with the product firmware.
In specific implementation, when a burning tool opening instruction is responded, a handshake instruction is sent to the product firmware, so that handshake connection with the product firmware is established; and then, by acquiring a firmware upgrade package, when the handshake connection with the product firmware is detected, burning the firmware upgrade package into the product firmware.
Compared with the prior art, the firmware burning method disclosed by the embodiment of the invention can quickly burn the firmware upgrade package into the product firmware.
EXAMPLE III
Referring to fig. 5, fig. 5 is a schematic structural diagram of a firmware burning device 10 according to a third embodiment of the present invention; the method comprises the following steps:
the common analog equipment sending unit 11 is used for sending data of preset common analog equipment to the upper computer when detecting that the electrical connection is established with the upper computer, so that the upper computer loads the common analog equipment;
the handshake connection establishing unit 12 is configured to establish handshake connection with the upper computer when receiving a handshake instruction sent by the upper computer;
and the simulation equipment sending unit 13 is used for sending data of all simulation equipment to the upper computer after the handshaking connection with the upper computer is established, so that the upper computer loads all the simulation equipment, wherein the simulation equipment comprises simulation firmware upgrading equipment and common simulation equipment.
And the firmware upgrading unit 14 is used for finishing firmware upgrading operation when receiving a firmware upgrading package burnt by the upper computer after connection is established.
Wherein the common analog devices include, but are not limited to, an analog camera device, an analog microphone device, and/or an analog human interface device.
Preferably, the upper computer may be connected to the firmware burning device 10 through a USB socket. Preferably, a burning tool is arranged in the upper computer, and the burning tool is used for sending a handshake instruction to the product firmware so as to establish handshake connection with the firmware burning device 10, and further burning the firmware upgrade package into the firmware burning device 10. The firmware burning device 10 is used for completing firmware upgrading operation when receiving a firmware upgrading package burned by the burning tool, and a user can connect the upper computer with the firmware burning device 10 in advance. The firmware burning device 10 may be a mobile phone, a tablet computer or other terminal equipment, and the upper computer may be a computer.
Specifically, when it is detected that an electrical connection is established with the upper computer, the common analog device sending unit 11 sends data of a predetermined common analog device to the upper computer, and at this time, the common analog device loaded by the device manager in the upper computer is as shown in fig. 2, where [35] USB represents a device connected to the upper computer through USB, [36] SC07USB Microphone represents the analog Microphone device 36, [37] SC07USB camera device 37, and [38] SC07USB Human-computer interface represents the analog Human-computer interface device 38. In the process, the upper computer is equivalently connected with a simulated camera device, a simulated microphone device and a simulated human-computer interface device, and the upper computer is not loaded with a simulated firmware upgrading device, so that an abnormal device with a yellow identifier cannot appear in the device manager of the upper computer even if a driver is not installed.
Specifically, the handshake connection establishing unit 12 establishes handshake connection with the burning tool when receiving a handshake instruction sent by the burning tool in the upper computer; the handshake connection is different from the electrical connection in that the handshake connection is established after the electrical connection and before the information transmission starts, that is, the handshake connection is established with the burning tool by receiving a handshake instruction sent by the upper computer under the same communication protocol.
Specifically, after detecting that a handshake connection is established with the burning tool, the analog device sending unit 13 sends all analog devices to the upper computer. Preferably, before the handshake connection with the burning tool is established, the upper computer needs to install a driver, and only when the driver is installed on the upper computer, the firmware burning device 10 can establish the handshake connection with the burning tool. When receiving each of the analog devices, the upper computer loads each of the analog devices in a device manager of the upper computer, as shown in the loading schematic diagram of each analog device in fig. 3, where [35] USB represents a device connected to the upper computer through USB, [36] SC07USB Microphone represents the analog Microphone device 36, [37] SC07USB camera device 37, [38] SC07USB Human-computer interface represents the analog Human-machine interface device 38, and [39] date firmware [ interface 5] represents the analog firmware upgrade device 39.
Preferably, the analog microphone device 36, the analog camera device 37 and the analog human-computer interface device 38 are all simulated by the same product firmware, so that the analog firmware upgrading device 39 is not loaded by the upper computer when the handshake connection with the burning tool is not established, and therefore devices with yellow abnormal marks cannot appear in the device manager of the upper computer. The upper computer loads the information that the analog firmware upgrading device 39 has established the handshake connection, and may start the burning operation or start the burning operation.
Specifically, after the handshake connection is established with the burning tool, the burning tool starts burning a firmware upgrade package, and at this time, when the firmware upgrade package is received by the firmware upgrade unit 14, the firmware burning apparatus 10 completes the firmware upgrade operation. Firmware upgrades can address existing error and compatibility issues while also improving the manner of operation.
In specific implementation, when the common analog device sending unit 11 is electrically connected with an upper computer, the data of the preset common analog device is sent to the upper computer, so that the upper computer loads the common analog device, and when the handshake connection establishing unit 12 is used for establishing handshake connection with the upper computer, the analog device sending unit 13 sends the data of all the analog devices to the upper computer, so that the upper computer loads all the analog devices; and finally, when a firmware upgrading package burnt by the upper computer after connection is established is received, firmware upgrading operation is completed through the firmware upgrading unit 14.
Compared with the prior art, the firmware burning device 10 disclosed by the third embodiment of the invention solves the problem that a yellow abnormal identification device appears in the device manager of the upper computer when the drive is not installed in the prior art, so that a user mistakenly thinks that the product firmware to be upgraded has a problem and complains a manufacturer or requires goods return, can solve the problem of abnormal loading of the product firmware device, and realizes normal burning of the firmware.
Example four
Referring to fig. 6, fig. 6 is a schematic structural diagram of a firmware burning device 20 according to a fourth embodiment of the present invention; the method comprises the following steps:
the handshake instruction sending unit 21 is configured to send a handshake instruction to an interface at intervals of a preset time until a preset stop condition is reached when responding to a burning tool opening instruction, so that a product firmware connected to the interface responds to the handshake instruction to establish handshake connection with the product firmware;
a firmware upgrade package obtaining unit 22, configured to obtain a firmware upgrade package corresponding to the product firmware;
the firmware upgrade package burning unit 23 is configured to burn the firmware upgrade package into the product firmware when it is detected that a handshake connection is established with the product firmware, so that the product firmware completes a firmware upgrade operation;
the preset stop condition comprises the time when a burning tool closing instruction is responded or handshake connection is established with the product firmware.
Preferably, the firmware burning device 20 may be a burning tool, the firmware burning device 20 is disposed in the upper computer, and the firmware burning device 20 is configured to send a handshake instruction to the product firmware to establish a handshake connection with the product firmware, so as to burn the firmware upgrade package into the product firmware. The product firmware is used for completing firmware upgrading operation when receiving a firmware upgrading package burned by the firmware burning device 20, and a user can electrically connect the upper computer with the product firmware through a USB socket in advance. The product firmware can be a mobile phone, a tablet personal computer or other terminal equipment, and the upper computer can be a computer.
Specifically, when the burning tool responds to a burning tool opening instruction, the handshake instruction sending unit 21 sends a handshake instruction to the interface at preset time intervals until a preset stop condition is met, and at this time, even if the electric connection with the product firmware is not established, the handshake instruction sending unit 21 starts sending the handshake instruction as long as responding to the burning tool opening instruction. Preferably, the preset time may be 1 second. And stopping sending the handshake instruction when the handshake connection is established with the product firmware or when a burning tool closing instruction is responded. At this time, when the product firmware receives the handshake instruction, the handshake connection is successful.
Specifically, when a burning tool opening instruction is responded or a handshake connection is established with the product firmware, the firmware upgrade package obtaining unit 22 obtains a firmware upgrade package corresponding to the product firmware.
Specifically, when it is detected that a handshake connection is established with the product firmware, the firmware upgrade package burning unit 23 burns the firmware upgrade package into the product firmware. The handshake connection is established after the electrical connection and before the information transmission starts, that is, the handshake instruction sending unit 21 sends a handshake instruction under the same communication protocol, so as to establish handshake connection with the product firmware.
In specific implementation, when responding to a burning tool opening instruction, the handshake instruction sending unit 21 sends a handshake instruction to the product firmware, so as to establish handshake connection with the product firmware; then, the firmware upgrade package obtaining unit 22 obtains the firmware upgrade package, and when the handshake connection with the product firmware is detected, the firmware upgrade package burning unit 23 burns the firmware upgrade package into the product firmware.
Compared with the prior art, the firmware burning device 20 disclosed by the fourth embodiment of the invention can quickly burn the firmware upgrade package into the product firmware.
EXAMPLE five
Referring to fig. 7, fig. 7 is a schematic structural diagram of a firmware burning device 30 according to a fifth embodiment of the present invention; the firmware burning device 30 of this embodiment includes: a processor 31, a memory 32 and a computer program stored in said memory 32 and executable on said processor 31. When the processor 31 executes the computer program, the steps of the firmware burning method of the above embodiment are implemented, for example, steps S11 to S14 shown in fig. 1. Alternatively, the processor 31, when executing the computer program, implements the functions of the units in the above-mentioned device embodiments, for example, the function of the common analog device sending unit 11.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor 31 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the firmware burning device 30. For example, the computer program may be divided into a common analog device sending unit 11, a handshake connection establishing unit 12, an analog device sending unit 13, and a firmware upgrading unit 14, and specific functions of each unit refer to functions of each unit in the firmware burning apparatus 10 in the third embodiment, which are not described herein again.
The firmware burning device 30 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The firmware burning device 30 may include, but is not limited to, a processor 31 and a memory 32. It will be understood by those skilled in the art that the schematic diagram is merely an example of the firmware burning device 30, and does not constitute a limitation to the firmware burning device 30, and may include more or less components than those shown, or combine some components, or different components, for example, the firmware burning device 30 may further include an input/output device, a network access device, a bus, etc.
The Processor 31 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, and the processor 31 is a control center of the firmware burning apparatus 30 and is connected to various parts of the whole firmware burning apparatus 30 by using various interfaces and lines.
The memory 32 can be used to store the computer programs and/or modules, and the processor 31 can implement various functions of the firmware burning device 30 by running or executing the computer programs and/or modules stored in the memory 32 and calling the data stored in the memory 32. The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating device, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 32 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The integrated module/unit of the firmware burning device 30 may be stored in a computer readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
EXAMPLE six
Referring to fig. 8, fig. 8 is a schematic structural diagram of a firmware burning device 40 according to a sixth embodiment of the present invention; the firmware burning apparatus 40 of this embodiment includes: a processor 41, a memory 42 and a computer program stored in said memory 42 and executable on said processor 41. When the processor 41 executes the computer program, the steps of the real-time firmware burning method in the second embodiment are implemented, for example, steps S21 to S23 shown in fig. 4. Alternatively, the processor 41 implements the functions of the units in the device embodiments described above, for example, the function of the handshake instruction sending unit 21, when executing the computer program.
Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor 41 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the firmware burning device 40. For example, the computer program may be divided into a handshake instruction sending unit 21, a firmware upgrade package obtaining unit 22, and a firmware upgrade package burning unit 23, and specific functions of each unit refer to functions of each unit in the firmware burning device 20 in the fourth embodiment, which is not described herein again.
The firmware burning device 40 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The firmware burning device 40 may include, but is not limited to, a processor 41 and a memory 42. Those skilled in the art will appreciate that the diagram is merely an example of firmware burning device 40, and does not constitute a limitation on firmware burning device 40, and may include more or less components than those shown, or combine some components, or different components, for example, firmware burning device 40 may further include an input-output device, a network access device, a bus, etc.
The Processor 41 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The processor 41 is a control center of the firmware burning device 40, and is connected to various parts of the whole firmware burning device 40 by various interfaces and lines.
The memory 42 can be used to store the computer programs and/or modules, and the processor 41 can implement various functions of the firmware burning device 40 by running or executing the computer programs and/or modules stored in the memory 42 and calling the data stored in the memory 42. The memory 42 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating device, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory 42 may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The integrated module/unit of firmware burning device 40 may be stored in a computer readable storage medium if it is implemented in the form of software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
EXAMPLE seven
Referring to fig. 9, fig. 9 is a schematic structural diagram of a firmware burning system according to a seventh embodiment of the present invention; the device comprises an upper computer 1, a burning tool 2 and at least one product firmware 3;
the product firmware 3 is the firmware burning device 10 according to the third embodiment;
the burning tool 2 is the firmware burning device 20 of the fourth embodiment, and the burning tool 2 is arranged in the upper computer 1.
For a specific working process of the product firmware 3, reference is made to the working process of the firmware burning device 10 in the third embodiment, and for a specific working process of the burning tool 2, reference is made to the working process of the firmware burning device 20 in the fourth embodiment, which is not described herein again.
In specific implementation, when the product firmware 3 is electrically connected with the upper computer 1, data of preset common analog equipment is sent to the upper computer 1, so that the common analog equipment is loaded on the upper computer 1, and when the product firmware 3 is connected with the burning tool 2 in a handshaking mode, the product firmware 3 sends data of all analog equipment to the upper computer, so that all analog equipment is loaded on the upper computer 1; and finally, when the product firmware 3 receives a firmware upgrading package which is burned by the burning tool end 2 in the upper computer 1 after the connection is established, finishing the firmware upgrading operation.
Compared with the prior art, the firmware burning system disclosed by the seventh embodiment of the invention solves the problem that a yellow abnormal identification device appears in the device manager of the upper computer when the drive is not installed in the prior art, so that a user mistakenly thinks that the product firmware to be upgraded has a problem and complaints a manufacturer or requires goods return, can solve the problem of abnormal loading of the product firmware, and realizes normal burning of the firmware.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A firmware burning method is characterized by comprising the following steps:
when detecting that the upper computer without a drive is electrically connected, sending data of preset common simulation equipment to the upper computer so as to enable the upper computer to load the common simulation equipment;
when a handshake instruction sent by the upper computer is received, a handshake connection is established with the upper computer, wherein a drive is installed on the upper computer before the handshake connection is established;
after handshake connection with the upper computer is detected, sending data of all simulation equipment to the upper computer so that the upper computer loads all the simulation equipment, wherein the simulation equipment comprises simulation firmware upgrading equipment and common simulation equipment;
and when a firmware upgrading package burnt by the upper computer after connection is established is received, firmware upgrading operation is completed.
2. The firmware burning method of claim 1, wherein the common analog device includes but is not limited to an analog camera device, an analog microphone device and/or an analog human interface device.
3. A firmware burning method is characterized by comprising the following steps:
when the driver is not installed, receiving data of preset common analog equipment sent by product firmware, and loading the common analog equipment;
when a burning tool opening instruction is responded, a handshake instruction is sent to an interface at intervals of preset time until a preset stop condition is reached, so that the product firmware connected with the interface responds to the handshake instruction to establish handshake connection with the product firmware; wherein the driver is installed before the handshake connection is established with the product firmware;
receiving data of all simulation equipment sent by the product firmware, and loading all the simulation equipment; the simulation equipment comprises simulation firmware upgrading equipment and common simulation equipment;
acquiring a firmware upgrade package corresponding to the product firmware;
and when the handshake connection with the product firmware is detected to be established, burning the firmware upgrade package into the product firmware so as to enable the product firmware to finish the firmware upgrade operation.
4. The method of claim 3, wherein the predetermined stop condition comprises a time when a burn tool close command is responded or a handshake connection is established with the product firmware.
5. A firmware burning device is characterized by comprising:
the common analog equipment sending unit is used for sending data of preset common analog equipment to the upper computer when detecting that the common analog equipment is electrically connected with the upper computer without a drive, so that the upper computer loads the common analog equipment;
the handshake connection establishing unit is used for establishing handshake connection with the upper computer when receiving a handshake instruction sent by the upper computer; the upper computer is provided with a driver before handshake connection is established;
the simulation equipment sending unit is used for sending data of all simulation equipment to the upper computer after handshaking connection is established between the simulation equipment sending unit and the upper computer so as to enable the upper computer to load all the simulation equipment, wherein the simulation equipment comprises simulation firmware upgrading equipment and the common simulation equipment;
and the firmware upgrading unit is used for finishing firmware upgrading operation when a firmware upgrading package burnt by the upper computer after connection is established is received.
6. The firmware burning apparatus of claim 5, wherein the common analog device comprises but is not limited to an analog camera device, an analog microphone device, and/or an analog human interface device.
7. A firmware burning device is characterized by comprising:
the device comprises a common analog equipment loading unit, a firmware burning device and a control unit, wherein the common analog equipment loading unit is used for receiving data of preset common analog equipment sent by product firmware when a drive is not installed in the firmware burning device and loading the common analog equipment;
the device comprises a handshake instruction sending unit, a recording unit and a control unit, wherein the handshake instruction sending unit is used for sending a handshake instruction to an interface at intervals of preset time until a preset stop condition when responding to a burning tool opening instruction so that the product firmware connected with the interface responds to the handshake instruction to establish handshake connection with the product firmware; the firmware burning device is provided with a driver before the handshake connection with the product firmware is established;
the loading unit of all analog devices is used for receiving the data of all analog devices sent by the product firmware and loading all analog devices; the simulation equipment comprises simulation firmware upgrading equipment and common simulation equipment;
the firmware upgrading package obtaining unit is used for obtaining a firmware upgrading package corresponding to the product firmware;
the firmware upgrade package burning unit is used for burning the firmware upgrade package into the product firmware when the handshake connection with the product firmware is detected to be established so that the product firmware can complete firmware upgrade operation;
the preset stop condition comprises the time of responding to a burning tool closing instruction or the time of establishing handshake connection with the product firmware.
8. A firmware burning apparatus comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the firmware burning method of any one of claims 1 to 2 when executing the computer program.
9. A firmware burning device comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the firmware burning method of any one of claims 3 to 4 when executing the computer program.
10. A firmware burning system is characterized by comprising an upper computer, a burning tool and at least one product firmware;
the product firmware is the firmware burning device of any one of claims 5 to 6;
the burning tool is the firmware burning device of claim 7, and the burning tool is arranged in the upper computer.
CN201810785264.0A 2018-07-17 2018-07-17 Firmware burning method, device, equipment and system Active CN109101252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810785264.0A CN109101252B (en) 2018-07-17 2018-07-17 Firmware burning method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810785264.0A CN109101252B (en) 2018-07-17 2018-07-17 Firmware burning method, device, equipment and system

Publications (2)

Publication Number Publication Date
CN109101252A CN109101252A (en) 2018-12-28
CN109101252B true CN109101252B (en) 2022-05-31

Family

ID=64846619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810785264.0A Active CN109101252B (en) 2018-07-17 2018-07-17 Firmware burning method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN109101252B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038538A (en) * 2014-05-29 2014-09-10 广州视睿电子科技有限公司 local area network host software upgrading method and system
CN104182258A (en) * 2014-08-25 2014-12-03 福建升腾资讯有限公司 Device and method for upgrading POS (point-of-sale) terminals
CN105045626A (en) * 2015-07-21 2015-11-11 珠海格力电器股份有限公司 Program burning method, program burning equipment and controller
CN107357618A (en) * 2017-06-29 2017-11-17 九阳股份有限公司 A kind of intelligent appliance upgrade method and device
CN108037938A (en) * 2017-12-21 2018-05-15 北京京存技术有限公司 A kind of eMMC's opens chucking method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6360362B1 (en) * 1998-02-20 2002-03-19 Intel Corporation Automatic update of camera firmware
JP4958692B2 (en) * 2007-08-31 2012-06-20 キヤノン株式会社 Distribution apparatus, distribution method, and computer program
CN101470610B (en) * 2007-12-25 2011-07-20 英业达股份有限公司 How to update the test program
US8473666B2 (en) * 2011-06-27 2013-06-25 Schneider Electric It Corporation Systems and methods for driverless operation of USB device
US10250600B2 (en) * 2015-07-27 2019-04-02 International Business Machines Corporation Updating database drivers for client applications through a database server push
US10042593B2 (en) * 2016-09-02 2018-08-07 Datamax-O'neil Corporation Printer smart folders using USB mass storage profile

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038538A (en) * 2014-05-29 2014-09-10 广州视睿电子科技有限公司 local area network host software upgrading method and system
CN104182258A (en) * 2014-08-25 2014-12-03 福建升腾资讯有限公司 Device and method for upgrading POS (point-of-sale) terminals
CN105045626A (en) * 2015-07-21 2015-11-11 珠海格力电器股份有限公司 Program burning method, program burning equipment and controller
CN107357618A (en) * 2017-06-29 2017-11-17 九阳股份有限公司 A kind of intelligent appliance upgrade method and device
CN108037938A (en) * 2017-12-21 2018-05-15 北京京存技术有限公司 A kind of eMMC's opens chucking method

Also Published As

Publication number Publication date
CN109101252A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
CN110928567A (en) Vehicle system upgrading method, terminal device and computer-readable storage medium
CN113498594B (en) Control method and device of smart home system, electronic equipment and storage medium
CN108650671B (en) Method, device, mobile terminal, storage medium and system for establishing Bluetooth connection
CN111132267A (en) Network distribution method and device and terminal equipment
CN112996020B (en) Bluetooth-based automatic test method and device and Bluetooth test terminal
US20230123326A1 (en) Cleaning robot control method and device, storage medium and cleaning robot
CN104468260A (en) Recognition method, device and system for mobile terminal device
CN113490192A (en) Bluetooth connection method, device, terminal equipment and readable storage medium
CN110716735A (en) System upgrading method and device, intelligent terminal and computer readable storage medium
CN111316246A (en) Maintenance equipment management method, user terminal and server
CN109101252B (en) Firmware burning method, device, equipment and system
CN111158954A (en) Cloud host snapshot method, system, equipment and computer readable storage medium
WO2020102940A1 (en) Abnormality processing method, terminal device and storage medium
WO2015117378A1 (en) Method and related system for adaptively configuring port, and computer storage medium
CN105208200A (en) Mobile terminal system upgrading method and mobile terminal thereof
CN107885674B (en) Bluetooth device simulator, working method thereof and Bluetooth device operating system
CN108023796B (en) Client terminal device, signal switching control method, control device, and storage medium
CN115242696B (en) Network card test environment construction method, device and medium
CN115454575A (en) Method, device, equipment and storage medium for conversion and automatic loading of jar package
CN115826987A (en) Application software packaging online method and device, terminal equipment and storage medium
CN106919524B (en) Downloading method and device
CN107168756A (en) Method, client, service end and the storage device of radio-frequency driven compiling debugging
CN112230953A (en) Visual navigation aids firmware upgrade method, device, computer equipment and medium
CN106648697A (en) Method for illuminating terminal and method for automatically controlling terminal
CN109982136B (en) Volume adjusting method and device

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