CN107040384A - 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
CN107040384A
CN107040384A CN201710318364.8A CN201710318364A CN107040384A CN 107040384 A CN107040384 A CN 107040384A CN 201710318364 A CN201710318364 A CN 201710318364A CN 107040384 A CN107040384 A CN 107040384A
Authority
CN
China
Prior art keywords
side chain
block
main chain
authorization message
generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710318364.8A
Other languages
Chinese (zh)
Other versions
CN107040384B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Storage Device Security (AREA)

Abstract

The present invention relates to financial field, more particularly to a kind of authorizing information method and device based on block chain, this method includes:Request slip information aggregate is obtained, main chain block is generated according to request slip information, main chain father's block cryptographic Hash and main chain timestamp that preset authorization condition is met in the set, and be broadcast to network;The main chain block head of newly-increased main chain block is subjected to Hash operation generation and authorizes authority, and authority and the request slip information binding generation authorization message in newly-increased main chain block will be authorized;Side chain digital finger-print is generated according to the authorization message identified comprising default side chain;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 into 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 use block chain technique construction, and obtained during the information of side chain preservation by main chain mandate, it is ensured that the security 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, more particularly to a kind of authorizing information method and device based on block chain.
Background technology
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 Contain over the information such as all transaction data and its related data in networking data storehouse technology, this database, feature is It is decentralization, open and clear, that is, record the information on block chain be all distribution storage and it is transparent look into, and with cryptography agreement Mode ensure that information cannot be tampered.
But there is problems with 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 ensure that information is legal, adds block information not Security.
The content of the invention
The invention aims to overcome the deficiencies in the prior art, there is provided a kind of authorizing information method based on block chain And device.
A kind of authorizing information method based on block chain that the present invention is provided, this method includes:
Step A1, acquisition request slip information aggregate, obtain the Shen for meeting preset authorization condition from request slip information aggregate Please single information;
Step A2, according to meet preset authorization condition request slip information generate main chain digital finger-print;According to main chain father area Block cryptographic Hash, main chain digital finger-print and main chain timestamp generation main chain block head;According to the request slip for meeting preset authorization condition Information and main chain block are first-born into main chain block, and are broadcast to network;
Method also includes:
Step B1, the main chain block head progress Hash operation generation mandate authority by newly-increased main chain block, and will authorize Authority and the request slip information binding generation authorization message in newly-increased main chain block;
Step B2, basis generate side chain digital finger-print comprising the authorization message that default side chain is identified;According to default side chain mark Know and obtain side chain father's 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 into 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 that the present invention is provided, is specifically included:
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, preset authorization bar is met for what is got according to acquisition request slip information module The request slip information generation main chain digital finger-print of part;
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 generation main chain block head;The satisfaction got according to acquisition request slip information module 11 The request slip information and main chain block of preset authorization condition are first-born into main chain block;
Broadcast module, the main chain block for main chain block generation module to be generated is broadcast to network;It is additionally operable to side chain The side chain block of block generation module generation is broadcast to network;
Authority generation module is authorized, is authorized for the main chain block head of newly-increased main chain block to be carried out into Hash operation generation Authority;
Binding module, for the application authorized in authority and newly-increased main chain block by the generation of authority generation module is authorized Single information binding generation authorization message;
Authorization message module is obtained, for obtaining corresponding with default side chain mark from the authorization message that binding module is generated 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 generation side chain digital finger-print;
Side chain block generation module, for obtaining side chain father's block cryptographic Hash according to default side chain mark, according to side chain father Block cryptographic Hash, the side chain digital finger-print of side chain digital finger-print generation module generation and timestamp generation side chain block head;According to The authorization message and side chain block that acquisition authorization message module is got are first-born into side chain block.
The present invention has advantages below:Firstth, main chain and side chain are all to use block chain technique construction, can prevent master Chain and the information of side chain storage are tampered;Secondth, the information in the block in side chain includes the authorized certificate generated in main chain, really It is by main chain mandate to protect the information preserved in side chain, it is ensured that the security and legitimacy of information.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying 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 is provided.
Fig. 2 is a kind of flow chart for authorizing information method based on block chain that the embodiment of the present invention 3 is provided.
Fig. 3 is a kind of block diagram for authorizing information device based on block chain that the embodiment of the present invention 4 is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described.Obviously described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, the scope of protection of the invention is belonged to.
Embodiment 1
The present embodiment provides a kind of authorizing information method based on block chain, and this method includes:
Step A1, acquisition request slip information aggregate, obtain the Shen for meeting preset authorization condition from request slip information aggregate Please single information;
Step A2, according to meet preset authorization condition request slip information generate main chain digital finger-print;According to main chain father area Block cryptographic Hash, main chain digital finger-print and main chain timestamp generation main chain block head;According to the request slip for meeting preset authorization condition Information and main chain block are first-born into main chain block, and are broadcast to network;
Specifically included specifically, generating main chain digital finger-print according to the request slip information for meeting preset authorization condition:
Step 101, the request slip information for meeting preset authorization condition is subjected to Hash operation respectively obtains current Hash node;
Step 102, Hash operation will be carried out 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 numeral Line;Otherwise it regard Hash father node as current Hash node, return to 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 Specifically included according to the request slip information and main chain block that meet preset authorization condition are first-born into main chain block:
Step 201, the block head progress Hash operation generation main chain father's block cryptographic Hash for obtaining last block of main chain;
Step 202, acquisition 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 generation main chain block head;
Step 203, calculating meet the request slip information content of preset authorization condition, and believe result of calculation as request slip Cease counter;The length for calculating main chain block head, request slip information counter and request slip information is used as main chain block length;
Step 204, according to main chain block head, main chain block length, request slip information counter and meet preset authorization bar The request slip information tissue main chain block of part.
Method also includes:
Step B1, the main chain block head progress Hash operation generation mandate authority by newly-increased main chain block, and will authorize Authority and the request slip information binding generation authorization message in newly-increased main chain block;
Step B2, basis generate side chain digital finger-print comprising the authorization message that default side chain is identified;According to default side chain mark Know and obtain side chain father's 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 into side chain block according to authorization message and side chain block, and it is broadcast to network.
Specifically, being specifically included according to the authorization message generation side chain digital finger-print got:
Step 401, the authorization message got is subjected to Hash operation respectively obtains current Hash node;
Progress Hash operation obtains Hash father node after step 402, the current Hash node series connection of will be connected two;
Step 403, judge Hash father node quantity be right for one, be then using Hash father node be used as side chain numeral Fingerprint;Otherwise it regard Hash father node as current Hash node, return to step 402.
Specifically, side chain father's block cryptographic Hash is obtained according to default side chain mark, according to side chain father's block cryptographic Hash, side chain Digital finger-print and timestamp generation side chain block head;It is first-born into side chain block according to authorization message and side chain block, specifically include:
The corresponding side chain of the default side chain identifier lookup of step 501, basis, the block head of last block of acquisition side chain enters Row Hash operation generates side chain father's block cryptographic Hash;
Step 502, acquisition 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 generation side chain block head;
The authorization message quantity that step 503, calculating are got, and it regard result of calculation as authorization message counter;Calculate The length of side chain block head, authorization message counter and authorization message is used as side chain block size;
Step 504, according to side chain block head, side chain block size, authorization message counter and authorization message generate side chain Block.
Specifically, step B1 is specifically included:Newly-increased main chain block is obtained, successively by the main chain of the main chain block got Block head carries out Hash operation and generates mandate authority, and authority will be authorized to bind generation with the request slip information in the main chain block Authorization message;Authorization message is saved in default authorization message set;
Accordingly, step B2 is specifically included:The authorization message for including default side chain mark is obtained from authorization message set, Side chain digital finger-print is generated according to the authorization message got, side chain father's block cryptographic Hash, root are obtained according to default 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;According to what is identified comprising default side chain Authorization message and side chain block are first-born into side chain block, and are broadcast to network.
Further, from authorization message set after authorization message of the acquisition comprising default side chain mark, in addition to:Will The authorization message got carries out predetermined registration operation, and side chain digital finger-print is generated according to the authorization message of successful execution predetermined registration operation; Side chain father's block cryptographic Hash is obtained according to request slip mark, 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 into side chain block according to the authorization message of successful execution predetermined registration operation and side chain block, and broadcast To network.
Further, from authorization message set after authorization message of the acquisition comprising default side chain mark, in addition to: Judge whether the authorization message got is legal, be that side chain digital finger-print is then generated according to legal authorization message, according to default Side chain mark obtains side chain father's block cryptographic Hash, and side is generated according to side chain father's block cryptographic Hash, side chain digital finger-print and timestamp Sequence build, it is first-born into side chain block according to legal authorization message and side chain block, and network is broadcast to, otherwise report an error, tie Beam.
Specifically included specifically, judging whether the authorization message got is legal:
Step 301, the authorization message comprising default side chain mark will be got as current grant information aggregate, from working as An authorization message is obtained in preceding authorization message set and is used as current grant information;
Step 302, the acquisition mandate authority from current grant information, judge whether that main chain father can be inquired in main chain The block cryptographic Hash main chain block consistent with authorizing authority, is that then authorization message is legal, otherwise authorization message is illegal, performs step Rapid 303;
Step 303, judge in current grant information aggregate whether to also have the authorization message being not yet acquired, be to return Step 301, otherwise continue executing with and side chain digital finger-print is generated according to legal authorization message.
It is preferred that, also include before step A2:Judge whether to meet the condition for generating main chain block, be to perform step A2, otherwise continues to determine whether to meet the condition of generation main chain block.
Further, judge whether that the condition for meeting generation main chain block is specially:Judgement meets preset authorization condition Whether request slip information is more 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 more than preset value.
It is preferred that, also include before step B1:Judge whether to meet the condition for generating side chain block, be to continue executing with step Rapid B1;Otherwise the condition for judging whether to meet generation side chain block is continued executing with.
Specifically, judging whether that the condition for meeting generation side chain block is specially:Judge the Shen containing default side chain mark Please single information bar number whether be more than default number of branches, or judge that current server time and last time generate the time of side chain block Whether the time difference is more than preset value.
This method also includes:When receiving information verification request, described information verification request includes the mandate that need to be investigated Information;Mandate authority in authorization message inquires about corresponding main chain block in main chain, and judge in main chain block whether It is that then authorization message is legal, otherwise authorization message is illegal in the presence of the information consistent with the request slip information in authorization message.
Specifically, main chain father block cryptographic Hash in main chain is made with the main chain block for authorizing authority consistent in authorization message 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, otherwise authorization message is illegal.
It is preferred that, 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, according to before meeting the first-born block into main chain of request slip information and main chain block of preset authorization condition, also wrap Include:Main chain block head is subjected to Hash operation generation main chain block index value, and the main chain block index value is stored in rope Draw database table;
This method, in addition to:When receiving information verification request, information verification request includes the mandate letter that need to be investigated Breath;Mandate authority in authorization message searches corresponding main chain block index value in index data base table, and judges master It whether there is the information consistent with the request slip information in authorization message in the corresponding main chain block of chain block index value, 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;
It is preferred that, generated in step A2 according to main chain father's block cryptographic Hash, the main chain digital finger-print and main chain timestamp Also include before main chain block head:Judge whether have in index data base table and awarding that the main chain father block cryptographic Hash matches Weigh voucher fiducial value, be continue executing with it is described according to main chain father's block cryptographic Hash, the main chain digital finger-print and main chain time Stamp generation main chain block head, otherwise report an error end.
Embodiment 2
The present embodiment provides a kind of authorizing information method based on block chain, and this method includes main chain and side chain;For example, Stock exchange at least possesses a main chain and a plurality of side chain, in all entrance request slip information aggregates of the main chain essential record Request slip information, and issue authorized certificate 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 is specifically included:
Step 101, the condition for judging whether satisfaction generation main chain block, are then to perform step 102, otherwise continue executing with step Rapid 101;
Specifically, step 101 can be to judge that whether being more than for request slip information in request slip information aggregate presets bar Number, is then to perform step 102, otherwise continues executing with 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 more than preset value, is then to perform step 102, otherwise return to step 101;
Further, step 101 is specially to obtain the current server time, and according to last block of main chain when Between stamp obtain the time that last time generates block, judging the time difference of the time for the block that current server time and last time generate is No is then to perform step 102 more than preset value, otherwise return to step 101.
Step 102, the request slip information that acquisition is identified comprising request slip 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's mark, stock code, indent valency or venture valency, commission quantity and application time;Request slip mark It is specially stock code to know.
For example, the four request slip information applications list information received in the present embodiment, are designated as A, B, C, D, it is specially:
A:12345678901 300386 0142 500 201606281046
B:12345678902 300623 0280 500 201606281049
C:12345678903 300386 0242 500 201606281050
D:12345678904 300623 0180 500 201606281050
Illustrated below exemplified by 12,345,678,901 300,386 0,142 500 201606281046, wherein 12345678901 be that user identifies;300386 be that stock code is request slip mark;0142 is indent valency, specifically, 01 mark Present application list is indent list, and indent valency is 42 yuan;Entrust quantity 500;201606281046 be the application time.
The request slip information generation main chain digital finger-print that step 103, basis are got;
Specifically, even number Hash node is needed due to calculating digital finger-print, if only odd number bar request slip information Need the last item request slip information replicating one;
Step 103 is specifically included:
Step 103-1, the request slip information for getting request slip information and duplication is subjected to Hash operation respectively breathed out Uncommon node;
Specifically, the specifically used SHA256 algorithms 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 computing generation Hash node, is designated as H respectivelyA、HB、HC、HD
HA=e440a6c81b7242760a92eb63cfaf0940440eac78723f2644ede01d04 0ec4a 168
HB=cd5adaddbf25a4d840d184dbce571a99257f014b038aa7be59d39acf c78ba 0f1
HC=8dc52de14fc85a9d282052020b29e58906d639ba49252ef24f9cc972 ef890 811
HD=eadecfe58726d9805835baa3c1fa1d361b482e00bd213fec219cbc9a 8,c99 4529
Progress Hash operation obtains Hash father node after step 103-2, two Hash nodes series connection that will be adjacent;
By HAAnd HBSeries connection carries out Hash operation generation Hash father node, is designated as HAB, by HCAnd HDHash fortune is carried out after series connection Generation Hash father node is calculated, H is designated asCD
By HAAnd HBThe data obtained after series connection are specially:
e440a6c81b7242760a92eb63cfaf0940440eac78723f2644ede01d040ec4a168cd5a daddbf25a4d840d184dbce571a99257f014b038aa7be59d39acfc78ba0f1
HAB=2199a85fb2f7417f0dc98f8c99a22d8ecdf275ffa26104f59798d195 135c d567
HCD=839d9c697e192abf13e5fb064b7ed4d29ab82d08fafc940846212d34 ed84 1b04
Whether step 103-3, the quantity for judging Hash father node are one, are that Hash father node is then used as to main chain numeral Fingerprint, otherwise regard Hash father node as Hash node return to 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 performed, i.e., by HABAnd HCDProgress Hash operation obtains Hash father node and is designated as H after series connectionABCD, due to only generating One Hash father node then regard the Hash father node as digital finger-print.
HABCD=181513ddb2040458223fa79e2029acd115a421a747ee77d7744d4e0a 857 f6a70
Step 104, the block head for last block for obtaining main chain carry out Hash operation generation main chain father's block Hash Value;
Step 105, judge the main chain block index that whether has with main chain father's block Hash values match in index data base table Value, is then to perform step 106, otherwise report an error end;
It is used for the cryptographic Hash for storing main chain block head, i.e. main chain block index value, main chain block head in index data base table Cryptographic Hash can uniquely, clearly identify a block, the main chain block cryptographic Hash in index data base table can be passed through Retrieve corresponding main chain block;, 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 preserved in side chain passes through main chain mandate;
Step 106, generation acquisition current server time, the stamp very first time, and according to default version number, main chain father's block Cryptographic Hash, main chain digital finger-print and very first time stamp generation main chain block head;
In the present embodiment, timestamp have recorded the time of block foundation, it is allowed to have a range of error.
Step 107, main chain block head by Hash operation generated into main chain block index value, 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, regard result of calculation as the first transaction counter;
Step 109, the length of main chain block head, the first transaction counter and the request slip information got is calculated as master Chain block length;
Step 110, according to main chain block length, main chain block head, the first transaction counter and request slip information generate lead Chain block, is broadcast to network, and empty request slip information aggregate by main chain block;
Step 111, the main chain block head progress Hash operation generation mandate authority by newly-increased main chain block, by the main chain Authorization message is stored in default authorization message collection by the request slip information in block with authorizing authority binding generation authorization message Close;
Step 112, the condition for judging whether satisfaction generation side chain block, are then to perform step 113, otherwise continue executing with step Rapid 112;
Whether step 112 can big comprising the bar number for presetting the authorization message that side chain is identified in authorization message set to judge In preset value, it is then to perform step 113, otherwise continues executing with step 112;
Further, step 112 can judge current server time and last time generation to obtain the current server time Whether the time difference of the time of side chain block is more than preset value, is then to perform step 113, otherwise return to step 112.
Step 112 is specially to obtain the current server time, and identifies the last of acquisition correspondence side chain according to default side chain One side chain block, the timestamp in the side chain block got obtains the time for last time generating side chain block, judges to work as Whether the time difference of the time of preceding server time and last time generation side chain block is more than preset value;It is then to perform step 113, it is no Then return to step 112.
Step 113, the request slip included in authorization message set is identified identify the authorization message that matches with presetting side chain Match trading is carried out according to preset rules, successful authorization message generates side chain digital finger-print according to merchandising;
Specifically, request slip information A, B, C, D are carried out into generation mandate letter of connecting with authorized certificate respectively in the present embodiment Breath, which is designated as presetting side chain in A ", B ", C ", D ", the present embodiment, is designated 300368, therefore by the request slip mark in authorization message set Knowledge is that the authorization message that stock code is 300368 carries out stock match trading according to stock exchange principle, more specifically to award Weighing information A " and C ", the match is successful;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, will not be repeated here.
Step 114, the block head progress Hash according to last block for presetting the corresponding side chain of side chain identifier lookup Computing generates side chain father's block cryptographic Hash;
Step 115, acquisition current server time generate the second timestamp, and according to default version number, father's block Hash Value, digital finger-print and the second timestamp generation side chain block head;
Step 116, the quantity for calculating the successful authorization message of transaction, regard result of calculation as the second transaction counter;
Step 117, calculation side sequence build, the length of the second transaction counter and the successful authorization message of transaction are used as side Chain block length;
Step 118, according to side chain block length, side chain block head, the second transaction counter and transaction successfully authorize believe Breath generation side chain block, and side chain block is broadcast to network.
This method also includes:When receiving information verification request, described information verification request includes the mandate that need to be investigated Information;Mandate authority in authorization message inquires about corresponding main chain block in main chain, and judge in main chain block whether It is that then authorization message is legal, otherwise authorization message is illegal in the presence of the information consistent with the request slip information in authorization message.
Specifically, main chain father block cryptographic Hash in main chain is made with the main chain block for authorizing authority consistent in authorization message 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, otherwise authorization message is illegal.
It is preferred that, when receiving information verification request, information verification request includes the authorization message that need to be investigated;According to awarding Mandate authority in power information searches corresponding main chain block index value in index data base table, and judges main chain block index It is worth in corresponding main chain block and whether there is the information consistent with the request slip information in authorization message, is 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
The present embodiment provides a kind of authorizing information method based on block chain, and this method includes main chain and side chain;For example, Bureau of Education at least possesses a main chain, and each colleges and universities at least possess a side chain, and the main chain, which is recorded, all to be allowed to issue degree's diploma The student information of book, and allow the student information for issuing diploma to issue authorized certificate to all;Side chain is mainly used in record Certain colleges and universities of institute is awarded a degree the student information of certificate by Bureau of Education.As shown in Fig. 2 this method is specifically included:
Step 201, the condition for judging whether satisfaction generation main chain block, are then to perform step 202, otherwise continue executing with step Rapid 201;
Specifically, step 201 can be to judge that whether being more than for request slip information in request slip information aggregate presets bar Number, is then to perform step 202, otherwise continues executing with 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 more than preset value, is then to perform step 202, otherwise return to step 201;
Further, step 201 is specially to obtain the current server time, and according to last block of main chain when Between stamp obtain the time that last time generates block, judging the time difference of the time for the block that current server time and last time generate is No is then to perform step 202 more than preset value, otherwise return to step 201.
Step 202, the application for being obtained from request slip information aggregate comprising request slip mark and meeting preset authorization condition Single information.
The present embodiment is illustrated so that diploma is managed 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 designated as Q, W, E, R, it is specially:
Q:100009 98765432101 A
W:100009 98765432102 D
E:100009 98765432103 B
R:100007 98745632102 C
Illustrated below exemplified by 100,009 98765432101 A, 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.
The request slip information generation digital finger-print that step 203, basis are got.
Specifically, even number Hash node is needed due to calculating digital finger-print, if only odd number bar request slip information The last item request slip information that will be got is needed to replicate one;
Step 203 is specifically included:
Whether the quantity of request slip information that step 203-1, judgement are got is even number, is then to perform step 203-4, no Then perform step 203-3;
The last item request slip information that step 203-2, duplication are got;
It is duplication request slip information R in the present embodiment.
Step 203-3, the request slip information for getting request slip information and duplication is subjected to Hash operation respectively breathed out Uncommon node;Perform step 203-5;
The specifically used SHA256 algorithms 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 Computing generates Hash node, and H is designated as respectivelyQ、HE、HR.The request slip information R ' of duplication, the then request slip information after replicating is carried out Hash operation generation Hash node is designated 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 got is subjected to Hash operation respectively obtains Hash node;
Progress Hash operation obtains Hash father node after step 203-5, two Hash nodes series connection that will be adjacent;
By HQAnd HESeries connection carries out Hash operation generation Hash father node, is designated as HQE, by HRAnd HR' Hash is carried out after series connection Computing generates Hash father node, is designated as HRR'。
By HQAnd HEThe data obtained after series connection are specially:
982f6d16fca16855a4563f775e59f81419b479de84c9a74271edf6f7ea65bcc7c48f ac7e492c77e2aa5d7c8178a9d446fcd482f0d4a676d243dba40d52ec1d75
HQE=c94d78f5d9e0b3139d01210d2e273949905a525e219d6834fb16d6d2 591d 50ae
HRR'=4a8a8f07f25b971e287b907672d527df3bed43b03a07fbcdc6347b08 d64f 7f64
Whether step 203-6, the quantity for judging Hash father node are one, are that Hash father node is then used as to main chain numeral Fingerprint, otherwise regard Hash father node as Hash node return to 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 perform step 103-2, i.e., by HQEAnd HRR'Progress Hash operation obtains Hash father node and is designated as H after series connectionQERR', due to only giving birth to Then the Hash father node is regard as digital finger-print into a Hash father node.
HQERR'=76f1d0d802baf4bd1c19da177572147925a063d9b6ec78cdf20cb7c1 d17 d940d
Step 204, the block head for last block for obtaining main chain carry out Hash operation generation main chain father's block Hash Value;
Step 205, judge the main chain block index that whether has with main chain father's block Hash values match in index data base table Value, is then to perform step 206, otherwise report an error end;
It is used to store 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, clearly identify a block, can be by being examined 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 by the authorized certificate in the authorization message in side chain in main chain Rope respective block, and then judge whether the authorization message stored in side chain passes through main chain mandate;
Step 206, acquisition current server time generate the 3rd timestamp, and according to default version number, main chain father's block Cryptographic Hash, main chain digital finger-print and the 3rd timestamp generation main chain block head;
In the present embodiment, timestamp have recorded the time of block foundation, it is allowed to have a range of error.
Step 207, main chain block head by Hash operation generated into main chain block index value, 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, regard result of calculation as the 3rd transaction counter;
Step 209, the length of main chain block head, the 3rd transaction counter and the request slip information got is calculated as master Chain block size;
Step 210, according to main chain block size, main chain block head, the 3rd transaction counter and main chain block data generate Main chain block, is broadcast to network, and empty request slip information aggregate by main chain block;
Step 211, the main chain block head progress Hash operation generation mandate authority by newly-increased main chain block, by the main chain Authorization message is stored in default authorization message collection by the request slip information in block with authorizing authority binding generation authorization message Close;
Step 212, the condition for judging whether satisfaction generation side chain block, are then to perform step 213, otherwise continue executing with step Rapid 212;
Whether step 212 can big comprising the bar number for presetting the authorization message that side chain is identified in authorization message set to judge In preset value, it is then to perform step 213, otherwise continues executing with step 212;
Further, step 212 can judge current server time and last time generation to obtain the current server time Whether the time difference of the time of side chain block is more than preset value, is then to perform step 213, otherwise return to step 212.
Step 212 is specially to obtain the current server time, and identifies the last of acquisition correspondence side chain according to default side chain One side chain block, the timestamp in the side chain block got obtains the time for last time generating side chain block, judges to work as Whether the time difference of the time of preceding server time and last time generation side chain block is more than preset value;It is then to perform step 213, it is no Then return to step 212.
Step 213, from authorization message set obtain comprising request slip identify with preset side chain mark match mandate letter Breath, side chain digital finger-print is generated according to the authorization message got.
Side chain is preset in the present embodiment and is designated 100009, it is colleges and universities' generation that request slip mark is obtained from authorization message set Code is 100009 authorization message, and the authorization message got is:Q and E.
The process that digital finger-print is generated in step 213 is similar with step 203, will not be repeated here.
Step 214, the block head progress Hash according to last block for presetting the corresponding side chain of side chain identifier lookup Computing generates side chain father's block cryptographic Hash;
Step 215, acquisition current server time generate the 4th timestamp, and according to default version number, side chain father's block Cryptographic Hash, side chain digital finger-print and the 4th timestamp generation side chain block head;
Step 216, calculating get the quantity of authorization message, regard result of calculation as the 4th transaction counter;
Step 217, calculation side sequence build, the length of the 4th transaction counter and side chain block data are used 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 also includes:When receiving information verification request, described information verification request includes the mandate that need to be investigated Information;Mandate authority in authorization message inquires about corresponding main chain block in main chain, and judge in main chain block whether It is that then authorization message is legal, otherwise authorization message is illegal in the presence of the information consistent with the request slip information in authorization message.
Specifically, main chain father block cryptographic Hash in main chain is made with the main chain block for authorizing authority consistent in authorization message 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, otherwise authorization message is illegal.
It is preferred that, when receiving information verification request, information verification request includes the authorization message that need to be investigated;According to awarding Mandate authority in power information searches corresponding main chain block index value in index data base table, and judges main chain block index It is worth in corresponding main chain block and whether there is the information consistent with the request slip information in authorization message, is 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 device based on block chain, as shown in figure 3, specifically including:
Request slip information module 11 is obtained, for obtaining request slip information aggregate, obtains full from request slip information aggregate 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 generation main chain digital finger-print of power condition;
Main chain block generation module 13, for being given birth to according to main chain father's block cryptographic Hash, main chain digital finger-print generation module 12 Into main chain digital finger-print and main chain timestamp generation main chain block head;According to expiring that acquisition request slip information module 11 is got The request slip information and main chain block of sufficient preset authorization condition are first-born into main chain block;
Main chain digital finger-print generation module 12 is specifically included:
Hash node generates submodule, for the request slip information for meeting preset authorization condition to be carried out into Hash operation respectively Obtain current Hash node;
Hash father node generates submodule, for by current Hash node generate that submodule computing obtains by adjacent two Hash operation, which is carried out, after individual current Hash node series connection obtains Hash father node;It is additionally operable to will determine that submodule judges 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 and obtains new Hash father node;
Judging submodule, for judging whether the quantity of Hash father node of Hash father node generation submodule generation is one It is individual, it regard Hash father node as main chain digital finger-print when judging the quantity of Hash father node as one;
Main chain block generation module 13 is specifically included:
Father's block cryptographic Hash submodule is obtained, the block head progress Hash operation life for obtaining last block of main chain Into main chain father's block cryptographic Hash;
Main chain block is first-born into submodule, for obtaining 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 the main chain timestamp for obtaining the generation of father's block cryptographic Hash submodule Generate main chain block head;
Main chain block length submodule is calculated, the request slip information that request slip information module 11 is got is obtained for calculating Quantity, and it regard result of calculation as request slip information counter;Calculate main chain block head, request slip information counter and request slip The length of information is used as main chain block length;
Submodule is organized, for according to the first-born main chain block head generated into submodule of main chain block, calculating main chain block Length submodule calculates obtained request slip information counter, main chain block length submodule and calculates obtained main chain block length The request slip information tissue main chain block got with acquisition request slip information module 11.
Broadcast module 14, the main chain block for main chain block generation module 13 to be generated is broadcast to network;Being additionally operable to will The side chain block that side chain block generation module 19 is generated is broadcast to network;
Authority generation module 15 is authorized, is awarded for the main chain block head of newly-increased main chain block to be carried out into Hash operation generation Weigh authority;
Binding module 16, for that will authorize in the mandate authority generated of authority generation module 15 and the main chain block increased newly Request slip information binding generation authorization message;
Authorization message module 17 is obtained, for being obtained and default side chain mark in the authorization message that generate from binding module 16 Corresponding authorization message.
Side chain digital finger-print generation module 18, default side chain is included for what is got according to acquisition authorization message module 17 The authorization message generation side chain digital finger-print of mark;
Side chain digital finger-print generation module 18 includes:
Hash node generates submodule, and the authorization message for acquisition authorization message module 17 to be got is breathed out respectively Uncommon computing obtains current Hash node;
Hash father node generates submodule, for by current Hash node generate that submodule computing obtains by adjacent two Hash operation, which is carried out, after individual current Hash node series connection obtains Hash father node;It is additionally operable to will determine that submodule judges 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 and obtains Hash father node;
Judging submodule, for judging whether the quantity of Hash father node of Hash father node generation submodule generation is one It is individual;Hash father node is regard as side chain digital finger-print when judging the quantity of Hash father node as one;
Accordingly, side chain block generation module 19, for obtaining side chain father's block cryptographic Hash, root according to default side chain mark Side chain digital finger-print and timestamp the generation side chain block head obtained according to side chain father's block cryptographic Hash, judging submodule;According to awarding Weigh information and side chain block is first-born into side chain block.
Side chain block generation module 19, for obtaining side chain father's block cryptographic Hash according to default side chain mark, according to side chain Side chain digital finger-print and timestamp the generation side chain block head that father's block cryptographic Hash, side chain digital finger-print generation module 18 are generated; The authorization message and side chain block got according to acquisition authorization message module 17 is first-born into side chain block.
Side chain block generation module 19 is specifically included:
Father's block cryptographic Hash submodule is obtained, for according to the corresponding side chain of default side chain identifier lookup, obtaining side chain most The block head of latter block carries out Hash operation generation side chain father's block cryptographic Hash;
Block is first-born into submodule, for obtaining 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 generation side chain block head;
Authorization message quantity submodule is calculated, authorization message is used as calculating authorization message quantity, and using result of calculation Counter;
Calculation block size submodule, the length for calculation side sequence build, authorization message counter and authorization message It is used as side chain block size;
Submodule is organized, for according to the first-born side chain block head generated into submodule of block, calculation block size submodule Block calculates obtained side chain block size, calculates authorization message counter, calculating that the calculating of authorization message quantity submodule is obtained The authorization message tissue sides that the side chain block size and acquisition authorization message module 17 of block size submodule generation are got Chain block.
It is preferred that, the device also includes:
First judge module, for judging whether to meet the condition for generating main chain block;It is additionally operable to when judgement is unsatisfactory for life Into main chain block condition when continue executing with the condition for judging whether to meet generation main chain block;
Specifically, the first judge module is specifically for judging it is pre- whether the request slip information for meeting preset authorization condition is more than If bar number is preset for judging whether the time difference of current server time and the time of last time generation main chain block are more than Value.
Main chain digital finger-print generation module 12, for when the first judge module judges to meet the condition of generation main chain block Main chain digital finger-print is generated according to the request slip information for meeting preset authorization condition that acquisition request slip information module 11 is got.
It is preferred that,
Authority generation module 15 is authorized, for the main chain block head of newly-increased main chain block to be carried out into Hash operation life successively Into mandate authority;
Binding module 16, for the application authorized in authority and the main chain block that authority generation module 15 will be authorized to generate Single information binding generation authorization message, and authorization message is saved in the authorization message set prestored;
Authorization message module 17 is obtained, for being obtained and default side chain in the authorization message set that generate from binding module 16 Identify corresponding authorization message;
Side chain digital finger-print generation module 18, is included for being obtained in the authorization message set that is generated according to binding module 16 The authorization message of default side chain mark, side chain digital finger-print is generated according to the authorization message got;
Side chain block generation module 19, for obtaining side chain father's block cryptographic Hash according to default side chain mark, according to side chain Side chain digital finger-print and timestamp the generation side chain block head that father's block cryptographic Hash, side chain digital finger-print generation module 18 are generated; The authorization message and side chain block that are identified in the authorization message set generated according to binding module 16 comprising default side chain it is first-born into Side chain block.
It is preferred that, side chain digital finger-print generation module 18 is specifically included:
Submodule is operated, for obtaining what is identified comprising default side chain in the authorization message set that generate from binding module 16 Authorization message, predetermined registration operation is carried out 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;
Accordingly, side chain block generation module 19, for obtaining side chain father's block cryptographic Hash, root according to default side chain mark The side chain digital finger-print generated according to side chain father's block cryptographic Hash, side chain digital finger-print generation module 18 and timestamp generation side chain area Build;It is first-born into side chain block according to the authorization message and side chain block of operation submodule successful execution predetermined registration operation.
It is preferred that, side chain digital finger-print generation module 18, specifically 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, obtains side chain father's block cryptographic Hash according to default side chain mark, otherwise reports an error.
Accordingly, side chain block generation module 19, for obtaining side chain father's block cryptographic Hash, root according to default side chain mark The side chain digital finger-print generated according to side chain father's block cryptographic Hash, side chain digital finger-print generation module 18 and timestamp generation 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 into side chain block.
Further, side chain digital finger-print generation module 18 is specifically included:
Current grant information aggregate submodule is obtained, is wrapped for being obtained in the authorization message set that generate from binding module 16 The authorization message identified containing default side chain is used as current grant information aggregate;
Current grant message sub-module is obtained, for the authorization message collection from acquisition current grant information aggregate module generation An authorization message is obtained in conjunction and is used as current grant information;It is additionally operable to when the second judging submodule judges current grant information collection There is the authorization message set generated during the authorization message being not yet acquired from acquisition current grant information aggregate module in conjunction One authorization message of middle acquisition is used as current grant information;
First judging submodule, is awarded for being obtained from the current grant information that current grant information module is got is obtained Authority is weighed, judges whether that main chain father's block cryptographic Hash main chain block consistent with authorization message can be inquired in main chain;
Output module, for when the first judging submodule judge can be inquired in main chain main chain father's block cryptographic Hash with Current grant information is legal during 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 judging submodule, for judging that main chain father block can not be inquired in main chain to be breathed out when the first judging submodule Judge whether to be also not yet acquired in current grant information aggregate during the uncommon value main chain block consistent with authorization message and award Weigh information;
Side chain digital finger-print generates submodule, and the authorization message generation side chain numeral for being exported according to output module refers to Line;
Accordingly, side chain block generation module 19, for obtaining side chain father's block cryptographic Hash, root according to default side chain mark According to side chain father's block cryptographic Hash, the side chain digital finger-print of side chain digital finger-print generation submodule generation and timestamp generation side chain area Build;The authorization message and side chain block exported according to output module is first-born into side chain block.
It is preferred that, the device also includes the 3rd judge module, for judging whether to meet the condition for generating side chain block;
Specifically, the 3rd judge module is specifically for judging it is default whether the authorization message containing default side chain mark is more than Bar number, or judge whether current server time and the time difference of the time of last time generation side chain block are more than preset value.
Accordingly, side chain digital finger-print generation module 18, for judging to meet generation side chain block when the 3rd judge module Condition when generate side chain digital finger-print comprising the authorization message that default side chain is identified according to what binding module 16 was generated.
It is preferred that, the device also includes:
Module is investigated, for when receiving information verification request, information verification request to include the authorization message that need to be investigated; Mandate authority in authorization message inquires about corresponding main chain block in main chain, and judge to whether there is in main chain block with The consistent information of request slip information in authorization message, is that then authorization message is legal, otherwise authorization message is illegal.
It is preferred that, the device also includes:
Memory module, the main chain block head for main chain block generation module 13 to be generated carries out Hash operation generation 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 that mandate authority in authorization message is stored in a storage module Draw value, and judge in the corresponding main chain block of main chain block index value 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, in main chain block generation module 13, the index data base table specifically for judging memory module storage 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 numeral generated during the authorized certificate fiducial value matched somebody with somebody according to main chain father's block cryptographic Hash, main chain digital finger-print generation module 12 Fingerprint and main chain timestamp generation main chain block head;Preset authorization bar is met according to what acquisition request slip information module 11 was got The request slip information and main chain block of part are first-born into main chain block.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto, Any one skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, all It should be included within the scope of the present invention.Therefore, protection scope of the present invention should be described with scope of the claims It is defined.

Claims (32)

1. a kind of authorizing information method based on block chain, it is characterised in that including:
Step A1, acquisition request slip information aggregate, obtain the Shen for meeting preset authorization condition from the request slip information aggregate Please single information;
Step A2, according to meet the preset authorization condition request slip information generate main chain digital finger-print;According to main chain father area Block cryptographic Hash, the main chain digital finger-print and main chain timestamp generation main chain block head;According to meeting the preset authorization condition Request slip information and the main chain block it is first-born into main chain block, and be broadcast to network;
Methods described also includes:
Step B1, the main chain block head progress Hash operation generation mandate authority by newly-increased main chain block, and authorized described Authority and the request slip information binding generation authorization message in the newly-increased main chain block;
Step B2, basis generate side chain digital finger-print comprising the authorization message that default side chain is identified;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 into side chain block according to the authorization message and the side chain block, and it is broadcast to network.
2. the method as described in claim 1, it is characterised in that also include before the step A2:Judge whether to meet generation The condition of main chain block, is then to perform step A2, otherwise continues to determine whether to meet the condition of generation main chain block.
3. method as claimed in claim 2, it is characterised in that described to judge whether that the condition for meeting generation main chain block is specific For:Judge whether the request slip information for meeting the preset authorization condition is more than default number of branches, or when judging current server Between and last time generate main chain block time time difference whether be more than preset value.
4. the method as described in claim 1, it is characterised in that described to be believed according to the request slip for meeting the preset authorization condition Breath generation main chain digital finger-print is specifically included:
Step 101, the request slip information for meeting the preset authorization condition is subjected to Hash operation respectively obtains current Hash node;
Step 102, Hash operation will be carried out 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 then to regard Hash father node as main chain digital finger-print; Otherwise it regard Hash father node as current Hash node, return to step 102.
5. the method as described in claim 1, it is characterised in that described according to main chain father's block cryptographic Hash, main chain numeral Fingerprint and main chain timestamp generation 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 into main chain block:
Step 201, the block head progress Hash operation generation main chain father's block cryptographic Hash for obtaining last block of main chain;
Step 202, acquisition 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 generation main chain block head;
Step 203, calculating meet the request slip information content of the preset authorization condition, and believe result of calculation as request slip Cease counter;The length for calculating main chain block head, request slip information counter and request slip information is used as main chain block length;
Step 204, according to main chain block head, main chain block length, request slip information counter and meet the preset authorization bar The request slip information tissue main chain block of part.
6. the method as described in claim 1, it is characterised in that
The step B1 is specifically included:Newly-increased main chain block is obtained, successively by the main chain block head of the main chain block got Carry out Hash operation generation and authorize authority, and the mandate authority is awarded with the request slip information binding generation in the main chain block Weigh information;The authorization message is saved in default authorization message set;
The step B2 is specifically included:The authorization message for including 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, side chain father's block cryptographic Hash is obtained according to default side chain mark, according to The side chain father block cryptographic Hash, the side chain digital finger-print and timestamp generation side chain block head;According to including default side chain The authorization message of mark and the side chain block are first-born into side chain block, and are broadcast to network.
7. method as claimed in claim 6, it is characterised in that described to be obtained from the authorization message set comprising default side After the authorization message of chain mark, in addition to:The authorization message got is subjected to predetermined registration operation, according to the default behaviour of successful execution The authorization message generation side chain digital finger-print of work;Side chain father's block cryptographic Hash is obtained according to request slip mark, according to described Side chain father's block cryptographic Hash, the side chain digital finger-print and timestamp generation side chain block head;According to successful execution predetermined registration operation Authorization message and the side chain block it is first-born into side chain block, and be broadcast to network.
8. method as claimed in claim 6, it is characterised in that described to be obtained from the authorization message set comprising default side After the authorization message of chain mark, in addition to:Judge whether the authorization message got is legal, be then to be believed according to legal mandate Breath generation side chain digital finger-print, obtains side chain father's block cryptographic Hash according to default side chain mark, is breathed out according to the side chain father block Uncommon value, the side chain digital finger-print and timestamp generation side chain block head, according to legal authorization message and the side chain block It is first-born and to be broadcast to network into side chain block, otherwise report an error, terminate.
9. method as claimed in claim 8, it is characterised in that the whether legal specific bag of the authorization message that the judgement is got Include:
Step 301, the authorization message for including default side chain mark that will be got are worked as current grant information aggregate from described An authorization message is obtained in preceding authorization message set and is used as current grant information;
Step 302, the acquisition mandate authority from current grant information, judge whether that main chain father's block can be inquired in main chain The cryptographic Hash main chain block consistent with the mandate authority, is that then the authorization message is legal, otherwise the authorization message does not conform to Method, performs step 303;
Step 303, judge in the current grant information aggregate whether to also have the authorization message being not yet acquired, be to return Step 301, otherwise continue executing with and side chain digital finger-print is generated according to legal authorization message.
10. the method as described in claim 1, it is characterised in that also include before the step B1:Judge whether to meet generation The condition of side chain block, is to continue executing with step B1;Otherwise judge whether to meet generation side chain block described in continuing executing with Condition.
11. method as claimed in claim 10, it is characterised in that the condition tool for judging whether to meet generation side chain block Body is:Judge whether the authorization message containing default side chain mark is more than default number of branches, or judge the current server time with Whether the time difference of the time of last time generation side chain block is more than preset value.
12. the method as described in claim 1, it is characterised in that the authorization message life that the basis is identified comprising default side chain Specifically included into side chain digital finger-print:
Step 401, the authorization message comprising default side chain mark is subjected to Hash operation respectively obtains current Hash node;
Progress Hash operation obtains Hash father node after step 402, the current Hash node series connection of will be connected two;
Step 403, judge Hash father node quantity be right for one, referred to Hash father node as side chain numeral Line;Otherwise it regard Hash father node as current Hash node, return to step 402.
13. the method as described in claim 1, it is characterised in that the basis presets side chain mark and obtains side chain father block Kazakhstan Uncommon value, side chain block head is generated 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 into side chain block, specifically include:
Step 501, according to the corresponding side chain of the default side chain identifier lookup, the block head for obtaining side chain last block enters Row Hash operation generates side chain father's block cryptographic Hash;
Step 502, acquisition 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 generation side chain block head;
The authorization message quantity got described in step 503, calculating, and it regard result of calculation as authorization message counter;Calculate The length of side chain block head, authorization message counter and authorization message is used as side chain block size;
Step 504, according to side chain block head, side chain block size, authorization message counter and authorization message generate side chain block.
14. the method as described in claim 1, it is characterised in that also include:When receiving information verification request, the letter Breath verification request includes the authorization message that need to be investigated;Mandate authority in authorization message inquires about corresponding main chain in main chain Block, and judge to whether there is the information consistent with the request slip information in authorization message in main chain block, it is then authorization message Legal, otherwise authorization message is illegal.
15. the method as described in claim 1, it is characterised 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 into main chain of the main chain block for meeting the preset authorization condition, in addition to: The main chain block head is subjected to Hash operation generation main chain block index value, and the main chain block index value is stored in rope Draw database table;
Methods described, in addition to:When receiving information verification request, described information verification request includes the mandate letter that need to be investigated Breath;Mandate authority in authorization message searches corresponding main chain block index value in index data base table, and judges master It whether there is the information consistent with the request slip information in authorization message in the corresponding main chain block of chain block index value, be to award Power information is legal, and otherwise authorization message is illegal.
16. method as claimed in claim 15, it is characterised in that described according to main chain father's block cryptographic Hash, the main chain number Also include before word fingerprint and main chain timestamp generation main chain block head: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 executing with it is described according to main chain father's block cryptographic Hash, it is described Main chain digital finger-print and main chain timestamp generation main chain block head, otherwise report an error end.
17. a kind of authorizing information device based on block chain, it is characterised in that including:
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 is awarded The request slip information generation main chain digital finger-print of power condition;
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;Got according to the acquisition request slip information module The request slip information and the main chain block for meeting the preset authorization condition are first-born into main chain block;
Broadcast module, the main chain block for the main chain block generation module to be generated is broadcast to network;Being additionally operable to will The side chain block of side chain block generation module generation is broadcast to network;
Authorize authority generation module, the main chain block head for main chain block that will be newly-increased carry out Hash operation generation authorize with According to;
Binding module, for the mandate authority and the newly-increased main chain block for generating the mandate authority generation module In request slip information binding generation authorization message;
Authorization message module is obtained, for being obtained in the authorization message that generate from the binding module and default side chain mark 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 generation side chain digital finger-print;
Side chain block generation module, for obtaining side chain father's block cryptographic Hash according to default side chain mark, according to the side chain father Block cryptographic Hash, the side chain digital finger-print of side chain digital finger-print generation module generation and timestamp generation side chain block Head;The authorization message and the side chain block got according to the acquisition authorization message module is first-born into side chain block.
18. device as claimed in claim 17, it is characterised in that also include:
First judge module, for judging whether to meet the condition for generating main chain block;It is additionally operable to when judgement is unsatisfactory for generation master The condition for judging whether to meet generation main chain block is continued executing with during the condition of chain block;
The main chain digital finger-print generation module, for judging to meet the condition of generation main chain block when first judge 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.
19. device as claimed in claim 18, it is characterised in that first judge module is specifically for judging to meet described Whether the request slip information of preset authorization condition is more than default number of branches or for judging that the current server time generated with last time Whether the time difference of the time of main chain block is more than preset value.
20. device as claimed in claim 17, it is characterised in that 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 into Hash operation respectively Obtain current Hash node;
Hash father node generates submodule, and adjacent two for Hash node generation submodule computing to be obtained are current Hash operation, which is carried out, after the series connection of Hash node obtains Hash father node;It is additionally operable to will determine that submodule judges 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 and obtains new Hash father node;
The judging submodule, the quantity of the Hash father node for judging the Hash father node generation submodule generation Whether it is one, Hash father node is regard as main chain digital finger-print when judging the quantity of the Hash father node as one.
21. device as claimed in claim 17, it is characterised in that the main chain block generation module is specifically included:
Father's block cryptographic Hash submodule is obtained, the block head progress Hash operation generation master for obtaining last block of main chain Chain father's block cryptographic Hash;
Main chain block is first-born into submodule, for obtaining current server time generation main chain timestamp, and according to default version Number, the main chain father block cryptographic Hash for obtaining the generation of father's block cryptographic Hash submodule, main chain digital finger-print and during main chain Between stamp generation main chain block head;
Main chain block length submodule is calculated, for calculating the request slip Information Number that the acquisition request slip information module is got Amount, and it regard result of calculation as request slip information counter;Calculate main chain block head, request slip information counter and request slip letter The length of breath is used as main chain block length;
Submodule is organized, for according to the first-born main chain block head generated into submodule of the main chain block, the calculating Main chain block length submodule calculates the obtained request slip information counter, the main chain block length submodule and calculated To the request slip information tissue main chain block that gets of the main chain block length and the acquisition request slip information module.
22. device as claimed in claim 17, it is characterised in that
The mandate authority generation module, for the main chain block head of newly-increased main chain block to be carried out into Hash operation generation successively Authorize authority;
The binding module, for by the mandate authority and the main chain block of the mandate authority generation module generation Request slip information binding generation 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 in the authorization message set that generate from the binding module Identify corresponding authorization message;
The side chain digital finger-print generation module, for being obtained in the authorization message set that is generated according to the binding module The authorization message identified comprising default side chain, side chain digital finger-print is generated according to the authorization message got;
The side chain block generation module, for obtaining side chain father's 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 of side chain digital finger-print generation module generation and timestamp generation side chain Block head;The authorization message identified in the authorization message set generated according to the binding module comprising default side chain and institute State side chain block first-born into side chain block.
23. device as claimed in claim 22, it is characterised in that the side chain digital finger-print generation module, is specifically included:
Submodule is operated, for being obtained from the authorization message set that the binding module is generated comprising default side chain mark Authorization message, predetermined registration operation is carried out according to the authorization message that gets;
Digital finger-print generates submodule, for generating side chain according to the authorization message of successful execution predetermined registration operation in operation submodule Digital finger-print;
The side chain block generation module, for obtaining side chain father's 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 of side chain digital finger-print generation module generation and timestamp generation side chain Block head;It is first-born into side chain area according to the authorization message and the side chain block of the operation submodule successful execution predetermined registration operation Block.
24. device as claimed in claim 22, it is characterised in that the side chain digital finger-print generation module, specifically for from The authorization message for including 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, side chain father's block Hash is obtained according to default side chain mark Value, otherwise reports an error;
The side chain block generation module, for obtaining side chain father's 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 of side chain digital finger-print generation module generation and timestamp generation 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 into side Chain block.
25. device as claimed in claim 24, it is characterised in that
The side chain digital finger-print generation module is specifically included:
Current grant information aggregate submodule is obtained, for being obtained from the authorization message set that the binding module is generated Obtain the authorization message comprising default side chain mark and be used as current grant information aggregate;
Current grant message sub-module is obtained, for the mandate letter from the acquisition current grant information aggregate module generation An authorization message, which is obtained, in breath set is used as current grant information;It is additionally operable to currently award when the judgement of the second judging submodule is described Also have what is generated during the authorization message being not yet acquired from the acquisition current grant information aggregate module in power information aggregate An authorization message is obtained in the authorization message set and is used as current grant information;
First judging submodule, for being obtained from the current grant information that gets of acquisition current grant information module Mandate authority is taken, judges whether that main chain father's block cryptographic Hash main chain consistent with the authorization message can be inquired in main chain Block;
Output module, for when the first judging submodule judge can be inquired in main chain main chain father's block cryptographic Hash with it is described The current grant information is legal during 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 judging submodule, for judging that main chain father block can not be inquired in main chain to be breathed out when first judging submodule Judge whether also not yet obtained in the current grant information aggregate during the uncommon value main chain block consistent with the authorization message The authorization message taken;
Side chain digital finger-print generates submodule, and the authorization message generation side chain numeral for being exported according to the output module refers to Line;
The side chain block generation module, for obtaining side chain father's 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 of side chain digital finger-print generation submodule generation and timestamp generation side Sequence build;The authorization message and the side chain block exported according to the output module is first-born into side chain block.
26. device as claimed in claim 17, it is characterised in that also include
3rd judge module, for judging whether to meet the condition for generating side chain block;
The side chain digital finger-print generation module, for judging to meet the condition of generation side chain block when the 3rd judge module When generate side chain digital finger-print comprising the authorization message that default side chain is identified according to what the binding module was generated.
27. device as claimed in claim 26, it is characterised in that the 3rd judge module is specifically for judging containing default Whether the authorization message of side chain mark is more 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 more than preset value.
28. device as claimed in claim 17, it is characterised in that the side chain digital finger-print generation module includes:
Hash node generates submodule, and the authorization message for the acquisition authorization message module to be got carries out Hash respectively Computing obtains current Hash node;
Hash father node generates submodule, for by the current Hash node generation submodule computing obtain by adjacent two Hash operation, which is carried out, after individual current Hash node series connection obtains Hash father node;It is additionally operable to will determine that submodule judges the Hash When the quantity of father node is not one, using the Hash father node as current Hash node, and adjacent two are currently breathed out Hash operation, which is carried out, after uncommon node series connection obtains Hash father node;
The judging submodule, the quantity of the Hash father node for judging the Hash father node generation submodule generation Whether it is one, Hash father node is regard as side chain digital finger-print when judging the quantity of the Hash father node as one;
The side chain block generation module, for obtaining side chain father's block cryptographic Hash according to default side chain mark, according to the side Side chain digital finger-print and timestamp the generation side chain block head that chain father's block cryptographic Hash, the judging submodule are obtained;According to awarding Weigh information and the side chain block is first-born into side chain block.
29. device as claimed in claim 17, it is characterised in that the side chain block generation module includes:
Father's block cryptographic Hash submodule is obtained, for according to the corresponding side chain of the default side chain identifier lookup, obtaining side chain most The block head of latter block carries out Hash operation generation side chain father's block cryptographic Hash;
Block is first-born into submodule, for obtaining 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 generation side chain block head;
Authorization message quantity submodule is calculated, is counted for calculating authorization message quantity, and using result of calculation 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 into submodule of block, the calculation block size Submodule calculates obtained side chain block size, the calculating authorization message quantity submodule and calculates the obtained authorization message Counter, the side chain block size of calculation block size submodule generation and the acquisition authorization message module are obtained The authorization message tissue sides chain block got.
30. device as claimed in claim 17, it is characterised in that also include:
Module is investigated, for when receiving information verification request, described information verification request to include the authorization message that need to be investigated; Mandate authority in authorization message inquires about corresponding main chain block in main chain, and judge to whether there is in main chain block with The consistent information of request slip information in authorization message, is that then authorization message is legal, otherwise authorization message is illegal.
31. device as claimed in claim 17, it is characterised in that also include:
Memory module, the main chain block head for the main chain block generation module to be generated carries out Hash operation generation and led 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, described 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 that mandate authority in authorization message is stored in the memory module Block index value, and judge to whether there is and the request slip information in authorization message in the corresponding main chain block of main chain block index value Consistent information, is that then authorization message is legal, otherwise authorization message is illegal.
32. such as the device of claim 31, it is characterised in that
In the main chain block generation module, the index data base table specifically for judging memory module storage whether There is the authorized certificate fiducial value matched with the main chain father block cryptographic Hash, when being determined with and the main chain father block cryptographic Hash The institute generated during the authorized certificate fiducial value matched according to main chain father's block cryptographic Hash, the main chain digital finger-print generation module State main chain digital finger-print and main chain timestamp generation main chain block head;According to expiring that the acquisition request slip information module is got The request slip information and the main chain block of the foot preset authorization condition are first-born into 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 true CN107040384A (en) 2017-08-11
CN107040384B 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)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886388A (en) * 2017-09-22 2018-04-06 杭州云象网络技术有限公司 The traffic trip credit and safety service platform and its operation method of multicenter are realized based on alliance's chain
CN108023794A (en) * 2017-12-04 2018-05-11 四川长虹电器股份有限公司 A kind of equipment access control method and device
CN108389047A (en) * 2018-02-12 2018-08-10 深圳沃链科技有限公司 The method and block chain network of fundamental chain and subchain transaction in block chain
CN108650231A (en) * 2018-04-04 2018-10-12 广州广电运通金融电子股份有限公司 Physical characteristics collecting method and system based on block chain
CN108712257A (en) * 2018-04-03 2018-10-26 阿里巴巴集团控股有限公司 The authentication method and device, electronic equipment of transregional piece of chain
CN108768918A (en) * 2018-03-15 2018-11-06 中山大学 A kind of access control method based on empowerment management chain
CN108989043A (en) * 2018-05-31 2018-12-11 中国联合网络通信集团有限公司 Block processes method, apparatus and block chain node
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
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
CN109753823A (en) * 2018-12-11 2019-05-14 烨链(上海)科技有限公司 A kind of block chain data monitoring and managing 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
CN109919615A (en) * 2019-03-01 2019-06-21 上海分布信息科技有限公司 Across chain data interactive method and across chain data interaction system based on block chain
CN111708825A (en) * 2020-06-11 2020-09-25 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Citations (4)

* 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
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

Patent Citations (4)

* 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
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
姚国章等: ""区块链驱动的金融业发展变革研究"", 《南京邮电大学学报(自然科学版)》 *

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107886388A (en) * 2017-09-22 2018-04-06 杭州云象网络技术有限公司 The traffic trip credit and safety service platform and its operation method of multicenter are realized based on alliance's chain
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
CN108023794A (en) * 2017-12-04 2018-05-11 四川长虹电器股份有限公司 A kind of equipment access control method and device
CN108389047A (en) * 2018-02-12 2018-08-10 深圳沃链科技有限公司 The method and block chain network of fundamental chain and subchain transaction in block chain
CN108768918B (en) * 2018-03-15 2021-09-24 中山大学 Access control method based on authorization management chain
CN108768918A (en) * 2018-03-15 2018-11-06 中山大学 A kind of access control method based on empowerment management chain
US10805088B2 (en) 2018-04-03 2020-10-13 Alibaba Group Holding Limited Cross-blockchain authentication method, apparatus, and electronic device
CN108712257A (en) * 2018-04-03 2018-10-26 阿里巴巴集团控股有限公司 The authentication method and device, electronic equipment of transregional piece of chain
CN108712257B (en) * 2018-04-03 2020-04-17 阿里巴巴集团控股有限公司 Cross-block-chain authentication method and device and electronic equipment
CN108650231A (en) * 2018-04-04 2018-10-12 广州广电运通金融电子股份有限公司 Physical characteristics collecting method and system based on block chain
CN108650231B (en) * 2018-04-04 2021-02-26 广州广电运通金融电子股份有限公司 Block chain-based biological feature acquisition method and system
CN108989043A (en) * 2018-05-31 2018-12-11 中国联合网络通信集团有限公司 Block processes method, apparatus and block chain node
CN108989043B (en) * 2018-05-31 2021-01-26 中国联合网络通信集团有限公司 Block processing method and device and block link points
WO2020082672A1 (en) * 2018-10-25 2020-04-30 深圳壹账通智能科技有限公司 Loan approval method and apparatus based on blockchain, non-volatile readable storage medium and electronic device
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
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
CN109753823A (en) * 2018-12-11 2019-05-14 烨链(上海)科技有限公司 A kind of block chain data monitoring and managing method, system and computer storage medium
CN109919615A (en) * 2019-03-01 2019-06-21 上海分布信息科技有限公司 Across chain data interactive method and across chain data interaction system based on block chain
CN109919615B (en) * 2019-03-01 2021-04-02 上海分布信息科技有限公司 Cross-chain data interaction method and system based on block chain
CN111708825A (en) * 2020-06-11 2020-09-25 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Also Published As

Publication number Publication date
CN107040384B (en) 2019-09-13

Similar Documents

Publication Publication Date Title
CN107040384A (en) A kind of authorizing information method and device based on block chain
CN109345388A (en) Block chain intelligence contract verification method, device and storage medium
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
CN107392608A (en) Digital asset method of commerce and block catenary system based on block catenary system
CN108694500A (en) A kind of digital asset circulation method and system based on block chain
CN107147735A (en) A kind of distributed account book system based on hierarchy
CN109325764B (en) Sensitive data transaction system and method based on block chain
CN113129395B (en) Data compression encryption system
CN106878007A (en) A kind of authorization method and system
CN102170356A (en) Authentication system realizing method supporting exclusive control of digital signature key
CN108833361A (en) A kind of identity identifying method and device based on virtual account
CN110473106A (en) A kind of method and relevant apparatus of trading processing
US20210073796A1 (en) Method of selective authentication of a blockchain user with a smart contract
CN109636395A (en) A kind of across the chain transaction processing system of multi-tiling chain and method
CN108197499A (en) A kind of ciphertext data area querying method that can verify that
CN107483495A (en) A kind of big data cluster Host Administration method, management system and service end
CN107679149A (en) A kind of data processing method and server
CN109615759A (en) It is random to take out number number of shaking system
CN116579788A (en) Supply chain management method, system, equipment and storage medium based on block chain
CN109977688A (en) A kind of top secret data encryption system and method based on block chain
CN108073699A (en) Big data polymerization analysis method and device
CN114757747B (en) Automatic processing method and device for electronic purchase data
US20200175562A1 (en) Gem trade and exchange system and previous-block verification method for block chain transactions
CN112259190B (en) Medical information trusted circulation method, device and system based on block 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