Summary of the invention
Based on this, it is necessary to for the software license for needing to make different-format between different software product, be unfavorable for
The upgrade maintenance problem of later period software license provides a kind of software license generation method and device.
To reach goal of the invention, a kind of software license generation method is provided, which comprises
The License Info of software is obtained, the License Info includes the product information and authorization message of the software;
Obtain the data format of software license;
According to the version number of software license described in the obtaining product information of the software;
The software license of the data format, the software license are generated according to the License Info and the version number
Card includes magic number, the version number and authorization sequence number.
The version number includes major version number and secondary version number in one of the embodiments, described according to the software
Product information the step of determining the version number of the software license include:
Judge whether the software is upgrading products;
If the software is not upgrading products, the version of the software license is distributed according to the product information of the software
This number;
If the software is upgrading products, the major version number of original software product software license of the software is obtained
And secondary version number, and the software of original software product according to more new information, the software in the product information of the software
The major version number and secondary version number of licensing determine the major version number and secondary version number of the software license of the software.
The License Info further includes the customer information for being licensed client in one of the embodiments, client's letter
Breath includes software installation environment and subscriber identity information.
The software license further includes extended attribute domain in one of the embodiments, and the extended attribute domain includes
Data field, the data field is for storing the product information, the authorization message, the software installation environmental information and described
The one of which or any combination of subscriber identity information.
The software license further includes encrypted data fields in one of the embodiments, and the encrypted data fields are used for
Store the encrypted product information, the authorization message, the software installation environmental information and the subscriber identity information
One of which or any combination.
The software license further includes signed data domain in one of the embodiments, and the signed data domain is used for
The product information, the authorization message, the software installation environmental information and the client after storing execution word signature
The one of which or any combination of identification information.
Software license generation method provided by the present invention can determine software license according to the product information of software
Version number so that can be according to the update of association or software product itself between software product between different software products
Situation, the flexible version number for determining software license, expands the licensing between the software of like products line flexibly
Exhibition, facilitates the maintenance upgrade of subsequent licensing.
Software license generation method provided by the present invention in one of the embodiments, by by software license
Version number be divided into major version number and secondary version number, the case where wherein major version number is changed greatly for the update of software, and secondary
Version number is used for the lesser situation of more new change of software, further improves the scalability of software license, facilitates subsequent
Licensing maintenance upgrade.
The present invention also provides a kind of software license generating means, comprising:
License Info obtains module, and for obtaining the License Info of software, the License Info includes the production of the software
Product information and authorization message;
Data format determining module, for determining the data format of software license;
Version number's determining module, the version number for the software license according to the obtaining product information of the software;
Licensing generation module, for generating the software of the data format according to the License Info and the version number
Licensing, the software license include magic number, the version number and authorization sequence number.
The version number includes major version number and secondary version number in one of the embodiments, and the version number determines mould
Block includes:
Judging unit, for judging whether the software is upgrading products;
Version number's allocation unit, for being believed according to the product of the software when judging the software not is upgrading products
Breath distributes the major version number and secondary version number of the software license;
Version number's updating unit, for when judging the software is upgrading products, obtaining original software of the software
The major version number and secondary version number of product software licensing, and according to the more new information, described in the product information of the software
The major version number and secondary version number of the software license of original software product of software, determine the software license of the software
Major version number and secondary version number.
The License Info of the software further includes the customer information for being licensed client in one of the embodiments, described
Customer information includes software installation environmental information and subscriber identity information.
The data lattice that the licensing generation module is generated according to the License Info in one of the embodiments,
The software license of formula further includes extended attribute domain, and the extended attribute domain includes data field;The licensing generation module, also
Include:
Extended attribute domain generation unit, for storing the product information, the authorization message, the software installation environment
The one of which or any combination of information and the subscriber identity information.
The data lattice that the licensing generation module is generated according to the License Info in one of the embodiments,
The software license of formula further includes encrypted data fields;The licensing generation module, further includes:
Encrypted data fields generation unit, for storing the encrypted product information, the authorization message, the software
The one of which or any combination of installation environment information and the subscriber identity information.
The data lattice that the licensing generation module is generated according to the License Info in one of the embodiments,
The software license of formula further includes signed data domain;The licensing generation module, further includes:
Signed data domain generation unit, for storing execution word signature after the product information, the authorization message,
The one of which or any combination of the software installation environmental information and the subscriber identity information.
Software license generating means provided by the present invention can determine software license according to the product information of software
Version number, and the data format for providing various software licensing is available, so that being capable of root between different software products
According to the update status of association or software product itself between software product, the flexible version number for determining software license makes
The licensing obtained between the software of like products line can facilitate the maintenance upgrade of subsequent licensing with flexible expansion.
Software license generating means provided by the present invention in one of the embodiments, by by software license
Version number be divided into major version number and secondary version number, the case where wherein major version number is changed greatly for the update of software, and secondary
Version number is used for the lesser situation of more new change of software, further improves the scalability of software license, facilitates subsequent
Licensing maintenance upgrade.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, right with reference to the accompanying drawings and embodiments
Invention software licensing generation method and device are further elaborated.It should be appreciated that specific reality described herein
Example is applied only to explain the present invention, is not intended to limit the present invention.
Fig. 1 be one embodiment in software license generation method flow chart, as Fig. 1 be shown in software license
Generation method includes:
Step S10, obtains the License Info of software, and the License Info includes the product information and authorization letter of the software
Breath.
Specifically, the product information of the software includes that producer, supplier, software product title etc. need that software is added
The content of one of which or any combination in licensing.
The authorization message, including license the time limit, software use scope (such as licenses region, authorizes client's model
Enclose) etc. need to be added the content of one of which or any combination in software license.
Step S20 determines the data format of required software license.
Specifically, the data format is arrangement of the various information datas in software license in software license
The formats such as display mode, such as it is software product title that data format, which defines first information data of software license, then
The position of first information of the data format must be filled with the software product name data of text or specified format.
In one embodiment, data format has default template and customized template, can press the License Info
It is flexibly embodied according to default template or customized template defined form.
Step S30, according to the version number of software license described in the obtaining product information of the software.
Specifically, the version number of the software license is determined according to the product information of software, it can be by the same product
The multiple software product of line, or belong to the mutual related software product or same software product of different production lines
Update, upgrading etc., the definition of version number is carried out according to preset mode.
Step S40 generates the software license of the data format according to the License Info and the version number, described
Software license includes magic number, the version number and authorization sequence number.
Specifically, the present invention can be raw according to the License Info to keep the use scope of the licensing generated more flexible
It is various to be permitted in the default template of the data format at the software license of the data format of default template or customized template
Can information format and permutation and combination be general format, only need to according to the format of default add information;The data
The customized template of format according to the feature or actual demand of product, can then carry out format and the arrangement of License Info
It is customized, so that the software license generated more meets the feature of product or meets specific demand.
The software license includes magic number, version number and authorization sequence number.
Wherein, magic number is the mark positioned at each software license most leading portion, for determining issuing for the software license
Person.When using software license, magic number is parsed first, if the issuer inaccuracy that magic number determines, stops into one
The parsing of step.
For convenience of understanding, a specific example of magic number (MagicNumber) is provided are as follows:
MagicNumber:='V''L', (0x564C)
In this example embodiment, V is the abbreviation of the issuer of licensing, and L is the abbreviation of License, and (0x564C) is VL's
ASCII coding.
Wherein, version number (Version Number) is the identification number of version, makes whether user understands used software
For newest version and function provided by it etc..In general, each version number can be divided into major version number and time version
This number two parts, such as V4.0, major version number are 4, secondary version number 0.
For convenience of understanding, a specific example of version number (Version) is provided are as follows:
Version:=MajorVersionMinorVersion
MajorVersion:=VersionNumber
MinorVersion:=VersionNumber
VersionNumber:=Int32
In this example embodiment, version number is composed of major version number and secondary version number, and 8 after following magic number closely byte determines
Major version number and secondary version number, major version number and secondary version number use an Int32 (small end) to store respectively.
Wherein, authorization sequence number is the unique identification code generated by encryption, the UUID tool provided usually using JDK
The authorization sequence number is generated, for guaranteeing the uniqueness of authorization sequence number.
For convenience of understanding, a specific example of authorization sequence number (SerialNumber) is provided are as follows:
SerialNumber:=UUID (Byte8*36),
In this example embodiment, the number of License is used to store using 36 bytes, the number of the License is authorization
Sequence number.
Software license generation method provided by the present embodiment, can be by providing the side of default template or customized template
Formula, to provide the data format of flexible licensing, and can be according to the product information of software product, flexible setting as needed
Version number, so that dilatation and the upgrade maintenance in licensing later period of the software license ultimately produced convenient for product.
Fig. 2 is the flow chart of the software license generation method in another embodiment, software license as shown in Figure 2
Generation method includes:
Step S10, obtains the License Info of software, and the License Info includes the product information and authorization letter of the software
Breath.
Step S20 determines the data format of software license.
Step S31 judges whether the software is upgrading products according to the product information, if it is not, step S32 is met, if
It is to skip to step S32 '.
Specifically, the version information of product is generally included in the product information that step S10 is obtained, when software product is to update
When product, there is continuity between version information and the version information of its product before updating;When software product is new product
When, it generally can also be numbered, i.e., may determine that from the product information of software product described from 1.0 etc. in product version information
Whether software is upgrading products.
When a software product is new product, there is no the comparison of the existing product with software product, the software products
It is not upgrading products.
When a software product is not new product, the update of software product is carried out on the basis of being included in existing product
Partial function the change of lesser software product such as perfect and when there are larger changes for the implementation of function of software product
The upgrading that software product is carried out when dynamic.According to actual demand, self-defining is carried out to the update of software product.
Step S32 determines the major version number and secondary version number of the software license according to the product information of the software.
When software product is new product, setting for version number can be carried out according to the long-range developmental program of the new product
It is fixed.
The major version number and secondary version number can voluntarily provide the composition of version number's byte length and number or letter
Mode etc..
Step S32 ', according in the product information of the software more new information, before the software upgrading product software
The major version number and secondary version number of licensing determine the major version number and secondary version number of the software license of the software.
Specifically, the update change such as software product is smaller, only secondary version number can be changed;When software product more
It newly changes larger, then major version number is changed, to be synchronized with product, conducive to the later maintenance of licensing.
In one embodiment, it manages and maintains for convenience of to the software license progress later period, is produced according to software
The feature that product update, can change the secondary version number of the software license of the software product of update, major version number is motionless;It will
The major version number of the software license of the software product of upgrading is changed, and secondary version number is motionless.
Step S40 generates the software license of the data format, the software license packet according to the License Info
Include magic number, the version number and authorization sequence number.
Software license generation method provided by the present embodiment can be to new software according to the product information of software product
Product, smaller change update software product and larger change upgrading software product, flexible setting key plate sheet as needed
Number and secondary version number embody so that dilatation and the liter in licensing later period of the software license ultimately produced convenient for product
Grade maintenance.
Fig. 3 is the flow chart of the software license generation method in another embodiment, software license as shown in Figure 3
Generation method includes:
Step S10a, obtains the License Info of software, and the License Info includes the product information of the software, authorization letter
Breath and customer information, the customer information include software installation environment and subscriber identity information.
Specifically, the software installation environment is the installation environments information such as the operating system environment of runs software, the visitor
The information such as family identification information, including customer name, project name, computer terminal mark, operator's mark, can according to need spirit
Setting living.
Step S20a determines the data format of software license.
Step S30a determines the version number of the software license according to the product information of the software.
Step S40a generates the software license of the data format, the software license according to the License Info
It may include magic number, the version number, authorization sequence number, extended attribute domain, encrypted data fields and signed data domain.
Specifically, the extended attribute domain includes data field, by the product information, the authorization message, the software
The one of which or any combination of installation environment information and the subscriber identity information are stored in the data field.To selected
When authorization message is stored, need according to format as defined in selected default template or customized template, by specific information
It inserts in the data field in specific extended attribute domain, to generate the data field for meeting default template or customized exemplary format.
By the product information, the authorization message, the software installation environmental information and the subscriber identity information
The encrypted data fields are stored in after the encryption of one of or any combination.The process that authorization message is encrypted can incite somebody to action
Authorization message is completed together during being stored in encrypted data fields, authorization message can also be executed using external service program and added
After close, encrypted authorization message is directly stored further according to the format of encrypted data fields.Sets itself is according to demand
It can.
By the product information, the authorization message, the software installation environmental information and the subscriber identity information
The signed data domain is stored in after one of or any combination storing execution word signature.It is identical as encrypted data fields, institute
The signed data domain stated can execute together number label by selected authorization message during being stored in signed data domain
It stores after name process, after external service program completion digital signature can also be used, will be executed according still further to the format in signed data domain
Data after digital signature are stored.
Above-mentioned extended attribute domain, encrypted data fields and signed data domain can be used in any combination.
Storage content in the data field be it is non-encrypted can public information, such as product information, the encryption data
Storage content in domain be encryption can not public information, such as authorize time limit or scope of authority information, the signed data domain
In storage content be also encrypted, and need the not ostensible information that authenticates.
Further, the mode for freely selecting public private key pair can be used in the encryption information, reaches higher confidentiality
Energy.
Preferably to express above content, a specific example in extended attribute domain (popertiesPhrase) is provided
Are as follows:
PopertiesPhrase:=PropertiesPhraseDataLengthPropertiesHea dPropertyIt
em*
PropertiesPhraseDataLength:=Int32
PropertiesHead:=PropertiesCount
PropertiesCount:=Int32
PropertyItem:=PropertyKeyEntryPropertyValueEntry
PropertyKeyEntry:=StringEntry
StringEntry:=StringLength Byte8*
StringLength:=Int32
PropertyValueEntry:=StringEntry
StringEntry:=StringLength Byte8*
StringLength:=Int32
Wherein, extended attribute domain (popertiesPhrase) is by extended attribute numeric field data length
(PropertiesPhraseDataLength), Attribute domain head (PropertiesHead) and 0 arrives multiple data fields
(PropertyItem) it forms.Extended attribute numeric field data length (PropertiesPhraseDataLength) uses one
Int32 stores the byte length of extended attribute domain overall data, and Attribute domain head (PropertiesHead) use one
Int32 stores the number (PropertiesCount of data Domain Properties member
);Data field is made of 0 or multiple attribute members (PropertyItem), and each attribute member is closed comprising Attribute domain
The entity PropertyValueEntry of key word entity (PropertyKeyEntry) and Attribute domain keyword respective value,
PropertyKeyEntry and PropertyValueEntry entity all employs an Int32 to store the byte long of entity
Degree, followed by be entity byte stream.
Provide a specific example of encrypted data fields (EncryptedLicensePharse) are as follows:
EncryptedLicensePharse:=EncryptedDataLength Byte8*
EncryptedDataLength:=Int32
In this example embodiment, the encryption number that encrypted data fields (EncryptedLicensePharse) is 8 bits is provided first
According to byte length (EncryptedDataLength Byte8*), and store using an Int32 byte of encrypted data fields
Length (EncryptedDataLength), what is and then stored below is the byte data of encryption data.
Provide a specific example in signed data domain (SignLicensePharse) are as follows:
SignLicensePharse:=SignDataLength Byte8*
SignLicensePharse:=Int32
In this example embodiment, the signed data byte that signed data domain (SignLicensePharse) is 8 bits is provided first
Length (SignDataLength Byte8*), and store using an Int32 byte length in signed data domain
(SignLicensePharse), what is and then stored below is the byte data of signed data.
Software license generation method provided by the present embodiment, by product information in License Info, the authorization message,
The one of which or any combination of the software installation environmental information and the subscriber identity information, are stored respectively according to demand
In extended attribute domain, encrypted data fields and signed data domain, the data in the extended attribute domain can arbitrarily add according to demand
Add and extend, the data of storage can be public data or encrypted data, so that the data content of licensing storage is flexible
It is changeable;The encrypted data fields provide safer data encryption storage, so that the data of licensing are safer;It is described
Data in signed data domain enable the data stored in licensing directly to carry out signature verification, further improve described
The safety of data in licensing.
Fig. 4 is the flow chart of the software license generation method in further embodiment, software license as shown in Figure 4
Generation method includes:
Step S11 obtains the product information and authorization message of software.
Step S12 judges whether to need customer information, if so, step S13 is met, if it is not, skipping to step S16.
Step S13 judges whether to need software installation environmental information, if meeting step S13 ', if it is not, skipping to step S14.
Step S13 ' obtains software installation environmental information.
Step S14 obtains subscriber identity information.
Step S15 judges whether the data for needing to merge the software installation environmental information and subscriber identity information, if
It is to meet step S15 ', if it is not, meeting step S16.
Step S15 ' merges the data of the software installation environmental information and subscriber identity information.
Specifically, the various information that will acquire carry out data merging, so that the information obtained becomes machine and can recognize
Data.
Step S16 verifies the legitimacy of the data, exports school
Test result.
Specifically, in default template and customized template, preferably to make software license that there are uniformity, different moulds
The fixation position of version needs to place fixed presupposed information data, when the data got are defeated not in accordance with preset fixed position
It is fashionable, it is illegal to be verified as data.
Step S17 judges whether the check results of the data are legal, if so, step S18 is met, if it is not, return step
S11。
Step S18 generates License Info.
Software license generation method provided by the present embodiment is obtaining product information and customer information and is generating license
During information, verified by the legitimacy to input data, so that the software license uniform format ultimately produced,
Dilatation and the upgrade maintenance in licensing later period convenient for product.
Fig. 5 is the flow chart of the software license generation method in further embodiment, software license as shown in Figure 5
Generation method includes:
Step S40 obtains License Info and the version number of software product.
Step S41 judges whether to select customized template, if so, step S42 is met, if it is not, skipping to step S44.
Step S42 judges whether the generation for supporting the customized template, if so, step S44 is skipped to, if it is not, connecing step
S43。
Step S43 uses default template.
Step S44 judges whether to include extended attribute domain, if so, meeting step S45.If it is not, skipping to step S46.
Step S45 determines the storage content in extended attribute domain.
Step S46 judges whether to include encrypted data fields, if so, step S47 is met, if it is not, skipping to step S48.
Step S47 determines the storage content of encrypted data fields.
Step S48 judges whether to include signed data domain, if so, step S49 is met, if it is not, skipping to step S49 '.
Step S49 determines the storage content in signed data domain.
Step S49 ' generates software license.
Specifically, the information such as law acknowledge can be added during ultimately producing software license.
Software license generation method provided by the present embodiment, by product information in License Info, the authorization message,
The one of which or any combination of the software installation environmental information and the subscriber identity information, are stored respectively according to demand
In extended attribute domain, encrypted data fields and signed data domain, so that the software license ultimately produced is convenient for the dilatation of product, with
And the upgrade maintenance in licensing later period.
The following are the structural schematic diagram of software license generating means provided by the present invention, filled provided by each embodiment
Setting is device corresponding to sending method provided by the present invention, each embodiment corresponding to heretofore described method it is detailed
Thin description content is suitable for corresponding device accordingly, repeats no more.
Fig. 6 is the structure chart of the software license generating means in one embodiment, and software license as shown in FIG. 6 is raw
Include: at device
License Info obtains module 10, and for obtaining the License Info of software, the License Info includes the software
Product information and authorization message.In one embodiment, License Info obtains License Info of the module 10 for the software of acquisition
It can also further comprise the customer information for being licensed client, the customer information includes software installation environmental information and customer ID
Information.
Data format determining module 20, for determining the data format of software license.Specifically, the data format can
To include default exemplary format or customized exemplary format.
Version number's determining module 30, the version for the software license according to the obtaining product information of the software
Number.The version number may include major version number and secondary version number.
Specifically, version number's determining module 30 is used to judge whether the software is upgrading products, if it is not, then basis
The product information of the software distributes the major version number and secondary version number of the software license, if so, obtaining original software
The major version number and secondary version number of product software licensing, and according to the more new information, original in the product information of the software
The major version number and secondary version number of the software license of software product, determine the software license of the software major version number and
Secondary version number.
Licensing generation module 40, for generating the soft of the data format according to the License Info and the version number
Part licensing, the software license include magic number, the version number and authorization sequence number.
Software license generating means provided by the present embodiment can be to new software according to the product information of software product
Product, smaller change update software product and larger change upgrading software product, flexible setting key plate sheet as needed
Number and secondary version number embody so that dilatation and the liter in licensing later period of the software license ultimately produced convenient for product
Grade maintenance.
Fig. 7 is the structure chart of the software license generating means in another embodiment, software license as shown in Figure 7
Generating means, comprising:
License Info obtains module 10, and for obtaining the License Info of software, the License Info includes the software
Product information and authorization message.In one embodiment, License Info obtains License Info of the module 10 for the software of acquisition
It can also further comprise the customer information for being licensed client, the customer information includes software installation environmental information and customer ID
Information.
Data format determining module 20, for determining the data format of software license.Data format determining module 20 is used
It may include defaulting exemplary format and customized exemplary format in the data format of determining software license.
Version number's determining module 30, for judging whether the software is upgrading products.Wherein, version number may include master
Version number and secondary version number, version number's determining module 30 include:
Judging unit, for judging whether the software is upgrading products;
Version number's allocation unit, for being believed according to the product of the software when judging the software not is upgrading products
Breath distributes the major version number and secondary version number of the software license;
Version number's updating unit, for when judging the software is upgrading products, obtaining original software of the software
The major version number and secondary version number of product software licensing, and according to the more new information, described in the product information of the software
The major version number and secondary version number of the software license of original software product of software, determine the software license of the software
Major version number and secondary version number.
Licensing generation module 40, for generating the software license of the data format, institute according to the License Info
Stating software license includes magic number, the version number and authorization sequence number.
In one embodiment, the data format that licensing generation module 40 is generated according to the License Info it is soft
Part licensing can further include extended attribute domain.Correspondingly, software license generating means further comprise that extension belongs to
Property domain generation unit 41, for storing the product information, the authorization message, the software installation environmental information and the visitor
The one of which or any combination of family identification information.
In one embodiment, the data format that licensing generation module 40 is generated according to the License Info it is soft
Part licensing, can further include encrypted data fields.Correspondingly, software license generating means further comprise encryption number
According to domain generation unit 42, for storing the encrypted product information, the authorization message, the software installation environmental information
With the one of which or any combination of the subscriber identity information.
In one embodiment, the data format that licensing generation module 40 is generated according to the License Info it is soft
Part licensing can further include signed data domain.Correspondingly, software license generating means further comprise number of signature
According to domain generation unit 43, for the product information, the authorization message, the software installation after storing execution word signature
The one of which or any combination of environmental information and the subscriber identity information.
Software license generating means provided by the present embodiment, by product information in License Info, the authorization message,
The one of which or any combination of the software installation environmental information and the subscriber identity information, are stored respectively according to demand
In extended attribute domain, encrypted data fields and signed data domain, so that the software license ultimately produced is convenient for the dilatation of product, with
And the upgrade maintenance in licensing later period.
The software license generating means as provided by the embodiment of the present invention, the principle solved the problems, such as and software above-mentioned
Licensing generation method is similar, therefore the implementation of software license generating means may refer to the implementation of preceding method, repetition
Place repeats no more.
Fig. 8 is the software license generating process schematic diagram in another embodiment, and software license as shown in Figure 8 is raw
Include: at process
Step 100, License Info is obtained.
Specifically, the License Info includes the product information and authorization message of the software, it further include being licensed client
Customer information include software installation environment and subscriber identity information, above-mentioned license can be obtained according to the demand of the authorization of software and believed
Cease it is therein part or all.
Step 200, the License Info is subjected to data merging according to selected data format content.
Specifically, can use default template, also can use customized template, by the above-mentioned License Info got by
It is inputted according to data format as defined in default template or customized template.In embodiment as shown in the figure, each provide
The template of two kinds of data formats of Properties and XML, such as wherein in the template of Properties data format, Key1=
Value1 etc., for the key value title and content of the License Info that the needs that the template provides input, according to the definition of template,
Different information has different data type requirements, needs defeated according to the sequence of information keywords value and format as defined in template
Enter, just can guarantee that subsequent data verification passes through.The version of XML format is identical as Properties, repeats no more.
Step 300, the data after the merging are generated has magic number, authorization sequence number, version number, extended attribute domain,
The software license of encrypted data fields and signed data domain.
Specifically, in this step will after the License Info that step 200 inputs has input customized template or default template
The information of step 200, whether need to encrypt according to data etc., it is encapsulated into the extended attribute domain of licensing respectively
(PropertiesPhrase), encrypted data fields (EncryptedLicensePharse) and signed data domain
(SignLicensePharse) in, with magic number (MagicNumber), version number (Version) and authorization sequence number
(SerialNumber) together, software license is formed.
Step 400, after law acknowledge being added, last software license is generated.
Specifically, the software license for again generating step 300, is separately added into law acknowledge and cipher text part start information
With cipher text part ending message, final complete software license is formed.
Software license generating means provided by the present embodiment, by product information in License Info, the authorization message,
The one of which or any combination of the software installation environmental information and the subscriber identity information, are stored respectively according to demand
In extended attribute domain, encrypted data fields and signed data domain, so that the software license ultimately produced is convenient for the dilatation of product, with
And the upgrade maintenance in licensing later period.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.