CN107609415A - A kind of equipment Serial Number write protection method - Google Patents
A kind of equipment Serial Number write protection method Download PDFInfo
- Publication number
- CN107609415A CN107609415A CN201710881661.3A CN201710881661A CN107609415A CN 107609415 A CN107609415 A CN 107609415A CN 201710881661 A CN201710881661 A CN 201710881661A CN 107609415 A CN107609415 A CN 107609415A
- Authority
- CN
- China
- Prior art keywords
- equipment
- sequence number
- encryption
- sequence
- write
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000004891 communication Methods 0.000 claims description 6
- 230000004913 activation Effects 0.000 abstract description 13
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
A kind of equipment Serial Number write protection method, comprises the following steps:Step 1. is programmed into encryption subprogram in the movable memory equipment for being stored with some sequence numbers, and the encryption subprogram can only encrypt once to specific sequence number;Decryption program corresponding with encipheror is programmed into equipment or the number of writing instrument;Step 2. number of writing instrument, to each legal sequence number, calls encryption subprogram to form ciphertext to legal serial number encryption, and ciphertext and sequence number are sent jointly into equipment in plain text from when can read single legal sequence in storage device;Step 3. equipment is decrypted to ciphertext, is contrasted in plain text with sequence number, and matching completely mismatches then by sequence number plaintext write device and then terminates write-in.The present invention, using encryption contrast write-in control is forced, only allows unique single of legal sequence number to write, so as to pass through the activation number for counting equipment using number of sequence number for sequence number.
Description
Technical field
The invention belongs to electronic communication field, it is related to the activation application method of a kind of electronic equipment, and in particular to Yi Zhongshe
Standby sequence number write protection method.
Background technology
Electronic communication class product usually requires write-in string number(Serial Number), such as IMEI/MEID could normal work
Make and use, the number section sequence number is distributed by telecommunication terminal measuring technology association of international organization, has unique mark device id
Function, the identification code and other information of each manufacturer are included in number section.It is by upper to write string in general method in the prior art
Position machine PC softwares connect equipment by USB interface, then with the modes such as diagnostic command and serial communication, and use plaintext
Mode writes, and this mode makes a string number to be used for multiple times, and for the research and development company for equipment, product is typically sold to
Client company, if client company can reuse the number of writing, equipment research and development company can not accurate statistics product sales volume,
Assurance promptly and accurately is also difficult to sale progress.
The content of the invention
To overcome technological deficiency existing for prior art, the invention discloses a kind of equipment Serial Number write protection method.
Equipment Serial Number write protection method of the present invention, comprises the following steps:
Step 1. is programmed into encryption equal with sequence number quantity in the movable memory equipment for being stored with some sequence numbers
Program, the encryption subprogram can only be to serial number encryption once;Decryption program corresponding with encipheror is programmed into equipment
Or in the number of writing instrument, the output result of the decryption program controls the write-in to equipment Serial Number;
Step 2. number of writing instrument, to each legal sequence number, calls one from when can read single legal sequence in storage device
Individual encryption subprogram forms ciphertext to legal serial number encryption, and ciphertext and sequence number are sent jointly into equipment in plain text;
Step 3, equipment is decrypted to ciphertext, is contrasted in plain text with sequence number, matching is then by sequence number plaintext write device completely, no
Matching then terminates write-in.
Preferably, the movable memory equipment in the step 1 is stored with prestore sequence number value and judge module, the step
In rapid 2, often encrypt once, the sequence number value that prestores subtracts 1, and in the step 2 before sequence number is read, the number of writing instrument is to judging
Module sends CIPHERING REQUEST, and judge module detects after receiving request to the sequence number value that prestores, and when prestoring, sequence number value is
When zero, judge module refusal request, otherwise agree to ask and call encryption subprogram encryption output.
Preferably, the equipment is communication equipment.
Preferably, the movable memory equipment is USB flash disk.
Preferably, the number of the writing instrument is PC.
Preferably, subprogram is encrypted in the step 1 by the same female Program Generating of encryption.
Using equipment Serial Number write protection method of the present invention, for sequence number using pressure encryption contrast write-in control
System, using encrypting and decrypting method so that each sequence number is used only once activation equipment, only allow the unique of legal sequence number
Single writes, so as to by the activation number that equipment is counted using number of sequence number, ensure Product Activation legitimacy
While cause device sales can depended software mode obtain the accurate quantity of production marketing.
Brief description of the drawings
Fig. 1 is a kind of embodiment schematic flow sheet of equipment Serial Number write protection method of the present invention.
Embodiment
Below in conjunction with the accompanying drawings, the embodiment of the present invention is described in further detail.
Equipment Serial Number write protection method of the present invention, comprises the following steps:
Step 1. is programmed into encryption subprogram, the encryption subprogram in the movable memory equipment for being stored with some sequence numbers
Specific sequence number can only be encrypted once;Decryption program corresponding with encipheror is programmed into equipment or the number of writing instrument, institute
State write-in of the output result control of decryption program to equipment Serial Number;
Step 2. number of writing instrument is from when can read single legal sequence in storage device, to each legal sequence number, call plus
Close subprogram forms ciphertext to legal serial number encryption, and ciphertext and sequence number are sent jointly into equipment in plain text;
Step 3, equipment is decrypted to ciphertext, is contrasted in plain text with sequence number, matching is then by sequence number plaintext write device completely, no
Matching then terminates write-in.
Movable memory equipment can be USB flash disk, and flash memory or mobile hard disk etc., sequence number and encryption subprogram are stored in can
, it is necessary to which the equipment of writing sequence number can be previously written decryption corresponding with encrypting subprogram before dispatching from the factory in movable storage device
Program, heretofore described equipment are generally the electronic equipment that communication equipment etc. possesses certain data processing function, Ke Yicun
Storage and operation decryption program, but decryption program can also utilize the number of writing instrument to run.
In use, USB flash disk is connected with the number of writing instrument, the number of writing instrument is usually PC with input and display device etc.,
The operation number of writing instrument reads a legal sequence number from USB flash disk, while calls encryption subprogram that sequence number to be encrypted in plain text,
By ciphertext with sending jointly to equipment in plain text after encryption.
The number of writing instrument encryption subprogram can be carried out running encryption using its own processor and transmission, equipment receive the number of writing
After ciphertext and plaintext that instrument transmits, the processor of equipment its own processor or the number of writing instrument is handled the operation of subsequent step 3, example
Such as the number of writing instrument calls decryption program that the ciphertext after encryption is decrypted, completely the same after decryption compared with original sequence number
Then perform the sequence number plaintext write device, so as to activation equipment, if matching is inconsistent, terminate writing sequence number.
It is using encrypting and decrypting method so that each for sequence number using pressure encryption contrast write-in control in the present invention
Sequence number is used only once activation equipment, only allows unique single of legal sequence number to write, so as to pass through sequence number
The activation number that equipment is counted using number, ensure that Product Activation legitimacy, and production marketing side is passed through
Sequence number quantity or encryption amount are set, then is decrypted by decryption program set in advance in equipment, ensures what sellers provided
Product can only be activated by the sequence number that oneself is provided, and improve the degree of control that sellers are used product.
Fig. 1 gives a kind of embodiment of the invention, and it is female can to design an encryption for convenience of operating by sellers
Program, by encrypting a series of decryption principle identical encryption subprograms of female Program Generating, son is encrypted using female Program Generating is encrypted
It program, can only need to provide a kind of decryption program in equipment, reduce equipment decryption management difficulty.
In embodiment shown in Fig. 1, application is sent to USB flash disk by the number of writing instrument, asks a sequence number, may move
Be stored with storage device in prestore sequence number value and judge module, such as movable memory equipment be stored with 10 sequence numbers and
1 encryption subprogram, then the sequence number value that prestores is 10, often receives and once asks, the sequence number value that prestores subtracts 1, such as makes for the first time
With this can storage device when, the number of writing instrument sends CIPHERING REQUEST to judge module, and judge module reads the sequence number value that prestores as 10
Afterwards, agree to ask and call encryption subprogram that a sequence number is encrypted, then issue the number of writing together by ciphertext and in plain text
Instrument, while subtract 1 to the sequence number value that prestores and be changed into 9.After 10 CIPHERING REQUESTs occur, the sequence number value vanishing that prestores, this
When also receive encryption application, it is zero that judge module, which reads the sequence number value that prestores, is now then refused an application, and dispaly state is lost for application
Lose.
Software set, management and modification, simultaneous real-time monitoring encryption time can effectively be carried out to encryption number with upper type
Number, prevents secondary use.Judged using counting mode, can match storage in advance for sequence number and encryption subprogram and adjust
With, can also randomly select, reduce for sequence number and encryption subprogram memory requirement.
After the number of writing instrument obtains encrypted cipher text and plaintext at USB flash disk, equipment is sent it to, the processing carried by equipment
Ciphertext is decrypted the processor of device or the number of writing instrument, in plain text and after decryption after the calling decryption program decryption of the number of writing instrument
Ciphertext is compared, and matching is then considered legal write-in, it is allowed to by sequence number write device and activation equipment, is otherwise then considered
Illegal write-in, refuses writing sequence number.
Using equipment Serial Number write protection method of the present invention, for sequence number using pressure encryption contrast write-in control
System, using encrypting and decrypting method so that each sequence number is used only once activation equipment, only allow the unique of legal sequence number
Single writes, so as to by the activation number that equipment is counted using number of sequence number, ensure Product Activation legitimacy
While cause device sales can depended software mode obtain the accurate quantity of production marketing.
Previously described each preferred embodiment for the present invention, if the preferred embodiment in each preferred embodiment
It is not obvious contradictory or premised on a certain preferred embodiment, each preferred embodiment can any stack combinations
Use, the design parameter in the embodiment and embodiment merely to clearly state the invention verification process of inventor, and
The scope of patent protection of the limitation present invention is not used to, scope of patent protection of the invention is still defined by its claims, all
It is the equivalent structure change made with the specification and accompanying drawing content of the present invention, similarly should be included in the protection model of the present invention
In enclosing.
Claims (6)
- A kind of 1. equipment Serial Number write protection method, it is characterised in that, comprise the following steps:Step 1. is programmed into encryption subprogram, the encryption subprogram in the movable memory equipment for being stored with some sequence numbers Specific sequence number can only be encrypted once;Decryption program corresponding with encipheror is programmed into equipment or the number of writing instrument, institute State write-in of the output result control of decryption program to equipment Serial Number;Step 2. number of writing instrument is from when can read single legal sequence in storage device, to each legal sequence number, call plus Close subprogram forms ciphertext to legal serial number encryption, and ciphertext and sequence number are sent jointly into equipment in plain text;Step 3, equipment is decrypted to ciphertext, is contrasted in plain text with sequence number, matching is then by sequence number plaintext write device completely, no Matching then terminates write-in.
- 2. equipment Serial Number write protection method as claimed in claim 1, it is characterised in that removable in the step 1 Storage device is stored with prestore sequence number value and judge module, in the step 2, often encrypts once, the sequence number value that prestores subtracts 1, in the step 2 before sequence number is read, the number of writing instrument sends CIPHERING REQUEST to judge module, and judge module receives request The sequence number value that prestores is detected afterwards, when the sequence number value that prestores is zero, judge module refusal request, otherwise agrees to request And call encryption subprogram encryption output.
- 3. equipment Serial Number write protection method as claimed in claim 1, it is characterised in that the equipment is communication equipment.
- 4. equipment Serial Number write protection method as claimed in claim 1, it is characterised in that the movable memory equipment is USB flash disk.
- 5. equipment Serial Number write protection method as claimed in claim 1, it is characterised in that the number of the writing instrument is PC.
- 6. equipment Serial Number write protection method as claimed in claim 1, it is characterised in that sub- journey is encrypted in the step 1 Sequence is by the same female Program Generating of encryption.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710881661.3A CN107609415A (en) | 2017-09-26 | 2017-09-26 | A kind of equipment Serial Number write protection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710881661.3A CN107609415A (en) | 2017-09-26 | 2017-09-26 | A kind of equipment Serial Number write protection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107609415A true CN107609415A (en) | 2018-01-19 |
Family
ID=61058373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710881661.3A Pending CN107609415A (en) | 2017-09-26 | 2017-09-26 | A kind of equipment Serial Number write protection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107609415A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111353181A (en) * | 2020-03-10 | 2020-06-30 | 北京天地和兴科技有限公司 | Hardware serial number storage method |
CN112469039A (en) * | 2020-11-25 | 2021-03-09 | 深圳市中易通安全芯科技有限公司 | Mobile terminal security authorization method based on security chip |
CN112660272A (en) * | 2021-01-04 | 2021-04-16 | 东风汽车股份有限公司 | Automobile remote controller matching method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231852A (en) * | 2011-05-06 | 2011-11-02 | 深圳市九洲电器有限公司 | Method and device for programming serial number of set-top box |
CN102609650A (en) * | 2012-02-06 | 2012-07-25 | 上海易罗信息科技有限公司 | System and method for realizing software encrypting and downloading in electronic equipment |
CN104254064A (en) * | 2014-09-25 | 2014-12-31 | 深圳市财富之舟科技有限公司 | Number writing method of cell phone IMEI (International Mobile Equipment Identity) number information |
CN105812877A (en) * | 2016-03-23 | 2016-07-27 | 福建新大陆通信科技股份有限公司 | Set-top box starting method and system based on Chip ID |
CN106295368A (en) * | 2016-08-17 | 2017-01-04 | 四川长虹通信科技有限公司 | The data security protection method of a kind of mobile terminal and system |
-
2017
- 2017-09-26 CN CN201710881661.3A patent/CN107609415A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231852A (en) * | 2011-05-06 | 2011-11-02 | 深圳市九洲电器有限公司 | Method and device for programming serial number of set-top box |
CN102609650A (en) * | 2012-02-06 | 2012-07-25 | 上海易罗信息科技有限公司 | System and method for realizing software encrypting and downloading in electronic equipment |
CN104254064A (en) * | 2014-09-25 | 2014-12-31 | 深圳市财富之舟科技有限公司 | Number writing method of cell phone IMEI (International Mobile Equipment Identity) number information |
CN105812877A (en) * | 2016-03-23 | 2016-07-27 | 福建新大陆通信科技股份有限公司 | Set-top box starting method and system based on Chip ID |
CN106295368A (en) * | 2016-08-17 | 2017-01-04 | 四川长虹通信科技有限公司 | The data security protection method of a kind of mobile terminal and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111353181A (en) * | 2020-03-10 | 2020-06-30 | 北京天地和兴科技有限公司 | Hardware serial number storage method |
CN112469039A (en) * | 2020-11-25 | 2021-03-09 | 深圳市中易通安全芯科技有限公司 | Mobile terminal security authorization method based on security chip |
CN112660272A (en) * | 2021-01-04 | 2021-04-16 | 东风汽车股份有限公司 | Automobile remote controller matching method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3190543A1 (en) | Method of dynamically encrypting fingerprint data and related fingerprint sensor | |
WO2018090763A1 (en) | Method and device for configuring terminal master key | |
JP2016038919A5 (en) | ||
CN110661748B (en) | Log encryption method, log decryption method and log encryption device | |
CN101873587A (en) | Wireless communication device and method for realizing service security thereof | |
WO2018177394A1 (en) | Method and device for protecting android so file | |
CN110995720B (en) | Encryption method, device, host terminal and encryption chip | |
CN107609415A (en) | A kind of equipment Serial Number write protection method | |
CN110362427A (en) | A kind of processing method of image file, system, BMC and readable storage medium storing program for executing | |
JP2017514390A (en) | Method and system for protecting electronic data exchange between industrial programmable devices and portable programmable devices | |
WO2020102974A1 (en) | Data access method, data access apparatus, and mobile terminal | |
CN103914662A (en) | Access control method and device of file encrypting system on the basis of partitions | |
TW201926216A (en) | Device data processing method and system | |
US8181869B2 (en) | Method for customizing customer identifier | |
CN103592927A (en) | Method for binding product server and service function through license | |
CN113766503B (en) | Binding method and system of intelligent device and related device | |
CN107844707B (en) | Card data management method and card data management system | |
CN107770165B (en) | Method and device for sending request by analog equipment | |
CN113766496A (en) | Cross-platform binding method and system of intelligent equipment and related equipment | |
CN111542050B (en) | TEE-based method for guaranteeing remote initialization safety of virtual SIM card | |
CN110569678B (en) | Security chip personalization method, terminal and server | |
TWI833900B (en) | Security data processing device | |
CN104408810B (en) | The distributing method of general access card and system | |
JPWO2014016905A1 (en) | Information management system | |
TWI499929B (en) | Programming system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180119 |