CN107193581B - Firmware upgrading method and device, storage medium and computer equipment - Google Patents

Firmware upgrading method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN107193581B
CN107193581B CN201710214859.6A CN201710214859A CN107193581B CN 107193581 B CN107193581 B CN 107193581B CN 201710214859 A CN201710214859 A CN 201710214859A CN 107193581 B CN107193581 B CN 107193581B
Authority
CN
China
Prior art keywords
firmware
read
write data
firmware upgrading
write
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
CN201710214859.6A
Other languages
Chinese (zh)
Other versions
CN107193581A (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 Guanghetong Wireless Communication Software Co ltd
Original Assignee
Shenzhen Guanghetong Wireless Communication Software Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Guanghetong Wireless Communication Software Co ltd filed Critical Shenzhen Guanghetong Wireless Communication Software Co ltd
Priority to CN201710214859.6A priority Critical patent/CN107193581B/en
Publication of CN107193581A publication Critical patent/CN107193581A/en
Application granted granted Critical
Publication of CN107193581B publication Critical patent/CN107193581B/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 relates to a firmware upgrading method, which comprises the following steps: acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system; extracting firmware upgrading write data in the firmware upgrading read-write data; and writing the firmware upgrading write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data. By adopting the method, the convenience of firmware upgrading can be improved. In addition, a firmware upgrading device, a storage medium and a computer device are also provided.

Description

Firmware upgrading method and device, storage medium and computer equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a firmware upgrading method and apparatus, a storage medium, and a computer device.
Background
Firmware upgrading of a firmware module attached to a Printed Circuit Board (PCB) under a traditional Linux operating system requires a communication line of the firmware module to be flown out by using a flying line, and then the firmware module is flown under a Windows operating system and upgraded by using an application program tool for firmware upgrading under the Windows operating system.
However, the conventional firmware upgrading method relies on flying wires, which is inconvenient for some terminals hanging on the spot.
Disclosure of Invention
In view of the above, it is necessary to provide a firmware upgrade method, apparatus, storage medium and computer device, which can improve the convenience of firmware upgrade.
A method of firmware upgrade, the method comprising:
acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system;
extracting firmware upgrading write data in the firmware upgrading read-write data;
and writing the firmware upgrading write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data.
In one embodiment, the acquiring the read-write data of the firmware upgrade according to the pre-stored firmware upgrade program based on the Windows operating system includes: monitoring a serial port corresponding to a pre-stored firmware upgrading program based on a Windows operating system; running the firmware upgrading program based on the Windows operating system for upgrading the firmware through the serial port; and acquiring firmware upgrading read-write data monitored by the serial port.
In one embodiment, the extracting the firmware upgrade write data from the firmware upgrade read-write data includes: reading each row of data in the firmware upgrading read-write data; and if the current line data has the write operation identifier, acquiring write data corresponding to the write operation identifier in the current line data.
In one embodiment, the writing the firmware upgrade write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrade read-write data includes: reading each row of data in the firmware upgrading read-write data; if the read operation identifier exists in the current line data, acquiring read data corresponding to the read operation identifier in the current line data, and reading the read data in a firmware module under a Linux operating system; and if the current line of data has the write operation identifier, acquiring write data corresponding to the write operation identifier from the firmware upgrading write data, and writing the acquired write data into a firmware module under a Linux operating system.
In one embodiment, the writing the firmware upgrade write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrade read-write data further includes: acquiring the total line number of the firmware upgrading read-write data and the currently read line number; and calculating the progress of firmware upgrading according to the total line number and the currently read line number.
A firmware upgrade apparatus, the apparatus comprising:
the firmware upgrading read-write data reading module is used for acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system;
the firmware upgrading write data extraction module is used for extracting firmware upgrading write data according to the firmware upgrading read-write data;
and the firmware upgrading write-data writing module is used for writing the firmware upgrading write-data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data.
In one embodiment, the firmware upgrade read-write data reading module is used for monitoring a serial port corresponding to a pre-stored firmware upgrade program based on a Windows operating system; running the firmware upgrading program based on the Windows operating system for upgrading the firmware through the serial port; and acquiring firmware upgrading read-write data monitored by the serial port.
In one embodiment, the firmware upgrade write data extraction module is configured to read each line of data in the firmware upgrade read-write data; and if the current line data has the write operation identifier, acquiring write data corresponding to the write operation identifier in the current line data.
One or more non-transitory computer-readable storage media storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of:
acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system;
extracting firmware upgrading write data in the firmware upgrading read-write data;
and writing the firmware upgrading write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system;
extracting firmware upgrading write data in the firmware upgrading read-write data;
and writing the firmware upgrading write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data.
According to the firmware upgrading method, the firmware upgrading device, the storage medium and the computer equipment, the firmware upgrading read-write data are obtained according to the pre-stored firmware upgrading program based on the Windows operating system, the firmware upgrading write data in the firmware upgrading read-write data are extracted, and then the firmware upgrading write data are written into the firmware module under the Linux operating system according to the read-write sequence of the firmware upgrading read-write data. The firmware upgrading write data is written into the firmware module under the Linux operating system according to the read-write sequence of the firmware upgrading read-write data, so that the firmware can be directly upgraded under the Linux operating system, the dependence on flying leads is avoided, and the convenience of firmware upgrading is improved.
Drawings
Fig. 1 is an internal structural view of a terminal in one embodiment;
FIG. 2 is a flow diagram of a method for firmware upgrade in one embodiment;
FIG. 3 is a flow diagram of a method for obtaining firmware upgrade read-write data in one embodiment;
FIG. 4 is a flow diagram of a method for extracting firmware upgrade write data in one embodiment;
FIG. 5 is a flow diagram of a write method for firmware upgrade write data in one embodiment;
FIG. 6 is a block diagram of a firmware upgrade apparatus in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic structural diagram of a terminal in one embodiment. As shown in fig. 1, the terminal includes a processor, a nonvolatile storage medium, an internal memory, a data transmission interface, a display screen, and an input device, which are connected through a system bus. The non-volatile storage medium of the terminal stores therein an operating system and computer-readable instructions that are executed by the processor to implement a firmware upgrade method. The processor is used for providing calculation and control capability and supporting the operation of the whole terminal. The data transmission interface is used for communicating with other mobile storage devices. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen or a key arranged on a shell of the terminal. It will be understood by those skilled in the art that the structure shown in fig. 1 is a block diagram of only a part of the structure relevant to the present application, and does not constitute a limitation of the terminal to which the present application is applied, and in particular, the terminal may include more or less components than those shown in the drawings, or combine some components, or have a different arrangement of components.
In one embodiment, as shown in fig. 2, there is provided a firmware upgrade method, which is exemplified by being applied to the terminal shown in fig. 1, and includes:
step 202, obtaining the firmware upgrading read-write data according to the pre-stored firmware upgrading program based on the Windows operating system.
The pre-stored firmware upgrading program based on the Windows operating system may be a firmware upgrading program based on the Windows operating system, which is downloaded from a firmware program maintenance website through a network to be stored locally and upgraded through a serial port, or a firmware upgrading program based on the Windows operating system, which is copied from other terminals or mobile storage devices to be locally upgraded through a serial port through a data line. The serial port is an extension interface adopting a serial communication mode, and is short for a serial interface.
Specifically, there are many ways to obtain the read-write data of firmware upgrade according to the pre-stored firmware upgrade program based on the Windows operating system, a third party software, such as a serial port monitoring tool, can be used to open the "start monitoring" function by selecting one serial port from the list of currently available serial ports of the system displayed on the interface of the serial port monitoring tool as the serial port to be monitored, then open the running interface of the firmware upgrade program based on the Windows operating system pre-stored locally by double-clicking or right-clicking, set the serial port used for firmware upgrade on the running interface as the serial port selected by the serial port monitoring tool, set the speed (i.e. baud rate) of the terminal during serial port communication as the preset baud rate, open the "start upgrade" function, after the upgrade is finished, select the record of the serial port just monitored and right-click to be stored additionally on the interface of the serial port monitoring tool, the read-write data of the firmware upgrading can be acquired, namely the receiving and sending data in the firmware upgrading process; the method can also directly obtain the current idle serial port of the system through a program code, if the number of the obtained idle serial ports is only one, the idle serial ports are monitored, the names of the serial ports are displayed on a terminal screen, if the number of the obtained idle serial ports is multiple, the names of the idle serial ports are displayed on the terminal screen, the idle serial ports selected by a user are received and monitored, a running interface of a firmware upgrading program based on a Windows operating system, which is pre-stored in the local, is opened in a double-click or right-key mode, the serial port used for upgrading the firmware is arranged on the running interface and is a serial port selected through a serial port monitoring tool, the speed (namely the baud rate) of the terminal during serial port communication is set as a preset baud rate, the 'starting upgrading' function can be started, and after the upgrading is finished, the data receiving and sending of the firmware upgrading program based on the Windows operating system can be obtained through the monitored serial port in the upgrading process .
And step 204, extracting firmware upgrading write data in the firmware upgrading read-write data.
In this embodiment, the firmware upgrade write data can be extracted through the write operation identifier from the acquired firmware upgrade read-write data. The writing operation identifier is a preset operation identifier used for sending data to the firmware module.
In the embodiment of obtaining the read-write data of the firmware upgrade through the third-party software, in order to more conveniently extract the write data of the firmware upgrade, format optimization and redundancy removal can be performed on the read-write data of the firmware upgrade, for example, the obtained spacers in the read-write data of the firmware upgrade are converted into spacers in an english mode, and a timestamp, a serial port and the like are filtered.
And step 206, writing the firmware upgrading write data into a firmware module under the Linux operating system according to the read-write sequence of the firmware upgrading read-write data.
In this embodiment, serial parameters for firmware upgrade, such as a serial number and a rate (i.e., baud rate) of a terminal during serial communication, are first configured in a Linux operating system; generating a firmware upgrading instruction, for example, respectively creating a reading process and a writing process, wherein the reading process is used for reading data from the serial port, the writing serial port is used for writing data into the serial port, when the writing process writes a preset upgrading identifier (such as '0 x55, 0x55, 0x 55') into the serial port, and the reading process reads the preset upgrading identifier, the firmware upgrading instruction is generated; and finally, updating the firmware under the Linux operating system.
Specifically, since the firmware upgrade read-write data is interactive data of a firmware upgrade program based on the Windows operating system, which is pre-stored in the firmware upgrade process, and includes write data (send data) and read data (receive data) with sequence, the firmware upgrade step under the Linux operating system is as follows: sequentially reading each row of data in the firmware upgrading read-write data, and writing the extracted firmware upgrading read-write data corresponding to the current row in the firmware upgrading read-write data into a firmware module under a Linux operating system if the current row of data is write data (namely sending data); if the current line of data is read data (namely, received data), the read data is obtained and read in a firmware module under the Linux operating system until all the read data in the firmware upgrading read-write data is successfully read from the firmware module under the Linux operating system, and all the write data in the firmware upgrading write data is successfully written into the firmware module under the Linux operating system, namely, the firmware upgrading under the Linux operating system is realized.
In this embodiment, the firmware upgrade read-write data is acquired according to a pre-stored firmware upgrade program based on the Windows operating system, the firmware upgrade write data in the firmware upgrade read-write data is extracted, and then the firmware upgrade write data is written into the firmware module under the Linux operating system according to the read-write sequence of the firmware upgrade read-write data. The firmware upgrading write data is written into the firmware module under the Linux operating system according to the read-write sequence of the firmware upgrading read-write data, so that the firmware can be directly upgraded under the Linux operating system, the dependence on flying leads is avoided, and the convenience of firmware upgrading is improved.
In one embodiment, as shown in FIG. 3, step 202 comprises:
and 212, monitoring a serial port corresponding to a pre-stored firmware upgrading program based on the Windows operating system.
In the embodiment, the serial port name of the Windows operating system in the idle state at present is obtained, and if the number of the obtained serial port names in the idle state is one, the serial port corresponding to the serial port name is used as a serial port for subsequent running of a firmware upgrading program and is monitored; if the number of the obtained idle serial port names is multiple, one serial port name is randomly selected by using a random algorithm, or the serial port names are displayed on a terminal screen, then the serial port name selected by a user is received, and the serial port corresponding to the selected serial port name is used as a serial port for subsequent running of the firmware upgrading program and is monitored.
Step 222, running a firmware upgrading program based on the Windows operating system for upgrading the firmware through the serial port.
Specifically, an upgrade interface of a pre-stored firmware upgrade program based on the Windows operating system is entered by double-clicking or right-clicking, a serial port used by the firmware upgrade program is firstly set as the serial port monitored in step 212, the rate (i.e. baud rate) of serial port communication is a preset baud rate, and then the function of "starting upgrade" is started.
Step 232, acquiring the firmware upgrading read-write data monitored by the serial port.
In this embodiment, after the firmware upgrade program based on the Windows operating system stored in advance successfully completes the upgrade, the data monitored by the serial port, that is, the firmware upgrade read-write data, may be acquired.
In one embodiment, as shown in FIG. 4, step 204 comprises:
step 214, reading each row of data in the read-write data of the firmware upgrade.
In this embodiment, each row of data in the firmware upgrade read-write data is sequentially read to extract the firmware upgrade write data.
Step 224, if the current line data has the write operation identifier, acquiring write data corresponding to the write operation identifier from the current line data.
The writing operation identifier is a preset operation identifier for sending data to the firmware module.
In this embodiment, the write data (i.e., the firmware upgrade write data) is extracted from the firmware upgrade read-write data through the write operation identifier, so as to prepare for data write of subsequent firmware upgrade, thereby improving the efficiency of firmware upgrade.
In one embodiment, as shown in FIG. 5, step 206 comprises:
and step 216, reading each row of data in the read-write data of the firmware upgrade.
In this embodiment, each row of data in the firmware upgrade read-write data is sequentially read to write the firmware upgrade write data into the firmware module.
Step 226, if the read operation identifier exists in the current line data, obtaining the read data corresponding to the read operation identifier in the current line data, and reading the read data in the firmware module under the Linux operating system.
The read operation identifier is a preset operation identifier for reading data from the firmware module.
In this embodiment, if the read data is successfully read in the firmware module under the Linux operating system, the next line of data in the firmware upgrade read-write data is continuously read until the firmware upgrade read-write data is completely read, otherwise, the upgrade is stopped.
In step 236, if the write operation identifier exists in the current line of data, acquiring write data corresponding to the write operation identifier from the firmware upgrade write data, and writing the acquired write data into a firmware module under the Linux operating system.
Similarly, if the acquired write data is successfully written into the firmware module under the Linux operating system, the next row of data in the firmware upgrading read-write data is continuously read until the firmware upgrading read-write data is completely read, and otherwise, the upgrading is stopped.
In this embodiment, the firmware upgrade write data is written into the firmware module according to the data receiving and sending sequence (i.e., the read-write sequence) in the acquired firmware upgrade read-write data, so that the correctness of the firmware upgrade is ensured.
In one embodiment, step 206 further comprises: acquiring the total line number of the read-write data of the firmware upgrade and the line number currently read; and calculating the progress of firmware upgrading according to the total line number and the currently read line number.
The firmware upgrade progress is the proportion of the number of rows of the read-write data of the currently read firmware upgrade to the total number of rows of the read-write data of the firmware upgrade, for example, the total number of rows of the read-write data of the firmware upgrade is 200, and the 10 th row of the read-write data of the firmware upgrade is currently read, so that the firmware upgrade progress at this time is 5%.
In this embodiment, after the progress of firmware upgrade is calculated, the progress may be displayed on a terminal screen in a bar chart or a pie chart, so that a user can know the progress of firmware upgrade.
In one embodiment, as shown in fig. 6, there is provided a firmware upgrade apparatus including:
a firmware upgrade read-write data reading module 602, configured to obtain the firmware upgrade read-write data according to a pre-stored firmware upgrade program based on the Windows operating system.
And a firmware upgrade write data extracting module 604, configured to extract firmware upgrade write data according to the firmware upgrade read-write data.
A firmware upgrade write data writing module 606, configured to write the firmware upgrade write data into a firmware module in the Linux operating system according to the read-write sequence of the firmware upgrade read-write data.
In one embodiment, the firmware upgrade read-write data reading module 602 is configured to monitor a serial port corresponding to a pre-stored firmware upgrade program based on a Windows operating system; running a firmware upgrading program based on a Windows operating system for upgrading the firmware through a serial port; and acquiring firmware upgrading read-write data monitored by the serial port.
In one embodiment, the firmware upgrade write data extraction module 604 is configured to read each row of data in the firmware upgrade read-write data; and if the current line data has the write operation identifier, acquiring write data corresponding to the write operation identifier in the current line data.
In one embodiment, the firmware upgrade write data write module 606 is configured to read each row of data in the firmware upgrade read-write data; if the read operation identifier exists in the current line data, acquiring read data corresponding to the read operation identifier in the current line data, and reading the read data in a firmware module under a Linux operation system; and if the write operation identifier exists in the current line of data, acquiring write data corresponding to the write identifier of the current line from the firmware upgrading write data, and writing the acquired write data into a firmware module under a Linux operating system.
In one embodiment, the firmware upgrade write data write module 606 is further configured to obtain a total number of rows of the firmware upgrade read-write data and a number of rows currently read; and calculating the progress of firmware upgrading according to the total line number and the currently read line number.
In one embodiment, a non-transitory computer-readable storage medium is provided that stores computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of: acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system; extracting firmware upgrading write data in the firmware upgrading read-write data; and writing the firmware upgrading write data into a firmware module under the Linux operating system according to the read-write sequence of the firmware upgrading read-write data.
In one embodiment, a computer device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system; extracting firmware upgrading write data in the firmware upgrading read-write data; and writing the firmware upgrading write data into a firmware module under the Linux operating system according to the read-write sequence of the firmware upgrading read-write data.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of firmware upgrade, the method comprising:
acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system;
extracting firmware upgrading write data in the firmware upgrading read-write data;
writing the firmware upgrading write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data; the writing of the firmware upgrade write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrade read-write data comprises: reading each row of data in the firmware upgrading read-write data; and if the current line of data has the write operation identifier, acquiring write data corresponding to the write operation identifier from the firmware upgrading write data, and writing the acquired write data into a firmware module under a Linux operating system.
2. The firmware upgrading method according to claim 1, wherein the obtaining of the read-write data for firmware upgrading according to the pre-saved firmware upgrading program based on the Windows operating system comprises:
monitoring a serial port corresponding to a pre-stored firmware upgrading program based on a Windows operating system;
running the firmware upgrading program based on the Windows operating system for upgrading the firmware through the serial port;
and acquiring firmware upgrading read-write data monitored by the serial port.
3. The firmware upgrading method according to claim 1, wherein the extracting of the firmware upgrading write data from the firmware upgrading read-write data includes:
reading each row of data in the firmware upgrading read-write data;
and if the current line data has the write operation identifier, acquiring write data corresponding to the write operation identifier in the current line data.
4. The firmware upgrading method according to claim 1, wherein writing the firmware upgrading write data into a firmware module under a Linux operating system according to a read-write sequence of the firmware upgrading read-write data comprises:
and if the read operation identifier exists in the current line data, acquiring read data corresponding to the read operation identifier in the current line data, and reading the read data in a firmware module under a Linux operation system.
5. The firmware upgrading method according to claim 4, wherein the writing the firmware upgrading write data into a firmware module under a Linux operating system according to the reading and writing sequence of the firmware upgrading read and write data further comprises:
acquiring the total line number of the firmware upgrading read-write data and the currently read line number;
and calculating the progress of firmware upgrading according to the total line number and the currently read line number.
6. A firmware upgrade apparatus, characterized in that the apparatus comprises:
the firmware upgrading read-write data reading module is used for acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system;
the firmware upgrading write data extraction module is used for extracting firmware upgrading write data according to the firmware upgrading read-write data;
the firmware upgrading write-data writing module is used for writing the firmware upgrading write-data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data; the firmware upgrading write-data writing module is also used for reading each row of data in the firmware upgrading read-write data; and if the current line of data has the write operation identifier, acquiring write data corresponding to the write operation identifier from the firmware upgrading write data, and writing the acquired write data into a firmware module under a Linux operating system.
7. The firmware upgrading device according to claim 6, wherein the firmware upgrading read-write data reading module is configured to monitor a serial port corresponding to a pre-stored firmware upgrading program based on a Windows operating system; running the firmware upgrading program based on the Windows operating system for upgrading the firmware through the serial port; and acquiring firmware upgrading read-write data monitored by the serial port.
8. The firmware upgrading device of claim 6, wherein the firmware upgrading write data extraction module is configured to read each row of data in the firmware upgrading read-write data; and if the current line data has the write operation identifier, acquiring write data corresponding to the write operation identifier in the current line data.
9. One or more non-transitory computer-readable storage media storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of:
acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system;
extracting firmware upgrading write data in the firmware upgrading read-write data;
writing the firmware upgrading write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data; the writing of the firmware upgrade write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrade read-write data comprises: reading each row of data in the firmware upgrading read-write data; and if the current line of data has the write operation identifier, acquiring write data corresponding to the write operation identifier from the firmware upgrading write data, and writing the acquired write data into a firmware module under a Linux operating system.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
acquiring firmware upgrading read-write data according to a prestored firmware upgrading program based on a Windows operating system;
extracting firmware upgrading write data in the firmware upgrading read-write data;
writing the firmware upgrading write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrading read-write data; the writing of the firmware upgrade write data into a firmware module under a Linux operating system according to the read-write sequence of the firmware upgrade read-write data comprises: reading each row of data in the firmware upgrading read-write data; and if the current line of data has the write operation identifier, acquiring write data corresponding to the write operation identifier from the firmware upgrading write data, and writing the acquired write data into a firmware module under a Linux operating system.
CN201710214859.6A 2017-04-01 2017-04-01 Firmware upgrading method and device, storage medium and computer equipment Active CN107193581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710214859.6A CN107193581B (en) 2017-04-01 2017-04-01 Firmware upgrading method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710214859.6A CN107193581B (en) 2017-04-01 2017-04-01 Firmware upgrading method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN107193581A CN107193581A (en) 2017-09-22
CN107193581B true CN107193581B (en) 2020-09-04

Family

ID=59871410

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710214859.6A Active CN107193581B (en) 2017-04-01 2017-04-01 Firmware upgrading method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN107193581B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361528B (en) * 2017-12-29 2022-04-22 深圳Tcl新技术有限公司 Firmware upgrading method and intelligent household appliance

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727333A (en) * 2008-10-31 2010-06-09 英业达股份有限公司 Method for updating firmware in microprocessor and firmware updating system
CN102722408A (en) * 2011-03-29 2012-10-10 摩比天线技术(深圳)有限公司 Method and apparatus for communication equipment software update
CN104182256A (en) * 2014-08-21 2014-12-03 四川九成信息技术有限公司 Embedded equipment program updating method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727333A (en) * 2008-10-31 2010-06-09 英业达股份有限公司 Method for updating firmware in microprocessor and firmware updating system
CN102722408A (en) * 2011-03-29 2012-10-10 摩比天线技术(深圳)有限公司 Method and apparatus for communication equipment software update
CN104182256A (en) * 2014-08-21 2014-12-03 四川九成信息技术有限公司 Embedded equipment program updating method

Also Published As

Publication number Publication date
CN107193581A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN109359091B (en) File management method, device, terminal and computer readable storage medium
CN106612192A (en) An equipment upgrading method, apparatus and system
CN104461631B (en) A kind of system OTA upgrade methods and device
CN104850427B (en) A kind of code upgrade method and device
CN110224854A (en) Dispositions method, device and the storage medium of block chain node
CN103473343A (en) File management method, device and terminal
CN108874441B (en) Board card configuration method, device, server and storage medium
CN112148337A (en) Firmware upgrading method and device
CN107193581B (en) Firmware upgrading method and device, storage medium and computer equipment
CN106878486A (en) A kind of method and system for preventing Onboard NIC MAC Address from being changed
CN111324326B (en) Processing method and device for displaying software to one machine with multiple screens
CN105511904B (en) A kind of method and device automatically updating quick window
CN116610336A (en) Firmware upgrading method, system, device and readable storage medium
CN107908418B (en) Method for upgrading logic program of fiber channel node card and fiber channel bus equipment
CN102752365B (en) The method and apparatus of information processing
CN113704177B (en) Storage method, system and related components of server firmware upgrade file
CN106713666A (en) Recognition display method and device of verification information
CN110958122A (en) Network equipment rapid production system and production method
CN112449057A (en) Message prompting method and device, storage medium and electronic device
CN109271188A (en) A kind of CPLD upgrade method and relevant apparatus
CN114650436B (en) Remote control method, device, equipment and medium based on background service
CN105282614B (en) A kind of upgrade method of module TV, module TV and upgrade-system
CN112463071B (en) Method and device for selectively clearing nonvolatile storage
CN114924940A (en) Performance test method, device, storage medium and electronic equipment
CN111125654A (en) Method and device for automatically logging in client based on log file and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant