Firmware updating method and firmware updating system

US11301238B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11301238-B2
Application numberUS-202017017813-A
CountryUS
Kind codeB2
Filing dateSep 11, 2020
Priority dateDec 31, 2019
Publication dateApr 12, 2022
Grant dateApr 12, 2022

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A firmware updating method and a firmware updating system are provided. A host can individually transmit firmware update files to a terminal device, and the host checks by an algorithm whether each of the firmware update files needs to be compressed before each of the firmware update files is transmitted. For the firmware update file that needs to be compressed, the host uses a compression algorithm to reduce a file size of the firmware update file.

First claim

Opening claim text (preview).

What is claimed is: 1. A firmware updating method executed in a firmware updating system, the firmware updating system including a host and a terminal device, the host storing a plurality of firmware update files for respectively updating a plurality of firmwares of the terminal device, the firmware updating method comprising: configuring the host to individually transmit the plurality of firmware update files to the terminal device and determine whether or not a Kth firmware update file of the plurality of firmware update files needs to be compressed by executing an algorithm before transmitting the Kth firmware update file, wherein K is a positive integer; in response to determining that the Kth firmware update file needs to be compressed, configuring the host to compress the Kth firmware update file by executing a compression algorithm and transmit the compressed Kth firmware update file to the terminal device; in response to determining that the Kth firmware update file does not need to be compressed, configuring the host to transmit the original Kth firmware update file to the terminal device; and configuring, for the compressed Kth firmware update file, the terminal device to decompress the compressed Kth firmware update file by using the compression algorithm, and update a corresponding one of the plurality of firmwares by using the decompressed Kth firmware update file, and configuring, for the original Kth firmware update file, the terminal device to use the original Kth firmware update file to update the corresponding one of the plurality of firmwares. 2. The firmware updating method according to claim 1 , wherein for the Kth firmware update file of the plurality of firmware update files, the algorithm is executed to determine whether Tt CF +Td CF is less than Tt OF , where Tt CF is a transmission time for transmitting the compressed Kth firmware update file to the terminal device, Td CF is a decompression time of the compressed Kth firmware update file, and Tt OF is a transmission time for transmitting the original Kth firmware update file to the terminal device. 3. The firmware updating method according to claim 2 , wherein in response to Tt CF +Td CF being determined to be less than Tt OF , the host is configured to determine that the Kth firmware update file needs to be compressed, and in response to Tt CF +Td CF being determined not to be less than Tt OF , the host is configured to determine that the Kth firmware update file does not need to be compressed. 4. The firmware updating method according to claim 3 , wherein (Td CF )=(Size CF /Ds), where Size CF is a file size of the compressed Kth firmware update file, Ds is a decompression speed of the terminal device, and the decompression speed is determined according to a computing capability of a processor and a size of a memory of the terminal device. 5. The firmware updating method according to claim 4 , wherein the decompression speed of the terminal device is further determined according to a dictionary size of the compression algorithm, and the dictionary size is determined according to the size of the memory of the terminal device. 6. The firmware updating method according to claim 4 , further comprising: during a system initialization of the terminal device, the terminal device is configured to collect at least one space from the memory by a buffer collector, and after the system initialization is completed, the at least one space is used as a buffer for decompression. 7. The firmware updating method according to claim 6 , wherein a preset size is determined according to the compression algorithm, and in response to the at least one space collected from the memory by the buffer collector satisfying the preset size, the buffer collector stops collecting the at least one space from the memory. 8. The firmware updating method according to claim 7 , wherein the buffer collector collecting the at least one space from the memory refers to collecting a memory address and a size of the memory. 9. The firmware updating method according to claim 7 , further comprising: in response to the plurality of firmware update files being received by the terminal device, the terminal device is configured to write the data in the memory into a non-volatile memory through a system suspender, and then terminate executions of other tasks of the terminal device until the terminal device uses the plurality of firmware update files to update the firmware, the system suspender then resumes the executions of the other tasks. 10. A firmware updating system, comprising: a terminal device; and a host configured to store a plurality of firmware update files used for updating a plurality of firmwares of the terminal device, wherein K is a positive integer, and the host is configured to individually transmit the plurality of firmware update files to the terminal device and determine whether or not a Kth firmware update file of the plurality of firmware update files needs to be compressed by executing an algorithm before the Kth firmware update file is transmitted, in response to determining that the Kth firmware update file needs to be compressed, the host is configured to compress the Kth firmware update file by executing a compression algorithm, and in response to determining that the Kth firmware update file does not need to be compressed, the host is configured to transmit the original Kth firmware update file to the terminal device; wherein the host and the terminal device each at least comprise a processor; wherein the terminal device is configured to, for the compressed Kth firmware update file, decompress the compressed Kth firmware update file by using the compression algorithm, and update a corresponding one of the plurality of firmwares by using the decompressed Kth firmware update file, and the terminal device is configured to, for the original Kth firmware update file, use the original Kth firmware update file to update the corresponding one of the plurality of firmwares. 11. The firmware updating system according to claim 10 , wherein for the Kth firmware update file of the plurality of firmware update files, the algorithm is executed to determine whether Tt CF +Td CF is less than Tt OF , where Tt CF is a transmission time for transmitting the compressed Kth firmware update file to the terminal device, Td CF is a decompression time of the compressed Kth firmware update file, and Tt OF is a transmission time for transmitting the original Kth firmware update file to the terminal device. 12. The firmware updating system according to claim 11 , wherein in response to Tt CF +Td CF being determined to be less than Tt OF , the host is configured to determine that the Kth firmware update file needs to be compressed, and in response to Tt CF +Td CF being determined not to be less than Tt OF , the host is configured to determine that the Kth firmware update file does not need to be compressed. 13. The firmware updating system according to claim 12 , wherein Td CF =(Size CF /Ds), where Size CF is a file size of the compressed Kth firmware update file, Ds is a decompression speed of the terminal device, and the decompression speed is determined according to a computing capability of the processor and a size of a memory of the terminal device. 14. The firmware updating system according to claim 13 , wherein the decompression speed of the terminal device is further determined according to a dictionary size of the compression algorithm, and the dictionary size is determined according to the size of the memory of the terminal device. 15. The firmware updating system according t

Assignees

Inventors

Classifications

  • G06F8/65Primary

    Updates (security arrangements therefor G06F21/57) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11301238B2 cover?
A firmware updating method and a firmware updating system are provided. A host can individually transmit firmware update files to a terminal device, and the host checks by an algorithm whether each of the firmware update files needs to be compressed before each of the firmware update files is transmitted. For the firmware update file that needs to be compressed, the host uses a compression algo…
Who is the assignee on this patent?
Wistron Neweb Corp
What technology area does this patent fall under?
Primary CPC classification G06F8/65. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 12 2022 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).