CN104683105A - Remote encryption, decryption and writing processing method for MCU writer - Google Patents

Remote encryption, decryption and writing processing method for MCU writer Download PDF

Info

Publication number
CN104683105A
CN104683105A CN201410245998.1A CN201410245998A CN104683105A CN 104683105 A CN104683105 A CN 104683105A CN 201410245998 A CN201410245998 A CN 201410245998A CN 104683105 A CN104683105 A CN 104683105A
Authority
CN
China
Prior art keywords
mcu
fever writes
encryption
binary file
client
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
CN201410245998.1A
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.)
Mai Siwei Will Science And Technology Ltd Of Shenzhen
Original Assignee
Mai Siwei Will Science And Technology Ltd Of Shenzhen
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 Mai Siwei Will Science And Technology Ltd Of Shenzhen filed Critical Mai Siwei Will Science And Technology Ltd Of Shenzhen
Priority to CN201410245998.1A priority Critical patent/CN104683105A/en
Publication of CN104683105A publication Critical patent/CN104683105A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses remote encryption, decryption and writing processing methods for an MCU writer. The encryption method comprises the following steps: (a) generating an encryption key corresponding to a name password of the MCU writer by a host end special control software according to the name password of the writer; (b) firstly encrypting an original data code by the encryption key; (c) further encrypting the encrypted data or the code by the host end special control software, and converting into a binary file which can be provided for a client and can be processed by the client; (d) placing the encrypted binary file on an Internet host for remote downloading. By adoption of the host end special control software, a client end special control software and Internet transmission, remote encryption control of the MCU writer is realized; back-and-forth object express delivery of the MCU writer is avoided, and the authorization operating efficiency of the data code is greatly improved.

Description

MCU fever writes remote encryption, deciphering and programming processing method
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of MCU fever writes remote encryption, deciphering and programming processing method.
Background technology
Present general approach business, when carrying out software programming mandate to client, can arrange a quantity and be encrypted in fever writes, then MCU fever writes is sent to client to carry out batch programming on product line.When producing line writing quantity and reaching authorized quantity, when need continue programming as client or have new other products to need programming, fever writes need be returned and again authorize to scheme business or separately authorize by client.So, operational paradigm can reduce, and particularly external client's operational paradigm will be lower.
    
Summary of the invention
For the weak point existed in above-mentioned technology, the invention provides a kind of utilize web download technical operation MCU fever writes remote encryption, deciphering and programming processing method.
For achieving the above object, the invention provides a kind of MCU fever writes remote encryption method, comprise the following steps:
A), first control special-purpose software according to the title password of MCU fever writes by host side and generate the encryption key corresponding with fever writes title password;
B), initial data code is first encrypted through cryptographic keys;
C), host side controls special-purpose software and converts the data after this encryption or code to a binary file that can be supplied to client and also can be undertaken processing by client through further encrypting;
D), this encrypted binary file is positioned in internet host for remote download.
Wherein, in step a, the step that host side controls special-purpose software generation cryptographic keys comprises:
A1), whether the title checking MCU fever writes is consistent with the fever writes title prestored in database; If consistent, enter next step, if inconsistent, prompting user re-enters correct title;
A2), whether the password checking MCU fever writes is consistent with the fever writes password prestored in database; If consistent, enter next step, if inconsistent, prompting user re-enters correct title;
A3), according to the MCU fever writes title prestored and password, generate the cryptographic keys corresponding with this MCU fever writes.
For achieving the above object, the present invention also provides a kind of MCU fever writes long-range decryption method, comprises the following steps:
A), client computer is installed client control special-purpose software and is read the encrypted binary file of being sent by the Internet;
B), client controls special-purpose software and is decrypted process by cryptographic keys to this binary file; And be reduced into target data or the code of encryption;
C), client computer connects upper target MCU fever writes, and by the data of having encrypted or code transfer in MCU fever writes.
Wherein, in stepb, client controls special-purpose software and binary file to be decrypted and the step of the target data or code that are reduced into encryption comprises:
B1), whether completely check binary file, if complete, enter next step, if imperfect, prompting user downloads binary file again;
B2), whether the binary file checking download is consistent with programming demand; If consistent, enter next step, if inconsistent, prompting user downloads correct binary file again;
B3), by cryptographic keys binary file be decrypted and be reduced into target data or the code of encryption.
For achieving the above object, the present invention also provides a kind of programming processing method of MCU fever writes, comprises the following steps:
A), fever writes receives the data that client computer is downloaded;
B), fever writes batch carries out programming process to data according to corresponding programming product;
C), fever writes to be decrypted by cryptographic keys the data after process and to be recovered to initial data or object code;
D), initial data or object code write in the FLASH provided for oneself in the mode of encryption by this MCU fever writes;
E), MCU fever writes is from providing FLASH the initial data or object code that read encryption for oneself, and after deciphering, programming enters to produce in the MCU chip of line product.
The invention has the beneficial effects as follows: compared with prior art, MCU fever writes remote encryption provided by the invention, deciphering and programming processing method, the remote encryption adopting the transmission of the special control software design of host side, the special control software design of client and the Internet to realize MCU fever writes controls, avoid the express delivery of object back and forth of MCU fever writes, greatly increase the authorization operation efficiency of data code.Because secret grade is high, greatly protect the software of scheme business or the exlusive right of data code especially.
 
Accompanying drawing explanation
Fig. 1 is the flow chart of MCU fever writes remote encryption method of the present invention;
Fig. 2 is the flow chart of the long-range decryption method of MCU fever writes of the present invention;
Fig. 3 is the flow chart of the programming processing method of MCU fever writes of the present invention.
 
Embodiment
In order to more clearly state the present invention, below in conjunction with accompanying drawing, the present invention is further described.
MCU (Micro Control Unit) Chinese is micro-control unit, also known as one chip microcomputer (Single Chip Microcomputer) or single-chip microcomputer, refer to the appearance along with large scale integrated circuit and development thereof, by the CPU of computer, RAM, ROM, timer conter and multiple I/O Interface integration on one chip, form the computer of chip-scale, do various combination for different application scenarios and control.
Fever writes is also cd-rom recorder, programmable device.In Taiwan, fever writes is also cd-rom recorder; Behind continent, why client makes it be that this English name is of the same name with generally writing software program designer because English is called PROGRAMMER now for " programmable device ", so just cry " programmable device ".Fever writes is actually the instrument that is write programmable integrated circuit data, and cd-rom recorder is mainly used in the programming (or claiming to write with a brush dipped in Chinese ink) of the chip of single-chip microcomputer (containing embedded)/memory (containing BIOS) and so on.
Refer to Fig. 1, MCU fever writes remote encryption method of the present invention, comprises the following steps:
A), first control special-purpose software according to the title password of MCU fever writes by host side and generate the encryption key corresponding with fever writes title password;
B), initial data code is first encrypted through cryptographic keys;
C), host side controls special-purpose software and converts the data after this encryption or code to a binary file that can be supplied to client and also can be undertaken processing by client through further encrypting;
D), this encrypted binary file is positioned in internet host for remote download.
In step a, the step that host side controls special-purpose software generation cryptographic keys comprises:
A1), whether the title checking MCU fever writes is consistent with the fever writes title prestored in database; If consistent, enter next step, if inconsistent, prompting user re-enters correct title;
A2), whether the password checking MCU fever writes is consistent with the fever writes password prestored in database; If consistent, enter next step, if inconsistent, prompting user re-enters correct title;
A3), according to the MCU fever writes title prestored and password, generate the cryptographic keys corresponding with this MCU fever writes.
Refer to Fig. 2, the present invention also provides a kind of MCU fever writes long-range decryption method, comprises the following steps:
A), client computer is installed client control special-purpose software and is read the encrypted binary file of being sent by the Internet;
B), client controls special-purpose software and is decrypted process by cryptographic keys to this binary file; And be reduced into target data or the code of encryption;
C), client computer connects upper target MCU fever writes, and by the data of having encrypted or code transfer in MCU fever writes.
In stepb, client controls special-purpose software and binary file to be decrypted and the step of the target data or code that are reduced into encryption comprises:
B1), whether completely check binary file, if complete, enter next step, if imperfect, prompting user downloads binary file again;
B2), whether the binary file checking download is consistent with programming demand; If consistent, enter next step, if inconsistent, prompting user downloads correct binary file again;
B3), by cryptographic keys binary file be decrypted and be reduced into target data or the code of encryption.
Refer to Fig. 3, the present invention also provides a kind of programming processing method of MCU fever writes, comprises the following steps:
A), fever writes receives the data that client computer is downloaded;
B), fever writes batch carries out programming process to data according to corresponding programming product;
C), fever writes to be decrypted by cryptographic keys the data after process and to be recovered to initial data or object code;
D), initial data or object code write in the FLASH provided for oneself in the mode of encryption by this MCU fever writes;
E), MCU fever writes is from providing FLASH the initial data or object code that read encryption for oneself, and after deciphering, programming enters to produce in the MCU chip of line product.
Advantage of the present invention is: MCU fever writes remote encryption provided by the invention, deciphering and programming processing method, the remote encryption adopting the transmission of the special control software design of host side, the special control software design of client and the Internet to realize MCU fever writes controls, avoid the express delivery of object back and forth of MCU fever writes, greatly increase the authorization operation efficiency of data code.Because secret grade is high, greatly protect the software of scheme business or the exlusive right of data code especially.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (5)

1. a MCU fever writes remote encryption method, is characterized in that, comprise the following steps:
A), first control special-purpose software according to the title password of MCU fever writes by host side and generate the encryption key corresponding with fever writes title password;
B), initial data code is first encrypted through cryptographic keys;
C), host side controls special-purpose software and converts the data after this encryption or code to a binary file that can be supplied to client and also can be undertaken processing by client through further encrypting;
D), this encrypted binary file is positioned in internet host for remote download.
2. MCU fever writes remote encryption method according to claim 1, is characterized in that,
In step a, the step that host side controls special-purpose software generation cryptographic keys comprises:
A1), whether the title checking MCU fever writes is consistent with the fever writes title prestored in database; If consistent, enter next step, if inconsistent, prompting user re-enters correct title;
A2), whether the password checking MCU fever writes is consistent with the fever writes password prestored in database; If consistent, enter next step, if inconsistent, prompting user re-enters correct title;
A3), according to the MCU fever writes title prestored and password, generate the cryptographic keys corresponding with this MCU fever writes.
3. the long-range decryption method of MCU fever writes, is characterized in that, comprise the following steps:
A), client computer is installed client control special-purpose software and is read the encrypted binary file of being sent by the Internet;
B), client controls special-purpose software and is decrypted process by cryptographic keys to this binary file; And be reduced into target data or the code of encryption;
C), client computer connects upper target MCU fever writes, and by the data of having encrypted or code transfer in MCU fever writes.
4. the long-range decryption method of MCU fever writes according to claim 3, is characterized in that,
In stepb, client controls special-purpose software and binary file to be decrypted by cryptographic keys and the step of the target data or code that are reduced into encryption comprises:
B1), whether completely check binary file, if complete, enter next step, if imperfect, prompting user downloads binary file again;
B2), whether the binary file checking download is consistent with programming demand; If consistent, enter next step, if inconsistent, prompting user downloads correct binary file again;
B3), by cryptographic keys binary file be decrypted and be reduced into target data or the code of encryption.
5. a programming processing method for MCU fever writes, is characterized in that, comprise the following steps:
A), fever writes receives the data that client computer is downloaded;
B), fever writes batch carries out programming process to data according to corresponding programming product;
C), fever writes to be decrypted by cryptographic keys the data after process and to be recovered to initial data or object code;
D), initial data or object code write in the FLASH provided for oneself in the mode of encryption by this MCU fever writes;
E), MCU fever writes is from providing FLASH the initial data or object code that read encryption for oneself, and after deciphering, programming enters to produce in the MCU chip of line product.
CN201410245998.1A 2014-06-05 2014-06-05 Remote encryption, decryption and writing processing method for MCU writer Pending CN104683105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410245998.1A CN104683105A (en) 2014-06-05 2014-06-05 Remote encryption, decryption and writing processing method for MCU writer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410245998.1A CN104683105A (en) 2014-06-05 2014-06-05 Remote encryption, decryption and writing processing method for MCU writer

Publications (1)

Publication Number Publication Date
CN104683105A true CN104683105A (en) 2015-06-03

Family

ID=53317739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410245998.1A Pending CN104683105A (en) 2014-06-05 2014-06-05 Remote encryption, decryption and writing processing method for MCU writer

Country Status (1)

Country Link
CN (1) CN104683105A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181593A (en) * 2017-06-05 2017-09-19 上海爱信诺航芯电子科技有限公司 A kind of microcontroller object code guard method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201707918U (en) * 2009-12-10 2011-01-12 上海格州电子有限公司 Programming system of microcontroller
CN102750982A (en) * 2012-06-25 2012-10-24 上海大雨电子技术有限公司 Burning method and system of encrypted memory chip
CN202694351U (en) * 2012-05-28 2013-01-23 熊斌 Programmer
CN103294496A (en) * 2012-02-29 2013-09-11 新唐科技股份有限公司 Burning system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201707918U (en) * 2009-12-10 2011-01-12 上海格州电子有限公司 Programming system of microcontroller
CN103294496A (en) * 2012-02-29 2013-09-11 新唐科技股份有限公司 Burning system
CN202694351U (en) * 2012-05-28 2013-01-23 熊斌 Programmer
CN102750982A (en) * 2012-06-25 2012-10-24 上海大雨电子技术有限公司 Burning method and system of encrypted memory chip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181593A (en) * 2017-06-05 2017-09-19 上海爱信诺航芯电子科技有限公司 A kind of microcontroller object code guard method and system

Similar Documents

Publication Publication Date Title
TWI747836B (en) Device birth certificate
KR101712784B1 (en) System and method for key management for issuer security domain using global platform specifications
TWI817930B (en) Device programming system with device authentication
CN1248100C (en) Encryption communication system for generating passwords on basis of start information on both parties of communication
CN113302954A (en) Generating virtual numbers for virtual cards with on-demand applications to securely auto-populate forms
CN107659632A (en) A kind of file encryption-decryption method, device and computer-readable recording medium
EP3198781A2 (en) Techniques for distributing secret shares
CN101373440B (en) Method and device for processing firmware upgrading data
CN101578608B (en) Methods and apparatuses for accessing content based on a session ticket
CN103198247B (en) A kind of computer safety protective method and system
CN112612486B (en) Memory burning method and device and chip to be burned
CN101419557A (en) Program downloading control method
CN108073799A (en) Semiconducter memory system and its operating method
CN103246832B (en) Microprocessor chip with anti-copy function and recording system thereof
TW202036384A (en) Cryptography chip with identity verification
KR101583514B1 (en) UBS Security Device with Smart Card and Memory Card and Finger Print Sensor of Install Type and Security Method thereof
US10242175B2 (en) Method and system for authentication of a storage device
CN106326690B (en) Key protectors and cryptographic key protection method
CN104683105A (en) Remote encryption, decryption and writing processing method for MCU writer
CN109150813A (en) A kind of verification method and device of equipment
CN107070658B (en) Improved method of system encryption authentication mechanism
CN107358067B (en) Method for realizing encryption and decryption by deriving SCK with L icense in dongle
CN202694351U (en) Programmer
CN109426727A (en) Data ciphering method, decryption method, encryption system and decryption system
CN112054890B (en) Screen configuration file export and import method and device and broadcasting control equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150603