Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Firmware upgrading and encapsulating method and device based on digital signing

A digital signature and firmware upgrade technology, applied in program control devices, electronic digital data processing, computer security devices, etc., can solve problems such as inability to judge files, system inability to start, loss, etc., to avoid tampering, improve convenience and robustness sex, the effect of ensuring legitimacy

Inactive Publication Date: 2009-05-20
SHENZHEN SKYWORTH DIGITAL TECH CO LTD
View PDF0 Cites 118 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In many cases, users will download the firmware of the product from unofficial channels. If some malicious people modify or destroy the contents of the firmware (such as copyrights, icons), and at the same time easily generate a new hash summary, Then release the firmware; for such firmware, the integrity of the file can only be judged by comparison with the hash tool, but it cannot be judged that the file is the original version released by the manufacturer; if the user upgrades the product with such firmware, it is likely to be Cause the system to fail to start and cause losses

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Firmware upgrading and encapsulating method and device based on digital signing
  • Firmware upgrading and encapsulating method and device based on digital signing
  • Firmware upgrading and encapsulating method and device based on digital signing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048]In order to prevent the upgrade file used for firmware upgrade from being falsified, if the firmware content is digitally signed when the firmware is released, and the digital signature is provided to the user for download along with the firmware, then the firmware content can be legally verified on the user side. integrity and integrity verified. The digital signature here refers to the data obtained by encrypting the message digest obtained after the hash (Hash) transformation of the original data by the information sender with his own signature private key. The information receiver uses the digital certificate of the information sender to decrypt the digital signature attached to the original information to obtain the message digest, and uses the same hash algorithm to calculate the message digest for the received original data, and compares the two. You can verify whether the original information has been tampered with. Therefore, digital signatures can not only pro...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a firmware upgrading method based on digital signatures, and a device thereof, wherein the upgrading method comprises the following steps: encapsulation is performed according to a predefined encapsulation structure so as to generate an upgrading file based on a digital signature; a product needing firmware upgrading obtains the upgrading file; a digital signature file is extracted from the upgrading file and decrypted, so as to obtain an XML file; the XML file is analyzed so as to screen out upgrading module files needing to be upgraded; the legitimacy and integrity of every upgrading module file needing to be upgraded are verified respectively, so as to generate an upgrading script for upgrading all the upgrading module files which pass verification; and the upgrading script is executed so as to upgrade the firmware. The invention discloses a firmware encapsulating method based on digital signatures, and a device thereof. The invention verifies the integrity and legitimacy of every upgrading module file in the upgrading file through the digital signature file, and generates the upgrading script to finish upgrading firmware, thereby improving the security and convenience of firmware upgrading.

Description

technical field [0001] The invention relates to an embedded software upgrade technology, in particular to a digital signature-based firmware upgrade method and device, and a digital signature-based firmware packaging method and device. Background technique [0002] The firmware (Firmware) is composed of a set of compiled binary codes, including modules such as a boot loader (BootLoader), a kernel file, and a file system, and the firmware is usually stored in a flash memory (Flash) on the motherboard. BootLoader is the first piece of software code that runs when the hardware system is powered on. Its main tasks include: initializing the most basic hardware; copying BootLoader itself to the memory RAM to run; copying the kernel file to RAM and running the kernel file. In order to ensure the safety of the system, usually the BootLoader of the system will not be updated after the product leaves the factory, while modules such as the kernel file and file system can be upgraded by...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F21/22G06F17/30G06F21/10
Inventor 景麟
Owner SHENZHEN SKYWORTH DIGITAL TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products