CN100449988C - Method for implementing plaintext permission file in home location register - Google Patents

Method for implementing plaintext permission file in home location register Download PDF

Info

Publication number
CN100449988C
CN100449988C CNB031455557A CN03145555A CN100449988C CN 100449988 C CN100449988 C CN 100449988C CN B031455557 A CNB031455557 A CN B031455557A CN 03145555 A CN03145555 A CN 03145555A CN 100449988 C CN100449988 C CN 100449988C
Authority
CN
China
Prior art keywords
plaintext
license file
enciphered message
file
specific part
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
CNB031455557A
Other languages
Chinese (zh)
Other versions
CN1567814A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031455557A priority Critical patent/CN100449988C/en
Publication of CN1567814A publication Critical patent/CN1567814A/en
Application granted granted Critical
Publication of CN100449988C publication Critical patent/CN100449988C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The present invention discloses a method for realizing plain text allowable files in home location registers. The method comprises: a plaintext allowable file comprising encryption information is provided, wherein the encryption information is generated for encrypting a specific part of the approved plaintext allowable file by an encryption algorithm; a loading tool reads the plaintext allowable file, and the specific part of the allowable file is encrypted by the same encryption algorithm for obtaining filed encryption results; the loading tool compares the filed encryption results with encryption information in the plaintext allowable file. If the filed encryption results and the encryption information are identical, the plaintext allowable file is loaded, and otherwise, the plaintext allowable file is rejected to be loaded.

Description

In attaching position register, load the method for license file
Technical field
The present invention relates to a kind of method that in attaching position register, loads license file.
Background technology
For Smart Home Location Register (HLR) product, manufacturer has begun to carry out permission agreement (LICENSE) scheme, that is: the service-user number that the operator contract is bought, class of business, service-user number etc. are written to a text, are loaded in the main frame then.In the reality operation, when number of users that operator increases or service number surpass regulation in the contract, main frame will carry out special processing to the part that exceeds the contract capacity, for example sounding to point out by alarm box reminds operator in time to carry out dilatation, buy new license file, and make operator can't in equipment, increase new user etc. in case of necessity.By this mechanism, can prevent from arbitrarily to enlarge the service of actual motion capacity to buy of attaching position register product above contract, thus the rational interests of protection manufacturer.
At present the LICENSE file of industry all adopts the dark text mode, arbitrarily wherein each limiting content is changed preventing.
Such as: MaxUserNumber=100, in fact embodying in the LICENSE file may be Paral=100 or MaxUserNumber=ef﹠amp; Defsqz.
Though this scheme can effectively guarantee the realization of LICENSE function, owing to before field engineer or office side load these contents at the scene,, generally all will check limited number, prevent to make mistakes for careful consideration.And numerous load document all is a dark text, can't check, thereby cause this permission agreement scheme to be difficult to be accepted by operator.
Summary of the invention
At shortcoming of the prior art, the present invention proposes a kind of method that loads license file in attaching position register, the limited project in the license file is checked before loading with convenient, avoids makeing mistakes.
Method core content of the present invention is that the LICENSE file adopts expressly and append hereof check field.The method comprising the steps of:
The one plaintext license file that comprises enciphered message is provided, and wherein, this enciphered message is to adopt cryptographic algorithm that the specific part of approved plaintext license file is encrypted and produced;
Loading tool reads described plaintext license file, utilizes identical cryptographic algorithm that on-the-spot encrypted result is encrypted and obtained to the described specific part of this license file;
Loading tool compares the enciphered message in on-the-spot encrypted result and the plaintext license file, if both are identical, then loads this plaintext license file, otherwise refusal loads this expressly license file.
According to said method:
Described specific part is meant all plaintext parts of license file.
Described specific part is meant the key component in the license file plaintext part.
The described plaintext license file that comprises enciphered message that provides also comprises step before:
Gather the capacity information of the attaching position register of operator information and regulation;
Described operator information and described capacity information are generated an approved plaintext license file;
Adopt cryptographic algorithm that enciphered message is encrypted and obtained to the specific part of this plaintext license file;
Enciphered message is joined in the described plaintext license file.
Described enciphered message is at the afterbody of plaintext license file.
Because license file of the present invention adopts mode expressly, the field engineer, office side, exploitation can be seen loading content expressly, guaranteed the correctness of loading content, improved the reliability of whole LICENSE solution, simultaneously, ciphertext part for the license file end, mainly be because license file need just can be reached the spot through a plurality of flow processs, load, because error of transmission or artificial improper change, to guarantee the legitimacy of license file in order preventing in transport process, need to carry out certain verification to part expressly with the ciphertext part, and, for a plurality of identical equipment, do not obtain illegal authority thereby do not allow to use to load, therefore with a license file, be necessary in ciphertext, to contain checking information, thereby prevented the illegal copies of license file certain particular device.
Description of drawings
Fig. 1 is the structural representation of loading system;
Fig. 2 is the flow chart of one embodiment of the invention.
Embodiment
Consult shown in Figure 1, foreground client is connected license file with server and is stored in foreground client, carry out control operation in foreground client by common user interface (GUI) during loading, foreground client sends the information that comprises in the LICENSE file to server by TCP/IP, server is kept at information in the database, and with it follow-up operation is tested.For example the number of users that server is allowed is checked.
Consult Fig. 2, implementation procedure is as follows:
Step 10: generate expressly license file.
By obtaining operator information and contract information, these information are generated license file expressly, the i.e. license file of being approved by both sides of supply and demand at the LICENSE center.Operator information comprises information such as the SENDERIN of operator, existing number of users.Stipulate the capacity that operator is bought in the contract information, comprised the number of users of total number of users and miscellaneous service etc.
With all the elements in the plaintext license file, comprise that restriction project (for example MaxUserNumber) and limits value (for example 100) rearrange a big character string, utilize the unified encryption of cryptographic algorithm, as the afterbody of license file forms the prescribed paper license file that includes enciphered message to adopt DES algorithm, encrypted result to store into expressly.
For example the plaintext license file that comprises enciphered message of Sheng Chenging is as follows:
[LICENSE]
LicenseSerial=4600309121212345678
[CAP]
CommonLow=67
CommonUp=100
[CONTENT]
MAXUserCount=500001
MAXUserCountLowLimit=91
It more than the MAXUserCountUpLimit=100/* plaintext part.
[HLRLICENSE]/* enciphered message
HlrLicense=41973e6d945dea685647593751506df0
Step 20: the plaintext license file that will comprise enciphered message offers the foreground client of loading field.
Because license file is clear-text way, therefore can check this license file by foreground client, with determine wherein data whether with contract in consistent, if inconsistent, the company that should in time return makes license file again.
Step 30: loading tool reads license file, adopts the cryptographic algorithm identical with aforementioned generation enciphered message that the content of plaintext part is encrypted the on-the-spot encrypted result that obtains again.
Step 40: the enciphered message of on-the-spot encrypted result and plaintext license file afterbody is compared, and judge whether it is identical.If identical then carry out step 50, otherwise carry out step 60.
Step 50: on-the-spot encrypted result is identical with enciphered message, illustrates that the clear text file that is used to load was not changed, and loading tool loads this plaintext license file.After loading is finished, can inquire about load information by foreground client, whether checking correctly loads and can check existing various capacity information at any time, so that in time carry out dilatation.
Step 60: on-the-spot encrypted result and enciphered message are inequality, illustrate that then the plaintext partial content of this license file is different by the content in the license file of contract approval with both sides of supply and demand, and file was modified, and loading tool determines that it is illegally, and refusal loads.
Because license file adopts mode expressly, field engineer, office side, exploitation can be seen loading content expressly, guaranteed the correctness of loading content, improve the reliability of whole LICENSE solution, can provide control device to the total number of users and the miscellaneous service of attaching position register reality again simultaneously.
Because each attaching position register has a unique sequence number (LicenseSerial), thereby can not use with a license file for a plurality of identical attaching position registers and to load to obtain illegal authority.

Claims (5)

1, a kind of method that loads license file in attaching position register is characterized in that comprising step:
The one plaintext license file that comprises enciphered message is provided, and wherein, this enciphered message is to adopt cryptographic algorithm that the specific part of approved plaintext license file is encrypted and produced;
Loading tool reads described plaintext license file, utilizes identical cryptographic algorithm that on-the-spot encrypted result is encrypted and obtained to the described specific part of this license file;
Loading tool compares the enciphered message in on-the-spot encrypted result and the plaintext license file, if both are identical, then loads this plaintext license file, otherwise refusal loads this expressly license file.
2, the method for claim 1 is characterized in that, described specific part is meant all plaintext parts of license file.
3, the method for claim 1 is characterized in that, described specific part is meant the key component in the license file plaintext part.
4, the method for claim 1 is characterized in that, describedly provides one to comprise before the plaintext license file of enciphered message, also comprises step:
Gather the capacity information of the attaching position register of operator information and regulation;
Described operator information and described capacity information are generated an approved plaintext license file;
Adopt cryptographic algorithm that enciphered message is encrypted and obtained to the specific part of this plaintext license file;
Enciphered message is joined in the described plaintext license file.
5, the method for claim 1 is characterized in that, described enciphered message is at the afterbody of plaintext license file.
CNB031455557A 2003-07-01 2003-07-01 Method for implementing plaintext permission file in home location register Expired - Fee Related CN100449988C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031455557A CN100449988C (en) 2003-07-01 2003-07-01 Method for implementing plaintext permission file in home location register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031455557A CN100449988C (en) 2003-07-01 2003-07-01 Method for implementing plaintext permission file in home location register

Publications (2)

Publication Number Publication Date
CN1567814A CN1567814A (en) 2005-01-19
CN100449988C true CN100449988C (en) 2009-01-07

Family

ID=34471443

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031455557A Expired - Fee Related CN100449988C (en) 2003-07-01 2003-07-01 Method for implementing plaintext permission file in home location register

Country Status (1)

Country Link
CN (1) CN100449988C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827408A (en) * 2015-12-03 2016-08-03 中国航天系统工程有限公司 Timestamp technique-based industrial network security transmission method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1347608A (en) * 1999-03-19 2002-05-01 艾利森电话股份有限公司 Method and system for electronic commerce
US20020095590A1 (en) * 2001-01-17 2002-07-18 Douceur John R. Exclusive encryption

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1347608A (en) * 1999-03-19 2002-05-01 艾利森电话股份有限公司 Method and system for electronic commerce
US20020095590A1 (en) * 2001-01-17 2002-07-18 Douceur John R. Exclusive encryption

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
用对称密码体制实现双向认证. 陈克非.上海交通大学学报,第32卷第10期. 1998
用对称密码体制实现双向认证. 陈克非.上海交通大学学报,第32卷第10期. 1998 *

Also Published As

Publication number Publication date
CN1567814A (en) 2005-01-19

Similar Documents

Publication Publication Date Title
CN111543031B (en) Method and control system for controlling and/or monitoring a device
CN111200589A (en) Data protection method and system for alliance chain
CN111492355B (en) Method and control system for controlling and/or monitoring a device
CN102341807A (en) Access control using identifiers in links
US20070168556A1 (en) Electronic data delivery method
CN106452796B (en) Authentication authority method, tax-related service platform and relevant device
CN112232795A (en) Transaction processing method, device, equipment and system
CN103034788A (en) Verification method and system of electronic readings, server, client and terminal
CN107196761B (en) A kind of method of core function in protection application program
CN110061967A (en) Business datum providing method, device, equipment and computer readable storage medium
CN103036860A (en) Verification method, verification system, server side, client side and terminal of electronic reading materials
CN105099983A (en) Authorization method, authority setting method and devices
CN103592927A (en) Method for binding product server and service function through license
CN109902495B (en) Data fusion method and device
US7493488B2 (en) Method to disable on/off capacity in demand
CN115964728A (en) File encryption method and device based on consensus algorithm
CN108846671B (en) Online secure transaction method and system based on block chain
CN103559430B (en) application account management method and device based on Android system
CN100449988C (en) Method for implementing plaintext permission file in home location register
CN111476014A (en) Verification method and related device
CN110162941A (en) A kind of terminal log-on message store method
CN107392050B (en) System and method for realizing burning after printing of electronic supervision code
CN113221074B (en) Offline authorization method
CN105653932A (en) Software upgrading validation method and device
KR102453918B1 (en) Automation system for import-export procedure

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090107

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