CN113254034A - Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof - Google Patents

Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof Download PDF

Info

Publication number
CN113254034A
CN113254034A CN202110630778.0A CN202110630778A CN113254034A CN 113254034 A CN113254034 A CN 113254034A CN 202110630778 A CN202110630778 A CN 202110630778A CN 113254034 A CN113254034 A CN 113254034A
Authority
CN
China
Prior art keywords
burning
upper computer
data
encryption
burning device
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.)
Pending
Application number
CN202110630778.0A
Other languages
Chinese (zh)
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 Weilaixin Technology Co ltd
Original Assignee
Shenzhen Weilaixin Technology 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 Weilaixin Technology Co ltd filed Critical Shenzhen Weilaixin Technology Co ltd
Priority to CN202110630778.0A priority Critical patent/CN113254034A/en
Publication of CN113254034A publication Critical patent/CN113254034A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • G06F21/123Restricting unauthorised execution of programs by using dedicated hardware, e.g. dongles, smart cards, cryptographic processors, global positioning systems [GPS] devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The invention provides an encryption method and an encryption process for upgrading burning of a vehicle-mounted terminal system, and relates to the technical field of burning, wherein the method comprises a burning device, the burning device comprises a burning controller, an indicator light, an upper computer, a power supply and a key controller, and the method process of the burning device is as follows: sp 1: the burning device is connected to the upper computer of the computer through a USB interface; sp 2: determining burning data of equipment to be burned; sp 3: encrypting the recorded burning data, inputting the encrypted data into an upper computer, and encrypting the whole burning process; sp 4: when the burning starts, the burning state is determined by observing the color display of the indicator light; sp 5: and after the single burning device finishes burning, continuing to burn the next burning device. The invention solves the problem of encryption of the burning device in the burning process, can realize a burning device capable of being inserted into a plurality of ST-Li nk, and improves the production benefit of the burning device.

Description

Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof
Technical Field
The invention relates to the technical field of burning, in particular to an upgrading burning encryption method and an encryption process for a vehicle-mounted terminal system.
Background
Chip burning is to burn files containing program codes, such as Hex files, Bin files and the like, into a chip program memory, so that the chip can work. Chip burning requires burner software and burner hardware. The function of the burner software is to issue the burning file to the burner hardware, the burner hardware stores the file and burns the data of the file into the chip, if the burner hardware has the storage function, the off-line burning can be realized, and the batch burning is convenient. The hardware of the burner can realize the control of the burning times. The hardware of the burner of the patent needs a storage function.
The terminal client is the party which is finally burned and produced in batch, the party needing to burn the file can burn the file, the burned file needs to be requested to a developer, the developer needs to protect the own rights and interests after the agreement of the two parties, the burned file needs to be encrypted and can not be burned unlimitedly, and therefore a method capable of encrypting the burned file and limiting the burning times is needed. The encryption of the burning file refers to the fact that the burning file is encrypted through an encryption algorithm by means of an encryption client, so that the benefits of a chip scheme developer are protected, the burning file is prevented from being exposed, and the scheme of the developer is revealed. And the burner software decrypts the burning encrypted file and burns the burning encrypted file.
At present, the number of burning times is limited in the market, most of the realization methods are that only one burning device corresponds to one burning device, and information leakage may occur in the burning process.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides an upgrading burning encryption method and an encryption process of a vehicle-mounted terminal system, which solve the problem of encrypting a burning device in the burning process, can realize a burning device capable of being inserted into a plurality of ST-links and improve the production benefit of the burning device.
In order to achieve the purpose, the invention is realized by the following technical scheme: the vehicle-mounted terminal system upgrading burning encryption method comprises a burning device, wherein the burning device comprises a burning controller, an indicator light, an upper computer, a power supply and a key controller, and the method comprises the following steps:
the burning device is connected to an upper computer of the computer through a USB interface, the upper computer controls each ST-Link and communicates with a burning device controller to control a power supply, an indicator light and a key controller of the burning device;
determining burning data of equipment to be burned, and recording the burning data through an upper computer;
encrypting the recorded burning data, inputting the encrypted data into an upper computer, and encrypting the whole burning process;
when the burning starts, the burning state is determined by observing the color display of the indicator light;
and after the burning of the single burning device is finished, continuing to burn the next burning device, burning according to the same burning mode, and re-recording the burning data and the encrypted data for different burning devices by adopting the encrypted data and the burning data of the first burning device.
Preferably, when the burning is started and the burning state is observed through the indicator lamps, different indicator lamps correspond to different burning states, the indicator lamps are green when the burning normally runs in the burning process, and the green of the indicator lamps gradually becomes dark along with the lapse of the burning time until the indicator lamps are turned off when the burning is finished; when the burning is wrong, the indicator light is red, and the burning is carried out at once, and the burning error is uploaded to the upper computer.
Preferably, the control of the whole burning process by the key controller includes the operations of starting, stopping and resetting, the burning process is started by a start key in the key controller, the burning process is stopped by a stop key in the key controller when a system error or an artificial error occurs in the burning process, and the burning process is completed and the burning process is ready for the burning process of the next burning device by the resetting operation of the key controller when the burning process is completed.
Preferably, the burning device comprises multiple paths of ST-links, the upper computer can identify and distinguish the paths of ST-links in the burning process, in the burning device, the ST-links are connected to the chip holder through a serial bus, the chip holder is used for placing a chip to be burned, and each ST-Link is correspondingly connected with one chip holder.
The invention also provides an upgrading, burning and encrypting process of the vehicle-mounted terminal system, which comprises the following steps:
before burning begins, the upper computer is connected with a burning device, a user key is generated through a user side of the upper computer, and the user key is transmitted to a burning encryption client side;
when in burning, the burning device is unlocked through the key, meanwhile, an encryption applet is arranged on the burning device, after the burning device is unlocked, burning data is encrypted through the encryption applet, and before each start, burning data in the encryption applet is unlocked and then the burning device is unlocked;
each path of ST-Link is distinguished and identified through the unique code of the ST-Link, the ST-Link encrypted data connected with each burning device are different, each path of ST-Link is independently controlled through an upper computer, a firmware file is loaded, a chip is identified, burning time sequence logic is completed, and the off-line burning function of the chip is realized;
and installing a real-time monitoring system on the upper computer of the computer, monitoring the burning process in real time, monitoring the burning environment in real time, and if abnormity occurs, immediately stopping the burning device and encrypting the burning device by the upper computer system.
Preferably, the ST-Link flow includes whole chip erasing, erasing by sector, firmware flashing, rewriting data by byte, data flashing verification, storage content verification, optinbytes reading and writing, register reading and writing, and the like. .
The invention provides an upgrading burning encryption method and an encryption process for a vehicle-mounted terminal system, which have the following beneficial effects:
1. the invention designs a burning device which can be accessed to a plurality of ST-links simultaneously, supports the writing and brushing of a plurality of paths of chips by identifying unique codes of different ST-links, realizes the writing and brushing of multi-path multi-firmware differentiation, has strong practicability, reduces operation steps and reduces operation error rate after being used on a factory production line; the design of multichannel differentiation can be applicable to multiple different product lines, also can solve production efficiency's bottleneck problem.
2. The invention effectively prevents the encrypted data to be burned from being cracked or pirated to other equipment to be burned by encrypting the burning device and encrypting the burning data, thereby reducing the probability of cracking or pirating the data to be burned and effectively improving the safety of the data to be burned.
Drawings
FIG. 1 is a flowchart of a burning encryption method according to the present invention;
FIG. 2 is a flowchart of the burning encryption method of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
the vehicle-mounted terminal system upgrading burning encryption method comprises a burning device, wherein the burning device comprises a burning controller, an indicator light, an upper computer, a power supply and a key controller, and the method flow of the burning device is as follows:
sp 1: the burning device is connected to an upper computer of the computer through a USB interface, and the upper computer can control each ST-Link and can also communicate with a burning device controller to control a power supply, an indicator light and a key controller of the burning device;
sp 2: determining burning data of equipment to be burned, and recording the burning data through an upper computer;
sp 3: encrypting the recorded burning data, inputting the encrypted data into an upper computer, and encrypting the whole burning process;
sp 4: when the burning starts, the burning state is determined by observing the color display of the indicator light;
sp 5: and after the burning of the single burning device is finished, continuing to burn the next burning device, burning according to the same burning mode, and re-recording the burning data and the encrypted data for different burning devices by adopting the encrypted data and the burning data of the first burning device. When the burning is started and the burning state is observed through the indicating lamp, different indicating lamps correspond to different burning states, the indicating lamp is green when the burning normally runs in the burning process, and the green of the indicating lamp gradually becomes dark along with the lapse of the burning time until the indicating lamp is turned off when the burning is finished; when the burning is wrong, the indicator light is red, and the burning is carried out at once, and the burning error is uploaded to the upper computer.
The control of the whole burning process in the key controller comprises the operations of starting, stopping, resetting and the like, the burning process is started through a starting key in the key controller, the burning process is stopped through a stopping key in the key controller when a system error or an artificial error occurs, and the burning process is finished when the burning process is ready for the burning of the next burning device and the resetting operation of the key controller is carried out.
The burning device comprises a plurality of paths of ST-links, the upper computer can identify and distinguish the paths of ST-links in the burning process, the ST-links are connected to the chip holder through a serial bus in the burning device, the chip holder is used for placing a chip to be burned, and each ST-Link is correspondingly connected with one chip holder. The invention designs a burning device which can be accessed to a plurality of ST-links simultaneously, supports the writing and brushing of a plurality of paths of chips by identifying unique codes of different ST-links, realizes the writing and brushing of multi-path multi-firmware differentiation, has strong practicability, reduces operation steps and reduces operation error rate after being used on a factory production line; the design of multichannel differentiation can be applicable to multiple different product lines, also can solve production efficiency's bottleneck problem.
Example two:
the vehicle-mounted terminal system upgrading burning encryption process comprises the following steps:
sp 1: before burning begins, the upper computer is connected with a burning device, a user key is generated through a user side of the upper computer, and the user key is transmitted to a burning encryption client side;
sp 2: when in burning, the burning device is unlocked through the key, meanwhile, an encryption applet is arranged on the burning device, after the burning device is unlocked, burning data is encrypted through the encryption applet, and before each start, burning data in the encryption applet is unlocked and then the burning device is unlocked;
sp 3: each path of ST-Link is distinguished and identified through the unique code of the ST-Link, the ST-Link encrypted data connected with each burning device are different, each path of ST-Link is independently controlled through an upper computer, a firmware file is loaded, a chip is identified, burning time sequence logic is completed, and the off-line burning function of the chip is realized;
sp 4: and installing a real-time monitoring system on the upper computer of the computer, monitoring the burning process in real time, monitoring the burning environment in real time, and if abnormity occurs, immediately stopping the burning device and encrypting the burning device by the upper computer system.
The ST-Link tool comprises whole chip erasing, sector erasing, firmware flashing, byte rewriting data, flash data checking, storage content checking, optional bytes reading and writing, register reading and writing and the like. The conditions that encrypted data to be burned is cracked or pirated to other equipment to be burned are effectively prevented by encrypting the burning device and encrypting the burning data, so that the probability that the data to be burned is cracked or pirated is reduced, the safety of the data to be burned is effectively improved, meanwhile, the upper computer of the computer is connected with the burning device through a USB (universal serial bus), each ST-Link is distinguished and identified through the unique code of the ST-Link, the upper computer independently controls each ST-Link, loads a firmware file, identifies a chip and completes burning time sequence logic, the off-line burning function of the chip is realized, the upper computer of the computer can realize functions such as networking monitoring and the like, the production condition of a production line can be monitored in real time, the system also has the functions of firmware safety control, seamless butt joint upgrading and the like, and the safety and the efficiency of the production line can be improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a reference structure" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. The vehicle-mounted terminal system upgrading burning encryption method comprises a burning device and is characterized in that: the burning device comprises a burning controller, an indicator light, an upper computer, a power supply and a key controller, and the method comprises the following steps:
the burning device is connected to an upper computer of the computer through a USB interface, the upper computer controls each ST-Link and communicates with a burning device controller to control a power supply, an indicator light and a key controller of the burning device;
determining burning data of equipment to be burned, and recording the burning data through an upper computer;
encrypting the recorded burning data, inputting the encrypted data into an upper computer, and encrypting the whole burning process;
when the burning starts, the burning state is determined by observing the color display of the indicator light;
and after the burning of the single burning device is finished, continuing to burn the next burning device, burning according to the same burning mode, and re-recording the burning data and the encrypted data for different burning devices by adopting the encrypted data and the burning data of the first burning device.
2. The vehicle-mounted terminal system upgrading burning encryption method according to claim 1, characterized in that: when the burning is started and the burning state is observed through the indicating lamp, different indicating lamps correspond to different burning states, the indicating lamp is green when the burning normally runs in the burning process, and the green of the indicating lamp gradually becomes dark along with the lapse of the burning time until the indicating lamp is turned off when the burning is finished; when the burning is wrong, the indicator light is red, and the burning is carried out at once, and the burning error is uploaded to the upper computer.
3. The vehicle-mounted terminal system upgrading burning encryption method according to claim 1, characterized in that: the control of the whole burning process in the key controller comprises the operations of starting, stopping and resetting, the burning process is started through a starting key in the key controller, the burning process is stopped through a stopping key in the key controller when a system error or an artificial error occurs, and the burning process is finished when the burning process is ready for the burning of the next burning device and the resetting operation of the key controller is carried out.
4. The vehicle-mounted terminal system upgrading burning encryption method according to claim 1, characterized in that: the burning device comprises a plurality of paths of ST-links, the upper computer can identify and distinguish the paths of ST-links in the burning process, the ST-links are connected to the chip holder through a serial bus in the burning device, the chip holder is used for placing a chip to be burned, and each ST-Link is correspondingly connected with one chip holder.
5. Vehicle-mounted terminal system upgrades burns record encryption flow, its characterized in that: the encryption flow process comprises the following steps:
before burning begins, the upper computer is connected with a burning device, a user key is generated through a user side of the upper computer, and the user key is transmitted to a burning encryption client side;
when in burning, the burning device is unlocked through the key, meanwhile, an encryption applet is arranged on the burning device, after the burning device is unlocked, burning data is encrypted through the encryption applet, and before each start, burning data in the encryption applet is unlocked and then the burning device is unlocked;
each path of ST-Link is distinguished and identified through the unique code of the ST-Link, the ST-Link encrypted data connected with each burning device are different, each path of ST-Link is independently controlled through an upper computer, a firmware file is loaded, a chip is identified, burning time sequence logic is completed, and the off-line burning function of the chip is realized;
and installing a real-time monitoring system on the upper computer of the computer, monitoring the burning process in real time, monitoring the burning environment in real time, and if abnormity occurs, immediately stopping the burning device and encrypting the burning device by the upper computer system.
6. The vehicle-mounted terminal system upgrading, burning and encrypting process according to claim 5, characterized in that: the ST-Link flow comprises whole chip erasing, erasing according to sector, firmware flashing, rewriting data according to byte, data flashing verification, storage content verification, optional bytes reading and writing and register reading and writing.
CN202110630778.0A 2021-06-07 2021-06-07 Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof Pending CN113254034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110630778.0A CN113254034A (en) 2021-06-07 2021-06-07 Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110630778.0A CN113254034A (en) 2021-06-07 2021-06-07 Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof

Publications (1)

Publication Number Publication Date
CN113254034A true CN113254034A (en) 2021-08-13

Family

ID=77186732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110630778.0A Pending CN113254034A (en) 2021-06-07 2021-06-07 Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof

Country Status (1)

Country Link
CN (1) CN113254034A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069350A (en) * 2015-08-24 2015-11-18 上海繁易电子科技有限公司 Encryption method and apparatus for embedded operating system
CN106529309A (en) * 2016-09-19 2017-03-22 芯海科技(深圳)股份有限公司 Method for limiting programming number of programmer by encrypting programming file
CN107729723A (en) * 2017-11-08 2018-02-23 深圳市希顿科技有限公司 A kind of integrated circuit burning program method and programming system
CN107844317A (en) * 2017-11-21 2018-03-27 武汉精测电子集团股份有限公司 A kind of multi-functional SPI flash method for burn-recording and cd-rom recorder
CN109901851A (en) * 2019-02-28 2019-06-18 广州小鹏汽车科技有限公司 A kind of firmware burning system and method
CN109918933A (en) * 2019-03-15 2019-06-21 广州市星翼电子科技有限公司 A method of prevent stolen listen of burning data from stealing by encryption programming port
CN209962239U (en) * 2019-04-08 2020-01-17 新灵电子技术开发(深圳)有限公司 Chip burning system capable of protecting intellectual property and used on production line
CN111142947A (en) * 2019-12-21 2020-05-12 广州小鹏汽车科技有限公司 Chip firmware presetting method and device, presetting equipment and server
CN111625248A (en) * 2020-06-01 2020-09-04 杭州万高科技股份有限公司 Programming device and encryption programming method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105069350A (en) * 2015-08-24 2015-11-18 上海繁易电子科技有限公司 Encryption method and apparatus for embedded operating system
CN106529309A (en) * 2016-09-19 2017-03-22 芯海科技(深圳)股份有限公司 Method for limiting programming number of programmer by encrypting programming file
CN107729723A (en) * 2017-11-08 2018-02-23 深圳市希顿科技有限公司 A kind of integrated circuit burning program method and programming system
CN107844317A (en) * 2017-11-21 2018-03-27 武汉精测电子集团股份有限公司 A kind of multi-functional SPI flash method for burn-recording and cd-rom recorder
CN109901851A (en) * 2019-02-28 2019-06-18 广州小鹏汽车科技有限公司 A kind of firmware burning system and method
CN109918933A (en) * 2019-03-15 2019-06-21 广州市星翼电子科技有限公司 A method of prevent stolen listen of burning data from stealing by encryption programming port
CN209962239U (en) * 2019-04-08 2020-01-17 新灵电子技术开发(深圳)有限公司 Chip burning system capable of protecting intellectual property and used on production line
CN111142947A (en) * 2019-12-21 2020-05-12 广州小鹏汽车科技有限公司 Chip firmware presetting method and device, presetting equipment and server
CN111625248A (en) * 2020-06-01 2020-09-04 杭州万高科技股份有限公司 Programming device and encryption programming method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈景郁等: "基于ST-Link的STM32单片机多路固件烧录方法研究", 《机电信息》 *

Similar Documents

Publication Publication Date Title
CN103502932B (en) For verifying the embedded controller of CRTM
CN105069350B (en) Encryption method and device for embedded operating system
CN101349997A (en) Method for writing data into storage on chip and system thereof
CN110990045A (en) double-BMC FLASH upgrading method and equipment
EA012921B1 (en) Method and device for protecting software from unauthorized use
CN102436388A (en) Method and device for upgrading software of embedded system
JP7096829B2 (en) How and system to verify data deletion process
CN101089867A (en) Method for preventing illegal using software
US7363507B2 (en) Device and method of preventing pirated copies of computer programs
CN101308538A (en) Method and apparatus for checking integrity of firmware
CN109284114A (en) The automatic method for burn-recording of programmable chip in embedded system
CN104036194B (en) Vulnerability detection method and device for revealing private data in application program
JPH09506460A (en) Safe updating method for EEPROM memory
CN103995723A (en) IVI system firmware updating method and device based on mobile storage equipment
CN104407891A (en) Burning method for equipment unique identification code
CN1555557A (en) Writing device, semiconductor memory card, program, and method
US10877830B1 (en) Remote storage device destruction
CN102971984B (en) Method for authenticating a storage device and host device
CN113254034A (en) Vehicle-mounted terminal system upgrading burning encryption method and encryption process thereof
CN109614118B (en) SPI Flash firmware burning method and device
CN109753770A (en) Determine method and device, method for burn-recording and device, the electronic equipment of burning data
CN114021081A (en) Product software authorization system and method
CN108427895A (en) Data of magnetic disk array protects system and method
CN116991671A (en) DCS controller and trusted start audit log recording method and system thereof
US7143248B2 (en) Systems and methods for restoring critical data to computer long-term memory device controllers

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210813