CN1190731C - Method for generating permanent sequence code of products based on FLASH storage medium - Google Patents

Method for generating permanent sequence code of products based on FLASH storage medium Download PDF

Info

Publication number
CN1190731C
CN1190731C CNB011240008A CN01124000A CN1190731C CN 1190731 C CN1190731 C CN 1190731C CN B011240008 A CNB011240008 A CN B011240008A CN 01124000 A CN01124000 A CN 01124000A CN 1190731 C CN1190731 C CN 1190731C
Authority
CN
China
Prior art keywords
sequence code
sequence
storage medium
code
flash storage
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.)
Expired - Fee Related
Application number
CNB011240008A
Other languages
Chinese (zh)
Other versions
CN1402126A (en
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.)
Lenovo Beijing Ltd
Lenovo Mobile Communication Technology Co Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CNB011240008A priority Critical patent/CN1190731C/en
Publication of CN1402126A publication Critical patent/CN1402126A/en
Application granted granted Critical
Publication of CN1190731C publication Critical patent/CN1190731C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method for generating a permanent sequence code of a product based on a FLASH storage medium. The method at least comprises the following steps that a sequence code generation interface is created, an application program is ran, and the sequence code generation interface is called; the sequence code is generated according to the time of opening the application program and the content of a memory; the sequence code is arranged on the extreme end of a guide area, and an effective mark is recorded; when the application program is opened again, the integrity of the sequence code is checked, if yes, the confirmation is carried out and the sequence code is returned, and if not, the generation step is executed again to generate the sequence code. The present invention has the advantages that the generation randomness of the sequence code is strong, a reference value of a seed is a fixation point, the security is high, the generation process is full automatic, the operation is simple, additional equipment and means are not required, and the sequence code is permanently stored and can not be altered and deleted illegally.

Description

Method for generating permanent sequence code of products based on the FLASH storage medium
Invention field
The present invention relates to the method that a kind of permanent sequence code that is used for the unique identification of product generates, especially a kind of method for generating permanent sequence code of products based on the FLASH storage medium.
Background technology
Because the needs of interim logistics management in the life of product, identification during product is used needs, the needs of the collection of repair message nuclear school management, and the needs encrypted of user profile, the demand of the unique machine recognition that can not revise of various products number is very important.Therefore, require that in this sequence code of computing machine randomness is arranged, uniqueness and property throughout one's life, and the program that can only be employed reads, can not revise.That uses similar sequence code technology also has the sequence code of mobile phone, the sequence code of hard disk, the sequence code of PC BIOS.The method that generates this sequence code has following several method usually.
1, when the production line general assembly, keeps a typing in the machine test procedure and select.By the product line worker production sequence code of machine is input in the machine.Program is saved in machine somewhere with the sequence code of typing, is read by application program when needing again.The shortcoming of this method is that product line worker's running time is long, influences production efficiency, cost height, and easy typing mistake.
2, use the serial number of machine, this way is fairly simple, and cost is little, but sequence code can not be read by handheld digital device, so this method can not be considered.
In addition, present many digital products, because it is the flash memory FLASH ratio of performance to price is day by day ripe, increasing based on the product of FLASH storage medium.Products such as for example various handheld device PDA, palm PC.And be the product of FLASH for storage medium, its unique recognition sequence sign indicating number may be modified on the FLASH if write, and does not resemble the said goods, PC BIOS etc. for example, and sequence code is placed among the ROM and can be modified.
Have sequence code to need to generate automatically again, if artificial the generation, not only efficient is low but also very easily make mistakes.And the cd-rom recorder of products such as handheld device PDA, palm PC can't be programmed, so burning automatically.
Summary of the invention
The object of the present invention is to provide a kind of method for generating permanent sequence code of products based on the FLASH storage medium, it not only can generate the unique identifier of product automatically, but also can forever keep.
Another purpose of the present invention is to provide a kind of method for generating permanent sequence code of products based on the FLASH storage medium, and the seed that it generates has random, and generative process is simple to operation.
The object of the present invention is achieved like this:
A kind of method for generating permanent sequence code of products based on the FLASH storage medium which comprises at least following steps:
A, set up sequence code and generate interface;
B, enter an application program;
C, invocation code sequence generate interface;
The time factor that d, increase application program are opened, the formation sequence sign indicating number;
E, sequence code is placed on the least significant end of boot section, the record significant notation can prevent to be modified.
Further, also comprise increase internal memory factor in the described steps d, content formation sequence sign indicating number.
For being unlikely to influence the read operation of other programs of boot section, among the described step e sequence code is placed on the least significant end of boot section.
In addition, for prevent effective sequence code in use owing to some normal reasons, and influence is read, and more than described step e can repeat once, sequence code is duplicated more than one deposit respectively.
After sequence code was set up, for determining whether legal finishing, described step comprised further that also if the integrality of checking sequence sign indicating number complete, is then confirmed, returns sequence code when opening above-mentioned application program once more; Imperfect, then re-execute the generation step, generate complete sequence code.
The present invention compared with prior art has tangible advantage:
1, sequence code generation randomness is strong, and the reference value of its seed is a point of fixity, so the confidentiality height.
2, be generated as full-automatic process, control simply, do not need optional equipment and means.
3, sequence code permanent storage can illegally not changed and be deleted.
Description of drawings
Fig. 1 generates the process flow diagram of method for the present invention;
Fig. 2 is a sequence code position view of the present invention.
Embodiment
Referring to Fig. 1,2, the present invention is a kind of method for generating permanent sequence code of products based on the FLASH storage medium, which comprises at least following steps:
1, sets up sequence code and generate interface;
2, enter an application program; For example when opening master message for the first time, the user generates.Because make seed that randomness be arranged.If adopt once the generation of starting shooting, seed randomness may not have fixed reference, so just generate when opening for the first time the application program of master message.
3, invocation code sequence generates interface;
4, the time of opening, memory content according to above-mentioned application program, the formation sequence sign indicating number; For example, master message is after having shown other items of information, and invocation code sequence generates interface, and sequence code generates interface according to system time, also can be again according to the formation sequence sign indicating numbers such as memory content of product.
5, for preventing modification to sequence code, sequence code can be written on the BootLoader district, this zone can not changed because of operation such as program updates.The judgement of writing in enhancing simultaneously, unless special request, all operations of writing this piece zone will be left in the basket.Sequence code is placed in the boot section, and the record significant notation can prevent to be modified.For being unlikely to influence the read operation of other programs of boot section, sequence code generates least significant end and the flag sequence sign indicating number effective (AABB) of interface with sector, sequence code burned Bootloader place.
Sequence code generates interface and returns sequence code with the form of ASCII character.
In addition, for prevent effective sequence code in use owing to some normal reasons, and influence is read, behind the formation sequence sign indicating number, can repeat once more than, sequence code duplicated more than one deposits respectively.For example duplicate 8 sequence codes, leave in respectively in the boot section, with the box lunch one problem is arranged after, can also use remaining, fail unless the full sequence sign indicating number reads all, just sequence code can not re-use.
After sequence code was set up, for determining whether legal finishing, whether sequence code possessed integrality, also further comprises the step of checking sequence sign indicating number integrality in the above-mentioned steps.Open above-mentioned application program once more for example during master message, utilize checking algorithm sequence of calculation sign indicating number, and check with being verified as.If sequence code is complete, then confirm, return sequence code; Imperfect, then re-execute the generation step, generate complete sequence code.
That is to say, second when opening master message still invocation code sequence generate interface, but this moment sequence code whether generate an interface checking sequence sign indicating number legal, if the legal sequence code of just returning.
Method benefit of the present invention is can be with the generation full automation of sequence code, and need not increase optional equipment.Can not be illegally modified simultaneously.

Claims (4)

1, a kind of method for generating permanent sequence code of products based on the FLASH storage medium is characterized in that: which comprises at least following steps:
A, set up sequence code and generate interface;
B, enter an application program;
C, invocation code sequence generate interface;
The time factor that d, increase application program are opened, the formation sequence sign indicating number;
E, sequence code is placed on the least significant end of boot section, and the record significant notation.
2, the method for generating permanent sequence code of products based on the FLASH storage medium according to claim 1 is characterized in that: also comprise in the described steps d increasing memory content factor formation sequence sign indicating number.
3, the method for generating permanent sequence code of products based on the FLASH storage medium according to claim 1 and 2 is characterized in that: more than described step e can repeat once, sequence code duplicated more than one deposit respectively.
4, the method for generating permanent sequence code of products based on the FLASH storage medium according to claim 1, it is characterized in that: described step comprises further that also if the integrality of checking sequence sign indicating number is complete when opening above-mentioned application program once more, then confirm, return sequence code; Imperfect, then re-execute the generation step, generate complete sequence code.
CNB011240008A 2001-08-10 2001-08-10 Method for generating permanent sequence code of products based on FLASH storage medium Expired - Fee Related CN1190731C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011240008A CN1190731C (en) 2001-08-10 2001-08-10 Method for generating permanent sequence code of products based on FLASH storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011240008A CN1190731C (en) 2001-08-10 2001-08-10 Method for generating permanent sequence code of products based on FLASH storage medium

Publications (2)

Publication Number Publication Date
CN1402126A CN1402126A (en) 2003-03-12
CN1190731C true CN1190731C (en) 2005-02-23

Family

ID=4665428

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011240008A Expired - Fee Related CN1190731C (en) 2001-08-10 2001-08-10 Method for generating permanent sequence code of products based on FLASH storage medium

Country Status (1)

Country Link
CN (1) CN1190731C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200903340A (en) * 2007-07-11 2009-01-16 Hui Lin Structure and method for encrypting digital data memory card
RU2494447C2 (en) * 2007-07-20 2013-09-27 Хюи ЛИН Method to code memory stick and assembly for its realisation
CN102622190B (en) * 2012-02-15 2018-09-04 青岛海信电器股份有限公司 The online wiring method of product identification information and electronic product
CN106408055B (en) * 2016-11-04 2020-07-07 海信视像科技股份有限公司 Anti-cross-over detection method and intelligent equipment

Also Published As

Publication number Publication date
CN1402126A (en) 2003-03-12

Similar Documents

Publication Publication Date Title
US9836362B2 (en) Cyclic commit transaction protocol
CN1262919C (en) Binding by hash
US8055635B2 (en) System and method for verifying the integrity and completeness of records
US5559884A (en) Method and system for generating and auditing a signature for a computer program
US8959125B2 (en) File system having inverted hierarchical structure
CN100590634C (en) Method and apparatus for authenticating a user
US20070005627A1 (en) File system having transaction record coalescing
CN103902698A (en) Data storage system and data storage method
CN1707481A (en) Systems and methods for automatic database or file system maintenance and repair
CA2818472A1 (en) Optimized startup verification of file system integrity
CN101063978A (en) Apparatus for file system management
CN111461751B (en) Real estate information chain organization method based on block chain, historical state tracing method and device
US8160947B2 (en) Methods and systems for identifying and tracking potential property rights in software products
CN110688675A (en) Data leakage tracing device and method based on privacy protection and readable storage medium
CN1190731C (en) Method for generating permanent sequence code of products based on FLASH storage medium
US20060259903A1 (en) Method for creating unique identification for copies of executable code and management thereof
CN113362068B (en) Method for verifying block chain state transfer by light node
US20070214159A1 (en) Processing data using date information
CN100527131C (en) Interdynamic access method and tool of IMS data base
CN1480953A (en) Method for storing check code in memory and its device
US20060106857A1 (en) Method and system for assured document retention
CN1454338A (en) System and method of verifying the authenticity of dynamically connectable executable images
US20060259900A1 (en) Method for creating unique identification for copies of executable code and management thereof
CN109271281B (en) Data backup method and system for preventing data from being tampered
US20070239794A1 (en) Method and system for updating logical information in databases

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: LIANXIANG (BEIJING) CO. LTD.; HUMANTEC INDUSTRIAL

Free format text: FORMER OWNER: LIANXIANG (BEIJING) CO. LTD.

Effective date: 20080815

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20080815

Address after: No. 6, Pioneer Road, Haidian District information industry base, Beijing, China: 100085

Co-patentee after: Lenovo Mobile Communication Technology Ltd.

Patentee after: Lenovo (Beijing) Co., Ltd.

Address before: No. 6, Pioneer Road, Haidian District information industry base, Beijing

Patentee before: Lenovo (Beijing) Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20050223

Termination date: 20200810