CN102446251B - Device activation realizing method and equipment - Google Patents

Device activation realizing method and equipment Download PDF

Info

Publication number
CN102446251B
CN102446251B CN201110246711.3A CN201110246711A CN102446251B CN 102446251 B CN102446251 B CN 102446251B CN 201110246711 A CN201110246711 A CN 201110246711A CN 102446251 B CN102446251 B CN 102446251B
Authority
CN
China
Prior art keywords
active coding
equipment
date
check code
activation
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.)
Active
Application number
CN201110246711.3A
Other languages
Chinese (zh)
Other versions
CN102446251A (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.)
New H3C Information Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201110246711.3A priority Critical patent/CN102446251B/en
Publication of CN102446251A publication Critical patent/CN102446251A/en
Application granted granted Critical
Publication of CN102446251B publication Critical patent/CN102446251B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a device activation realizing method, comprising the steps of: adding a random number onto a device ID (Identifier) to generate a device unique identifier (DID), wherein the DID is used for acquiring an activation code; acquiring the activation code, and if the acquired activation code is determined to be legal, performing device activation by using the acquired activation code and entering a normal use state of the device; and if the activation code for the device activation is overdue, deleting the overdue activation code, generating a new DID, and acquiring a new activation code for device activation. Based on the same conception in the invention, the invention further provides a device activation realizing equipment, so that a limited storage space of the device is saved, and the device can be ensured to be activated when required to be activated.

Description

One realizes device activation method and apparatus
Technical field
The present invention relates to communication technical field, particularly one realizes device activation method and apparatus.
Background technology
In communication equipment network, equipment all has can uniquely identified sequence number, can at equipment supplier place by authorizing the function activation code obtaining this equipment by sequence number.General acquisition active coding process is: user from equipment supplier's authorized access code, and according to the device id of equipment and the authorization code of acquisition, obtains active coding from equipment supplier website when purchase of equipment, and uses the radical row device activation of active coding obtained.
Generally contain the sequence number of equipment in active coding, active coding needs to accomplish that active coding is this equipment on equipment, and active coding is crossed after date and can not be reused on equipment.For not networked devices, solve active coding cross the problem that after date can not reuse on equipment time, the active coding used is deposited in a device by prior art usually forever, after invalid, certain invalid flag is set, reuse this active coding when carrying out device activation, there is the active coding that this is out of date in equipment, therefore this active coding can not be reused again.In existing realization, if deleted by active coding out of date, then active coding out of date can not be avoided to reuse.Because device memory is limited, if some invalid informations can not be removed, then new information cannot be stored.Therefore existing realization wastes the limited storage space of equipment, when active coding stores more, causes equipment not to be activated.
Summary of the invention
In view of this, the invention provides a kind of method and apparatus realizing device activation, saved the storage space that equipment is limited, the equipment that ensure that needs can be activated when activating.
For solving the problems of the technologies described above, technical scheme of the present invention is achieved in that
Realize a method for device activation, the method comprises:
A, device id added random number encryption and generate equipment DID; Wherein, described equipment DID is for obtaining active coding;
B, acquisition active coding, if determine that the active coding obtained is legal, then use the active coding of described acquisition to carry out the normal operating condition of device activation access arrangement; Wherein, described active coding comprises equipment DID;
If the active coding that C carries out device activation is out of date, active coding out of date is deleted, and generates new equipment DID, perform step B; Otherwise, keep normal operating condition.
Realize an equipment for device activation, this equipment comprises: generation unit, acquiring unit, activation unit and processing unit;
Described generation unit, is connected with described acquiring unit, generates equipment DID for device id being added random number encryption; Wherein, described equipment DID is for obtaining active coding;
Described acquiring unit, is connected with described activation unit, and for obtaining active coding, wherein, described active coding comprises equipment DID;
Described activation unit, is connected with described processing unit, if for determining that the active coding obtained is legal, then use the active coding of described acquisition to carry out device activation and enter the normal operating condition of self place equipment;
Described processing unit, if the active coding carrying out device activation is out of date, deletes active coding out of date, and starts described generation unit and generate new equipment DID; Otherwise, make self place equipment keep normal operating condition.
In sum, the present invention adds generating random number equipment DID by device id, and obtains active coding by the equipment DID generated; If the active coding carrying out device activation is out of date, then delete, and can generate new equipment DID immediately, therefore present invention saves the storage space that equipment is limited, the equipment that ensure that needs can be activated when activating.
Accompanying drawing explanation
Fig. 1 is that the present invention realizes device activation method flow diagram;
Fig. 2 realizes device activation method flow diagram in the specific embodiment of the invention;
Fig. 3 prevents active coding out of date activated equipment process flow diagram again in the specific embodiment of the invention;
Fig. 4 is the device structure schematic diagram realizing device activation in the specific embodiment of the invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearly understand, to develop simultaneously embodiment referring to accompanying drawing, scheme of the present invention is described in further detail.
Be present device Activiation method process flow diagram see Fig. 1, Fig. 1.Concrete steps are as follows:
Step 101, adds random number encryption and generates equipment exclusive identification code (DID) by device id; Wherein, equipment DID is for obtaining active coding.
Step 102, obtains active coding, if determine that the active coding obtained is legal, then uses the active coding of acquisition to carry out the normal operating condition of device activation access arrangement; Wherein, active coding comprises equipment DID.
If the active coding that step 103 carries out device activation is out of date, active coding out of date is deleted, and generates new equipment DID, perform step 102.
If the active coding that step 104 carries out device activation is not out of date, equipment keeps normal operating condition.
Referring to accompanying drawing, describe present device Activiation method processing procedure in detail, and prevent expired active coding from reusing the process of carrying out device activation.Be realize device activation method flow diagram in the specific embodiment of the invention see Fig. 2, Fig. 2.Concrete steps are as follows:
Step 201, device id is added random number encryption and generates equipment DID by equipment.
Random number in this step can be added on before device id, also can after, figure place also can set according to actual needs.Equipment DID is directly related with device id, but owing to adding random number, each equipment DID generated is different.
Step 202, equipment obtains active coding, and wherein, the active coding of this acquisition comprises capable field, equipment DID and relational check code.
In this step, the active coding that equipment obtains is the active coding obtained from equipment supplier by DID and authorization code by some networked devices.The relational check code that active coding comprises is that the capable field comprised in the application equipment DID of this active coding and active coding obtains after computations.The computations herein mentioned is consistent with existing implementation, as long as equipment knows this encryption computing method too.This relational check code and equipment DID unique association.
The process obtaining active coding is consistent with prior art, and just the active coding of prior art acquisition is directly relevant with device id, and the present embodiment is directly correlated with equipment DID, and equipment DID is directly correlated with device id.
Step 203, if by verification relational check code, equipment determines that the active coding obtained is legal, uses the active coding activated equipment access arrangement normal operating condition that obtain.
Because active coding comprises capable field, equipment DID and relational check code, when therefore equipment obtains active coding, this active coding can be resolved, obtain capable field and the relational check code of active coding respectively.
Method of calibration in this step is: equipment DID is obtained this locality to the capable field that parsing active coding obtains by corresponding computations and verifies associated code by equipment, then compare with the relational check code of resolving active coding acquisition, if the same, then determine that this active coding is legal; Otherwise, determine that this active coding is illegal, can not activated equipment.
When using active coding activated equipment, active coding can be stored in the storage space of equipment.
Step 204, the active coding set of successful activation equipment is significant notation by equipment, carries out countdown function to this active coding simultaneously.
Step 205, judges that whether the active coding carrying out device activation is out of date, if so, performs step 206; Otherwise, perform step 209.
Active coding set is invalid markers by step 206.
If the active coding of activated equipment is out of date, needs to use new active coding to carry out device activation, then obtain new active coding with step 202 from equipment supplier, and carry out legitimate verification, use legal active coding activated equipment.
If now obtain legal active coding without step 202, but carry out activated equipment again with used expired active coding, then when using this active coding out of date to carry out device activation, if when equipment this locality finds the consistent active coding of active coding out of date with this, then can not use this active coding activated equipment out of date, otherwise whether the active coding verifying this new acquisition is legal.Method of calibration is also whether the relational check code comprised with the capable field computations relational check code coactivation code that equipment DID coactivation code comprises is consistent.
Whether step 207, delete active coding out of date, if so, performs step 208; Otherwise perform step 209.
Whenever only there is an equipment DID in a device, also can be referred to as current device DID, when whether verification will use the active coding of activated equipment legal, calculated by current device DID.Expired active coding can be deleted immediately in this step, also can store several expired active coding and delete together.During the active coding of not Delete Expired, new equipment DID can not be generated.
Step 208, generates new equipment DID, performs step 202.
Generating and new establish the method for DID constant, is device id is added random number to generate through encryption equally, and the DID comprised in therefore newly-generated equipment DID and the active coding out of date of deletion scarcely together.
Step 209, equipment is in normal operating condition, until use the active coding of activated equipment out of date, performs step 206.
Above-mentioned flow process is the equipment DID generated by authorization code and equipment obtains authorization code process from equipment supplier.The authorization code of such acquisition is generally all legal on form, if but the active coding set up voluntarily, or the active coding of other equipment, form is exactly illegal, for the same prior art of this situation process of the present invention, first on form, determine that this active coding is inconsistent with the legal active coding of equipment, then such active coding can not carry out device activation, also can not carry out verification again and determine.Here this situation is repeated no more.
When needing to carry out device activation, also likely reusing active coding out of date and carry out device activation, is prevent active coding out of date activated equipment process flow diagram again in the specific embodiment of the invention see Fig. 3, Fig. 3.Concrete steps are as follows:
Step 301, equipment use active coding out of date carries out device activation.
Step 302, equipment is searched in this locality, determines whether there is the active coding that active coding out of date with this is identical, if so, performs step 304; Otherwise, perform step 303.
For active coding out of date, if also do not deleted, then when reusing, then can find this active coding out of date in equipment this locality.
For active coding out of date, if deleted, then reuse and carry out device activation constantly, then, when equipment this locality is searched, there is not the active coding that the active coding out of date with this is identical.
Step 303, the capable field that equipment DID and active coding out of date comprise by equipment, through computations, obtains relational check code, and the relational check code that this relational check code calculated and active coding out of date comprise is inconsistent.Perform step 304.
Determine whether further to may be used for device activation to expired active coding non-existent in equipment in this step.Due to new equipment DID can be generated immediately when the active coding of Delete Expired, therefore compare with the relational check code that active coding out of date comprises with the relational check code that new equipment DID calculates, scarcely can be consistent.
Step 304, equipment can not use this active coding activated equipment out of date.
Said process can be found out in the present embodiment and well prevent the problem that active coding out of date carries out device activation again.No matter whether active coding out of date is deleted in time, all can prevent active coding out of date from carrying out device activation.
Based on above-mentioned same inventive concept, the present invention also proposes a kind of equipment realizing device activation.It is the device structure schematic diagram realizing device activation in the specific embodiment of the invention see Fig. 4, Fig. 4.This equipment comprises: generation unit 401, acquiring unit 402, activation unit 403 and processing unit 404.
Generation unit 401, is connected with acquiring unit, generates equipment DID for device id being added random number encryption; Wherein, equipment DID is for obtaining active coding.
Acquiring unit 402, be connected with activation unit 403, for obtaining active coding, wherein, active coding comprises equipment DID.
Activate unit 403, be connected with processing unit 404, if be legal for the active coding determining acquisition, then use the active coding of acquisition to carry out device activation and enter the normal operating condition of self place equipment.
Processing unit 404, if out of date for the active coding carrying out device activation, delete active coding out of date, and starts generation unit 401 and generate new equipment DID; Otherwise, make self place equipment keep normal operating condition.
Preferably,
The active coding that acquiring unit 402 obtains also comprises capable field and relational check code; Relational check code is that equipment DID and capable field obtain through computations.
Preferably,
Activate unit 403, capable field for comprising in the active coding that equipment DID and acquiring unit 402 obtained obtains relational check code through computations, by the relational check code calculated compared with the relational check code comprised in the active coding of acquisition, if comparative result is consistent, then determine that the active coding obtained is legal.
Preferably,
Activate unit 403, when being further used for using active coding out of date to carry out device activation, if find the identical active coding of active coding code out of date with this at self place equipment, then can not use this active coding activated equipment out of date; If do not find the active coding that active coding out of date with this is identical, then the capable field comprised in equipment DID and this active coding out of date is obtained relational check code through computations, compared with the relational check code that comprises in active coding out of date to the relational check code calculated and this, comparative result is inconsistent, then can not use this active coding activated equipment out of date.
The unit of above-described embodiment can be integrated in one, and also can be separated deployment; A unit can be merged into, also can split into multiple subelement further.
In sum, the present invention is by the incidence relation between device id, equipment DID, active coding, by verification relational check code, ensure that the active coding legal to theoretical form accomplishes to carry out the determination of legitimacy on freestanding environment under not by the environment of On line inspection.Because equipment DID is variable, active coding out of date on equipment can be deleted, and generate new equipment DID immediately, verification is participated in by newly-generated equipment DID, prevent out of date and deleted active coding reconditioning equipment, therefore, when reaching the active coding function of expection, the storage space of equipment has been saved, and then can normal Activate when guaranteeing that equipment needs to activate.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. realize a method for device activation, it is characterized in that, described method comprises:
A, device id added random number encryption and generate equipment exclusive identification code; Wherein, described equipment exclusive identification code is for obtaining active coding;
B, acquisition active coding, if determine that the active coding obtained is legal, then use the active coding of described acquisition to carry out the normal operating condition of device activation access arrangement; Wherein, described active coding comprises equipment exclusive identification code;
If the active coding that C carries out device activation is out of date, active coding out of date is deleted, and generates new equipment exclusive identification code, perform step B; Otherwise, keep normal operating condition;
Wherein, described method comprises further:
When using active coding out of date to carry out device activation, if find the identical active coding of active coding out of date with this in this locality, then can not use this active coding activated equipment out of date; If do not find the active coding that active coding out of date with this is identical, then the capable field comprised in equipment exclusive identification code and described active coding out of date is obtained relational check code through computations, by the relational check code calculated compared with the relational check code comprised in described active coding out of date, comparative result is inconsistent, then can not use this active coding activated equipment out of date.
2. method according to claim 1, is characterized in that,
Described active coding also comprises capable field and relational check code; Described relational check code is that equipment exclusive identification code and capable field obtain through computations.
3. method according to claim 2, is characterized in that,
Determine in described step B that to be legal method be for the active coding that obtains: the capable field comprised in the active coding of equipment exclusive identification code and described acquisition is obtained relational check code through computations, by the relational check code calculated compared with the relational check code comprised in the active coding of described acquisition, if comparative result is consistent, then determine that the active coding of described acquisition is legal.
4. realize an equipment for device activation, it is characterized in that, described equipment comprises: generation unit, acquiring unit, activation unit and processing unit;
Described generation unit, is connected with described acquiring unit, generates equipment exclusive identification code for device id being added random number encryption; Wherein, described equipment exclusive identification code is for obtaining active coding;
Described acquiring unit, is connected with described activation unit, and for obtaining active coding, wherein, described active coding comprises equipment exclusive identification code;
Described activation unit, is connected with described processing unit, if for determining that the active coding obtained is legal, then use the active coding of described acquisition to carry out device activation and enter the normal operating condition of self place equipment;
Described processing unit, if out of date for the active coding carrying out device activation, delete active coding out of date, and starts described generation unit and generate new equipment exclusive identification code; Otherwise, make self place equipment keep normal operating condition;
Wherein, described activation unit, when being further used for using active coding out of date to carry out device activation, if find the identical active coding of active coding code out of date with this at self place equipment, then can not use this active coding activated equipment out of date; If do not find the active coding that active coding out of date with this is identical, then the capable field comprised in equipment exclusive identification code and described active coding out of date is obtained relational check code through computations, by the relational check code calculated compared with the relational check code comprised in described active coding out of date, comparative result is inconsistent, then can not use this active coding activated equipment out of date.
5. equipment according to claim 4, is characterized in that,
The active coding that described acquiring unit obtains also comprises capable field and relational check code; Described relational check code is that equipment exclusive identification code and capable field obtain through computations.
6. equipment according to claim 5, is characterized in that,
Described activation unit, capable field for comprising in the active coding that equipment exclusive identification code and described acquiring unit obtained obtains relational check code through computations, by the relational check code calculated compared with the relational check code comprised in the active coding of described acquisition, if comparative result is consistent, then determine that the active coding of described acquisition is legal.
CN201110246711.3A 2011-08-24 2011-08-24 Device activation realizing method and equipment Active CN102446251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110246711.3A CN102446251B (en) 2011-08-24 2011-08-24 Device activation realizing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110246711.3A CN102446251B (en) 2011-08-24 2011-08-24 Device activation realizing method and equipment

Publications (2)

Publication Number Publication Date
CN102446251A CN102446251A (en) 2012-05-09
CN102446251B true CN102446251B (en) 2015-01-14

Family

ID=46008742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110246711.3A Active CN102446251B (en) 2011-08-24 2011-08-24 Device activation realizing method and equipment

Country Status (1)

Country Link
CN (1) CN102446251B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581114A (en) * 2012-07-20 2014-02-12 上海湛泸网络科技有限公司 Authentication method and system
CN103576866B (en) * 2012-08-01 2016-04-20 郭家铭 A kind of with memory function for advertising specialty and client mouse special
CN103577744A (en) * 2012-08-08 2014-02-12 上海赤炫信息科技有限公司 Network on-line activating mode for Android mobile internet equipment
CN107392005A (en) * 2017-05-31 2017-11-24 广东网金控股股份有限公司 A kind of Activiation method and system of business finance terminal device
CN110363692A (en) * 2019-07-12 2019-10-22 中铁电气化局集团有限公司 New education training system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100515134C (en) * 2006-07-10 2009-07-15 王磊 Mobile phone software encryption and verification method
CN101753532A (en) * 2008-11-29 2010-06-23 成都市华为赛门铁克科技有限公司 Method for controlling storage equipment, verifying device and storage device
CN101771535A (en) * 2008-12-30 2010-07-07 上海茂碧信息科技有限公司 Mutual authentication method between terminal and server
CN101777105A (en) * 2010-01-25 2010-07-14 上海北大方正科技电脑系统有限公司 Computer booting anti-counterfeit authentication method based on BIOS
CN101404052B (en) * 2008-05-04 2011-04-20 北京深思洛克软件技术股份有限公司 Method for remotely activating software

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100675380B1 (en) * 2005-01-14 2007-01-29 삼성전자주식회사 Method and system providing authentication in home network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100515134C (en) * 2006-07-10 2009-07-15 王磊 Mobile phone software encryption and verification method
CN101404052B (en) * 2008-05-04 2011-04-20 北京深思洛克软件技术股份有限公司 Method for remotely activating software
CN101753532A (en) * 2008-11-29 2010-06-23 成都市华为赛门铁克科技有限公司 Method for controlling storage equipment, verifying device and storage device
CN101771535A (en) * 2008-12-30 2010-07-07 上海茂碧信息科技有限公司 Mutual authentication method between terminal and server
CN101777105A (en) * 2010-01-25 2010-07-14 上海北大方正科技电脑系统有限公司 Computer booting anti-counterfeit authentication method based on BIOS

Also Published As

Publication number Publication date
CN102446251A (en) 2012-05-09

Similar Documents

Publication Publication Date Title
CN102446251B (en) Device activation realizing method and equipment
CN101194461B (en) Method and apparatus for certificate roll-over
US8938621B2 (en) Computing device integrity protection
CN107743115B (en) Identity authentication method, device and system for terminal application
CN108710681B (en) File acquisition method, device, equipment and storage medium
CN108124491B (en) Diagnostic joint upgrading verification method and device of diagnostic equipment and diagnostic joint
CN106685640B (en) Electronic evidence fixed information generation method and electronic evidence fixed server
CN111428263A (en) Work order processing method and device, computer equipment and storage medium
CN108959976A (en) The method of operation tool non-volatile memory cells circuit and the circuit for using the method
CN108268755A (en) The copyright data processing method of original works
CN117353893B (en) Network information security verification method and system based on blockchain technology
CN112637231B (en) Authorization method, device, storage medium and server
CN114969803A (en) Data storage method, device and storage medium
CN105653932B (en) The method and apparatus of software upgrading verification
CN108710549B (en) Method and device for ensuring stability of fingerprint data
KR101987087B1 (en) Product breakage tracking management apparatus for tracking the breakdown of a product in a factory and operating method thereof
JP6992309B2 (en) Transmitter, receiver, and communication method
CN106933695B (en) SWF file verification method and system
CN114124469B (en) Data processing method, device and equipment
CN112862454A (en) Test execution work order updating method and device, computer equipment and storage medium
CN105337938A (en) Validity verification method and device
CN106453455A (en) Audio file synchronization method and audio file synchronization device
CN111783154B (en) Old people electronic license generation method and system
CN114245183B (en) Push data authentication method and device
JP2019110534A (en) Equipment authentication method and equipment authentication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230619

Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right