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

Embedded equipment firmware encryption method and system based on server

An embedded device and encryption method technology, applied in the direction of instruments, software deployment, program/content distribution protection, etc., can solve the problems of inapplicable system firmware, increased R&D work, insufficient security, and reduce packaging mechanism leakage and privacy. The effect of key leakage, reducing the possibility of the device being flashed, and reducing the workload of research and development

Active Publication Date: 2018-11-06
杭州吉吉知识产权运营有限公司
View PDF11 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] First, the existing firmware packaging encryption technology, packaging and encryption are performed locally, the key is integrated in the code, and the encryption process and key can be seen by software developers, which poses a great security risk
[0004] Second, the existing router firmware packaging technology is solidified in the code and is only aimed at one type of device. Whenever a new device is developed, even if the packaging process is the same, a packaged encryption system must be redeveloped, or a packaged encryption module must be transplanted Code to new projects, the process is repetitive and cumbersome, adding unnecessary research and development work
[0006] The above solution encrypts the upgraded firmware and then sends it to the terminal device for the terminal device to upgrade, which can improve the security of the upgrade to a certain extent, but the above solution does not have a packaging process for the source code image file, and is not suitable for upgrading Linux such as routers. The system firmware of the system embedded device, and the above scheme uses the private key stored inside the server for encryption processing, and it is impossible to generate unique private keys for different embedded devices, and the security is not high enough

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
  • Embedded equipment firmware encryption method and system based on server
  • Embedded equipment firmware encryption method and system based on server
  • Embedded equipment firmware encryption method and system based on server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Such as figure 1 As shown, this embodiment discloses a server-based embedded device firmware encryption method, the encryption process is performed in the server 1, which mainly includes:

[0047] A. Receive the image file of the source code of the upgraded firmware and the device information of the corresponding embedded device;

[0048] B. Generate a corresponding private key according to the device information, and package the image file;

[0049] C. Perform MD5 calculation on the packaged image file to verify the integrity of the upgraded firmware, and use the private key to encrypt the calculation result to obtain encrypted and packaged upgraded firmware for the corresponding embedded device to download and upgrade.

[0050] The embedded device here may be a device such as a router, and this embodiment is mainly aimed at the router.

[0051]Specifically, the device information includes the identifier information of the embedded device. For example, each router ha...

Embodiment 2

[0070] Such as Image 6 As shown, this embodiment discloses a server-based embedded device firmware encryption system, including a server 1, which includes a firmware receiving module 11, a firmware packaging module 12, a key generation module 13 and a firmware encryption module. Module 14, where,

[0071] Firmware receiving module 11, is used for receiving the image file of upgrade firmware source code and the device information of corresponding embedded device;

[0072] Firmware packing module 12, is used for packing described image file;

[0073] A key generation module 13, configured to generate a corresponding private key according to the device information;

[0074] The firmware encryption module 14 is used to carry out MD5 calculation to the image file after packaging to check the integrity of the upgraded firmware, and use the private key to encrypt the calculation result to obtain the encrypted and packaged upgraded firmware for corresponding embedded devices Downl...

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 an embedded equipment firmware encryption method and system based on a server. The method comprises the steps that A, an image file of an upgrade firmware source code and equipment information of corresponding embedded equipment are received; B, a corresponding private key is generated according to the equipment information, and the image file is packaged; and C, MD5 calculation is performed on the packaged image file to verify the integrity of upgrade firmware, and the private key is used to encrypt the calculation result, so that encrypted and packaged upgrade firmware is obtained for the corresponding embedded equipment to download and upgrade. The encryption method and system have the advantages of being high in security, convenient to use, wide in application range and the like.

Description

technical field [0001] The invention belongs to the technical field of encryption for upgrading firmware of linux system embedded devices such as routers, and in particular relates to a server-based embedded device firmware encryption method and system. Background technique [0002] In the prior art, there are mainly two problems in the firmware upgrade technology for linux system embedded devices such as routers: [0003] First, the existing firmware packaging encryption technology, packaging and encryption are performed locally, the key is integrated in the code, and the encryption process and key can be seen by software developers, which poses a great security risk. [0004] Second, the existing router firmware packaging technology is solidified in the code and is only aimed at one type of device. Whenever a new device is developed, even if the packaging process is the same, a packaged encryption system must be redeveloped, or a packaged encryption module must be transpla...

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): G06F8/65G06F21/12G06F21/60
CPCG06F8/65G06F21/125G06F21/602
Inventor 劳逸
Owner 杭州吉吉知识产权运营有限公司
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