CN107688463A - A kind of method of embedded device version file packing - Google Patents
A kind of method of embedded device version file packing Download PDFInfo
- Publication number
- CN107688463A CN107688463A CN201710862501.4A CN201710862501A CN107688463A CN 107688463 A CN107688463 A CN 107688463A CN 201710862501 A CN201710862501 A CN 201710862501A CN 107688463 A CN107688463 A CN 107688463A
- Authority
- CN
- China
- Prior art keywords
- file
- bin
- embedded device
- packing
- bin file
- 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.)
- Granted
Links
- 238000012856 packing Methods 0.000 title claims abstract description 31
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004364 calculation method Methods 0.000 claims description 6
- 125000004122 cyclic group Chemical group 0.000 claims description 3
- 238000012795 verification Methods 0.000 description 3
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 241000282326 Felis catus Species 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000000205 computational method Methods 0.000 description 1
- 238000005336 cracking Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
- H04L9/3239—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Power Engineering (AREA)
- Storage Device Security (AREA)
Abstract
Description
Claims (7)
- A kind of 1. method of embedded device version file packing, it is characterised in that comprise the following steps:Step S1:Embedded system is cut, and standard Linux kernel file and rootfs file system mirrors are generated after compiling;Step S2:Mark operation is carried out to standard Linux kernel file;Step S3:Packing bin file simultaneously carries out CRC check calculating to the bin file after packing, and obtained CRC check value is write Enter bin file afterbody.
- 2. the method for embedded device version file packing according to claim 1, it is characterised in that the step S2's Specific method is as follows:Standard Linux kernel file caused by different cutting demands is contrasted, removed in standard Linux The same section of core top of file.
- 3. the method for embedded device version file packing according to claim 1, it is characterised in that in the step S3 Algorithm for encryption is encrypted during packing bin file.
- 4. the method for embedded device version file packing according to claim 3, it is characterised in that the tool of the encryption Body method is as follows:When being packed to bin file, first determine AES and generate encryption key, then using the encryption key The modules of bin file are encrypted respectively, and the version information of encryption is stored in the file header of bin file, are added Close key storage is in being locally stored of embedded device.
- 5. the method for embedded device version file packing according to claim 4, it is characterised in that the bin file Modules include file header, standard Linux kernel file and rootfs file system mirrors and default configuration module.
- 6. the method for embedded device version file packing according to claim 3, it is characterised in that the AES For md5 encryption algorithm.
- 7. the method for embedded device version file packing according to claim 1, it is characterised in that in the step S3 The specific method that CRC check calculates is as follows:Using 32 Cyclic Redundancy Algorithms, with binary data t (x) to be packed divided by life Into multinomial g (x), result of calculation is write bin file afterbody by last remainder as CRC check value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710862501.4A CN107688463B (en) | 2017-09-21 | 2017-09-21 | Method for packaging version file of embedded equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710862501.4A CN107688463B (en) | 2017-09-21 | 2017-09-21 | Method for packaging version file of embedded equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107688463A true CN107688463A (en) | 2018-02-13 |
CN107688463B CN107688463B (en) | 2020-08-18 |
Family
ID=61156553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710862501.4A Active CN107688463B (en) | 2017-09-21 | 2017-09-21 | Method for packaging version file of embedded equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107688463B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762788A (en) * | 2018-05-31 | 2018-11-06 | 四川斐讯信息技术有限公司 | A kind of embedded device firmware encrypting method and system based on server |
CN109214168A (en) * | 2018-08-27 | 2019-01-15 | 阿里巴巴集团控股有限公司 | Firmware upgrade method and device |
CN110661621A (en) * | 2018-06-28 | 2020-01-07 | 中车株洲电力机车研究所有限公司 | Mixed encryption and decryption method based on HMAC, AES and RSA |
CN110727542A (en) * | 2019-09-18 | 2020-01-24 | 陕西法士特齿轮有限责任公司 | Hex file processing method and application |
CN111831323A (en) * | 2020-05-29 | 2020-10-27 | 大数金科网络技术有限公司 | Containerized incremental continuous delivery method |
CN114297679A (en) * | 2021-12-27 | 2022-04-08 | 武汉思普崚技术有限公司 | Method for encrypted transmission and upgrading of mirror image |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7320063B1 (en) * | 2005-02-04 | 2008-01-15 | Sun Microsystems, Inc. | Synchronization primitives for flexible scheduling of functional unit operations |
CN101132275A (en) * | 2006-08-23 | 2008-02-27 | 中国科学院计算技术研究所 | Safety system for implementing use right of digital content |
CN101344906A (en) * | 2008-05-19 | 2009-01-14 | 北京深思洛克数据保护中心 | Sectional type remote updating method |
CN101924607A (en) * | 2010-08-27 | 2010-12-22 | 华为终端有限公司 | Firmware processing method based on firmware air transmission technology, device and system thereof |
CN102043652A (en) * | 2010-12-08 | 2011-05-04 | 苏州捷泰科信息技术有限公司 | Processing system and method for embedded device root file system |
CN102483755A (en) * | 2009-06-26 | 2012-05-30 | 森普利维蒂公司 | File system |
CN102693283A (en) * | 2012-05-07 | 2012-09-26 | 深圳市共进电子股份有限公司 | Data partition storage method and system boot method of embedded system |
CN102902530A (en) * | 2012-09-07 | 2013-01-30 | 四川长虹电器股份有限公司 | Procedure verifying device based on Linux embedded operating system |
CN103106355A (en) * | 2011-11-15 | 2013-05-15 | 中兴通讯股份有限公司 | Implementation method and system of software version protection |
CN103207800A (en) * | 2013-04-24 | 2013-07-17 | 厦门亿联网络技术股份有限公司 | Method for safely and flexibly upgrading firmware |
CN103593216A (en) * | 2013-11-12 | 2014-02-19 | 上海斐讯数据通信技术有限公司 | Method for making system files of ubi format into factory burn image files |
CN104503803A (en) * | 2014-12-26 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Linux kernel and file system upgrading method |
CN104750527A (en) * | 2015-03-27 | 2015-07-01 | 广州快飞计算机科技有限公司 | Embedded system upgrading method and system |
CN104850427A (en) * | 2015-04-22 | 2015-08-19 | 深圳市元征科技股份有限公司 | Method and device for upgrading code |
CN105335181A (en) * | 2014-08-06 | 2016-02-17 | 中兴通讯股份有限公司 | OTA upgrade realization method and terminal |
CN105354050A (en) * | 2015-09-30 | 2016-02-24 | 深圳市九洲电器有限公司 | Application software calling method for intelligent terminal |
CN105487888A (en) * | 2015-11-26 | 2016-04-13 | 武汉光迅科技股份有限公司 | Method for generating upgrade file in system upgrade and/or application upgrade |
CN105739961A (en) * | 2014-12-12 | 2016-07-06 | 中兴通讯股份有限公司 | Starting method and device of embedded system |
CN105893090A (en) * | 2016-03-31 | 2016-08-24 | 武汉光迅科技股份有限公司 | Method for upgrading BOOTROM and application of embedded system |
-
2017
- 2017-09-21 CN CN201710862501.4A patent/CN107688463B/en active Active
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7320063B1 (en) * | 2005-02-04 | 2008-01-15 | Sun Microsystems, Inc. | Synchronization primitives for flexible scheduling of functional unit operations |
CN101132275A (en) * | 2006-08-23 | 2008-02-27 | 中国科学院计算技术研究所 | Safety system for implementing use right of digital content |
CN101344906A (en) * | 2008-05-19 | 2009-01-14 | 北京深思洛克数据保护中心 | Sectional type remote updating method |
CN102483755A (en) * | 2009-06-26 | 2012-05-30 | 森普利维蒂公司 | File system |
CN101924607A (en) * | 2010-08-27 | 2010-12-22 | 华为终端有限公司 | Firmware processing method based on firmware air transmission technology, device and system thereof |
CN102043652A (en) * | 2010-12-08 | 2011-05-04 | 苏州捷泰科信息技术有限公司 | Processing system and method for embedded device root file system |
CN103106355A (en) * | 2011-11-15 | 2013-05-15 | 中兴通讯股份有限公司 | Implementation method and system of software version protection |
CN102693283A (en) * | 2012-05-07 | 2012-09-26 | 深圳市共进电子股份有限公司 | Data partition storage method and system boot method of embedded system |
CN102902530A (en) * | 2012-09-07 | 2013-01-30 | 四川长虹电器股份有限公司 | Procedure verifying device based on Linux embedded operating system |
CN103207800A (en) * | 2013-04-24 | 2013-07-17 | 厦门亿联网络技术股份有限公司 | Method for safely and flexibly upgrading firmware |
CN103593216A (en) * | 2013-11-12 | 2014-02-19 | 上海斐讯数据通信技术有限公司 | Method for making system files of ubi format into factory burn image files |
CN105335181A (en) * | 2014-08-06 | 2016-02-17 | 中兴通讯股份有限公司 | OTA upgrade realization method and terminal |
CN105739961A (en) * | 2014-12-12 | 2016-07-06 | 中兴通讯股份有限公司 | Starting method and device of embedded system |
CN104503803A (en) * | 2014-12-26 | 2015-04-08 | 上海斐讯数据通信技术有限公司 | Linux kernel and file system upgrading method |
CN104750527A (en) * | 2015-03-27 | 2015-07-01 | 广州快飞计算机科技有限公司 | Embedded system upgrading method and system |
CN104850427A (en) * | 2015-04-22 | 2015-08-19 | 深圳市元征科技股份有限公司 | Method and device for upgrading code |
CN105354050A (en) * | 2015-09-30 | 2016-02-24 | 深圳市九洲电器有限公司 | Application software calling method for intelligent terminal |
CN105487888A (en) * | 2015-11-26 | 2016-04-13 | 武汉光迅科技股份有限公司 | Method for generating upgrade file in system upgrade and/or application upgrade |
CN105893090A (en) * | 2016-03-31 | 2016-08-24 | 武汉光迅科技股份有限公司 | Method for upgrading BOOTROM and application of embedded system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108762788A (en) * | 2018-05-31 | 2018-11-06 | 四川斐讯信息技术有限公司 | A kind of embedded device firmware encrypting method and system based on server |
CN108762788B (en) * | 2018-05-31 | 2023-07-28 | 杭州吉吉知识产权运营有限公司 | Method and system for encrypting firmware of embedded equipment based on server |
CN110661621A (en) * | 2018-06-28 | 2020-01-07 | 中车株洲电力机车研究所有限公司 | Mixed encryption and decryption method based on HMAC, AES and RSA |
CN109214168A (en) * | 2018-08-27 | 2019-01-15 | 阿里巴巴集团控股有限公司 | Firmware upgrade method and device |
WO2020042778A1 (en) * | 2018-08-27 | 2020-03-05 | 阿里巴巴集团控股有限公司 | Firmware upgrade method and device |
TWI709056B (en) * | 2018-08-27 | 2020-11-01 | 開曼群島商創新先進技術有限公司 | Firmware upgrade method and device |
CN110727542A (en) * | 2019-09-18 | 2020-01-24 | 陕西法士特齿轮有限责任公司 | Hex file processing method and application |
CN110727542B (en) * | 2019-09-18 | 2023-02-28 | 陕西法士特齿轮有限责任公司 | Hex file processing method and application |
CN111831323A (en) * | 2020-05-29 | 2020-10-27 | 大数金科网络技术有限公司 | Containerized incremental continuous delivery method |
CN114297679A (en) * | 2021-12-27 | 2022-04-08 | 武汉思普崚技术有限公司 | Method for encrypted transmission and upgrading of mirror image |
Also Published As
Publication number | Publication date |
---|---|
CN107688463B (en) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107688463A (en) | A kind of method of embedded device version file packing | |
EP1855281B1 (en) | Apparatus for writing data to a medium | |
CN101231622B (en) | Data storage method and equipment base on flash memory, as well as data fetch method and apparatu | |
JP2006092574A (en) | Method for protecting volatile file using single hash | |
JP2001297038A (en) | Data storage device, recording medium, and recording medium control method | |
KR101614950B1 (en) | Method for generating physical identifier in storage device and machine-readable storage medium | |
US8983072B2 (en) | Portable data carrier featuring secure data processing | |
CN107770622A (en) | The method and operating method of file in a kind of renewal linux system | |
TW201207862A (en) | Memory identification code generating method, management method, controller and storage system | |
CN107516045A (en) | Document protection method and device | |
CN102971984B (en) | Method for authenticating a storage device and host device | |
CN108170461A (en) | Difference upgrade package generation method, difference upgrade method and device | |
CN104898985A (en) | Storage device, controller, and data writing method | |
CN101470666B (en) | Data memory method | |
CN115688120A (en) | Secure chip firmware importing method, secure chip and computer readable storage medium | |
CN109189450A (en) | A kind of method and device of server firmware upgrading | |
CN114329568A (en) | File encryption method, device, system platform and file decryption method | |
US20200183675A1 (en) | Image file packaging method and image file packaging system | |
US20230119890A1 (en) | Method for securely processing digital information in a secure element | |
CN114095175B (en) | Gray-check-capable data confidentiality method, device and storage medium | |
CN114297679B (en) | Method for encrypted transmission and upgrading of mirror image | |
CN116719565A (en) | Method, device, equipment and medium for starting chip | |
KR100932276B1 (en) | Upgrade module and method of security module | |
CN116204131A (en) | Key data reading and writing method and system of electronic equipment | |
CN116821889A (en) | Method, device, computer equipment and storage medium for verifying tool kit |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240409 Address after: Room 218-006, Jiangxi Caichuang Industrial Park, No. 32 Mopanshan North Road, Wanli, Nanchang City, Jiangxi Province, 330000 Patentee after: NANCHANG CHANNAO TECHNOLOGY CO.,LTD. Country or region after: China Address before: 310012 A Block 12, Building D, Paradise Software Park, 3 Xidoumen Road, Xihu District, Hangzhou City, Zhejiang Province Patentee before: HANGZHOU QUANWEI TECHNOLOGY CO.,LTD. Country or region before: China |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240418 Address after: 400700 Chongqing District of Beibei City, the town of salt dam No. 1 Patentee after: CHONGQING HUAWEI INDUSTRY (Group) Co.,Ltd. Country or region after: China Address before: Room 218-006, Jiangxi Caichuang Industrial Park, No. 32 Mopanshan North Road, Wanli, Nanchang City, Jiangxi Province, 330000 Patentee before: NANCHANG CHANNAO TECHNOLOGY CO.,LTD. Country or region before: China |