CN107040384B - A kind of authorizing information method and device based on block chain - Google Patents

A kind of authorizing information method and device based on block chain Download PDF

Info

Publication number
CN107040384B
CN107040384B CN201710318364.8A CN201710318364A CN107040384B CN 107040384 B CN107040384 B CN 107040384B CN 201710318364 A CN201710318364 A CN 201710318364A CN 107040384 B CN107040384 B CN 107040384B
Authority
CN
China
Prior art keywords
block
side chain
main chain
authorization message
hash
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710318364.8A
Other languages
Chinese (zh)
Other versions
CN107040384A (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.)
Feitian Technologies Co Ltd
Original Assignee
Feitian 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 Feitian Technologies Co Ltd filed Critical Feitian Technologies Co Ltd
Priority to CN201710318364.8A priority Critical patent/CN107040384B/en
Publication of CN107040384A publication Critical patent/CN107040384A/en
Application granted granted Critical
Publication of CN107040384B publication Critical patent/CN107040384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3297Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving time stamps, e.g. generation of time stamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0866Generation of secret information including derivation or calculation of cryptographic keys or passwords involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0872Generation of secret information including derivation or calculation of cryptographic keys or passwords using geo-location information, e.g. location data, time, relative position or proximity to other entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions

Abstract

The present invention relates to financial fields, in particular to a kind of authorizing information method and device based on block chain, this method comprises: obtaining request slip information aggregate, main chain block is generated according to the request slip information, main chain father's block cryptographic Hash and main chain timestamp that meet preset authorization condition in the set, and is broadcast to network;The main chain block head of newly-increased main chain block is subjected to Hash operation and generates authorization authority, and the binding of the request slip information in authority and newly-increased main chain block will be authorized to generate authorization message;Side chain digital finger-print is generated according to the authorization message comprising presetting side chain mark;Side chain block head is generated according to side chain father's block cryptographic Hash, side chain digital finger-print and timestamp;It is first-born at side chain block according to authorization message and side chain block, and it is broadcast to network.Main chain and side chain of the present invention are all to be constructed using block chain technology, and obtain when the information of side chain preservation by main chain authorization, ensure that the safety and legitimacy of information.

Description

A kind of authorizing information method and device based on block chain
Technical field
The present invention relates to financial field, in particular to a kind of authorizing information method and device based on block chain.
Background technique
With the rise of digital cash, block chain occurs as a kind of distributed account book technology, and block chain is a kind of mutual Networking data library technology, containing over information, the features such as all transaction data and its related data in this database is It is decentralization, open and clear, that is, the information being recorded on block chain be all distribution storage and it is transparent look into, and with cryptography agreement Mode guarantee that information cannot be tampered.
But following problems exist in the prior art: the information recorded in existing block chain can be to prevent by block chain technology The transaction data only stored cannot be tampered, but cannot simultaneously guarantee information be it is legal, increase block information not Safety.
Summary of the invention
The purpose of the invention is to overcome the deficiencies of the prior art and provide a kind of authorizing information method based on block chain And device.
A kind of authorizing information method based on block chain provided by the invention, this method include:
Step A1, request slip information aggregate is obtained, the Shen for meeting preset authorization condition is obtained from request slip information aggregate It please single information;
Step A2, main chain digital finger-print is generated according to the request slip information for meeting preset authorization condition;According to main chain father area Block cryptographic Hash, main chain digital finger-print and main chain timestamp generate main chain block head;According to the request slip for meeting preset authorization condition Information and main chain block are first-born at main chain block, and are broadcast to network;
Method further include:
Step B1, the main chain block head of newly-increased main chain block is subjected to Hash operation and generates authorization authority, and will authorization Request slip information binding in authority and newly-increased main chain block generates authorization message;
Step B2, side chain digital finger-print is generated according to the authorization message comprising presetting side chain mark;According to default side chain mark Know and obtain side chain father block cryptographic Hash, side chain block is generated according to side chain father's block cryptographic Hash, side chain digital finger-print and timestamp Head;It is first-born at side chain block according to authorization message and side chain block, and it is broadcast to network.
A kind of authorizing information device based on block chain provided by the invention, specifically includes:
Request slip information module is obtained, for obtaining request slip information aggregate, obtains and meets from request slip information aggregate The request slip information of preset authorization condition;
Main chain digital finger-print generation module meets preset authorization item for what is got according to acquisition request slip information module The request slip information of part generates main chain digital finger-print;
Main chain block generation module, for being generated according to main chain father's block cryptographic Hash, main chain digital finger-print generation module 12 Main chain digital finger-print and main chain timestamp generate main chain block head;The satisfaction got according to request slip information module 11 is obtained The request slip information and main chain block of preset authorization condition are first-born at main chain block;
Broadcast module, the main chain block for generating main chain block generation module are broadcast to network;It is also used to side chain The side chain block that block generation module generates is broadcast to network;
Authority generation module is authorized, the main chain block head of the main chain block for will increase newly carries out Hash operation and generates authorization Authority;
Binding module, the application in authorization authority and newly-increased main chain block for authority generation module will to be authorized to generate Single information binding generates authorization message;
Authorization message module is obtained, it is corresponding with default side chain mark for being obtained from the authorization message that binding module generates Authorization message.
Side chain digital finger-print generation module is identified for what is got according to acquisition authorization message module comprising default side chain Authorization message generate side chain digital finger-print;
Side chain block generation module, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to side chain father The side chain digital finger-print and timestamp that block cryptographic Hash, side chain digital finger-print generation module generate generate side chain block head;According to The authorization message and side chain block that acquisition authorization message module is got are first-born at side chain block.
The invention has the following advantages that first, main chain and side chain are constructed using block chain technology, can prevent from leading Chain and the information of side chain storage are tampered;The second, the information in the block in side chain includes the authorized certificate generated in main chain, really Protecting the information saved in side chain is that ensure that the safety and legitimacy of information by main chain authorization.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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 invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart for authorizing information method based on block chain that the embodiment of the present invention 2 provides.
Fig. 2 is a kind of flow chart for authorizing information method based on block chain that the embodiment of the present invention 3 provides.
Fig. 3 is a kind of block diagram for authorizing information device based on block chain that the embodiment of the present invention 4 provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.Obviously described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
Embodiment 1
The present embodiment provides a kind of authorizing information method based on block chain, this method includes:
Step A1, request slip information aggregate is obtained, the Shen for meeting preset authorization condition is obtained from request slip information aggregate It please single information;
Step A2, main chain digital finger-print is generated according to the request slip information for meeting preset authorization condition;According to main chain father area Block cryptographic Hash, main chain digital finger-print and main chain timestamp generate main chain block head;According to the request slip for meeting preset authorization condition Information and main chain block are first-born at main chain block, and are broadcast to network;
It is specifically included specifically, generating main chain digital finger-print according to the request slip information for meeting preset authorization condition:
The request slip information for meeting preset authorization condition is carried out Hash operation respectively and obtains current Hash node by step 101;
Step 102 will carry out Hash operation after adjacent two current Hash nodes series connection and obtain Hash father node;
Whether step 103, the quantity for judging Hash father node are one, are referred to Hash father node as main chain number Line;Otherwise using Hash father node as current Hash node, return step 102.
Specifically, generating main chain block head according to main chain father's block cryptographic Hash, main chain digital finger-print and main chain timestamp;Root It is specifically included according to the request slip information and main chain block that meet preset authorization condition are first-born at main chain block:
Step 201, the block head for obtaining the last one block of main chain carry out Hash operation and generate main chain father block cryptographic Hash;
Step 202 obtains current server time generation main chain timestamp, and according to default version number, main chain father's block Cryptographic Hash, main chain digital finger-print and main chain timestamp generate main chain block head;
Step 203, calculating meet the request slip information content of preset authorization condition, and believe calculated result as request slip Cease counter;The length of main chain block head, request slip information counter and request slip information is calculated as main chain block length;
Step 204 according to main chain block head, main chain block length, request slip information counter and meets preset authorization item The request slip information tissue main chain block of part.
Method further include:
Step B1, the main chain block head of newly-increased main chain block is subjected to Hash operation and generates authorization authority, and will authorization Request slip information binding in authority and newly-increased main chain block generates authorization message;
Step B2, side chain digital finger-print is generated according to the authorization message comprising presetting side chain mark;According to default side chain mark Know and obtain side chain father block cryptographic Hash, side chain block is generated according to side chain father's block cryptographic Hash, side chain digital finger-print and timestamp Head;It is first-born at side chain block according to authorization message and side chain block, and it is broadcast to network.
It is specifically included specifically, generating side chain digital finger-print according to the authorization message got:
Step 401, the authorization message that will acquire carry out Hash operation respectively and obtain current Hash node;
Hash operation, which is carried out, after step 402, two current Hash nodes series connection that will be connected obtains Hash father node;
Step 403, the quantity for judging Hash father node are to be right for one then using Hash father node as side chain number Fingerprint;Otherwise using Hash father node as current Hash node, return step 402.
Side chain father block cryptographic Hash is obtained specifically, identifying according to default side chain, according to side chain father's block cryptographic Hash, side chain Digital finger-print and timestamp generate side chain block head;It is first-born at side chain block according to authorization message and side chain block, it specifically includes:
Step 501, according to preset the corresponding side chain of side chain identifier lookup, obtain the last one block of side chain block head into Row Hash operation generates side chain father block cryptographic Hash;
Step 502 obtains current server time generation side chain timestamp, and according to default version number, side chain father's block Cryptographic Hash, side chain digital finger-print and side chain timestamp generate side chain block head;
The authorization message quantity that step 503, calculating are got, and using calculated result as authorization message counter;It calculates The length of side chain block head, authorization message counter and authorization message is as side chain block size;
Step 504 generates side chain according to side chain block head, side chain block size, authorization message counter and authorization message Block.
Specifically, step B1 is specifically included: obtaining newly-increased main chain block, the main chain for the main chain block that successively will acquire Block head carries out Hash operation and generates authorization authority, and the request slip information in authority and the main chain block will be authorized to bind and generated Authorization message;Authorization message is saved in preset authorization message set;
Correspondingly, step B2 is specifically included: the authorization message comprising default side chain mark is obtained from authorization message set, Side chain digital finger-print is generated according to the authorization message got, is identified according to default side chain and obtains side chain father block cryptographic Hash, root Side chain block head is generated according to side chain father's block cryptographic Hash, side chain digital finger-print and timestamp;According to comprising presetting side chain mark Authorization message and side chain block are first-born at side chain block, and are broadcast to network.
Further, after obtaining the authorization message comprising default side chain mark in authorization message set, further includes: will The authorization message got carries out predetermined registration operation, generates side chain digital finger-print according to the authorization message of successful execution predetermined registration operation; It is identified according to request slip and obtains side chain father block cryptographic Hash, according to side chain father's block cryptographic Hash, side chain digital finger-print and timestamp Generate side chain block head;It is first-born at side chain block according to the authorization message of successful execution predetermined registration operation and side chain block, and broadcast To network.
Further, after obtaining the authorization message comprising default side chain mark in authorization message set, further includes: Judge whether the authorization message got is legal, is that side chain digital finger-print is then generated according to legal authorization message, according to default Side chain mark obtains side chain father block cryptographic Hash, generates side according to side chain father's block cryptographic Hash, side chain digital finger-print and timestamp Sequence build, it is first-born at side chain block according to legal authorization message and side chain block, and it is broadcast to network, it otherwise reports an error, ties Beam.
It is specifically included specifically, judging whether the authorization message got is legal:
Step 301, the authorization message comprising default side chain mark that will acquire are as current grant information aggregate, from working as An authorization message is obtained in preceding authorization message set as current grant information;
Step 302 obtains authorization authority from current grant information, judges whether that main chain father can be inquired in main chain Block cryptographic Hash and the authorization consistent main chain block of authority, are that then authorization message is legal, otherwise authorization message is illegal, executes step Rapid 303;
Whether step 303 judges there are also the authorization message being not yet acquired in current grant information aggregate, is to return Step 301, it otherwise continues to execute and side chain digital finger-print is generated according to legal authorization message.
Preferably, before step A2 further include: judge whether to meet the condition for generating main chain block, be to then follow the steps Otherwise A2 continues to determine whether to meet the condition for generating main chain block.
Further, judge whether to meet the condition for generating main chain block specifically: judgement meets preset authorization condition Whether request slip information is greater than default number of branches, or judge current server time and last time generate the time of main chain block when Between difference whether be greater than preset value.
Preferably, before step B1 further include: judge whether to meet the condition for generating side chain block, be to continue to execute step Rapid B1;Otherwise it continues to execute and judges whether to meet the condition for generating side chain block.
Specifically, judging whether to meet the condition for generating side chain block specifically: Shen of the judgement containing default side chain mark Please single information bar number whether be greater than default number of branches, or judge the time of current server time and last time generation side chain block Whether the time difference is greater than preset value.
This method further include: when receiving information verification request, the information verification request includes the authorization that need to be investigated Information;Corresponding main chain block is inquired in main chain according to the authorization authority in authorization message, and judge in main chain block whether In the presence of with the consistent information of request slip information in authorization message, be that then authorization message is legal, otherwise authorization message is illegal.
Specifically, the consistent main chain block of authorization authority in main chain father block cryptographic Hash in main chain and authorization message is made For current main chain block, judge to whether there is and the request slip in authorization message in the previous main chain block of current main chain block The consistent information of information is that then authorization message is legal, and otherwise authorization message is illegal.
Preferably, main chain is generated according to main chain father's block cryptographic Hash, main chain digital finger-print and main chain timestamp in step A2 After block head, before the first-born block at main chain of request slip information and main chain block for meeting preset authorization condition, also wrap It includes: main chain block head being subjected to Hash operation and generates main chain block index value, and the main chain block index value is stored in rope Draw database table;
This method, further includes: when receiving information verification request, information verification request includes the authorization letter that need to be investigated Breath;Corresponding main chain block index value is searched in index data base table according to the authorization authority in authorization message, and judges to lead In the corresponding main chain block of chain block index value with the presence or absence of with the consistent information of request slip information in authorization message, be to award Power information is legal, and otherwise authorization message is illegal.
Main chain block index value is individually stored in index data base table, in order to index and retrieve main chain faster Block;
Preferably, it is generated in step A2 according to main chain father's block cryptographic Hash, the main chain digital finger-print and main chain timestamp Before main chain block head further include: judge whether to have in index data base table and be awarded with what the main chain father block cryptographic Hash matched Weigh voucher fiducial value, be continue to execute it is described according to main chain father's block cryptographic Hash, the main chain digital finger-print and main chain time Stamp generates main chain block head, and otherwise report an error end.
Embodiment 2
It include main chain and side chain in this method the present embodiment provides a kind of authorizing information method based on block chain;For example, Stock exchange at least possesses a main chain and a plurality of side chain, and the main chain essential record is all into request slip information aggregate Request slip information, and authorized certificate is issued to all request slip information;The All Activity success of every stock of side chain essential record And the request slip information that possesses authorized certificate.As shown in Figure 1, this method specifically includes:
Step 101 judges whether to meet the condition for generating main chain block, is to then follow the steps 102, otherwise continues to execute step Rapid 101;
Specifically, step 101 can be to judge that whether being greater than for request slip information in request slip information aggregate presets item Number, is to then follow the steps 102, otherwise continues to execute step 101;
Optionally, step 101 can judge current server time and last time generation area to obtain the current server time Whether the time difference of the time of block is greater than preset value, is to then follow the steps 102, otherwise return step 101;
Further, step 101 be specially obtain the current server time, and according to the last one block of main chain when Between stamp obtain the time that last time generates block, judge that the time difference of the time for the block that current server time and last time generate is No is to then follow the steps 102 greater than preset value, otherwise return step 101.
Step 102 obtains the request slip information comprising request slip mark from request slip information aggregate;
The present embodiment is illustrated by taking stock exchange as an example.In the present embodiment, got from request slip information aggregate Request slip information includes user identifier, stock code, indent valence or venture valence, commission quantity and application time;Request slip mark Knowing is specially stock code.
For example, the four request slip information applications list information received in the present embodiment, are denoted as A, B, C, D, specifically:
A:12345678901 300386 0142 500 201606281046
B:12345678902 300623 0280 500 201606281049
C:12345678903 300386 0242 500 201606281050
D:12345678904 300623 0180 500 201606281050
It is illustrated for 12,345,678,901 300,386 0,142 500 201606281046 below, wherein 12345678901 be user identifier;300386 be stock code, that is, request slip mark;0142 is indent valence, specifically, 01 mark Present application list is indent list, and indent valence is 42 yuan;Entrust quantity 500;201606281046 be the application time.
Step 103 generates main chain digital finger-print according to the request slip information got;
Specifically, even number Hash node is needed due to calculating digital finger-print, if only odd number request slip information It needs the last item request slip information replicating one;
Step 103 specifically includes:
Step 103-1, the request slip information that will acquire request slip information and duplication carries out Hash operation respectively and is breathed out Uncommon node;
Specifically, the specifically used SHA256 algorithm of Hash operation.
Tetra- request slip information of A, B, C, D are got in the present embodiment in step 101, then four days request slip information is breathed out Uncommon operation generates Hash node, is denoted as H respectivelyA、HB、HC、HD
HA=e440a6c81b7242760a92eb63cfaf0940440eac78723f2644ede01d04 0ec4a 168
HB=cd5adaddbf25a4d840d184dbce571a99257f014b038aa7be59d39acf c78ba 0f1
HC=8dc52de14fc85a9d282052020b29e58906d639ba49252ef24f9cc972 ef890 811
HD=eadecfe58726d9805835baa3c1fa1d361b482e00bd213fec219cbc9a 8,c99 4529
Step 103-2, Hash operation is carried out after two adjacent Hash nodes being connected obtains Hash father node;
By HAAnd HBSeries connection carries out Hash operation and generates Hash father node, is denoted as HAB, by HCAnd HDHash fortune is carried out after series connection It calculates and generates Hash father node, be denoted as HCD
By HAAnd HBThe data obtained after series connection specifically:
e440a6c81b7242760a92eb63cfaf0940440eac78723f2644ede01d040ec4a168cd5a daddbf25a4d840d184dbce571a99257f014b038aa7be59d39acfc78ba0f1
HAB=2199a85fb2f7417f0dc98f8c99a22d8ecdf275ffa26104f59798d195 135c d567
HCD=839d9c697e192abf13e5fb064b7ed4d29ab82d08fafc940846212d34 ed84 1b04
Step 103-3, whether the quantity for judging Hash father node is one, is then using Hash father node as main chain number Fingerprint, otherwise using Hash father node as Hash node return step 103-2.
In the present embodiment, due to generating two Hash father node HABAnd HCD, therefore by HABAnd HCDContinue as Hash node Step 103-2 is executed, i.e., by HABAnd HCDProgress Hash operation obtains Hash father node and is denoted as H after series connectionABCD, due to only generating One Hash father node is then using the Hash father node as digital finger-print.
HABCD=181513ddb2040458223fa79e2029acd115a421a747ee77d7744d4e0a 857 f6a70
Step 104, the block head progress Hash operation for the last one block for obtaining main chain generate main chain father block Hash Value;
Step 105 judges the main chain block index for whether having with main chain father's block Hash values match in index data base table Value, is to then follow the steps 106, otherwise report an error end;
For storing the cryptographic Hash of main chain block head, i.e. main chain block index value, main chain block head in index data base table Cryptographic Hash can uniquely, explicitly identify a block, the main chain block cryptographic Hash in index data base table can be passed through Retrieve corresponding main chain block;It, can be by the authorized certificate in the authorization message in side chain in main chain in the present embodiment Respective block is retrieved, and then judges whether the authorization message saved in side chain passes through main chain authorization;
Step 106 obtains current server time generation stamp at the first time, and according to default version number, main chain father's block Cryptographic Hash, main chain digital finger-print and first time stamp generate main chain block head;
In the present embodiment, timestamp has recorded the time of block foundation, allows to have a certain range of error.
Main chain block head is generated main chain block index value by Hash operation by step 107, and by main chain block index value It is stored in index data base table;
The request slip information content that step 108, calculating are got, using calculated result as the first transaction counter;
Step 109 calculates the length of main chain block head, the first transaction counter and the request slip information got as master Chain block length;
Step 110 is generated according to main chain block length, main chain block head, the first transaction counter and request slip information and is led Main chain block is broadcast to network, and empties request slip information aggregate by chain block;
The main chain block head of newly-increased main chain block is carried out Hash operation generation authorization authority by step 111, by the main chain Request slip information and authorization authority binding in block generate authorization message, and authorization message is stored in preset authorization message collection It closes;
Step 112 judges whether to meet the condition for generating side chain block, is to then follow the steps 113, otherwise continues to execute step Rapid 112;
Whether step 112 can big to judge the item number of the authorization message comprising default side chain mark in authorization message set In preset value, it is to then follow the steps 113, otherwise continues to execute step 112;
Further, step 112 can judge that current server time and last time generate to obtain the current server time Whether the time difference of the time of side chain block is greater than preset value, is to then follow the steps 113, otherwise return step 112.
Step 112 is specially to obtain the current server time, and identify according to default side chain and obtain the last of corresponding side chain One side chain block obtains the time of last time generation side chain block according to the timestamp in the side chain block got, and judgement is worked as Whether the time difference for the time that preceding server time and last time generate side chain block is greater than preset value;It is to then follow the steps 113, it is no Then return step 112.
The request slip for including in authorization message set mark is identified matched authorization message with default side chain by step 113 Match trading is carried out according to preset rules, successful authorization message generates side chain digital finger-print according to trading;
Specifically, request slip information A, B, C, D to be carried out with authorized certificate to generation authorization letter of connecting respectively in the present embodiment Breath is denoted as A ", B ", C ", D ", and side chain is preset in the present embodiment and is identified as 300368, therefore by the request slip mark in authorization message set Knowing is that the authorization message that stock code is 300368 carries out stock match trading according to stock exchange principle, is more specifically to award Weigh information A " and C " successful match;Therefore digital finger-print is generated according to A " and C ".
The process that digital finger-print is generated in step 113 is similar with step 103, and details are not described herein.
Step 114 carries out Hash according to the block head for the last one block for presetting the corresponding side chain of side chain identifier lookup Operation generates side chain father block cryptographic Hash;
Step 115 obtains the second timestamp of current server time generation, and according to default version number, father's block Hash Value, digital finger-print and the second timestamp generate side chain block head;
Step 116, the quantity for calculating successful authorization message of trading, using calculated result as the second transaction counter;
Step 117, calculation side sequence build, the second transaction counter and the successful authorization message of transaction length as side Chain block length;
Step 118, according to side chain block length, side chain block head, the second transaction counter and transaction, successfully authorization is believed Breath generates side chain block, and side chain block is broadcast to network.
This method further include: when receiving information verification request, the information verification request includes the authorization that need to be investigated Information;Corresponding main chain block is inquired in main chain according to the authorization authority in authorization message, and judge in main chain block whether In the presence of with the consistent information of request slip information in authorization message, be that then authorization message is legal, otherwise authorization message is illegal.
Specifically, the consistent main chain block of authorization authority in main chain father block cryptographic Hash in main chain and authorization message is made For current main chain block, judge to whether there is and the request slip in authorization message in the previous main chain block of current main chain block The consistent information of information is that then authorization message is legal, and otherwise authorization message is illegal.
Preferably, when receiving information verification request, information verification request includes the authorization message that need to be investigated;According to awarding Authorization authority in power information searches corresponding main chain block index value in index data base table, and judges main chain block index Be worth in corresponding main chain block with the presence or absence of with the consistent information of request slip information in authorization message, be then authorization message conjunction Method, otherwise authorization message is illegal.
Main chain block index value is individually stored in index data base table, in order to index and retrieve main chain faster Block.
Embodiment 3
It include main chain and side chain in this method the present embodiment provides a kind of authorizing information method based on block chain;For example, Bureau of Education at least possesses a main chain, and each colleges and universities at least possess a side chain, which, which records, all allows to issue degree's diploma The student information of book, and authorized certificate is issued to all student informations for allowing to issue diploma;Side chain is mainly used for recording Certain colleges and universities, institute is awarded a degree the student information of certificate by Bureau of Education.As shown in Fig. 2, this method specifically includes:
Step 201 judges whether to meet the condition for generating main chain block, is to then follow the steps 202, otherwise continues to execute step Rapid 201;
Specifically, step 201 can be to judge that whether being greater than for request slip information in request slip information aggregate presets item Number, is to then follow the steps 202, otherwise continues to execute step 201;
Optionally, step 201 can judge current server time and last time generation area to obtain the current server time Whether the time difference of the time of block is greater than preset value, is to then follow the steps 202, otherwise return step 201;
Further, step 201 be specially obtain the current server time, and according to the last one block of main chain when Between stamp obtain the time that last time generates block, judge that the time difference of the time for the block that current server time and last time generate is No is to then follow the steps 202 greater than preset value, otherwise return step 201.
Step 202 obtains the application that preset authorization condition is identified and met comprising request slip from request slip information aggregate Single information.
The present embodiment is illustrated so that diploma manages as an example, the request slip letter got from request slip information aggregate Breath includes colleges and universities' code, student's student number and total performance;Request slip mark is specially colleges and universities' code.
For example, the four request slip information applications list information received in the present embodiment, are denoted as Q, W, E, R, specifically:
Q:100009 98765432101 A
W:100009 98765432102 D
E:100009 98765432103 B
R:100007 98745632102 C
Be illustrated for 100,009 98765432101 A below, wherein 100009 be colleges and universities' code, 98765432101 For student's student number, A is total performance;It should be noted that being identified in the present embodiment by request slip of colleges and universities' code.
Preset authorization condition is to allow to award a degree the condition of certificate in the present embodiment, and specially total performance is not less than C grades.The request slip information for identifying and meeting preset authorization condition in the present embodiment comprising request slip is Q, E, R.
Step 203 generates digital finger-print according to the request slip information got.
Specifically, even number Hash node is needed due to calculating digital finger-print, if only odd number request slip information The last item request slip information for needing will acquire replicates one;
Step 203 specifically includes:
Step 203-1, whether the quantity for the request slip information that judgement is got is even number, is to then follow the steps 203-4, no Then follow the steps 203-3;
Step 203-2, the last item request slip information got is replicated;
It is duplication request slip information R in the present embodiment.
Step 203-3, the request slip information that will acquire request slip information and duplication carries out Hash operation respectively and is breathed out Uncommon node;Execute step 203-5;
The specifically used SHA256 algorithm of Hash operation.
If request slip information Q, E, R in the present embodiment in main chain block data, three request slip information carry out Hash Operation generates Hash node, is denoted as H respectivelyQ、HE、HR.The request slip information R ' of duplication, then the request slip information after replicating carry out Hash operation generates Hash node and is denoted as HR';
HQ=982f6d16fca16855a4563f775e59f81419b479de84c9a74271edf6f7 ea65b cc7
HE=c48fac7e492c77e2aa5d7c8178a9d446fcd482f0d4a676d243dba40d 52ec1 d75
HR=44f2573bc9aa3d2329501e8f28696beab4fcfbd53f3968621645ba93 5f2bc 80a
HR'=44f2573bc9aa3d2329501e8f28696beab4fcfbd53f3968621645ba93 5f2b c80a
Step 203-4, the request slip information that will acquire carries out Hash operation respectively and obtains Hash node;
Step 203-5, Hash operation is carried out after two adjacent Hash nodes being connected obtains Hash father node;
By HQAnd HESeries connection carries out Hash operation and generates Hash father node, is denoted as HQE, by HRAnd HR' Hash is carried out after series connection Operation generates Hash father node, is denoted as HRR'。
By HQAnd HEThe data obtained after series connection specifically:
982f6d16fca16855a4563f775e59f81419b479de84c9a74271edf6f7ea65bcc7c48f ac7e492c77e2aa5d7c8178a9d446fcd482f0d4a676d243dba40d52ec1d75
HQE=c94d78f5d9e0b3139d01210d2e273949905a525e219d6834fb16d6d2 591d 50ae
HRR'=4a8a8f07f25b971e287b907672d527df3bed43b03a07fbcdc6347b08 d64f 7f64
Step 203-6, whether the quantity for judging Hash father node is one, is then using Hash father node as main chain number Fingerprint, otherwise using Hash father node as Hash node return step 203-5.
In the present embodiment, due to generating two Hash father node HQEAnd HRR', therefore by HQEAnd HRR'As Hash node after It is continuous to execute step 103-2, i.e., by HQEAnd HRR'Progress Hash operation obtains Hash father node and is denoted as H after series connectionQERR', due to only giving birth to At a Hash father node then using the Hash father node as digital finger-print.
HQERR'=76f1d0d802baf4bd1c19da177572147925a063d9b6ec78cdf20cb7c1 d17 d940d
Step 204, the block head progress Hash operation for the last one block for obtaining main chain generate main chain father block Hash Value;
Step 205 judges the main chain block index for whether having with main chain father's block Hash values match in index data base table Value, is to then follow the steps 206, otherwise report an error end;
For storing main chain block head cryptographic Hash, i.e. main chain block index value in index data base table, main chain block head Cryptographic Hash can uniquely, explicitly identify a block, can be by examining in the main chain block index in index data base table Rope is to corresponding main chain block;In the present embodiment, it can be examined in main chain by the authorized certificate in the authorization message in side chain Rope respective block, and then judge whether the authorization message stored in side chain passes through main chain authorization;
Step 206 obtains current server time generation third timestamp, and according to default version number, main chain father's block Cryptographic Hash, main chain digital finger-print and third timestamp generate main chain block head;
In the present embodiment, timestamp has recorded the time of block foundation, allows to have a certain range of error.
Main chain block head is generated main chain block index value by Hash operation by step 207, and by main chain block index value It is stored in index data base table.
The request slip information content that step 208, calculating are got, using calculated result as third transaction counter;
Step 209 calculates the length of main chain block head, third transaction counter and the request slip information got as master Chain block size;
Step 210 is generated according to main chain block size, main chain block head, third transaction counter and main chain block data Main chain block is broadcast to network, and empties request slip information aggregate by main chain block;
The main chain block head of newly-increased main chain block is carried out Hash operation generation authorization authority by step 211, by the main chain Request slip information and authorization authority binding in block generate authorization message, and authorization message is stored in preset authorization message collection It closes;
Step 212 judges whether to meet the condition for generating side chain block, is to then follow the steps 213, otherwise continues to execute step Rapid 212;
Whether step 212 can big to judge the item number of the authorization message comprising default side chain mark in authorization message set In preset value, it is to then follow the steps 213, otherwise continues to execute step 212;
Further, step 212 can judge that current server time and last time generate to obtain the current server time Whether the time difference of the time of side chain block is greater than preset value, is to then follow the steps 213, otherwise return step 212.
Step 212 is specially to obtain the current server time, and identify according to default side chain and obtain the last of corresponding side chain One side chain block obtains the time of last time generation side chain block according to the timestamp in the side chain block got, and judgement is worked as Whether the time difference for the time that preceding server time and last time generate side chain block is greater than preset value;It is to then follow the steps 213, it is no Then return step 212.
Step 213 obtains from authorization message set and believes comprising request slip mark and the matched authorization of default side chain mark Breath generates side chain digital finger-print according to the authorization message got.
Side chain is preset in the present embodiment and is identified as 100009, and it is colleges and universities' generation that request slip mark is obtained from authorization message set The authorization message that code is 100009, the authorization message got are as follows: Q and E.
The process that digital finger-print is generated in step 213 is similar with step 203, and details are not described herein.
Step 214 carries out Hash according to the block head for the last one block for presetting the corresponding side chain of side chain identifier lookup Operation generates side chain father block cryptographic Hash;
Step 215 obtains the 4th timestamp of current server time generation, and according to default version number, side chain father's block Cryptographic Hash, side chain digital finger-print and the 4th timestamp generate side chain block head;
Step 216, calculating get the quantity of authorization message, using calculated result as the 4th transaction counter;
Step 217, calculation side sequence build, the 4th transaction counter and side chain block data length as side chain block Length;
Step 218, according to side chain block size, side chain block head, the 4th transaction counter and the authorization message got Side chain block is generated, and side chain block is broadcast to network.
This method further include: when receiving information verification request, the information verification request includes the authorization that need to be investigated Information;Corresponding main chain block is inquired in main chain according to the authorization authority in authorization message, and judge in main chain block whether In the presence of with the consistent information of request slip information in authorization message, be that then authorization message is legal, otherwise authorization message is illegal.
Specifically, the consistent main chain block of authorization authority in main chain father block cryptographic Hash in main chain and authorization message is made For current main chain block, judge to whether there is and the request slip in authorization message in the previous main chain block of current main chain block The consistent information of information is that then authorization message is legal, and otherwise authorization message is illegal.
Preferably, when receiving information verification request, information verification request includes the authorization message that need to be investigated;According to awarding Authorization authority in power information searches corresponding main chain block index value in index data base table, and judges main chain block index Be worth in corresponding main chain block with the presence or absence of with the consistent information of request slip information in authorization message, be then authorization message conjunction Method, otherwise authorization message is illegal.
Main chain block index value is individually stored in index data base table, in order to index and retrieve main chain faster Block.
Embodiment 4
The present embodiment provides a kind of authorizing information devices based on block chain, as shown in figure 3, specifically including:
Request slip information module 11 is obtained, for obtaining request slip information aggregate, is obtained from request slip information aggregate full The request slip information of sufficient preset authorization condition;
Main chain digital finger-print generation module 12, the satisfaction for being got according to acquisition request slip information module 11, which is preset, awards The request slip information of power condition generates main chain digital finger-print;
Main chain block generation module 13, for raw according to main chain father's block cryptographic Hash, main chain digital finger-print generation module 12 At main chain digital finger-print and main chain timestamp generate main chain block head;Expired according to what acquisition request slip information module 11 was got The request slip information and main chain block of sufficient preset authorization condition are first-born at main chain block;
Main chain digital finger-print generation module 12 specifically includes:
Hash node generates submodule, for the request slip information for meeting preset authorization condition to be carried out Hash operation respectively Obtain current Hash node;
Hash father node generates submodule, for by the generation submodule operation of current Hash node obtain by adjacent two Hash operation, which is carried out, after a current Hash node series connection obtains Hash father node;It is also used to determining judging submodule into Hash father section The quantity of point is not when being one, using Hash father node as current Hash node, and by adjacent two current Hash node strings Hash operation is carried out after connection obtains new Hash father node;
Judging submodule, whether the quantity for judging that Hash father node generates the Hash father node that submodule generates is one It is a, when the quantity for determining Hash father node is one using Hash father node as main chain digital finger-print;
Main chain block generation module 13 specifically includes:
Father's block cryptographic Hash submodule is obtained, for obtaining the block head progress Hash operation life of the last one block of main chain At main chain father's block cryptographic Hash;
Main chain block is first-born at submodule, generates main chain timestamp for obtaining the current server time, and according to default Version number obtains main chain father's block cryptographic Hash, main chain digital finger-print and main chain timestamp that father's block cryptographic Hash submodule generates Generate main chain block head;
Main chain block length submodule is calculated, for calculating the request slip information for obtaining request slip information module 11 and getting Quantity, and using calculated result as request slip information counter;Calculate main chain block head, request slip information counter and request slip The length of information is as main chain block length;
Submodule is organized, for according to the first-born main chain block head generated at submodule of main chain block, calculating main chain block The main chain block length that request slip information counter that length submodule is calculated, main chain block length submodule are calculated The request slip information tissue main chain block got with acquisition request slip information module 11.
Broadcast module 14, the main chain block for generating main chain block generation module 13 are broadcast to network;Being also used to will The side chain block that side chain block generation module 19 generates is broadcast to network;
Authority generation module 15 is authorized, the main chain block head of the main chain block for will increase newly carries out Hash operation generation and awards Weigh authority;
Binding module 16, for that will authorize in the authorization authority and newly-increased main chain block that authority generation module 15 generates The binding of request slip information generates authorization message;
Authorization message module 17 is obtained, is identified for being obtained from the authorization message that binding module 16 generates with default side chain Corresponding authorization message.
Side chain digital finger-print generation module 18 includes default side chain for what is got according to acquisition authorization message module 17 The authorization message of mark generates side chain digital finger-print;
Side chain digital finger-print generation module 18 includes:
Hash node generates submodule, is breathed out respectively for will acquire the authorization message that authorization message module 17 is got Uncommon operation obtains current Hash node;
Hash father node generates submodule, for by the generation submodule operation of current Hash node obtain by adjacent two Hash operation, which is carried out, after a current Hash node series connection obtains Hash father node;It is also used to determining judging submodule into Hash father section The quantity of point is not when being one, using Hash father node as current Hash node, and by adjacent two current Hash node strings Hash operation is carried out after connection obtains Hash father node;
Judging submodule, whether the quantity for judging that Hash father node generates the Hash father node that submodule generates is one It is a;When the quantity for determining Hash father node is one using Hash father node as side chain digital finger-print;
Correspondingly, side chain block generation module 19, for obtaining side chain father block cryptographic Hash, root according to default side chain mark The side chain digital finger-print and timestamp obtained according to side chain father's block cryptographic Hash, judging submodule generates side chain block head;According to awarding It weighs information and side chain block is first-born at side chain block.
Side chain block generation module 19, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to side chain The side chain digital finger-print and timestamp that father's block cryptographic Hash, side chain digital finger-print generation module 18 generate generate side chain block head; The authorization message and side chain block got according to acquisition authorization message module 17 is first-born at side chain block.
Side chain block generation module 19 specifically includes:
Father's block cryptographic Hash submodule is obtained, for obtaining side chain most according to the corresponding side chain of side chain identifier lookup is preset The block head of the latter block carries out Hash operation and generates side chain father block cryptographic Hash;
Block is first-born at submodule, generates side chain timestamp for obtaining the current server time, and according to default version Number, side chain father's block cryptographic Hash, side chain digital finger-print and side chain timestamp generate side chain block head;
Authorization message quantity submodule is calculated, for calculating authorization message quantity, and using calculated result as authorization message Counter;
Calculation block size submodule, the length for calculation side sequence build, authorization message counter and authorization message As side chain block size;
Submodule is organized, for according to the first-born side chain block head generated at submodule of block, calculation block size submodule Side chain block size that block is calculated calculates authorization message counter that authorization message quantity submodule is calculated, calculates The side chain block size and obtain the authorization message tissue sides that authorization message module 17 is got that block size submodule generates Chain block.
Preferably, the device further include:
First judgment module meets the condition for generating main chain block for judging whether;It is also used to be unsatisfactory for giving birth to when judgement At main chain block condition when continue to execute and described judge whether to meet the condition for generating main chain block;
Specifically, first judgment module is specifically for judging it is pre- whether the request slip information for meeting preset authorization condition is greater than If it is default whether the time difference of item number or the time for judging current server time and last time generation main chain block are greater than Value.
Main chain digital finger-print generation module 12, for when first judgment module determines to meet the condition for generating main chain block Main chain digital finger-print is generated according to the request slip information for meeting preset authorization condition that request slip information module 11 is got is obtained.
Preferably,
Authority generation module 15 is authorized, it is raw that the main chain block head of newly-increased main chain block is carried out Hash operation for successively At authorization authority;
Binding module 16, the application in authorization authority and the main chain block for authority generation module 15 will to be authorized to generate Single information binding generates authorization message, and authorization message is saved in the authorization message set prestored;
Authorization message module 17 is obtained, for obtaining and default side chain from the authorization message set that binding module 16 generates Identify corresponding authorization message;
Side chain digital finger-print generation module 18, obtains in the authorization message set for being generated according to binding module 16 and includes The authorization message of default side chain mark, generates side chain digital finger-print according to the authorization message got;
Side chain block generation module 19, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to side chain The side chain digital finger-print and timestamp that father's block cryptographic Hash, side chain digital finger-print generation module 18 generate generate side chain block head; Authorization message and side chain block comprising default side chain mark in the authorization message set generated according to binding module 16 it is first-born at Side chain block.
Preferably, side chain digital finger-print generation module 18, specifically includes:
Submodule is operated, for being obtained from the authorization message set that binding module 16 generates comprising default side chain mark Authorization message carries out predetermined registration operation according to the authorization message got;
Digital finger-print generates submodule, for being generated according to the authorization message of successful execution predetermined registration operation in operation submodule Side chain digital finger-print;
Correspondingly, side chain block generation module 19, for obtaining side chain father block cryptographic Hash, root according to default side chain mark The side chain digital finger-print and timestamp generated according to side chain father's block cryptographic Hash, side chain digital finger-print generation module 18 generates side chain area Build;It is first-born at side chain block according to the authorization message of operation submodule successful execution predetermined registration operation and side chain block.
Preferably, side chain digital finger-print generation module 18 is specifically used for being obtained from authorization message set comprising default side The authorization message of chain mark, judges whether the authorization message got is legal, is then to generate side chain according to legal authorization message Digital finger-print identifies according to default side chain and obtains side chain father block cryptographic Hash, otherwise reports an error.
Correspondingly, side chain block generation module 19, for obtaining side chain father block cryptographic Hash, root according to default side chain mark The side chain digital finger-print and timestamp generated according to side chain father's block cryptographic Hash, side chain digital finger-print generation module 18 generates side chain area Build;The legal authorization message and side chain block obtained according to side chain digital finger-print generation module 18 is first-born at side chain block.
Further, side chain digital finger-print generation module 18 specifically includes:
Current grant information aggregate submodule is obtained, for obtaining packet from the authorization message set that binding module 16 generates The authorization message of the mark containing default side chain is as current grant information aggregate;
Current grant message sub-module is obtained, the authorization message collection for generating from acquisition current grant information aggregate module An authorization message is obtained in conjunction as current grant information;It is also used to determine current grant information collection when second judgment submodule There are also the authorization message set generated when the authorization message being not yet acquired from acquisition current grant information aggregate module in conjunction One authorization message of middle acquisition is as current grant information;
First judging submodule is awarded for obtaining from the current grant information that acquisition current grant information module is got Authority is weighed, judges whether that main chain father's block cryptographic Hash and the consistent main chain block of authorization message can be inquired in main chain;
Output module, for when the first judging submodule judgement can be inquired in main chain main chain father's block cryptographic Hash with Current grant information is legal when authorization message consistent main chain block, and to side chain digital finger-print generation module 18 and side chain block Generation module 19 exports current grant information;
Second judgment submodule, for determining that cannot inquire main chain father's block in main chain breathes out when the first judging submodule Judge whether to be also not yet acquired in current grant information aggregate when consistent with the authorization message main chain block of uncommon value and award Weigh information;
Side chain digital finger-print generates submodule, and the authorization message for being exported according to output module generates side chain number and refers to Line;
Correspondingly, side chain block generation module 19, for obtaining side chain father block cryptographic Hash, root according to default side chain mark The side chain digital finger-print and timestamp generation side chain area that submodule generates are generated according to side chain father's block cryptographic Hash, side chain digital finger-print Build;It is first-born at side chain block according to the authorization message of output module output and side chain block.
Preferably, which further includes third judgment module, meets the condition for generating side chain block for judging whether;
Specifically, third judgment module is specifically for judging it is default whether the authorization message containing default side chain mark is greater than Item number, or judge whether the time difference for the time that current server time and last time generate side chain block is greater than preset value.
Correspondingly, side chain digital finger-print generation module 18, for generating side chain block when third judgment module determines to meet Condition when side chain digital finger-print generated according to the authorization message comprising default side chain mark that binding module 16 generates.
Preferably, the device further include:
Module is investigated, for when receiving information verification request, information verification request to include the authorization message that need to be investigated; Corresponding main chain block is inquired in main chain according to the authorization authority in authorization message, and judge in main chain block with the presence or absence of with The consistent information of request slip information in authorization message, is that then authorization message is legal, otherwise authorization message is illegal.
Preferably, the device further include:
Memory module, the main chain block head for generating main chain block generation module 13 carry out Hash operation and generate main chain Block index value, and main chain block index value is stored in index data base table;
Module is investigated, for when receiving information verification request, information verification request to include the authorization message that need to be investigated; Corresponding main chain block rope is searched in the index data base table stored in a storage module according to the authorization authority in authorization message Draw value, and judges that main chain block index is worth in corresponding main chain block with the presence or absence of consistent with the request slip information in authorization message Information, be that then authorization message is legal, otherwise authorization message is illegal.
Further, main chain block generation module 13, specifically for judge memory module storage index data base table in Whether the authorized certificate fiducial value that with main chain father block cryptographic Hash matches is had, when being determined with and main chain father's block cryptographic Hash phase The main chain number generated when the authorized certificate fiducial value matched according to main chain father's block cryptographic Hash, main chain digital finger-print generation module 12 Fingerprint and main chain timestamp generate main chain block head;Meet preset authorization item according to what acquisition request slip information module 11 was got The request slip information and main chain block of part are first-born at main chain block.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, Anyone skilled in the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, all It is covered by the protection scope of the present invention.Therefore, protection scope of the present invention is answered described with scope of protection of the claims Subject to.

Claims (30)

1. a kind of authorizing information method based on block chain characterized by comprising
Step A1, request slip information aggregate is obtained, the Shen for meeting preset authorization condition is obtained from the request slip information aggregate It please single information;
Step A2, main chain digital finger-print is generated according to the request slip information for meeting the preset authorization condition;According to main chain father area Block cryptographic Hash, the main chain digital finger-print and main chain timestamp generate main chain block head;According to meeting the preset authorization condition Request slip information and the main chain block it is first-born at main chain block, and be broadcast to network;
Wherein, described to be specifically included according to the request slip information generation main chain digital finger-print for meeting the preset authorization condition: step Rapid 101, the request slip information for meeting the preset authorization condition is subjected to Hash operation respectively and obtains current Hash node;Step 102, Hash operation will be carried out after adjacent two current Hash node series connection obtain Hash father node;Step 103 judges Hash Whether the quantity of father node is one, is then using Hash father node as main chain digital finger-print;Otherwise using Hash father node as Current Hash node, return step 102;
The method also includes:
Step B1, the main chain block head of newly-increased main chain block is subjected to Hash operation and generates authorization authority, and by the authorization Request slip information binding in authority and the newly-increased main chain block generates authorization message;
Step B2, side chain digital finger-print is generated according to the authorization message comprising presetting side chain mark;It is obtained according to default side chain mark Side chain father's block cryptographic Hash is taken, side chain is generated according to the side chain father block cryptographic Hash, the side chain digital finger-print and timestamp Block head;It is first-born at side chain block according to the authorization message and the side chain block, and it is broadcast to network;
The basis generates side chain digital finger-print comprising presetting the authorization message of side chain mark, comprising: the authorization letter that will acquire Breath carries out predetermined registration operation, generates side chain digital finger-print according to the authorization message of successful execution predetermined registration operation.
2. the method as described in claim 1, which is characterized in that before the step A2 further include: judge whether to meet generation The condition of main chain block is to then follow the steps A2, otherwise continues to determine whether to meet the condition for generating main chain block.
3. method according to claim 2, which is characterized in that described to judge whether that the condition for meeting generation main chain block is specific Are as follows: when judging whether the request slip information for meeting the preset authorization condition is greater than default number of branches, or judging current server Between and last time generate whether time difference of time of main chain block is greater than preset value.
4. the method as described in claim 1, which is characterized in that described according to main chain father's block cryptographic Hash, main chain number Fingerprint and main chain timestamp generate main chain block head;According to the request slip information and the main chain for meeting the preset authorization condition Block is first-born to be specifically included at main chain block:
Step 201, the block head for obtaining the last one block of main chain carry out Hash operation and generate main chain father block cryptographic Hash;
Step 202 obtains current server time generation main chain timestamp, and according to default version number, main chain father's block Hash Value, main chain digital finger-print and main chain timestamp generate main chain block head;
Step 203, calculating meet the request slip information content of the preset authorization condition, and believe calculated result as request slip Cease counter;The length of main chain block head, request slip information counter and request slip information is calculated as main chain block length;
Step 204 according to main chain block head, main chain block length, request slip information counter and meets the preset authorization item The request slip information tissue main chain block of part.
5. the method as described in claim 1, which is characterized in that
The step B1 is specifically included: obtaining newly-increased main chain block, the main chain block head for the main chain block that successively will acquire It carries out Hash operation and generates authorization authority, and the authorization authority is generated with the request slip information binding in the main chain block and is awarded Weigh information;The authorization message is saved in preset authorization message set;
The step B2 is specifically included: the authorization message comprising default side chain mark, root are obtained from the authorization message set Side chain digital finger-print is generated according to the authorization message got, is identified according to default side chain and obtains side chain father block cryptographic Hash, according to The side chain father block cryptographic Hash, the side chain digital finger-print and timestamp generate side chain block head;According to comprising presetting side chain The authorization message of mark and the side chain block are first-born at side chain block, and are broadcast to network.
6. method as claimed in claim 5, which is characterized in that described to be obtained from the authorization message set comprising default side After the authorization message of chain mark, further includes: identified according to request slip and obtain side chain father block cryptographic Hash, according to the side chain father Block cryptographic Hash, the side chain digital finger-print and timestamp generate side chain block head;According to the authorization of successful execution predetermined registration operation Information and the side chain block are first-born at side chain block, and are broadcast to network.
7. method as claimed in claim 5, which is characterized in that described to be obtained from the authorization message set comprising default side After the authorization message of chain mark, further includes: judge whether the authorization message got is legal, be then to be believed according to legal authorization Breath generates side chain digital finger-print, is identified according to default side chain and obtains side chain father block cryptographic Hash, is breathed out according to the side chain father block Uncommon value, the side chain digital finger-print and timestamp generate side chain block head, according to legal authorization message and the side chain block It is first-born and to be broadcast to network at side chain block, it otherwise reports an error, terminates.
8. the method for claim 7, which is characterized in that the whether legal specific packet of authorization message for judging to get It includes:
Step 301, the authorization message comprising default side chain mark that will acquire are worked as current grant information aggregate from described An authorization message is obtained in preceding authorization message set as current grant information;
Step 302 obtains authorization authority from current grant information, judges whether that main chain father's block can be inquired in main chain Cryptographic Hash and the consistent main chain block of authorization authority, are that then the authorization message is legal, otherwise the authorization message does not conform to Method executes step 303;
Whether step 303 judges there are also the authorization message being not yet acquired in the current grant information aggregate, is to return Step 301, it otherwise continues to execute and side chain digital finger-print is generated according to legal authorization message.
9. the method as described in claim 1, which is characterized in that before the step B1 further include: judge whether to meet generation The condition of side chain block is to continue to execute step B1;Otherwise judge whether to meet described in continuing to execute and generate side chain block Condition.
10. method as claimed in claim 9, which is characterized in that described to judge whether to meet the condition tool for generating side chain block Body are as follows: whether judgement is greater than default number of branches containing the authorization message of default side chain mark, or judge the current server time with Whether the time difference that last time generates the time of side chain block is greater than preset value.
11. the method as described in claim 1, which is characterized in that the basis is raw comprising the authorization message for presetting side chain mark It is specifically included at side chain digital finger-print:
The authorization message comprising default side chain mark is carried out Hash operation respectively and obtains current Hash node by step 401;
Hash operation, which is carried out, after step 402, two current Hash nodes series connection that will be connected obtains Hash father node;
Whether step 403, the quantity for judging Hash father node are one, are then using Hash father node as side chain digital finger-print; Otherwise using Hash father node as current Hash node, return step 402.
12. the method as described in claim 1, which is characterized in that the basis presets side chain mark and obtains side chain father block Kazakhstan Uncommon value generates side chain block head according to the side chain father block cryptographic Hash, the side chain digital finger-print and timestamp;According to described Authorization message and the side chain block are first-born at side chain block, specifically include:
Step 501, according to the corresponding side chain of the default side chain identifier lookup, obtain the block head of the last one block of side chain into Row Hash operation generates side chain father block cryptographic Hash;
Step 502 obtains current server time generation side chain timestamp, and according to default version number, side chain father's block Hash Value, side chain digital finger-print and side chain timestamp generate side chain block head;
The authorization message quantity that step 503, calculating are got, and using calculated result as authorization message counter;Calculate side chain The length of block head, authorization message counter and authorization message is as side chain block size;
Step 504 generates side chain block according to side chain block head, side chain block size, authorization message counter and authorization message.
13. the method as described in claim 1, which is characterized in that further include: when receiving information verification request, the letter Breath verification request includes the authorization message that need to be investigated;Corresponding main chain is inquired in main chain according to the authorization authority in authorization message Block, and judge in main chain block with the presence or absence of with the consistent information of request slip information in authorization message, be then authorization message Legal, otherwise authorization message is illegal.
14. the method as described in claim 1, which is characterized in that
After the generation main chain block head according to main chain father's block cryptographic Hash, the main chain digital finger-print and main chain timestamp, Before the request slip information and the first-born block at main chain of the main chain block for meeting the preset authorization condition, further includes: The main chain block head is subjected to Hash operation and generates main chain block index value, and the main chain block index value is stored in rope Draw database table;
The method, further includes: when receiving information verification request, the information verification request includes the authorization letter that need to be investigated Breath;Corresponding main chain block index value is searched in index data base table according to the authorization authority in authorization message, and judges to lead In the corresponding main chain block of chain block index value with the presence or absence of with the consistent information of request slip information in authorization message, be to award Power information is legal, and otherwise authorization message is illegal.
15. method as claimed in claim 14, which is characterized in that described according to main chain father's block cryptographic Hash, the main chain number Word fingerprint and main chain timestamp generate before main chain block head further include: judge whether have in index data base table and the main chain The authorized certificate fiducial value that father's block cryptographic Hash matches, be continue to execute it is described according to main chain father's block cryptographic Hash, it is described Main chain digital finger-print and main chain timestamp generate main chain block head, and otherwise report an error end.
16. a kind of authorizing information device based on block chain characterized by comprising
Request slip information module is obtained, for obtaining request slip information aggregate, obtains and meets from the request slip information aggregate The request slip information of preset authorization condition;
Main chain digital finger-print generation module, described preset that meet for being got according to the acquisition request slip information module are awarded The request slip information of power condition generates main chain digital finger-print;
The main chain digital finger-print generation module includes:
Hash node generates submodule, for the request slip information for meeting the preset authorization condition to be carried out Hash operation respectively Obtain current Hash node;
Hash father node generates submodule, and adjacent two for obtaining Hash node generation submodule operation are current Hash operation, which is carried out, after the series connection of Hash node obtains Hash father node;It is also used to determining judging submodule into the Hash father node Quantity when not being one, using the Hash father node as current Hash node, and by adjacent two current Hash nodes Hash operation is carried out after series connection obtains new Hash father node;
The judging submodule, for judging that the Hash father node generates the quantity for the Hash father node that submodule generates It whether is one, when the quantity for determining the Hash father node is one using Hash father node as main chain digital finger-print;
Main chain block generation module, for being generated according to main chain father's block cryptographic Hash, the main chain digital finger-print generation module The main chain digital finger-print and main chain timestamp generate main chain block head;It is got according to the acquisition request slip information module Request slip information and the main chain block for meeting the preset authorization condition are first-born at main chain block;
Broadcast module, the main chain block for generating the main chain block generation module are broadcast to network;Being also used to will The side chain block that side chain block generation module generates is broadcast to network;
Authorize authority generation module, the main chain block head of the main chain block for will increase newly carry out Hash operation generate authorization with According to;
Binding module, the authorization authority and the newly-increased main chain block for generating the authorization authority generation module In request slip information binding generate authorization message;
Authorization message module is obtained, is identified for being obtained from the authorization message that the binding module generates with default side chain Corresponding authorization message;
Side chain digital finger-print generation module is identified for what is got according to the acquisition authorization message module comprising default side chain Authorization message generate side chain digital finger-print;
The side chain digital finger-print generation module, specifically includes: operation submodule sum number word fingerprint generates submodule,
The operation submodule, for being obtained from the authorization message set that the binding module generates comprising default side chain The authorization message of mark carries out predetermined registration operation according to the authorization message got;
The digital finger-print generates submodule, for being generated according to the authorization message of successful execution predetermined registration operation in operation submodule Side chain digital finger-print;
Side chain block generation module, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to the side chain father The side chain digital finger-print and timestamp that block cryptographic Hash, the side chain digital finger-print generation module generate generate side chain block Head;The authorization message and the side chain block got according to the acquisition authorization message module is first-born at side chain block.
17. device as claimed in claim 16, which is characterized in that further include:
First judgment module meets the condition for generating main chain block for judging whether;It is also used to be unsatisfactory for generating master when judgement The condition for judging whether to meet generation main chain block is continued to execute when the condition of chain block;
The main chain digital finger-print generation module, for determining to meet the condition for generating main chain block when the first judgment module When according to it is described acquisition request slip information module get meet the preset authorization condition request slip information generate main chain Digital finger-print.
18. device as claimed in claim 17, which is characterized in that the first judgment module is specifically used for described in judgement satisfaction Whether the request slip information of preset authorization condition is greater than default number of branches or for judging that current server time and last time generate Whether the time difference of the time of main chain block is greater than preset value.
19. device as claimed in claim 16, which is characterized in that the main chain block generation module specifically includes:
Father's block cryptographic Hash submodule is obtained, for obtaining the block head progress Hash operation generation master of the last one block of main chain Chain father's block cryptographic Hash;
Main chain block is first-born at submodule, generates main chain timestamp for obtaining the current server time, and according to default version Number, described obtain the main chain father block cryptographic Hash that father's block cryptographic Hash submodule generates, main chain digital finger-print and when main chain Between stamp generate main chain block head;
Main chain block length submodule is calculated, the request slip Information Number got for calculating the acquisition request slip information module Amount, and using calculated result as request slip information counter;Calculate main chain block head, request slip information counter and request slip letter The length of breath is as main chain block length;
Submodule is organized, for according to the first-born main chain block head generated at submodule of the main chain block, the calculating The request slip information counter that main chain block length submodule is calculated, the main chain block length submodule calculate To the main chain block length and described obtain the request slip information tissue main chain block that gets of request slip information module.
20. device as claimed in claim 16, which is characterized in that
The authorization authority generation module, for the main chain block head of newly-increased main chain block successively to be carried out Hash operation generation Authorize authority;
The binding module, for that described will authorize in the authorization authority and the main chain block of authority generation module generation The binding of request slip information generates authorization message, and authorization message is saved in the authorization message set prestored;
The acquisition authorization message module, for being obtained and default side chain from the authorization message set that the binding module generates Identify corresponding authorization message;
The side chain digital finger-print generation module obtains in the authorization message set for being generated according to the binding module Authorization message comprising presetting side chain mark generates side chain digital finger-print according to the authorization message got;
The side chain block generation module, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to the side The side chain digital finger-print and timestamp that chain father's block cryptographic Hash, the side chain digital finger-print generation module generate generate side chain Block head;Authorization message and institute comprising default side chain mark in the authorization message set generated according to the binding module It is first-born at side chain block to state side chain block.
21. device as claimed in claim 20, which is characterized in that
The side chain block generation module, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to the side The side chain digital finger-print and timestamp that chain father's block cryptographic Hash, the side chain digital finger-print generation module generate generate side chain Block head;It is first-born at side chain area according to the authorization message of the operation submodule successful execution predetermined registration operation and the side chain block Block.
22. device as claimed in claim 20, which is characterized in that the side chain digital finger-print generation module, be specifically used for from The authorization message comprising default side chain mark is obtained in the authorization message set, judges whether the authorization message got closes Method is then to generate side chain digital finger-print according to legal authorization message, is identified according to default side chain and obtain side chain father block Hash Value, otherwise reports an error;
The side chain block generation module, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to the side The side chain digital finger-print and timestamp that chain father's block cryptographic Hash, the side chain digital finger-print generation module generate generate side chain Block head;The legal authorization message and the side chain block obtained according to the side chain digital finger-print generation module is first-born at side Chain block.
23. device as claimed in claim 22, which is characterized in that
The side chain digital finger-print generation module specifically includes:
Current grant information aggregate submodule is obtained, for obtaining from the authorization message set that the binding module generates Comprising presetting the authorization message of side chain mark as current grant information aggregate;
Current grant message sub-module is obtained, it is described current for being generated from the acquisition current grant information aggregate submodule An authorization message is obtained in authorization message set as current grant information;Described in being also used to determine when second judgment submodule From the acquisition current grant information aggregate submodule when authorization message being also not yet acquired in current grant information aggregate An authorization message is obtained in the current grant information aggregate that block generates as current grant information;
First judging submodule, for from the current grant information that the acquisition current grant message sub-module is got Authorization authority is obtained, judges whether that main chain father's block cryptographic Hash and the consistent master of the authorization message can be inquired in main chain Chain block;
Output module, for when the first judging submodule judgement can be inquired in main chain main chain father's block cryptographic Hash with it is described The current grant information is legal when authorization message consistent main chain block, and to the side chain digital finger-print generation module and institute State side chain block generation module output current grant information;
Second judgment submodule, for determining that cannot inquire main chain father's block in main chain breathes out when first judging submodule Judge whether also not yet obtained in the current grant information aggregate when consistent with the authorization message main chain block of uncommon value The authorization message taken;
Side chain digital finger-print generates submodule, and the authorization message for being exported according to the output module generates side chain number and refers to Line;
The side chain block generation module, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to the side Chain father's block cryptographic Hash, the side chain digital finger-print generate the side chain digital finger-print that submodule generates and timestamp generates side Sequence build;It is first-born at side chain block according to the authorization message of output module output and the side chain block.
24. device as claimed in claim 16, which is characterized in that further include
Third judgment module meets the condition for generating side chain block for judging whether;
The side chain digital finger-print generation module, for determining to meet the condition for generating side chain block when the third judgment module When side chain digital finger-print generated according to the authorization message comprising default side chain mark that the binding module generates.
25. device as claimed in claim 24, which is characterized in that the third judgment module is specifically used for judgement containing default Whether the authorization message of side chain mark is greater than default number of branches, or judges that current server time and last time generate side chain block Whether the time difference of time is greater than preset value.
26. device as claimed in claim 16, which is characterized in that the side chain digital finger-print generation module includes:
Hash node generates submodule, and the authorization message for getting the acquisition authorization message module carries out Hash respectively Operation obtains current Hash node;
Hash father node generates submodule, works as adjacent two for obtain the generation submodule operation of current Hash node Hash operation, which is carried out, after preceding Hash node series connection obtains Hash father node;It is also used to determine judging submodule the Hash father section The quantity of point is not when being one, using the Hash father node as current Hash node, and by adjacent two current Hash sections Hash operation, which is carried out, after point series connection obtains Hash father node;
The judging submodule, for judging that the Hash father node generates the quantity for the Hash father node that submodule generates It whether is one, when the quantity for determining the Hash father node is one using Hash father node as side chain digital finger-print;
The side chain block generation module, for obtaining side chain father block cryptographic Hash according to default side chain mark, according to the side The side chain digital finger-print and timestamp that chain father's block cryptographic Hash, the judging submodule obtain generate side chain block head;According to awarding It weighs information and the side chain block is first-born at side chain block.
27. device as claimed in claim 16, which is characterized in that the side chain block generation module includes:
Father's block cryptographic Hash submodule is obtained, for obtaining side chain most according to the corresponding side chain of the default side chain identifier lookup The block head of the latter block carries out Hash operation and generates side chain father block cryptographic Hash;
Block is first-born at submodule, generates side chain timestamp for obtaining the current server time, and according to default version number, side Chain father's block cryptographic Hash, side chain digital finger-print and side chain timestamp generate side chain block head;
Authorization message quantity submodule is calculated, is counted for calculating authorization message quantity, and using calculated result as authorization message Device;
Calculation block size submodule, the length conduct for calculation side sequence build, authorization message counter and authorization message Side chain block size;
Submodule is organized, for according to the first-born side chain block head generated at submodule of block, the calculation block size Side chain block size that submodule is calculated, the authorization message for calculating authorization message quantity submodule and being calculated Counter and the authorization message tissue sides chain block for obtaining authorization message module and getting.
28. device as claimed in claim 16, which is characterized in that further include:
Module is investigated, for when receiving information verification request, the information verification request to include the authorization message that need to be investigated; Corresponding main chain block is inquired in main chain according to the authorization authority in authorization message, and judge in main chain block with the presence or absence of with The consistent information of request slip information in authorization message, is that then authorization message is legal, otherwise authorization message is illegal.
29. device as claimed in claim 16, which is characterized in that further include:
Memory module, the main chain block head for generating the main chain block generation module carry out Hash operation and generate master Chain block index value, and the main chain block index value is stored in index data base table;
Module is investigated, for when receiving information verification request, the information verification request to include the authorization message that need to be investigated; Corresponding main chain area is searched in the index data base table stored in the memory module according to the authorization authority in authorization message Block index value, and judge that main chain block index is worth in corresponding main chain block and whether there is and the request slip information in authorization message Consistent information is that then authorization message is legal, and otherwise authorization message is illegal.
30. device as claimed in claim 29, which is characterized in that
The main chain block generation module, in the index data base table specifically for judging memory module storage whether There is the authorized certificate fiducial value to match with the main chain father block cryptographic Hash, when being determined with and the main chain father block cryptographic Hash The institute generated when the authorized certificate fiducial value to match according to main chain father's block cryptographic Hash, the main chain digital finger-print generation module It states main chain digital finger-print and main chain timestamp generates main chain block head;Expired according to what the acquisition request slip information module was got The request slip information of the foot preset authorization condition and the main chain block are first-born at main chain block.
CN201710318364.8A 2017-05-08 2017-05-08 A kind of authorizing information method and device based on block chain Active CN107040384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710318364.8A CN107040384B (en) 2017-05-08 2017-05-08 A kind of authorizing information method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710318364.8A CN107040384B (en) 2017-05-08 2017-05-08 A kind of authorizing information method and device based on block chain

Publications (2)

Publication Number Publication Date
CN107040384A CN107040384A (en) 2017-08-11
CN107040384B true CN107040384B (en) 2019-09-13

Family

ID=59538390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710318364.8A Active CN107040384B (en) 2017-05-08 2017-05-08 A kind of authorizing information method and device based on block chain

Country Status (1)

Country Link
CN (1) CN107040384B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886388B (en) * 2017-09-22 2020-11-03 杭州云象网络技术有限公司 Transportation credit and safety service platform for realizing polycentricity based on alliance chain and operation method thereof
CN108023794B (en) * 2017-12-04 2020-12-15 四川长虹电器股份有限公司 Equipment access control method and device
CN108389047B (en) * 2018-02-12 2021-07-09 南京思利华信息科技有限公司 Method for trading between parent chain and child chain in block chain and block chain network
CN108768918B (en) * 2018-03-15 2021-09-24 中山大学 Access control method based on authorization management chain
CN108712257B (en) * 2018-04-03 2020-04-17 阿里巴巴集团控股有限公司 Cross-block-chain authentication method and device and electronic equipment
CN108650231B (en) * 2018-04-04 2021-02-26 广州广电运通金融电子股份有限公司 Block chain-based biological feature acquisition method and system
CN108989043B (en) * 2018-05-31 2021-01-26 中国联合网络通信集团有限公司 Block processing method and device and block link points
CN109472690A (en) * 2018-10-25 2019-03-15 深圳壹账通智能科技有限公司 The loan measures and procedures for the examination and approval, device, storage medium and electronic equipment based on block chain
CN109286685A (en) * 2018-11-21 2019-01-29 北京蓝石环球区块链科技有限公司 The system architecture of the more subchains of main chain adduction row of subchain can be expanded
CN109753823B (en) * 2018-12-11 2021-11-02 烨链(上海)科技有限公司 Block chain data supervision method, system and computer storage medium
CN109766723A (en) * 2018-12-11 2019-05-17 烨链(上海)科技有限公司 A kind of block chain data framework, regulatory framework, monitoring and managing method and computer readable storage medium
CN109919615B (en) * 2019-03-01 2021-04-02 上海分布信息科技有限公司 Cross-chain data interaction method and system based on block chain
CN111708825B (en) * 2020-06-11 2021-08-24 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976246A (en) * 2016-04-29 2016-09-28 北京太云科技有限公司 Block chain-based digital asset superposition method and device
CN106097030A (en) * 2016-04-29 2016-11-09 北京太云科技有限公司 The data processing method of a kind of assets based on block chain, Apparatus and system
CN106375317A (en) * 2016-08-31 2017-02-01 北京明朝万达科技股份有限公司 Block chain-based big data security authentication method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160098723A1 (en) * 2014-10-01 2016-04-07 The Filing Cabinet, LLC System and method for block-chain verification of goods

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105976246A (en) * 2016-04-29 2016-09-28 北京太云科技有限公司 Block chain-based digital asset superposition method and device
CN106097030A (en) * 2016-04-29 2016-11-09 北京太云科技有限公司 The data processing method of a kind of assets based on block chain, Apparatus and system
CN106375317A (en) * 2016-08-31 2017-02-01 北京明朝万达科技股份有限公司 Block chain-based big data security authentication method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"区块链驱动的金融业发展变革研究";姚国章等;《南京邮电大学学报(自然科学版)》;20161102;第36卷(第5期);1-9 *

Also Published As

Publication number Publication date
CN107040384A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
CN107040384B (en) A kind of authorizing information method and device based on block chain
TWI749583B (en) Chain structure data storage, verification, realization method, system, device and media
CN104392534B (en) Electronic voting method and device based on finger vein feature recognition
CN102170356B (en) Authentication system realizing method supporting exclusive control of digital signature key
CN107276762A (en) The method of work and device of a kind of multi-protocols block chain
CN106997525A (en) Digital license system based on block chain technology
CN107181763A (en) Bid video conference and monitoring system
US7597258B2 (en) Confidential electronic election system
CN107835166A (en) A kind of high value crystal retroactive method and device based on block chain
CN113129395B (en) Data compression encryption system
CN110135860A (en) A kind of safe traceability system of crop seeds based on block chain technology
CN110473106A (en) A kind of method and relevant apparatus of trading processing
CN108831565B (en) Chinese medicine acupuncture information consensus system based on block chain
CN106455940A (en) Devices, systems, and methods for authenticated intravascular device use and reuse
JP2023504066A (en) Probably Fair Game Using Blockchain
CN109615759A (en) It is random to take out number number of shaking system
CN107832626A (en) Structured data right confirming method oriented to data circulation
CN109636395A (en) A kind of across the chain transaction processing system of multi-tiling chain and method
CN110310176A (en) A kind of data ciphering method and device based on block chain network
CN107679149A (en) A kind of data processing method and server
CN113497823B (en) Labor service subcontracting personnel management system based on block chain
CN109829690A (en) Data processing method, device and system based on block chain
CN109784857A (en) Data processing method, device and system based on block chain
CN104182496A (en) Method for releasing and acquiring news information
CN110766422A (en) Drug collaboration and traceability system and method based on alliance chain

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