CN109146392A - A kind of authorization License Management method and device - Google Patents

A kind of authorization License Management method and device Download PDF

Info

Publication number
CN109146392A
CN109146392A CN201711202672.0A CN201711202672A CN109146392A CN 109146392 A CN109146392 A CN 109146392A CN 201711202672 A CN201711202672 A CN 201711202672A CN 109146392 A CN109146392 A CN 109146392A
Authority
CN
China
Prior art keywords
license
trading card
equipment
block
content
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.)
Granted
Application number
CN201711202672.0A
Other languages
Chinese (zh)
Other versions
CN109146392B (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 Technologies Co Ltd
Original Assignee
New 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201711202672.0A priority Critical patent/CN109146392B/en
Priority to PCT/CN2018/117232 priority patent/WO2019101170A1/en
Publication of CN109146392A publication Critical patent/CN109146392A/en
Application granted granted Critical
Publication of CN109146392B publication Critical patent/CN109146392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present application provides a kind of authorization License Management method and device, is related to field of communication technology, comprising: generates block according to preset rules, the block of generation is synchronized to each client node;Generate corresponding first License of the first equipment;Generate the first trading card;First trading card is stored to the host node and is in the block of active state;Determine the first client node belonging to first equipment;Generate the second trading card;Second trading card is stored in the host node and is in the block of active state;Second trading card is sent to first client node, it is in the block of active state so that first client node stores second trading card to first client node, and gives the down sending content of the first License to first equipment.Management difficulty is reduced using scheme provided by the embodiments of the present application.

Description

A kind of authorization License Management method and device
Technical field
This application involves fields of communication technology, more particularly to a kind of authorization License Management method and device.
Background technique
Production equipment and after being sold to its client, if these clients think the equipment that normal use is bought or normal Using certain functions of equipment, need to obtain corresponding License (authorization), and the License that enterprise generates is by enterprise Industry management.
Below for through activation file authorizing, to equipment manufacturing enterprise in the prior art to the manager of License Method is illustrated:
Authorized access code after user's special authority, then user is obtained by inputting related command on institute's purchase of equipment The sequence number and device id of equipment, then the website of logging device manufacturing enterprise, in the website by the product type of equipment, award Weighted code, sequence number and device id application activate file, will activate on file download to institute's purchase of equipment, then install in equipment Activation file is stated, equipment obtains License.
Equipment is other than needing to obtain Licesne, it is also possible to the operation such as need to upgrade License, migrate, also It is License required for equipment it is also possible to circulating, equipment manufacturing enterprise is the circulation situation for understanding License, is needed License is managed, License Management is generally realized by way of manual record, however, as enterprise is produced Equipment increases, and needs the information of manual record more and more, so that the difficulty of equipment manufacturing enterprise management License is increasingly Greatly.
Summary of the invention
The embodiment of the present application is designed to provide a kind of authorization License Management method and device, is set with reducing The difficulty that standby manufacturing enterprise is managed License.Specific technical solution is as follows:
A kind of authorization License Management method, applied to the host node in privately owned block chain, the privately owned block chain Further include: client node;The described method includes:
Block is generated according to preset rules, and the block of generation is synchronized to each client node;
Generate corresponding first License of the first equipment;
The first trading card is generated, first trading card includes the content and described first of the first License The owner information of License, the owner information for the first License that first trading card includes are the main section The information of point;The device identification that the content of first License includes is the mark of first equipment;
First trading card is stored to the host node and is in the block of active state;
Determine the first client node belonging to first equipment;
The second trading card is generated, second trading card includes the content and described first of the first License The owner information of License, the owner information for the first License that second trading card includes are described first The information of client node;
Second trading card is stored in the host node and is in the block of active state;
Second trading card is sent to first client node, so that first client node is by described second Trading card, which is stored to first client node, to be in the block of active state, and will be held in the first License Issue first equipment.
A kind of authorization License Management device, applied to the host node in privately owned block chain, the privately owned block chain Further include: client node;Described device includes:
The block of generation for generating block according to preset rules, and is synchronized to each client and saved by block synchronization module Point;
License generation module, for generating corresponding first License of the first equipment;
First trading card generation module, for generating the first trading card, first trading card includes described first The owner information of the content of License and the first License, first trading card include described first The owner information of License is the information of the host node;The device identification that the content of first License includes is institute State the mark of the first equipment;
First trading card memory module is in active state for storing first trading card to the host node In block;
Node determining module, for determining the first client node belonging to first equipment;
Second trading card generation module, for generating the second trading card, second trading card includes described first The owner information of the content of License and the first License, second trading card include described first The owner information of License is the information of first client node;
Second trading card memory module, for by second trading card store in the host node be in enliven shape In the block of state;
Trading card sending module, for sending second trading card to first client node, so that described the Second trading card is stored to first client node and is in the block of active state by one client node, and will be described The down sending content of first License gives first equipment.
A kind of electronic equipment, the electronic equipment are the host node in privately owned block chain, the privately owned block chain further include: Client node;The electronic equipment includes: processor, machine readable storage medium and system bus, the processor and machine Readable storage medium storing program for executing completes mutual communication by the system bus, and the machine readable storage medium is stored with can be by The machine-executable instruction that the processor executes, the machine-executable instruction include: synchronic command, generate instruction, storage Instruction, determine instruction and transmission instruction;
The processor is promoted to realize step by the synchronic command: generating block according to preset rules, and by generation Block is synchronized to each client node;
The processor is promoted to realize step by distribution instruction: generating corresponding first License of the first equipment;
The processor is promoted to realize step by generation instruction: generating the first trading card, the first trading card packet The content of the first License and the owner information of the first License are included, first trading card includes described The owner information of first License is the information of the host node;The device identification that the content of first License includes For the mark of first equipment;
The processor is promoted to realize step by the store instruction: first trading card is stored to the host node In block in active state;
The processor is promoted to realize step by the determine instruction: determining that the first client belonging to first equipment saves Point;
The processor is promoted to realize step by generation instruction: generating the second trading card, the second trading card packet The content of the first License and the owner information of the first License are included, second trading card includes described The owner information of first License is the information of first client node;
The processor is promoted to realize step by the store instruction: second trading card is stored in the master Node is in the block of active state;
The processor is promoted to realize step by transmission instruction: sending described second to first client node and hands over Yi Dan, so that first client node, which stores second trading card to first client node, is in active state Block in, and by the down sending content of the first License give first equipment.
A kind of machine readable storage medium, the machine readable storage medium are the storage of the host node in privately owned block chain Medium, the privately owned block chain further include: client node;
The machine readable storage medium is stored with machine-executable instruction, and the machine-executable instruction includes: synchronization Instruction generates instruction, store instruction, determine instruction and sends instruction;
When being called and being executed by processor, the distribution instruction promotes the processor to realize step for the distribution instruction It is rapid: to generate block according to preset rules, and the block of generation is synchronized to each client node;
When being called and being executed by processor, the distribution instruction promotes the processor to realize step for the generation instruction It is rapid: to generate corresponding first License of the first equipment;
When being called and being executed by processor, the generation instruction promotes the processor to realize step for the generation instruction It is rapid: generate the first trading card, first trading card include the first License content and the first License Owner information, the owner information for the first License that first trading card includes are the information of the host node; The device identification that the content of first License includes is the mark of first equipment;
For the store instruction when being called and being executed by processor, the store instruction promotes the processor to realize step It is rapid: first trading card being stored to the host node and is in the block of active state;
For the determine instruction when being called and being executed by processor, the determine instruction promotes the processor to realize step It is rapid: to determine the first client node belonging to first equipment;
When being called and being executed by processor, the generation instruction promotes the processor to realize step for the generation instruction It is rapid: generate the second trading card, second trading card include the first License content and the first License Owner information, the owner information for the first License that second trading card includes are first client node Information;
For the store instruction when being called and being executed by processor, the store instruction promotes the processor to realize step It is rapid: second trading card being stored in the host node and is in the block of active state;
When being called and being executed by processor, the transmission instruction promotes the processor to realize step for the transmission instruction It is rapid: second trading card to be sent to first client node, so that first client node is traded described second It singly stores to first client node and is in the block of active state, and the down sending content of the first License is given First equipment.
As seen from the above, in scheme provided by the embodiments of the present application, enterprise and client form privately owned block chain, that is, on The privately owned block chain that the host node and client node stated are formed, the corresponding node of host node i.e. enterprise generate the first equipment pair The first License answered, and the first trading card is generated, it include the content of the first License in the first trading card, in addition, first The License owner information that trading card is included is the information of host node, is determining the section of the first client belonging to the first equipment After point, the second trading card is generated, the second trading card also includes the content of the first License, in addition, the second trading card is included License owner information is the information of the first client node, and host node sends the second trading card to the first client node, in this way After first client node obtains the second trading card, the down sending content of the first License can be given according to above-mentioned second trading card First equipment.Compared in the prior art, in License Management scheme provided by the embodiments of the present application, host node by with visitor The privately owned block chain that family node is formed realizes the management of License, without the circulation situation of manual record License, drop The difficulty that low equipment manufacturing enterprise is managed License, in addition, the equipment of each client is saved from corresponding client Point can be obtained the content of License, License content be obtained from the website of manufacturing enterprise without each equipment, thus more It further reduced the difficulty that equipment manufacturing enterprise is managed License.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of device authorization method provided by the embodiments of the present application;
Fig. 2 is a kind of structural schematic diagram of block provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram of privately owned block chain provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of trading card provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of equipment authorization device provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Since the difficulty that equipment manufacturing enterprise is managed License in the prior art is increasing, to solve this Technical problem, the embodiment of the present application provide a kind of License Management method.
Referring to Fig. 1, a kind of flow diagram of License Management method is provided, which is applied to Host node in privately owned block chain, above-mentioned privately owned block chain further include: client node.
Above-mentioned host node can generate block according to preset rules, and block generated is synchronized to each client and is saved Point.
It should be noted that host node detects that block can be generated and carry out block synchronization, this Shen by meeting preset rules Do not limit that block generates and block is synchronous executes sequence with following S101-S107 please.That is, host node may It in the case where being not carried out following S101-S107 either steps, detects and meets preset rules, and then generate block, and is synchronous Block, it is also possible to during executing following S101-S107 either steps, detect and meet preset rules, and then generation area Block, and synchronous block.
Above-mentioned License Management method includes:
S101, corresponding first License of the first equipment is generated.
In one example, corresponding first License of the first equipment that host node generates can be interim License, It is also possible to formal License, the application is defined not to this.
In one example, the available third trading card of host node, the third trading card include the interior of the 2nd License The owner information of appearance and the 2nd License, the owner information of the 2nd License is the information of host node, by the third Trading card, which is stored to host node, to be in the block of active state.
When the device identification that the content of the 2nd License includes be the first equipment mark and including type of transaction be When upgrading, the License obtained after upgrading to the 2nd License is as the first License.
In another example, host node, which can receive, is used to indicate the 2nd License by the second equipment transportation to first The instruction of equipment;When the device identification that the content of the 2nd License includes be the second equipment mark and including type of transaction When to migrate, the License obtained after migrating to the 2nd License is as the first License.
S102, the first trading card is generated.
First trading card includes the content of the first License and the owner information of the first License, first transaction The owner information for the first License for singly including is the information of host node.
Wherein, the device identification that the content of the first License includes is the mark of above-mentioned first equipment.
S103, it the first trading card is stored to host node is in the block of active state.
In one example, after host node generates the first trading card, first friendship can be broadcasted on privately owned block chain Yi Dan.
S104, the first client node belonging to the first equipment is determined.
S105, the second trading card is generated.
Second trading card includes the content of the first License and the owner information of the first License, second transaction The owner information for the first License for singly including is the information of the first client node.
S106, the second trading card is stored to being in the block of active state in host node.
S107, the second trading card is sent to the first client node, so that the first client node stores the second trading card It is in the first client node in the block of active state, and gives the down sending content of the first License to the first equipment.
In one example, it may include: in privately owned block chain that host node, which sends the second trading card to the first client node, The second trading card of upper broadcast, such first client node can receive second trading card.
In one example, host node can also obtain the 4th trading card, and the 4th trading card includes the 3rd License The owner information of content and the 3rd License, the owner information for the 3rd License that the 4th trading card includes are second The information of client node.When the type of transaction that the content of the 3rd License includes is that client changes, the 4th trading card is deposited Storage is in the block of active state to host node.
In one example, in above-mentioned each trading card further include: indicate License trading order serial number and License owner signature;
Wherein, the License owner signature of a trading card storage are as follows: with the first private key to encrypt code key, to first The information that public key and the first serial number encrypt, the first private key are as follows: recorded in a upper trading card pointed by the trading card The private key of the License owner, the first public key are as follows: the public key of the License owner recorded in the trading card, the first serial number Are as follows: the serial number that a upper trading card is stored pointed by the trading card.
In one example, above-mentioned host node can be understood as the corresponding node of equipment manufacturing enterprise, and client node can be managed It solves to buy the corresponding node of client of institute of the enterprise production equipment.Above-mentioned first equipment can be understood as any of enterprise's production One equipment.
Host node has the permission for generating block in above-mentioned privately owned block chain, after generating block due to host node, can incite somebody to action Block generated is synchronized to each client node, it is therefore contemplated that the block in host node and each client node is one It causes.As host node generates increasing for number of blocks, there may be multiple blocks in host node and each client node.
In one example, when host node generates block according to preset rules, it can be and generate one at interval of preset duration Block can be point at a fixed time and generate block etc..
In the block that host node generates, the block being newly generated can be referred to as the area that host node is in active state Block.Corresponding, the block in each client node in active state by host node is newest it is to be understood that be synchronized to respectively The block of a client node.
Above-mentioned each block is used for store transaction list, and in an example, referring to fig. 2, the structure for providing a kind of block is shown It is intended to, the chain relationship between each block is shown with arrow in the figure, the time of generation of each block gets over from left to right Come it is shorter, this chain relationship by block 00, block 10, block 20 and block 30 amount to 4 blocks formed, wherein block 00 It is the block of first generation, is properly termed as wound generation block.
From figure 2 it can be seen that block hash before can also being stored in each block, e.g., the preceding block hash in block 10 11, the preceding block hash 21 in block 20, the preceding block hash 31 in block 30.
The preceding block stored in one block hashes the serial number for indicating the previous block of this block, specifically, each The serial number of block, which can be, generates what the information such as time determined according to block, before being stored in such block the case where block hash Under, the ordinal relation that can be clearly understood that between each block is hashed according to the preceding block stored in each block.
In addition, since wound generation block is first block that host node generates, so before it without other blocks, because This, creates block hash before can not storing in generation block.
TX indicates the trading card of License, the trading card that each block is stored are as follows: TX2000-TX2011 in Fig. 2.
The each trading card stored in above-mentioned each block corresponds to a License, at least stores in a trading card There is following information:
The content of License corresponding to the trading card;
The owner information of License corresponding to the trading card.
In one example, the content of above-mentioned License may include:
Device type, authorization code, equipment Serial Number, device id (Identification, mark), authorization, effectively Phase, type of transaction.
Wherein, above equipment ID can be character string forms, be also possible to document form, the application not to this into Row limits.
Above-mentioned authorization refers to the mode for obtaining authorization, can be the installation activation file in equipment and is authorized, also It can be input activation code or authorization code in equipment to be authorized.
Above-mentioned validity period includes: permanent effective, absolute validity period and relative efficiency phase.
Above-mentioned type of transaction can be duration, Function Extension, scale dilatation, migration, client's change etc..
Wherein, when above-mentioned type of transaction is duration, Function Extension, scale dilatation, it can be understood as needs pair License is upgraded, that is, type of transaction be duration, Function Extension, scale dilatation when, characterization need pair License is upgraded.When above-mentioned type of transaction is migration, it is possible to understand that are as follows: migration of the License in equipment room.Above-mentioned friendship When easy type is that client changes, it is possible to understand that are as follows: the transfer of equipment between the different customers.
The owner information of aforementioned License can be any information that can uniquely indicate the License owner, example Such as, the address of client node, the mark of client node, the address of host node, the mark of host node etc..
Host node can distribute License for equipment in above-mentioned privately owned block chain.Due to that can be deposited after production equipment It trades equipment is sold to Transfer of facility etc. equipment between client or client, and the transaction of each secondary device can cause The content change of License, the variation each time of the content of License can be referred to as a License transaction.
As seen from the above, in scheme provided by the above embodiment, enterprise and client form privately owned block chain, that is, above-mentioned Host node and the privately owned block chain that is formed of client node, it is corresponding that the corresponding node of host node i.e. enterprise generates the first equipment The first License, and generate the first trading card, include the content of the first License in the first trading card, in addition, first hands over Easily single License owner information for being included is the information of host node, is determining the first client node belonging to the first equipment Afterwards, the second trading card is generated, the second trading card also includes the content of the first License, in addition, the second trading card is included License owner information is the information of the first client node, and host node sends the second trading card to the first client node, in this way After first client node obtains the second trading card, the down sending content of the first License can be given according to above-mentioned second trading card First equipment.Compared in the prior art, in License Management scheme provided by the above embodiment, host node by with client The privately owned block chain that node is formed realizes the management of License, without the circulation situation of manual record License, reduces The difficulty that equipment manufacturing enterprise is managed License, in addition, the equipment of each client is from corresponding client node The content that can be obtained License obtains License content from the website of manufacturing enterprise without each equipment, thus more into One step reduces the difficulty that equipment manufacturing enterprise is managed License.
Below with reference to privately owned block chain shown in Fig. 3, License Management method provided by the embodiments of the present application is carried out again Detailed introduction.
Privately owned block chain shown in Fig. 3 by the corresponding host node 301 of equipment manufacturing enterprise, have purchased the enterprise and produce and set The corresponding client node 302 of standby A client and the corresponding client node 303 of B client for having purchased institute of the enterprise production equipment It constitutes.
Over time, as shown in 301 top of host node in Fig. 3, host node exists the block generated of host node 301 Block generated can be synchronized in each client node of privately owned block chain after generating each block, therefore, client node 302 and client node 303 in block the case where it is identical with host node 301, be not shown in Fig. 3.
In addition, shown above host node 301 in Fig. 3 each block the case where with the feelings of each block shown in Figure 2 Condition is identical, and which is not described herein again.
It should be noted that in view of the space Fig. 3 is limited, be described below in the TX3000-TX3011 that refers to not in Fig. 3 It shows.
Trading card (TX), client node 302 and client node 303 are generated to host node 301 below and obtain trading card Process is described in detail as follows:
It is assumed that host node 301 currently generates 4 blocks altogether, successively according to the sequence of generation time from long to short are as follows: area Block 00, block 10, block 20 and block 30, that is, block 30 are the block that host node 301 is newly generated, and are saved based on block 30 The block of active state is in point 301.
After enterprise produces equipment 401, host node 301 is that equipment 401 distributes interim License0, and generates TX3000. TX3000 is stored in host node 301 and is in the block 30 of active state by host node 301.Include: in the TX3000 The content of License0 and the owner information of License0.Wherein, the device identification for including in the content of License0 are as follows: set Standby 401 mark.Equipment 401 is not sold also at this time, and equipment 401 still belongs to enterprise, correspondingly, the owner of License0 is also Host node 301, therefore the owner information for the License0 for including in TX3000 are as follows: the information of host node 301.
After A client's purchase of equipment 401, for guarantee A client can normal use equipment 401 so that equipment 401 obtains temporarily License, host node 301 generates TX3001, and TX3001 is stored in host node 301 and is in the block 30 of active state. It include: content and the owner of License0 of License0 in the TX3001.Wherein, the License0 for including in TX3001 Owner information are as follows: the information of client node 302, the device identification for including in the content of License0 are as follows: the mark of equipment 401 Know,.
After host node generates TX3001, TX3001 is broadcasted on privately owned block chain, client node 302 obtains TX3001, and Client node 302 is stored in be in the block of active state.Client node 302 is in the institute for determining the License0 in TX3001 The person's of having information be self information and License0 content in include device identification when being the mark of equipment 401, will For the down sending content of License0 to equipment 401, equipment 401 downloads License0 according to the content of License0, and installs License0 obtains temporary Authorization.
After A client is that equipment 401 buys formal License, host node 301 is that equipment 401 distributes formal License1, And generate TX3002.TX3002 is stored in the block 30 in active state by host node 301.Include: in the TX3002 The content of License1 and the owner information of License1, wherein the owner information for the License1 that the TX3002 includes Are as follows: the information of host node 301, the device identification for including in the content of License1 are as follows: the mark of equipment 401;
Since A client has been that equipment 401 buys formal License, to guarantee that equipment 401 obtains formal License, main section Point 301 generates TX3003, and TX3003 is stored in host node 301 and is in the block 30 of active state.It is wrapped in the TX3003 It includes: the content of License1 and the owner information of License1.Wherein, the owner for the License1 for including in the TX3003 Information are as follows: the information of client node 302, the device identification for including in the content of License1 are as follows: the mark of equipment 401,;
After host node generates TX3003, the broadcast them TX3003 on privately owned block chain, client node 302 is obtained TX3003 is stored in client node 302 and is in the block of active state by TX3003.Client node 302 is determining TX3003 In License1 owner information be self information and License1 content in include device identification be equipment 401 When mark, by the down sending content of the License1 recorded in TX3003 to equipment 401, equipment 401 is according to the content of License1 License1 is downloaded, and License1 is installed, obtains duly authorized.
During the work time, the License1 validity period of A client's discovering device 401 closes on, and wants to extend having for License1 Effect phase, client node 302 generate TX3004, TX3004 are stored in client node 302 and is in the block of active state, and TX3004 is broadcasted on privately owned block chain.Wherein, TX3004 includes: the content of License1 and the owner information of License1, Wherein, the device identification for including in the content of License1 are as follows: the mark of equipment 401, the friendship for including in the content of License1 Easy type are as follows: it extends the expiration date, the owner information of License1 are as follows: the information of host node 301.
Host node 301 obtains TX3004, and TX3004 is stored in host node 301 and is in the block 30 of active state.It is main Node 301 determines that the owner information for the License1 for including in TX3004 is type of transaction in itself and the content of License1 When to extend the expiration date, it is that License1 is upgraded that characterization, which needs host node 301, then host node 301 in TX3004 according to wrapping It the information relevant to validity period of the content record of the License1 included and request extended time limit, is distributed for equipment 401 License2 generates TX3005.TX3005 is stored in host node 301 and is in the block 30 of active state by host node 301. It include: the content of License2 and the owner information of License2 in TX3005, wherein include in the content of License2 Device identification are as follows: the mark of equipment 401, the owner information of License2 are as follows: the information of host node 301.
Since A client has been the time limit that equipment 401 requests extension License, after guaranteeing that equipment 401 obtains renewal License, host node 301 generates TX3006, and TX3006 is stored in the block 30 that host node 301 is in active state In, wherein include: the content of License2 and the owner information of License2 in TX3006, is wrapped in the content of License2 The device identification included are as follows: the mark of equipment 401, the owner information for the License2 for including in TX3006 are as follows: client node 302 Information.
After host node 301 generates TX3006, TX3006 is broadcasted on privately owned block chain, client node 302 obtains TX3006 Afterwards, TX3006 is stored in client node 302 to be in the block of active state, client node 302 is in determining TX3006 The owner information of License2 be self information and License2 content in include device identification be equipment 401 mark When, by the down sending content of the License2 recorded in TX3006 to equipment 401, equipment 401 is downloaded according to the content of License2 License2, and License2 is installed, the authorization after being upgraded.
With the progress of work, A client's discovering device 401 is no longer appropriate for current work, needs by not obtaining authorization Equipment 402 replaces equipment 401 to complete work at present, wherein equipment 402 is also above-mentioned enterprise's equipment produced, such case Under, it needs from equipment 401 to migrate above-mentioned License2 to equipment 402, at this moment equipment 401 can actively abandon License2 simultaneously Notice client node 302 migrates License2 to equipment 402, indicates for this purpose, client node 302 is sent to host node 301 License2 is migrated by equipment 401 to the migration instruction of equipment 402, and generates TX3007, and TX3007 is stored in client node In 302 blocks in active state.It include: the content of License2 and the owner information of License2 in the TX3007, Wherein, the device identification for including in the content of License2 are as follows: the mark of equipment 401, type of transaction in the content of License2 Are as follows: migration, the owner information of License2 are as follows: the information of host node 301.
After client node 302 generates TX3007, TX3007 is broadcasted on privately owned block chain, host node 301 is somebody's turn to do After TX3007, TX3007 is stored in host node 301 and is in the block 30 of active state, host node 301 determines in TX3007 The owner information of License2 is that type of transaction is migration in itself and the content of License2, then 301 basis of host node The content for the License2 for including in TX3007 and above-mentioned migration instruction, distribute License3 for equipment 402, generate TX3008, and TX3008 is stored in host node 301 and is in the block 30 of active state, wherein include: in TX3008 The content of License3 and the owner information of License3, wherein the device identification for including in the content of License3 are as follows: set Standby 402 mark, the owner information of License2 are as follows: the information of host node 301.
In addition, it is assumed that equipment 401 has used when the validity period of License is indicated in the form of the relative efficiency phase License2 is 4 months total, and the validity period of License2 is 12 months, then the validity period of License3 is -4 months 12 months The validity period for including in the content of License3 in=8 months, that is, above-mentioned TX3008 are as follows: 8 months.
License2 is migrated by equipment 401 to equipment 402 since A client has requested that, to guarantee that equipment 402 is awarded Power, host node 301 generate TX3009, TX3009 are stored in host node 301 and is in the block 30 of active state, wherein It include: the content of License3 and the owner information of License3 in TX3009, wherein include in the content of License3 Device identification are as follows: the mark of equipment 402, the owner information of License3 are as follows: the information of client node 302.
After host node generates TX3009, TX3009 is broadcasted on privately owned block chain, client node 302 obtains the TX3009 Afterwards, TX3009 is stored in client node 302 to be in the block of active state, client node 302 is in determining TX3009 The owner information of License3 be self information and License3 content in include device identification be equipment 402 mark When, by the down sending content of the License3 recorded in TX3009 to equipment 402, equipment 402 is downloaded according to the content of License3 License3, and License3 is installed, the authorization after being upgraded.
During the work time, A client has found that it no longer needs equipment 402, and then equipment 402 is transferred B client, A visitor Family in order to allow B client it can be seen that owned equipment 402 authorization conditions, client node 302 generate TX3010, and will TX3010 is stored in client node 302 and is in the block of active state.Include: in the TX3010 License3 content and The owner information of License3, wherein the device identification for including in the content of License3 are as follows: the mark of equipment 402, The owner information for the License3 for including in TX3010 are as follows: the information of client node 303.
After client node 302 generates above-mentioned TX3010, TX3010, such 301 He of host node are broadcasted on privately owned block chain Client node 303 can receive TX3010, and after client node 303 receives TX3010, TX3010 is stored in client's section For point 303 in the block of active state, such B client can recognize equipment 402 according to the information recorded in TX3010 Authorization conditions.After host node 301 receives TX3010, TX3010 is stored in the block that host node 301 is in active state In 30, host node 301 is upon examination it is found that type of transaction is client's change, such host node in the content of License3 in TX3010 301 can recognize that equipment 402 and License3 are assigned to B client by A client according to the information recorded in TX3010.
If equipment 402 detects that License3 has expired in the process of running, License3 is sent to client node 303 The notice having expired.Client node 303 generates recycling trading card, referred to herein as TX3011 after receiving the notice.It should It include: the owner information of the content of License3, License3 in TX3011, wherein the owner information of License3 are as follows: The information of main section 301, the device identification for including in the content of License3 are as follows: the mark of equipment 402, in the content of License3 Including type of transaction are as follows: recycling.
Client node 303 broadcasts TX3011 on privately owned block chain.After host node 301 receives TX3011, by TX3011 Host node 301 is stored in be in the block 30 of active state.In this way, host node 301 can be according to including in TX3011 in Appearance knows that the License3 in equipment 402 has expired.
In a kind of implementation, in order to guarantee that equipment can be carried out accurately according to the License content in trading card License downloading, a trading card, which can be also used for storage, indicates that the serial number of License trading order and License are all Person's signature.
Wherein, the License owner signature of a trading card storage are as follows: with the first private key to encrypt code key, to first The information that public key and the first serial number encrypt, wherein the first private key are as follows: remember in a upper trading card pointed by the trading card The private key of the owner of the License of record, the first public key are as follows: the public key of the owner of the License recorded in the trading card, the One serial number are as follows: the serial number that a upper trading card is stored pointed by the trading card.
The serial number of above-mentioned expression License trading order can also be referred to as hashed value, in this case, it is believed that one A trading card stores a hashed value.
A upper trading card pointed by one trading card is it is to be understood that have direct correlation relationship with this trading card Previous trading card, for example, TX3001 can be through the letter by the owner information of License0 in TX3000 by host node 301 The information that breath is revised as client node 302 obtains, then it is assumed that there is direct correlation relationship between TX3000 and TX3001, and TX3001 is to be generated on the basis of TX3000 by modification information, it is possible to think a upper transaction pointed by TX3001 Single is TX3000.
In addition, the points relationship between two trading cards can be realized by way of single-track link table or doubly linked list, The application is only illustrated as example, is not defined to the way of realization of the points relationship between two trading cards.
After storing above- mentioned information in one trading card, when equipment is according to the content for the License for including in the trading card It can be first to decrypt the equipment owner recorded in the secret key pair trading card signature to carry out with the second public key when downloading License Decryption after obtaining decrypted result, checks whether decrypted result is above-mentioned first public key and the first serial number, if so, illustrating to hand over The content of Yi Dan is not tampered with, can safety carry out License downloading, if it is not, then illustrate trading card content may It is tampered, can refuse to carry out License downloading.Wherein, above-mentioned second public key are as follows: a upper transaction pointed by the trading card The public key of the owner of the License recorded in list.
The TX3002-TX3011 referred to below with reference to instance section shown in example shown in Fig. 4 and earlier figures 3 is to above-mentioned The trading card of License is described in detail.
It include 10 trading cards, TX3002-TX3011 in Fig. 4, wherein TX3002 also referred to as produces trading card, this 10 The hashed value of a trading card is denoted as respectively: hashed value 4001- hashed value 4010.Wherein,
TX3002, that is, production trading card are as follows: host node 301 is to generate after equipment 401 distributes formal License1 The trading card of content comprising the formal License1, since the trading card may be considered host node 301 as the generation of equipment 401 First formal License trading card, host node 301 is first owner of this formal License, so the friendship It is easily single that License owner signature can be not present.
Based on the description of embodiment illustrated in fig. 3 part, the License owner signs such as the following table 1 institute in TX3002-TX3011 Show:
Wherein, in table 1, " partial content " refers to: the partial content of License in current trading card;
" a upper trading card " refers to: a upper trading card pointed by current trading card;
" a upper owner " refers to: the License owner in a upper trading card;
" current owner " refers to: the Licnese owner in current trading card;
" a upper serial number " refers to: the serial number in a upper trading card;
" current sequence number " refers to: the serial number in current trading card;
Above-mentioned current trading card refers to: indicated trading card in 1 first row of table.
Table 1
When equipment downloads License according to the content of the License in TX3003, with the public key pair of host node 301 Verifying equipment owner signature is decrypted in License owner signature;
When equipment downloads License according to the content of the License in TX3004, with the public key pair of client node 302 Verifying equipment owner signature is decrypted in License owner signature;
When equipment downloads License according to the content of the License in TX3005-TX3011, situation and foregoing description phase Seemingly, difference is only that used decryption public key is different, no longer repeats one by one here.
As it can be seen from table 1 when generating a trading card, this transaction has not only been determined in License process of exchange Previous trading card pointed by list, further defines the content of License included by this trading card, therefore, can basis The License's for including in the points relationship and trading card between each trading card generated in License process of exchange is interior Hold, knows the trend of Licence.In addition, the content of points relationship and License between above-mentioned trading card is to generate It is determined during trading card, therefore without the trading situation of manual record License, does not need more manually to carry out data point The trend of License is known in analysis.
Corresponding with above-mentioned License Management method, the embodiment of the present application also provides a kind of License Management devices.
Fig. 5 is a kind of structural schematic diagram of License Management device provided by the embodiments of the present application, is applied to privately owned block Host node in chain, the privately owned block chain further include: client node;Described device includes:
The block of generation for generating block according to preset rules, and is synchronized to each client by block synchronization module 500 Node;
License generation module 501, for generating corresponding first License of the first equipment;
First trading card generation module 502, for generating the first trading card, first trading card includes described first The owner information of the content of License and the first License, first trading card include described first The owner information of License is the information of the host node;The device identification that the content of first License includes is institute State the mark of the first equipment;
First trading card memory module 503 enlivens shape for storing to the host node to be in first trading card In the block of state;
Node determining module 504, for determining the first client node belonging to first equipment;
Second trading card generation module 505, for generating the second trading card, second trading card includes described first The owner information of the content of License and the first License, second trading card include described first The owner information of License is the information of first client node;
Second trading card memory module 506 is in work for storing second trading card in the host node In the block of jump state;
Trading card sending module 507, for sending second trading card to first client node, so that described Second trading card is stored to first client node and is in the block of active state by the first client node, and by institute The down sending content of the first License is stated to first equipment.
In one example, above-mentioned License Management device can also include:
Broadcast module, for broadcasting first trading card on the privately owned block chain;
The sending module, specifically for broadcasting second trading card on the privately owned block chain.
In one example, the License generation module 501, comprising:
Trading card acquiring unit, for obtaining third trading card, the third trading card includes the content of the 2nd License And the owner information of the 2nd License, the owner information for the 2nd License that the third trading card includes For the information of the host node;
Trading card storage unit, for the third trading card to be stored to the host node to the block for being in active state In;
First License determination unit, the device identification for including for the content as the 2nd License is described the One equipment mark and including type of transaction characterize upgrading when, obtained after upgrading to the 2nd License License is as the first License.
In one example, the License generation module 501, further includes:
Receiving unit is used to indicate the 2nd License by the second equipment transportation to first equipment for receiving Instruction;
2nd License determination unit, the device identification for including for the content as the 2nd License is described the Two equipment mark and including type of transaction be migration when, obtained after being migrated to the 2nd License License is as the first License.
In one example, above-mentioned License Management device further include:
Trading card obtains module, and for obtaining the 4th trading card, the 4th trading card includes the content of the 3rd License And the owner information of the 3rd License, the owner information for the 3rd License that the 4th trading card includes For the information of the second client node;
Third trading card memory module, the type of transaction for including for the content as the 3rd License is client's change When more, the 4th trading card is stored to the host node and is in the block of active state.
In one example, a trading card is also used to store the serial number and License for indicating License trading order Owner's signature;
Wherein, the License owner signature of a trading card storage are as follows: with the first private key to encrypt code key, to first The information that public key and the first serial number encrypt, wherein first private key are as follows: a upper trading card pointed by the trading card The private key of the owner of the License of middle record, first public key are as follows: the owner of the License recorded in the trading card Public key, first serial number are as follows: the serial number that a upper trading card is stored pointed by the trading card.
As seen from the above, in the scheme that above-mentioned each embodiment provides, enterprise and client form privately owned block chain, that is, The privately owned block chain that above-mentioned host node and client node are formed, the corresponding node of host node i.e. enterprise generate the first equipment Corresponding first License, and the first trading card is generated, it include the content of the first License in the first trading card, in addition, the The License owner information that one trading card is included is the information of host node, is determining the first client belonging to the first equipment After node, the second trading card is generated, the second trading card also includes the content of the first License, in addition, the second trading card is included License owner information be the first client node information, host node to the first client node send the second trading card, this It, can be according to above-mentioned second trading card by the down sending content of the first License after the first client node of sample obtains the second trading card To the first equipment.Compared in the prior art, in the License Management scheme that above-mentioned each embodiment provides, host node by The management that License is realized with the privately owned block chain that client node is formed, the circulation feelings without manual record License Condition reduces the difficulty that equipment manufacturing enterprise is managed License, in addition, the equipment of each client is from corresponding Client node can be obtained the content of License, obtain License content from the website of manufacturing enterprise without each equipment, To further reduce the difficulty that equipment manufacturing enterprise is managed License.
Corresponding with above-mentioned License Management method and License Management device, the embodiment of the present application also provides one kind Electronic equipment.
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application, which is privately owned block Host node in chain, the privately owned block chain further include: client node;The electronic equipment includes: processor 61, machine readable Storage medium 62 and system bus 63, the processor 61 and machine readable storage medium 62 are completed by the system bus 63 Mutual communication, the machine readable storage medium storage 62 have the machine that can be executed by the processor 61 is executable to refer to It enables, the machine-executable instruction includes: synchronic command 621, generates instruction 622, store instruction 623, determine instruction 624 and hair Send instruction 625;
The processor is promoted to realize step by the synchronic command 621: generating block according to preset rules, and will generate Block be synchronized to each client node;
The processor is promoted to realize step by generation instruction 622: generating the first equipment corresponding first License;
The processor is promoted to realize step by generation instruction 622: generating the first trading card, first trading card The owner information of content and the first License including the first License, the institute that first trading card includes The owner information for stating the first License is the information of the host node;The equipment mark that the content of first License includes Know the mark for first equipment;
The processor is promoted to realize step by the store instruction 623: first trading card is stored to the master Node is in the block of active state;
The processor is promoted to realize step by the determine instruction 624: determining the first visitor belonging to first equipment Family node;
The processor is promoted to realize step by generation instruction 622: generating the second trading card, second trading card The owner information of content and the first License including the first License, the institute that second trading card includes The owner information for stating the first License is the information of first client node;
The processor is promoted to realize step by the store instruction 623: second trading card is stored in institute Host node is stated to be in the block of active state;
The processor is promoted to realize step by transmission instruction 625: sending described the to first client node Two trading cards, so that first client node, which stores second trading card to first client node, is in active In the block of state, and give the down sending content of the first License to first equipment.
In one example, the machine-executable instruction further include: broadcasting instructions;
The processor 61 is promoted to realize step by the broadcasting instructions: broadcasting described first on the privately owned block chain Trading card;
The processor 61 is promoted to implement step by transmission instruction 625: broadcasting on the privately owned block chain Second trading card.
In one example, the processor 61 is promoted to implement step by generation instruction 622: obtaining third and trades Single, the third trading card includes the content of the 2nd License and the owner information of the 2nd License, the third The owner information for the 2nd License that trading card includes is the information of the host node;The third trading card is deposited Storage is in the block of active state to the host node;When the device identification that the content of the 2nd License includes is institute State the first equipment mark and including type of transaction characterization upgrading when, obtained after upgrading to the 2nd License License as the first License.
In one example, the processor 61 is promoted also to realize step by generation instruction 622: reception is used to indicate institute State instruction of the 2nd License by the second equipment transportation to first equipment;When the content of the 2nd License includes Device identification be second equipment mark and including type of transaction be migration when, the 2nd License will be carried out The License obtained after migration is as the first License.
In one example, the machine-executable instruction further include: acquisition instruction;
The processor 61 is promoted to realize step by the acquisition instruction: obtaining the 4th trading card, the 4th trading card The owner information of content and the 3rd License including the 3rd License, the 4th trading card include described The owner information of three License is the information of the second client node;
The processor 61 is promoted also to realize step by the store instruction 623: when the content packet of the 3rd License When the type of transaction included is that client changes, the 4th trading card is stored to the host node to the block for being in active state In.
In one example, a trading card is also used to store the serial number for indicating License trading order and License institute The person's of having signature;
Wherein, the License owner signature of a trading card storage are as follows: with the first private key to encrypt code key, to first The information that public key and the first serial number encrypt, wherein first private key are as follows: a upper trading card pointed by the trading card The private key of the owner of the License of middle record, first public key are as follows: the owner of the License recorded in the trading card Public key, first serial number are as follows: the serial number that a upper trading card is stored pointed by the trading card.
As seen from the above, in scheme provided by the above embodiment, enterprise and client form privately owned block chain, that is, above-mentioned Host node and the privately owned block chain that is formed of client node, it is corresponding that the corresponding node of host node i.e. enterprise generates the first equipment The first License, and generate the first trading card, include the content of the first License in the first trading card, in addition, first hands over Easily single License owner information for being included is the information of host node, is determining the first client node belonging to the first equipment Afterwards, the second trading card is generated, the second trading card also includes the content of the first License, in addition, the second trading card is included License owner information is the information of the first client node, and host node sends the second trading card to the first client node, in this way After first client node obtains the second trading card, the down sending content of the first License can be given according to above-mentioned second trading card First equipment.Compared in the prior art, in License Management scheme provided by the above embodiment, host node by with client The privately owned block chain that node is formed realizes the management of License, without the circulation situation of manual record License, reduces The difficulty that equipment manufacturing enterprise is managed License, in addition, the equipment of each client is from corresponding client node The content that can be obtained License obtains License content from the website of manufacturing enterprise without each equipment, thus more into One step reduces the difficulty that equipment manufacturing enterprise is managed License.
Corresponding with above equipment authorization method and equipment authorization device, the embodiment of the present application also provides a kind of machines can Storage medium is read, the machine readable storage medium is the storage medium of the host node in privately owned block chain, the privately owned block Chain further include: client node;
The machine readable storage medium is stored with machine-executable instruction, and the machine-executable instruction includes: synchronization Instruction generates instruction, store instruction, determine instruction and sends instruction;
When being called and being executed by processor, the distribution instruction promotes the processor to realize step for the distribution instruction It is rapid: to generate block according to preset rules, and the block of generation is synchronized to each client node;
When being called and being executed by processor, the distribution instruction promotes the processor to realize step for the generation instruction It is rapid: to generate corresponding first License of the first equipment;
When being called and being executed by processor, the generation instruction promotes the processor to realize step for the generation instruction It is rapid: generate the first trading card, first trading card include the first License content and the first License Owner information, the owner information for the first License that first trading card includes are the information of the host node; The device identification that the content of first License includes is the mark of first equipment;
For the store instruction when being called and being executed by processor, the store instruction promotes the processor to realize step It is rapid: first trading card being stored to the host node and is in the block of active state;
For the determine instruction when being called and being executed by processor, the determine instruction promotes the processor to realize step It is rapid: to determine the first client node belonging to first equipment;
When being called and being executed by processor, the generation instruction promotes the processor to realize step for the generation instruction It is rapid: generate the second trading card, second trading card include the first License content and the first License Owner information, the owner information for the first License that second trading card includes are first client node Information;
For the store instruction when being called and being executed by processor, the store instruction promotes the processor to realize step It is rapid: second trading card being stored in the host node and is in the block of active state;
When being called and being executed by processor, the transmission instruction promotes the processor to realize step for the transmission instruction It is rapid: second trading card to be sent to first client node, so that first client node is traded described second It singly stores to first client node and is in the block of active state, and the down sending content of the first License is given First equipment.
As seen from the above, in scheme provided by the above embodiment, enterprise and client form privately owned block chain, that is, above-mentioned Host node and the privately owned block chain that is formed of client node, it is corresponding that the corresponding node of host node i.e. enterprise generates the first equipment The first License, and generate the first trading card, include the content of the first License in the first trading card, in addition, first hands over Easily single License owner information for being included is the information of host node, is determining the first client node belonging to the first equipment Afterwards, the second trading card is generated, the second trading card also includes the content of the first License, in addition, the second trading card is included License owner information is the information of the first client node, and host node sends the second trading card to the first client node, in this way After first client node obtains the second trading card, the down sending content of the first License can be given according to above-mentioned second trading card First equipment.Compared in the prior art, in License Management scheme provided by the above embodiment, host node by with client The privately owned block chain that node is formed realizes the management of License, without the circulation situation of manual record License, reduces The difficulty that equipment manufacturing enterprise is managed License, in addition, the equipment of each client is from corresponding client node The content that can be obtained License obtains License content from the website of manufacturing enterprise without each equipment, thus more into One step reduces the difficulty that equipment manufacturing enterprise is managed License.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device, For electronic equipment, machine readable storage medium embodiment, implement since it is substantially similar to method, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.The foregoing is merely the preferred embodiments of the application, and The non-protection scope for being used to limit the application.Within the spirit and principles of this application made by any modification, equivalent replacement, Improve etc., it is all contained in the protection scope of the application.

Claims (14)

1. a kind of authorization License Management method, which is characterized in that described applied to the host node in privately owned block chain Privately owned block chain further include: client node;The described method includes:
Block is generated according to preset rules, and the block of generation is synchronized to each client node;
Generate corresponding first License of the first equipment;
Generate the first trading card, first trading card include the first License content and the first License Owner information, the owner information for the first License that first trading card includes are the information of the host node; The device identification that the content of first License includes is the mark of first equipment;
First trading card is stored to the host node and is in the block of active state;
Determine the first client node belonging to first equipment;
Generate the second trading card, second trading card include the first License content and the first License Owner information, the owner information for the first License that second trading card includes are first client node Information;
Second trading card is stored in the host node and is in the block of active state;
Second trading card is sent to first client node, so that first client node is traded described second It singly stores to first client node and is in the block of active state, and the down sending content of the first License is given First equipment.
2. the method according to claim 1, wherein the method also includes:
First trading card is broadcasted on the privately owned block chain;
It is described to send second trading card to first client node, comprising:
Second trading card is broadcasted on the privately owned block chain.
3. method according to claim 1 or 2, which is characterized in that described to generate first equipment corresponding first License, comprising:
Third trading card is obtained, the third trading card includes the content of the 2nd License and owning for the 2nd License Person's information, the owner information for the 2nd License that the third trading card includes are the information of the host node;
The third trading card is stored to the host node and is in the block of active state;
When the device identification that the content of the 2nd License includes be first equipment mark and including type of transaction When characterization upgrading, the License obtained after upgrading to the 2nd License is as the first License.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
Reception is used to indicate instruction of the 2nd License by the second equipment transportation to first equipment;
When the device identification that the content of the 2nd License includes be second equipment mark and including type of transaction When to migrate, the License obtained after migrating to the 2nd License is as the first License.
5. method according to claim 1 or 2, which is characterized in that the method also includes:
The 4th trading card is obtained, the 4th trading card includes the content of the 3rd License and owning for the 3rd License Person's information, the owner information for the 3rd License that the 4th trading card includes are the information of the second client node;
When the type of transaction that the content of the 3rd License includes be client change when, by the 4th trading card store to The host node is in the block of active state.
6. method according to claim 1 or 2, which is characterized in that a trading card, which is also used to store, indicates that License is handed over The serial number and License owner signature of easy sequence;
Wherein, the License owner signature of a trading card storage are as follows: with the first private key to encrypt code key, to the first public key The information encrypted with the first serial number, wherein first private key are as follows: remember in a upper trading card pointed by the trading card The private key of the owner of the License of record, first public key are as follows: the public affairs of the owner of the License recorded in the trading card Key, first serial number are as follows: the serial number that a upper trading card is stored pointed by the trading card.
7. a kind of authorization License Management device, which is characterized in that described applied to the host node in privately owned block chain Privately owned block chain further include: client node;Described device includes:
The block of generation for generating block according to preset rules, and is synchronized to each client node by block synchronization module;
License generation module, for generating corresponding first License of the first equipment;
First trading card generation module, for generating the first trading card, first trading card includes the first License The owner information of content and the first License, the owner for the first License that first trading card includes Information is the information of the host node;The device identification that the content of first License includes is the mark of first equipment Know;
First trading card memory module, for first trading card to be stored to the host node to the block for being in active state In;
Node determining module, for determining the first client node belonging to first equipment;
Second trading card generation module, for generating the second trading card, second trading card includes the first License The owner information of content and the first License, the owner for the first License that second trading card includes Information is the information of first client node;
Second trading card memory module is in active state for storing second trading card in the host node In block;
Trading card sending module, for sending second trading card to first client node, so that first visitor Second trading card is stored to first client node and is in the block of active state by family node, and by described first The down sending content of License gives first equipment.
8. device according to claim 7, which is characterized in that described device further include:
Broadcast module, for broadcasting first trading card on the privately owned block chain;
The sending module, specifically for broadcasting second trading card on the privately owned block chain.
9. device according to claim 7 or 8, which is characterized in that the License generation module, comprising:
Trading card acquiring unit, for obtaining third trading card, the third trading card includes content and the institute of the 2nd License The owner information of the 2nd License is stated, the owner information for the 2nd License that the third trading card includes is institute State the information of host node;
Trading card storage unit is in the block of active state for storing the third trading card to the host node;
First License determination unit, the device identification for including for the content as the 2nd License set for described first Standby mark and including type of transaction characterize upgrading when, the License that is obtained after upgrading to the 2nd License As the first License.
10. device according to claim 9, which is characterized in that the License generation module, further includes:
Receiving unit, for receiving the finger for being used to indicate the 2nd License by the second equipment transportation to first equipment It enables;
2nd License determination unit, the device identification for including for the content as the 2nd License set for described second Standby mark and including type of transaction be migration when, the License obtained after migrating to the 2nd License makees For the first License.
11. device according to claim 7 or 8, which is characterized in that described device further include:
Trading card obtains module, and for obtaining the 4th trading card, the 4th trading card includes content and the institute of the 3rd License State the owner information of the 3rd License, the owner information for the 3rd License that the 4th trading card includes is the The information of two client nodes;
Third trading card memory module, when the type of transaction for including when the content of the 3rd License is that client changes, 4th trading card is stored to the host node and is in the block of active state.
12. device according to claim 7 or 8, which is characterized in that a trading card, which is also used to store, indicates License The serial number of trading order and License owner signature;
Wherein, the License owner signature of a trading card storage are as follows: with the first private key to encrypt code key, to the first public key The information encrypted with the first serial number, wherein first private key are as follows: remember in a upper trading card pointed by the trading card The private key of the owner of the License of record, first public key are as follows: the public affairs of the owner of the License recorded in the trading card Key, first serial number are as follows: the serial number that a upper trading card is stored pointed by the trading card.
13. a kind of electronic equipment, which is characterized in that the electronic equipment is the host node in privately owned block chain, the privately owned area Block chain further include: client node;The electronic equipment includes: processor, machine readable storage medium and system bus, the place Reason device and machine readable storage medium complete mutual communication by the system bus, and the machine readable storage medium is deposited The machine-executable instruction that can be executed by the processor is contained, the machine-executable instruction includes: synchronic command, generates Instruction, store instruction, determine instruction and transmission instruction;
The processor is promoted to realize step by the synchronic command: generating block according to preset rules, and by the block of generation It is synchronized to each client node;
The processor is promoted to realize step by generation instruction: generating corresponding first License of the first equipment;
The processor is promoted to realize step by generation instruction: generating the first trading card, first trading card includes institute State the content of the first License and the owner information of the first License, first trading card include described first The owner information of License is the information of the host node;The device identification that the content of first License includes is institute State the mark of the first equipment;
The processor is promoted to realize step by the store instruction: first trading card being stored to the host node and is in In the block of active state;
The processor is promoted to realize step by the determine instruction: determining the first client node belonging to first equipment;
The processor is promoted to realize step by generation instruction: generating the second trading card, second trading card includes institute State the content of the first License and the owner information of the first License, second trading card include described first The owner information of License is the information of first client node;
The processor is promoted to realize step by the store instruction: second trading card is stored in the host node In block in active state;
The processor is promoted to realize step by transmission instruction: sending second transaction to first client node It is single, so that first client node, which stores second trading card to first client node, is in active state In block, and give the down sending content of the first License to first equipment.
14. a kind of machine readable storage medium, which is characterized in that the machine readable storage medium is the master in privately owned block chain The storage medium of node, the privately owned block chain further include: client node;
The machine readable storage medium is stored with machine-executable instruction, the machine-executable instruction include: synchronic command, It generates instruction, store instruction, determine instruction and sends instruction;
When being called and being executed by processor, the distribution instruction promotes the processor to realize step: pressing for the distribution instruction Block is generated according to preset rules, and the block of generation is synchronized to each client node;
When being called and being executed by processor, the distribution instruction promotes the processor to realize step: raw for the generation instruction At corresponding first License of the first equipment;
When being called and being executed by processor, the generation instruction promotes the processor to realize step: raw for the generation instruction At the first trading card, first trading card includes the content of the first License and the owner of the first License Information, the owner information for the first License that first trading card includes are the information of the host node;Described The device identification that the content of one License includes is the mark of first equipment;
For the store instruction when being called and being executed by processor, the store instruction promotes the processor to realize step: will First trading card, which is stored to the host node, to be in the block of active state;
For the determine instruction when being called and being executed by processor, the determine instruction promotes the processor to realize step: really First client node belonging to fixed first equipment;
When being called and being executed by processor, the generation instruction promotes the processor to realize step: raw for the generation instruction At the second trading card, second trading card includes the content of the first License and the owner of the first License Information, the owner information for the first License that second trading card includes are the information of first client node;
For the store instruction when being called and being executed by processor, the store instruction promotes the processor to realize step: will Second trading card is stored in the host node and is in the block of active state;
When being called and being executed by processor, the transmission instruction promotes the processor to realize step for the transmission instruction: to First client node sends second trading card, so that first client node stores second trading card Be in the block of active state to first client node, and gives described for the down sending content of the first License One equipment.
CN201711202672.0A 2017-11-27 2017-11-27 License management method and device Active CN109146392B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711202672.0A CN109146392B (en) 2017-11-27 2017-11-27 License management method and device
PCT/CN2018/117232 WO2019101170A1 (en) 2017-11-27 2018-11-23 License management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711202672.0A CN109146392B (en) 2017-11-27 2017-11-27 License management method and device

Publications (2)

Publication Number Publication Date
CN109146392A true CN109146392A (en) 2019-01-04
CN109146392B CN109146392B (en) 2021-02-12

Family

ID=64803794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711202672.0A Active CN109146392B (en) 2017-11-27 2017-11-27 License management method and device

Country Status (2)

Country Link
CN (1) CN109146392B (en)
WO (1) WO2019101170A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641695A (en) * 2020-05-19 2020-09-08 全链通有限公司 Block chain-based application program authorized use method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160275461A1 (en) * 2015-03-20 2016-09-22 Rivetz Corp. Automated attestation of device integrity using the block chain
CN106453435A (en) * 2016-12-21 2017-02-22 中国人民解放军72537部队 Data sharing authorization method based on block chains
CN107018432A (en) * 2017-03-28 2017-08-04 华为技术有限公司 The Licensing Methods and equipment of media content
US20170237569A1 (en) * 2016-02-16 2017-08-17 Xerox Corporation Secure revisioning auditing system for electronic document files
CN107079036A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Registration and authorization method, apparatus and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301794B (en) * 2016-10-17 2019-04-05 特斯联(北京)科技有限公司 The method and system of authorization identifying are carried out using block chain
CN107145605A (en) * 2017-06-07 2017-09-08 北京天德科技有限公司 One kind is based on block chain unified interface(OBCC)License chain application system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160275461A1 (en) * 2015-03-20 2016-09-22 Rivetz Corp. Automated attestation of device integrity using the block chain
US20170237569A1 (en) * 2016-02-16 2017-08-17 Xerox Corporation Secure revisioning auditing system for electronic document files
CN106453435A (en) * 2016-12-21 2017-02-22 中国人民解放军72537部队 Data sharing authorization method based on block chains
CN107079036A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Registration and authorization method, apparatus and system
CN107018432A (en) * 2017-03-28 2017-08-04 华为技术有限公司 The Licensing Methods and equipment of media content

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641695A (en) * 2020-05-19 2020-09-08 全链通有限公司 Block chain-based application program authorized use method, device and storage medium
CN111641695B (en) * 2020-05-19 2022-10-28 全链通有限公司 Block chain-based application program authorized use method, device and storage medium

Also Published As

Publication number Publication date
CN109146392B (en) 2021-02-12
WO2019101170A1 (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US11076290B2 (en) Assigning an agent device from a first device registry to a second device registry
US11327745B2 (en) Preventing falsification in version management
CN101571900B (en) Software copyright protection method, device and system
JP4976492B2 (en) Methods and systems for backing up and restoring licenses
JP5090066B2 (en) Data storage device, management server, integrated circuit, data update system, home appliance, data update method, encryption method, and encryption / decryption key generation method
CN101340278A (en) License management system and method
WO2015056008A1 (en) Method for assigning an agent device from a first device registry to a second device registry
JPWO2009157142A1 (en) Information processing apparatus, encryption key management method, computer program, and integrated circuit
WO2010036471A1 (en) Physical access control system with smartcard and methods of operating
CN105210076B (en) Elastic, recoverable dynamic device identification
CN107465728B (en) Information processing method, central server and storage medium for identification code
CN101136098A (en) Method, device and system for accessing to certificate revocation list
CN109600366A (en) The method and device of protection user data privacy based on block chain
CN101470782A (en) Revocation status checking for digital rights managment
CN108512849B (en) Handshake method and system for accessing server
CN101419557A (en) Program downloading control method
CN110661779B (en) Block chain network-based electronic certificate management method, system, device and medium
CN105577644A (en) Encryption and authentication method and system
US20100223469A1 (en) Method, System and Computer Program Product for Certifying Software Origination
CN103384983B (en) Long-term signatures terminal and long-term signatures server
CN115396209A (en) Access authorization method and device, electronic equipment and readable storage medium
CN109408486A (en) File publishing method and system, publisher server and file creating apparatus
CN105786575B (en) Mobile terminal and its data exempt from the method removed when for rewriting system
CN109146392A (en) A kind of authorization License Management method and device
CN111797367A (en) Software authentication method and device, processing node and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant