CN109409882A - A kind of credit accreditation storage method and device based on block chain - Google Patents
A kind of credit accreditation storage method and device based on block chain Download PDFInfo
- Publication number
- CN109409882A CN109409882A CN201811217765.5A CN201811217765A CN109409882A CN 109409882 A CN109409882 A CN 109409882A CN 201811217765 A CN201811217765 A CN 201811217765A CN 109409882 A CN109409882 A CN 109409882A
- Authority
- CN
- China
- Prior art keywords
- credit
- block
- movement
- target user
- block chain
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0609—Buyer or seller confidence or verification
Abstract
The embodiment of the present invention provides a kind of credit accreditation storage method and device based on block chain, is related to personal credit evaluation field, and safer storage can be carried out to more accurate credit score.This method comprises: obtaining the class static attribute data of target user and the action data of target user using intelligent contract;According to the value of each class static attribute, the integral of each movement, each movement the generation moment and each movement attenuation coefficient, use intelligent contract to calculate the credit score of target user according to preset formula;According to the credit score of target user, the class static attribute data of target user and the action data of target user, target user's credit record of preset format is generated;When determining that block catenary system allows target user's credit record to be written in the corresponding block chain of block catenary system, target user's credit record is written in the block chain at current time to extend block chain.
Description
Technical field
The present invention relates to personal credit evaluation field more particularly to a kind of credit accreditation storage method based on block chain and
Device.
Background technique
The calculating of operator's credit score at present is a more complicated process, needs to access multi-source heterogeneous mediant
According to, it can typically only retain calculated result, it is more complicated for user's history behavior retrospect, and also integral is to be with last issue integral
Basis, only does simple cumulative, lacks user's history behavior the weight decay on time dimension the considerations of.In addition, operator
Credit score be generally stored in common database, and in order to guarantee credit score data storage safety, at present number
According to the mode for the leader follower replication that library coherence scheme mostly uses, Disaster Tolerant Scheme using backup and the mode restored, but this
Kind of solution can not fundamentally guarantee data consistency and disaster tolerance, when multiple main frames node occur simultaneously delay machine or
When paralysis, data restore extremely difficult, and this framework is relative complex, needs biggish O&M cost.And because mesh
Preceding database security solution is mainly permission control, encryption storage and network-control, but with internet ecological environment
Increasingly complication, these schemes have been difficult to keep out hacker attack completely or the hair for user's malice altered data behavior of having the right
It is raw.
Summary of the invention
The embodiment of the present invention provides a kind of credit accreditation storage method and device based on block chain, can be to more acurrate
Credit score carry out safer storage.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of credit accreditation storage method based on block chain, comprising:
The class static attribute data of target user and the action data of target user are obtained using intelligent contract;Class static state category
Property data include: the change cycle of the title of each class static attribute, the value of each class static attribute and each class static attribute;
Action data include: the title of each movement, the integral of each movement, each movement generation moment and each movement decaying
Coefficient;
According to the value of each class static attribute, the integral of each movement, the generation moment of each movement and each movement
Attenuation coefficient calculates the credit score of target user using intelligent contract according to preset formula;
According to the credit score of target user, the class static attribute data of target user and the action data of target user,
Generate target user's credit record of preset format;
Judge whether block catenary system allows target user's credit record write-in block catenary system corresponding according to common recognition mechanism
Block chain;
It, will when determining that block catenary system allows target user's credit record to be written in the corresponding block chain of block catenary system
Target user's credit record is written in the block chain at current time to extend block chain.
Technical solution provided by the above embodiment obtains all class static attribute numbers of target user by block chain first
According to and action data, the credit score of more accurate target then can be calculated, then by target user's credit score, mesh
The action data of the class static attribute data and target user of marking user generates target user's credit record of preset format, finally
It can be each in the corresponding block catenary system of block chain by being stored in for target user's credit record safety by common recognition mechanism
Node ensure that user credit integral is not easy to lose after storing because of the decentralization and privacy mechanism of block catenary system itself
It becomes estranged and is not easy to distort, further, can also be can achieve according to the continuity of block chain itself and change is integrated to user credit
The retrospect of process.
Optionally, according to the value of each class static attribute, the integral of each movement, generation moment of each movement and each
The attenuation coefficient of movement, the credit score using intelligent contract according to preset formula calculating target user include:
The generation duration of each movement is determined according to the generation moment of each movement;It is a length of each when the generation of each movement
Occurs for movement apart from the time span at current time the moment;
According to the value of each class static attribute, the integral of each movement, the generation duration of each movement and each movement
Attenuation coefficient calculates the credit score of target user using intelligent contract according to preset formula.
Optionally, preset formula includes:
Wherein, the credit score of target user described in Score, valueiFor the value of i-th of class static attribute, m is described
The number of the class static attribute of target user, αjThe attenuation coefficient acted for j-th, tjThe generation duration acted for j-th,
actionjThe integral acted for j-th, n are the number of the movement of the target user.
Optionally, target user's credit record is written in the block chain at current time to extend block chain and include:
Obtain the credit record version number of the last one block of the block chain at current time and the ground of the last one block
Location, and the private key by calculating the last one block of power competition acquisition;
Target user's credit record is generated according to preset rules according to the credit record version number of the last one block to correspond to
Target credit record version number;
Target block address is obtained according to the private key of target credit record version number and the last one block;
According to target user's credit record, target credit record version number, target block address and the last one block
Address generates target block to extend block chain.
Optionally, target block address packet is obtained according to the private key of target credit record version number and the last one block
It includes:
Public key is obtained according to elliptic curve according to the private key of the last one block;Use Message Digest Algorithm 5
Public key is carried out encryption and obtains the first cryptographic Hash by MD5;The first cryptographic Hash is added using mature Message Digest 5 RIPEMD-160
It is close to obtain the second cryptographic Hash;By the second cryptographic Hash and the splicing of target credit record version number to obtain First Transition value;It uses
MD5 encrypts First Transition value to obtain third cryptographic Hash;By predetermined fraction in third cryptographic Hash and First Transition value splicing with
Obtain the second transition value;Base64 coding is carried out to obtain target block address to the second transition value.
Second aspect provides a kind of credit accreditation storage device based on block chain, comprising: obtains module, credit calculates
Module, credit record generation module, judgment module and writing module;
Module is obtained, for using intelligent contract to obtain the class static attribute data of target user and the movement of target user
Data;Class static attribute data include: the title of each class static attribute, the value of each class static attribute and each class static state category
The change cycle of property;Action data include: the title of each movement, the integral of each movement, each movement the generation moment and
The attenuation coefficient of each movement;
Credit computing module, for according to obtain the value of each class static attribute, each movement that module obtains integral,
The attenuation coefficient at the generation moment and each movement of each movement calculates target user's according to preset formula using intelligent contract
Credit score;
Credit record generation module, the credit score of the target user for being calculated according to credit computing module obtain mould
The class static attribute data for the target user that block obtains and the action data for obtaining the target user that module obtains generate default lattice
Target user's credit record of formula;
Judgment module, for judging whether block catenary system allows credit record generation module to generate according to common recognition mechanism
The corresponding block chain of block catenary system is written in target user's credit record;
When target user's credit record that judgment module determines that block catenary system allows credit record generation module to generate is write
When entering in the corresponding block chain of block catenary system, writing module is used for the target user's credit for generating credit record generation module
Record is written in the block chain at current time to extend block chain.
Optionally, credit computing module is specifically used for:
The generation duration of each movement is determined according to the generation moment for obtaining each movement that module obtains;Each movement
A length of each movement occurs the moment apart from the time span at current time when generation;
According to the generation duration of each movement and obtain the value of each class static attribute, each movement that module obtains
The attenuation coefficient of integral and each movement calculates the credit score of target user using intelligent contract according to preset formula.
Optionally, writing module includes that record power acquiring unit, version number's generation unit, scalar/vector and block are raw
At unit;
Record power acquiring unit, the credit record version number of the last one block of the block chain for obtaining current time
With the address of the last one block, and by calculate power competition obtain the last one block private key;
Version number's generation unit, the credit record version of the last one block for being obtained according to record power acquiring unit
Number according to preset rules generate target user's credit record corresponding target credit record version number;
Scalar/vector, target credit record version number and record power for being generated according to version number's generation unit obtain
The private key for taking unit to obtain obtains target block address;
Block generation unit, target credit record version number, address for being generated according to version number's generation unit generate
The address of the last one block of target block address, record power acquiring unit acquisition that unit generates and credit record generate mould
Target user's credit record that block generates generates target block to extend block chain.
Optionally, scalar/vector is specifically used for:
The private key of the last one block obtained according to record power acquiring unit obtains public key according to elliptic curve;Make
Public key is subjected to encryption with Message Digest Algorithm 5 MD5 and obtains the first cryptographic Hash;Use mature Message Digest 5
RIPEMD-160 encrypts the first cryptographic Hash to obtain the second cryptographic Hash;Second cryptographic Hash and version number's generation unit are generated
Target credit record version number splices to obtain First Transition value;First Transition value is encrypted to obtain third Hash using MD5
Value;By predetermined fraction in third cryptographic Hash and the splicing of First Transition value to obtain the second transition value;Second transition value is carried out
Base64 is encoded to obtain target block address.
The third aspect provides a kind of credit accreditation storage device based on block chain, including memory, processor, bus
And communication interface;For storing computer executed instructions, processor is connect with memory by bus memory;When based on block
When the credit accreditation storage device operation of chain, processor executes the computer executed instructions of memory storage, so as to be based on block
The credit accreditation storage device of chain executes the credit accreditation storage method based on block chain provided such as first aspect.
Fourth aspect provides a kind of computer storage medium, and computer storage medium includes computer executed instructions, works as meter
Calculation machine executes instruction when running on computers, so that the credit based on block chain that computer executes as first aspect provides is recognized
Demonstrate,prove storage method.
Credit accreditation storage method and device provided in an embodiment of the present invention based on block chain, this method comprises: using
Intelligent contract obtains the class static attribute data of target user and the action data of target user;Class static attribute data include:
The change cycle of the title of each class static attribute, the value of each class static attribute and each class static attribute;Action data packet
Include: the title of each movement, the integral of each movement, each movement generation moment and each movement attenuation coefficient;According to
The value of each class static attribute, the integral of each movement, each movement generation moment and each movement attenuation coefficient, use
Intelligent contract calculates the credit score of target user according to preset formula;According to the credit score of target user, target user
The action data of class static attribute data and target user generates target user's credit record of preset format;According to common recognition machine
System judges whether block catenary system allows the corresponding block chain of target user's credit record write-in block catenary system;When determining block
When catenary system allows target user's credit record to be written in the corresponding block chain of block catenary system, target user's credit record is write
Enter into the block chain at current time to extend block chain.Technical solution provided in an embodiment of the present invention passes through block chain first
All class static attribute data and action data for obtaining target user, then can calculate the credit of more accurate target
Then integral generates the action data of target user's credit score, the class static attribute data of target user and target user
Target user's credit record of preset format, being stored in target user's credit record safety finally by common recognition mechanism
Each node in the corresponding block catenary system of block chain is protected because of the decentralization and privacy mechanism of block catenary system itself
User credit has been demonstrate,proved to integrate not easy to lose after storing and be not easy to distort, it further, can also be according to the company of block chain itself
Continuous property can achieve the retrospect to user credit integral change process.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the PBFT algorithm schematic diagram that the prior art provides;
Fig. 2 is a kind of credit accreditation storage architecture schematic diagram based on block chain provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of the credit accreditation storage method based on block chain provided in an embodiment of the present invention;
Fig. 4 is a kind of K-V data format schematic diagram provided in an embodiment of the present invention;
Fig. 5 is the process signal of another credit accreditation storage method based on block chain provided in an embodiment of the present invention
Figure;
Fig. 6 is a kind of flow diagram of block address acquisition methods provided in an embodiment of the present invention;
Fig. 7 is block chain structure schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of the credit accreditation storage device based on block chain provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another credit accreditation storage device based on block chain provided in an embodiment of the present invention
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It should be noted that in the embodiment of the present invention, " illustrative " or " such as " etc. words make example, example for indicating
Card or explanation.Be described as in the embodiment of the present invention " illustrative " or " such as " any embodiment or design scheme do not answer
It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used
Such as " word is intended to that related notion is presented in specific ways.
It should also be noted that, in the embodiment of the present invention, " (English: of) ", " corresponding (English:
Corresponding, relevant) " it sometimes can be mixed with " corresponding (English: corresponding) ", it should be pointed out that
It is that, when not emphasizing its difference, meaning to be expressed is consistent.
For the ease of clearly describing the technical solution of the embodiment of the present invention, in an embodiment of the present invention, use " the
One ", the printed words such as " second " distinguish function and the essentially identical identical entry of effect or similar item, and those skilled in the art can
To understand that the printed words such as " first ", " second " are not to be defined to quantity and execution order.
Firstly, technical term involved in the present invention is introduced:
Common recognition mechanism: common recognition mechanism is the core technology of block chain.Want entire distributed P 2 P (Peer-to-peer, it is right
Deng) a identical data of network maintenance, need each node to have unified agreement, common recognition mechanism is ensuring that data consistency
Agreement.The present invention uses PBFT (Practical Byzantine Fault Tolerance), i.e., Byzantine failure tolerance algorithm comes
As common recognition mechanism.Broadcast synchronization when for increasing block newly and reliability certification when making a credit inquiry.
In PBFT algorithm, consistency ensures to be broadly divided into these three stages: pre-preparation (pre-prepare) prepares
(prepare) and confirm (commit).Detailed process is shown referring to Fig.1:
Wherein C is to send request end, and 0,1,2 and 3 be the peer node in block chain, and 3 be the node of delay machine, specific steps
It is as follows:
1) Request: request end C transmit a request to any one node, here with 0 example.
2) Pre-Prepare: server-side 0 is broadcasted after receiving the request of C, diffuses to 1,2 and 3.
3) Prepare:1,2 and 3 record and broadcast again, 1- > 0,2,3,2- > 0,1,3 after receiving request, and 3 because of delay machine
It can not broadcast.
4) node of Commit:0,1,2,3, if receiving more than a certain number of same requests, enters in the Prepare stage
Commit stage, broadcast Commit request.
5) node of Reply:0,1,2,3 is in the Commit stage, if receiving more than a certain number of same requests, to C into
Row feedback.
According to above-mentioned process, it can guarantee the consistency of data in the case where N >=3F+1, N is total calculate node number, F
For problematic calculate node sum, problematic includes two kinds of situations: first is that delay machine node, second is that being tampered the node of data.
It can thus be seen that Byzantine failure tolerance can accommodate nearly 1/3 error node error, serious forgiveness is high, can guarantee data
Consistency.
Intelligent contract: intelligent contract technology is exactly a computer program, is anyone going of can using
Heart system does not need any intermediary.It is a kind of calculating for being intended to propagate, verify or execute in a manner of information-based contract
Machine agreement.Intelligent contract permission carries out credible transaction in no third-party situation, these transaction are traceable and irreversible.
Intelligent contract replaces execution contract using programmed algorithm, has prevented the moral hazard of executing subject and transaction.Intelligent contract just as
One class (class), wherein including state variable (state variable), function (function), function modifier
It (function modifier), event (event), structure (structure) and enumerates (enum).Contract is also supported to inherit, and leads to
The backup code in compiling is crossed to realize.
Class static attribute: daily integral estimation includes some basic datas and the data got off with time integral, this
It the characteristics of a little data or is basically unchanged, such as gender, number attribution or be exactly that rule variation is presented with the time
, for example, it is accumulative supplement with money sum, it is monthly supplement number with money, our these two types of data are referred to as class static attribute.
Movement: movement is to occur in sometime point, therefore each movement integral has two members of integral and timestamp
Element composition, such as defaulting subscriber movement occurs, if it is what is occurred in the month before, this defaulting subscriber is acted to user credit
Influence it is bigger, but if it is occurring that arrearage can occur the year before, illustrating that user is only unexpected once in a while, then to current letter
Influence is just without so big.
Block chain: block chain is made of multiple blocks, is stored in block catenary system in each peer node, an area
Block is mainly made of block address, block head, data record;State in embodiments of the present invention, block head further include creditable note
Record version number, timestamp and previous version credit record address cryptographic Hash and random number (private key), data record then include
User credit record.
Design of the invention is introduced below:
At present credit score be based on last issue integral, only do it is simple cumulative, lack user's history behavior when
Between weight decay in dimension the considerations of.In addition, the credit score of operator is generally stored in common database, and it is
Guarantee the storage safety of credit score data, the mode of the leader follower replication that data base consistency(-tance) scheme mostly uses at present, disaster tolerance
Scheme is using backup and the mode restored, but such solution can not fundamentally guarantee data consistency and appearance
Calamity, when delay machine or paralysis occur simultaneously for multiple main frames node, data restore extremely difficult, and this framework is opposite
Complexity needs biggish O&M cost.And because current database security solution is mainly permission control, encrypts and deposit
Storage and network-control, but with the increasingly complication of internet ecological environment, these schemes, which have been difficult to keep out hacker completely, is attacked
It hits or the generation for user's malice altered data behavior of having the right.
Based on disadvantages described above, researcher proposes for the calculating of credit score and storage to be arranged in block chain and carry out, because
For the trackability and confidentiality of block chain itself, it can guarantee initial credit integrating meter in the calculating of subsequent credit score
All credit records before the acquisition that updating after calculation each time can be convenient, and any of block catenary system node
Damage all will not influence the storage and update of credit score.
Based on the above thought, referring to shown in Fig. 2, the embodiment of the present invention provides a kind of credit accreditation storage based on block chain
System, under system on specifically include four layers: lowest level is carrier data raw material layer, including user base information, is used
Family call bill data, user journal and load value data etc., therefrom it is quiet can to extract the first class for calculating user credit integral for we
State attribute data and action data;It is block chain common recognition network layer on carrier data raw material layer, is based on P2P network and PBFT
The common recognition meshed network of composition can guarantee the consistency of credit record data between the individual nodes, and wherein account book is exactly to count
According to carrier and mark, contract engine is in order to support the orderly execution of upper layer contract;It is block on block chain formula network layer
Chain node service layer, the layer include that account management, safety certification, data access and intelligent bond service, these functions are specially
The service that each block chain node is capable of providing;Top layer is block chain gateway layer, the layer be in order to the main body that lets on (such as
Carrier Management personnel) it can directly be accessed by public gateway node, in addition user can be based on public gateway node
Trustship private key.
The credit accreditation storage system established based on the above embodiment, referring to shown in Fig. 3, the embodiment of the present invention provides one kind
Credit accreditation storage method based on block chain, comprising:
301, the class static attribute data of target user and the action data of target user are obtained using intelligent contract.
Illustratively, target user can be the old user for needing to update credit score, be also possible to newly-increased new user.
Wherein, class static attribute data include: the title of each class static attribute, the value of each class static attribute and each
The change cycle of class static attribute;Action data include: the title of each movement, the integral of each movement, each movement hair
The attenuation coefficient at raw moment and each movement.
Illustratively, class static attribute data can be obtained by data in the following table 1;
Table 1
Wherein, the value of each type static attribute illustrates according to value to determine;
Illustratively, action data can be obtained by data in the following table 2;
Table 2
Specifically, each movement can correspond to an initial value, the generation acted each time all can be according to the single in table
The generation moment of integrating effect, each movement can find from its data source.
302, according to the value of each class static attribute, the integral of each movement, generation moment of each movement and each dynamic
The attenuation coefficient of work calculates the credit score of target user using intelligent contract according to preset formula.
303, according to the credit score of target user, the movement number of the class static attribute data of target user and target user
According to generating target user's credit record of preset format.
Illustratively, target user's credit record, which stores, goes in system shown in Fig. 2 in the account book of block chain common recognition network,
And account book is then the block chain and its asymmetric key pair of each block chain node storage;
Here presetting at format can be K-V data format, and referring to shown in Fig. 4, each user credit record is by a two dimension
Dictionary indicates that K- > (k- > v), wherein K indicates user's unique identification, and k indicates record name (class static attribute or the title of movement),
V indicates record time (time of the change cycle of class static attribute or the last change, or the generation moment of movement).
304, judge whether block catenary system allows target user's credit record that block catenary system is written according to common recognition mechanism
Corresponding block chain.
When determining that block catenary system allows target user's credit record to be written in the corresponding block chain of block catenary system, hold
Row 305;When determining block catenary system not allows in the corresponding block chain of target user's credit record write-in block catenary system, hold
Row 303;Specifically, 303 steps will terminate the credit accreditation provided by the above embodiment based on block chain after repeating five times
The whole flow process of storage method waits restarting next time.
Specifically, practical before the implementation of 304 steps, it is also necessary to digital signature be arranged to target user's credit record, altogether
In knowledge mechanism implementation process, the node for receiving the broadcast of target user's credit record can sign the number of target user's credit record
Name is identified, when determining that the digital signature is correctly credible, just will do it subsequent broadcast;
Digital signature is exactly behind a segment information plus another segment information, the certification as information transmitter, it was demonstrated that disappear
Breath content is not tampered with.Message will consist of two parts in this way, and a part is original message body, and a part is signature.Label
For name from the encryption to source body, calculation method is that source body is done to Hash operation to obtain cryptographic Hash, then uses private key
Above-mentioned cryptographic Hash is encrypted, encrypted result is exactly digital signature.Later, sender of the message will have digital signature
Information and public key are sent to recipient, and recipient is decrypted signature with public key after receiving, and restore cryptographic Hash, then pass through Kazakhstan
Whether the cryptographic Hash that uncommon algorithm carrys out verification information is consistent with the cryptographic Hash after decryption, if unanimously, then it is assumed that correct credible.
305, target user's credit record is written in the block chain at current time to extend block chain.
Specifically, the administrative staff of operator can pass through area after target user's credit record is written to block chain
The corresponding App platform of block catenary system inquires the user credit record of any user at any time, and the user for obtaining operator's authorization can also
To inquire itself credit record by App platform.
Technical solution provided by the above embodiment obtains all class static attribute numbers of target user by block chain first
According to and action data, the credit score of more accurate target then can be calculated, then by target user's credit score, mesh
The action data of the class static attribute data and target user of marking user generates target user's credit record of preset format, finally
It can be each in the corresponding block catenary system of block chain by being stored in for target user's credit record safety by common recognition mechanism
Node ensure that user credit integral is not easy to lose after storing because of the decentralization and privacy mechanism of block catenary system itself
It becomes estranged and is not easy to distort, further, can also be can achieve according to the continuity of block chain itself and change is integrated to user credit
The retrospect of process.
Referring to Figure 5, the embodiment of the present invention also provides another credit accreditation storage method conduct based on block chain
To the supplementary explanation of the credit accreditation storage method provided by the above embodiment based on block chain, comprising:
501, the class static attribute data of target user and the action data of target user are obtained using intelligent contract.
Wherein, class static attribute data include: the title of each class static attribute, the value of each class static attribute and each
The change cycle of class static attribute;Action data include: the title of each movement, the integral of each movement, each movement hair
The attenuation coefficient at raw moment and each movement.
502, the generation duration of each movement is determined according to the generation moment of each movement.
Specifically, when the generation of each movement a length of each movement occur the moment apart from current time time span.
503, according to the value of each class static attribute, the integral of each movement, the generation duration of each movement and each dynamic
The attenuation coefficient of work calculates the credit score of target user using intelligent contract according to preset formula.
Illustratively, preset formula can be with are as follows:
Wherein, the credit score of target user described in Score, valueiFor the value of i-th of class static attribute, m is described
The number of the class static attribute of target user, αjThe attenuation coefficient acted for j-th, tjThe generation duration acted for j-th,
actionjThe integral acted for j-th, n are the number of the movement of the target user;Wherein i-th class static attribute can be with
It is the class static attribute of the i-th row in table 1, m can be 8 referring to table 1, and j-th of movement can be the movement of jth row in table 2, n ginseng
It can be 4 according to table 2.
504, according to the credit score of target user, the movement number of the class static attribute data of target user and target user
According to generating target user's credit record of preset format.
505, judge whether block catenary system allows target user's credit record that block catenary system is written according to common recognition mechanism
Corresponding block chain.
When determining that block catenary system allows target user's credit record to be written in the corresponding block chain of block catenary system, hold
Row 506;When determining block catenary system not allows in the corresponding block chain of target user's credit record write-in block catenary system, hold
Row 504;Specifically, 504 steps will terminate the credit accreditation provided by the above embodiment based on block chain after repeating five times
The whole flow process of storage method waits restarting next time.
506, credit record version number and the last one block of the last one block of the block chain at current time are obtained
Address, and by calculate power competition obtain the last one block private key.
507, target user's credit record is generated according to preset rules according to the credit record version number of the last one block
Corresponding target credit record version number.
508, target block address is obtained according to the private key of target credit record version number and the last one block.
Specifically, 508 steps specifically include referring to shown in Fig. 6:
5081, public key is obtained according to elliptic curve according to the private key of the last one block.
Illustratively, public key is 33 bit bytes.
5082, public key is subjected to encryption using Message Digest Algorithm 5 MD5 and obtains the first cryptographic Hash.
Illustratively, the first cryptographic Hash is 32 bit bytes.
5083, the first cryptographic Hash is encrypted to obtain the second cryptographic Hash using mature Message Digest 5 RIPEMD-160.
Illustratively, the second cryptographic Hash is 20 bytes.
5084, by the second cryptographic Hash and the splicing of target credit record version number to obtain First Transition value.
Illustratively, target credit record version number is 1 byte, and First Transition value is 21 bytes.
5085, First Transition value is encrypted to obtain third cryptographic Hash using MD5.
5086, by predetermined fraction in third cryptographic Hash and the splicing of First Transition value to obtain the second transition value.
Illustratively, the rear nib and the splicing of First Transition value of third cryptographic Hash are generally taken, the second transition value is 25
Byte.
5087, Base64 coding is carried out to obtain target block address to the second transition value.
Illustratively, target block address is 64 bit bytes.
509, according to target user's credit record, target credit record version number, target block address and the last one area
The address of block generates target block to extend block chain.
Illustratively, it referring to shown in Fig. 7, needs to include user's letter in the block in block chain provided in an embodiment of the present invention
It is (random with the cryptographic Hash of the address of record, credit record version number, block address and previous block and the private key of current block
It generates);So being necessarily required to first understand the last one block in the block chain at current time when needing to increase new block
Credit record version number, block address and private key, after then executing process shown in fig. 6, new area can be generated by executing 509
Block is for being written target credit record and extending block chain.
Credit accreditation storage method provided in an embodiment of the present invention based on block chain, this method comprises: being closed using intelligence
About obtain the class static attribute data of target user and the action data of target user;Class static attribute data include: each class
The change cycle of the title of static attribute, the value of each class static attribute and each class static attribute;Action data includes: each
The title of movement, the integral of each movement, each movement generation moment and each movement attenuation coefficient;It is quiet according to each class
The value of state attribute, the integral of each movement, each movement generation moment and each movement attenuation coefficient, use intelligent contract
The credit score of target user is calculated according to preset formula;According to the credit score of target user, the class static state category of target user
The action data of property data and target user, generates target user's credit record of preset format;Area is judged according to common recognition mechanism
Whether block catenary system allows the corresponding block chain of target user's credit record write-in block catenary system;When determine block catenary system permit
When perhaps in the corresponding block chain of target user's credit record write-in block catenary system, target user's credit record is written to currently
To extend block chain in the block chain at moment.Technical solution provided in an embodiment of the present invention obtains target by block chain first
All class static attribute data and action data of user, then can calculate the credit score of more accurate target, so
The action data of target user's credit score, the class static attribute data of target user and target user is generated into preset format afterwards
Target user's credit record, target user credit record safety can be stored in block chain pair finally by common recognition mechanism
The each node in block catenary system answered, because the decentralization and privacy mechanism of block catenary system itself, ensure that user
Credit score is not easy to lose and be not easy to distort after storing, further, can also can be with according to the continuity of block chain itself
Reach the retrospect to user credit integral change process.
Referring to shown in Fig. 8, the embodiment of the present invention also provides a kind of credit accreditation storage device 01 based on block chain, packet
It includes: obtaining module 81, credit computing module 82, credit record generation module 83, judgment module 84 and writing module 85;
Module 81 is obtained, for using intelligent contract to obtain the class static attribute data of target user and moving for target user
Make data;Class static attribute data include: that the title of each class static attribute, the value of each class static attribute and each class are static
The change cycle of attribute;Action data include: the title of each movement, the integral of each movement, each movement the generation moment
With the attenuation coefficient of each movement;
Credit computing module 82, for according to obtaining the value of each class static attribute, each movement that module 81 obtains
It integrates, the attenuation coefficient at the generation moment and each movement of each movement, intelligent contract is used to calculate target according to preset formula
The credit score of user;
Credit record generation module 83, the credit score of the target user for being calculated according to credit computing module 82 obtain
The class static attribute data for the target user that modulus block 81 obtains and the action data for obtaining the target user that module 81 obtains, it is raw
At target user's credit record of preset format;
Judgment module 84, for judging whether block catenary system allows credit record generation module 83 raw according to common recognition mechanism
At the corresponding block chain of target user's credit record write-in block catenary system;
When judgment module 84 determines that target user's credit that block catenary system allows credit record generation module 83 to generate is remembered
When in the corresponding block chain of record write-in block catenary system, writing module 85 is used for the target for generating credit record generation module 83
User credit record is written in the block chain at current time to extend block chain.
Optionally, credit computing module 82 is specifically used for:
The generation duration of each movement is determined according to the generation moment for obtaining each movement that module 81 obtains;Each movement
Generation when a length of each movement the moment occurs apart from the time span at current time;
According to the generation duration of each movement and obtain the value for each class static attribute that module 81 obtains, each movement
Integral and each movement attenuation coefficient, use intelligent contract to calculate the credit score of target user according to preset formula.
Optionally, writing module 85 includes record power acquiring unit 851, version number's generation unit 852, scalar/vector
853 and block generation unit 854;
Record power acquiring unit 851, the credit record version of the last one block of the block chain for obtaining current time
The address of this number and the last one block, and obtain by calculating power competition the private key of the last one block;
The credit of version number's generation unit 852, the last one block for being obtained according to record power acquiring unit 851 is remembered
It records version number and generates target user's credit record corresponding target credit record version number according to preset rules;
Scalar/vector 853, target credit record version number and note for being generated according to version number's generation unit 852
The private key for the last one block that record power acquiring unit 851 obtains obtains target block address;
Block generation unit 854, target credit record version number for being generated according to version number's generation unit 852,
The address of the last one block of target block address, the record power acquisition of acquiring unit 851 that location generation unit 853 generates and letter
The target user's credit record generated with record generation module 83 generates target block to extend block chain.
Optionally, scalar/vector 853 is specifically used for:
The private key of the last one block obtained according to record power acquiring unit 851 obtains public according to elliptic curve
Key;Public key is subjected to encryption using Message Digest Algorithm 5 MD5 and obtains the first cryptographic Hash;Use mature Message Digest 5
RIPEMD-160 encrypts the first cryptographic Hash to obtain the second cryptographic Hash;Second cryptographic Hash and version number's generation unit 852 is raw
At target credit record version number splice to obtain First Transition value;First Transition value is encrypted to obtain third using MD5
Cryptographic Hash;By predetermined fraction in third cryptographic Hash and the splicing of First Transition value to obtain the second transition value;To the second transition value into
Row Base64 is encoded to obtain target block address.
Specifically, modules in the credit accreditation storage device provided by the above embodiment based on block chain can be with
Be it is independent, be also possible to existing for combination, modules can reside in the credit accreditation as shown in Figure 2 based on block chain
In in storage system in layer corresponding with modules function, it is not particularly limited herein.
Credit accreditation storage device provided in an embodiment of the present invention based on block chain, because the device includes: acquisition mould
Block, credit computing module, credit record generation module, judgment module and writing module;Module is obtained, for using intelligent contract
Obtain the class static attribute data of target user and the action data of target user;Class static attribute data include: that each class is quiet
The change cycle of the title of state attribute, the value of each class static attribute and each class static attribute;Action data includes: each dynamic
The title of work, the integral of each movement, each movement generation moment and each movement attenuation coefficient;Credit computing module,
For according to obtain module obtain the value of each class static attribute, the integral of each movement, each movement the generation moment and
The attenuation coefficient of each movement calculates the credit score of target user using intelligent contract according to preset formula;Credit record is raw
At module, the credit score of the target user for being calculated according to credit computing module obtains the target user's that module obtains
Class static attribute data and the action data for obtaining the target user that module obtains generate target user's credit note of preset format
Record;Judgment module, for judging whether block catenary system allows the target of credit record generation module generation according to common recognition mechanism
The corresponding block chain of user credit record write-in block catenary system;When judgment module determines that block catenary system allows credit record raw
When in the corresponding block chain of target user's credit record write-in block catenary system generated at module, writing module is used for credit
Target user's credit record that record generation module generates is written in the block chain at current time to extend block chain.So this
The technical solution that inventive embodiments provide when needing the credit to target user to be authenticated (calculate credit score) and stored,
All class static attribute data and action data for obtaining target user by block chain first, then can calculate more quasi-
The credit score of true target, then by target user's credit score, the class static attribute data of target user and target user
Action data generate preset format target user's credit record, target user's credit can be remembered finally by common recognition mechanism
The each node being stored in the corresponding block catenary system of block chain for recording safety, because of the decentralization of block catenary system itself
And privacy mechanism, it ensure that user credit integral is not easy to lose after storing and is not easy to distort, it further, can also be according to area
The continuity of block chain itself can achieve the retrospect to user credit integral change process.
Referring to shown in Fig. 9, the embodiment of the present invention also provides another credit accreditation storage device based on block chain, including
Memory 91, processor 92, bus 93 and communication interface 94;Memory 91 is for storing computer executed instructions, processor 92
It is connect with memory 91 by bus 93;When the credit accreditation storage device operation based on block chain, the execution of processor 92 is deposited
The computer executed instructions that reservoir 91 stores, so that the credit accreditation storage device based on block chain is executed as above-described embodiment mentions
The credit accreditation storage method based on block chain supplied.
In concrete implementation, as one embodiment, processor 92 (92-1 and 92-2) may include one or more
CPU, such as CPU0 and CPU1 shown in Fig. 9.And as one embodiment, the credit accreditation storage device based on block chain can
To include multiple processors 92, such as processor 92-1 and processor 92-2 shown in Fig. 9.It is each in these processors 92
A CPU can be a single core processor (Single-CPU), be also possible to a multi-core processor (Multi-CPU).Here
Processor 92 can refer to one or more equipment, circuit, and/or the place for handling data (such as computer program instructions)
Manage core.
Memory 91 can be read-only memory 91 (Read-Only Memory, ROM) or can store static information and refer to
The other kinds of static storage device enabled, random access memory (Random Access Memory, RAM) or can store
The other kinds of dynamic memory of information and instruction, is also possible to Electrically Erasable Programmable Read-Only Memory
(Electrically Erasable Programmable Read-Only Memory, EEPROM), CD-ROM (Compact
Disc Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, light
Dish, Digital Versatile Disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or
Store have instruction or data structure form desired program code and can by any other medium of computer access, but
It is without being limited thereto.Memory 91, which can be, to be individually present, and is connected by communication bus 93 with processor 92.Memory 91 can also be with
It is integrated with processor 92.
In concrete implementation, memory 91, for storing the data in the application and executing the software program of the application
Corresponding computer executed instructions.Processor 92 can by running or executing the software program being stored in memory 91, with
And the data being stored in memory 91 are called, execute the various functions of the credit accreditation storage device based on block chain.
Communication interface 94 is used for and other equipment or communication, such as control using the device of any transceiver one kind
System processed, wireless access network (Radio Access Network, RAN), WLAN (Wireless Local Area
Networks, WLAN) etc..Communication interface 94 may include that receiving unit realizes that receive capabilities and transmission unit realize transmission
Function.
It is total to can be industry standard architecture (Industry Standard Archi tecture, ISA) for bus 93
Line, external equipment interconnection (Peripheral Component Interconnect, PCI) bus or extension Industry Standard Architecture
Structure (Extended Industry Standard Architecture, EISA) bus etc..The bus 93 can be divided into address
Bus, data/address bus, control bus etc..Only to be indicated with a thick line in Fig. 9, it is not intended that only one convenient for indicating
Bus or a type of bus.
The embodiment of the present invention also provides a kind of computer storage medium, and computer storage medium includes that computer execution refers to
It enables, when computer executed instructions are run on computers, so that computer, which is executed, is based on block as provided by the above embodiment
The credit accreditation storage method of chain.
The embodiment of the present invention also provides a kind of computer program, which can be loaded directly into memory, and
Containing software code, which is loaded into via computer and can be realized the above-mentioned credit based on block chain after executing
Authenticate storage method.
Those skilled in the art are it will be appreciated that in said one or multiple examples, function described in the invention
It can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these functions
Storage in computer-readable medium or as on computer-readable medium one or more instructions or code transmitted.
Computer-readable medium includes computer storage media and communication media, and wherein communication media includes convenient for from a place to another
Any medium of one place transmission computer program.Storage medium can be general or specialized computer can access it is any
Usable medium.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description
It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete
All or part of function described above.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the module or unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It may be combined or can be integrated into another device, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.Unit can be or can also as illustrated by the separation member
Not to be physically separated, component shown as a unit can be a physical unit or multiple physical units, it can
It is in one place, or may be distributed over multiple and different places.Can select according to the actual needs part therein or
Person's whole unit achieves the purpose of the solution of this embodiment.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.If integrated unit with
The form of SFU software functional unit is realized and when sold or used as an independent product, can store and storage Jie can be read at one
In matter.Based on this understanding, the portion that the technical solution of the embodiment of the present application substantially in other words contributes to the prior art
Divide or all or part of the technical solution can be embodied in the form of software products, which is stored in one
In storage medium, including some instructions are used so that an equipment (can be single-chip microcontroller, chip etc.) or processor
(processor) it performs all or part of the steps of the method described in the various embodiments of the present invention.And storage medium above-mentioned includes:
The various media that can store program code such as USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (11)
1. a kind of credit accreditation storage method based on block chain characterized by comprising
The class static attribute data of target user and the action data of the target user are obtained using intelligent contract;The class is quiet
State attribute data includes: the change of the title of each class static attribute, the value of each class static attribute and each class static attribute
Period;The action data includes: the title of each movement, the integral of each movement, generation moment of each movement and each
The attenuation coefficient of movement;
According to the value of each class static attribute, the integral of each movement, the generation moment of each movement and institute
The attenuation coefficient for stating each movement calculates the credit score of the target user using the intelligent contract according to preset formula;
According to the dynamic of the credit score of the target user, the class static attribute data of the target user and the target user
Make data, generates target user's credit record of preset format;
Judge whether block catenary system allows target user's credit record that the block catenary system is written according to common recognition mechanism
Corresponding block chain;
When determining that the block catenary system allows target user's credit record that the corresponding block of the block catenary system is written
When in chain, target user's credit record is written in the block chain at current time to extend the block chain.
2. the credit accreditation storage method according to claim 1 based on block chain, which is characterized in that described according to
Moment and each movement occur for the value of each class static attribute, the integral of each movement, each movement
Attenuation coefficient includes: using the credit score that the intelligent contract calculates the target user according to preset formula
The generation duration of each movement is determined according to the generation moment of each movement;When the generation of each movement
Occurs for a length of each movement apart from the time span at current time the moment;
According to the value of each class static attribute, the integral of each movement, the generation duration of each movement and institute
The attenuation coefficient for stating each movement calculates the credit score of the target user using the intelligent contract according to preset formula.
3. the credit accreditation storage method according to claim 2 based on block chain, which is characterized in that the preset formula
Include:
Wherein, the credit score of target user described in Score, valueiFor the value of i-th of class static attribute, m is target use
The number of the class static attribute at family, αjThe attenuation coefficient acted for j-th, tjThe generation duration acted for j-th, actionjFor
The integral of j-th of movement, n are the number of the movement of the target user.
4. the credit accreditation storage method according to claim 1 based on block chain, which is characterized in that described by the mesh
Mark user credit record is written in the block chain at current time includes: to extend the block chain
The credit record version number of the last one block of the block chain at acquisition current time and the last one described block
Address, and obtain by calculating power competition the private key of the last one block;
Target user's credit record is generated according to preset rules according to the credit record version number of the last one block
Corresponding target credit record version number;
Target block address is obtained according to the private key of target credit record version number and the last one block;
According to target user's credit record, target credit record version number, the target block address and it is described most
The address of the latter block generates target block to extend the block chain.
5. the credit accreditation storage method according to claim 4 based on block chain, which is characterized in that described according to
The private key of target credit record version number and the last one block obtains target block address
Public key is obtained according to elliptic curve according to the private key of the last one block;
The public key is subjected to encryption using Message Digest Algorithm 5 MD5 and obtains the first cryptographic Hash;
First cryptographic Hash is encrypted to obtain the second cryptographic Hash using mature Message Digest 5 RIPEMD-160;
By second cryptographic Hash and the splicing of target credit record version number to obtain First Transition value;
The First Transition value is encrypted to obtain third cryptographic Hash using MD5;
By predetermined fraction in the third cryptographic Hash and First Transition value splicing to obtain the second transition value;
Base64 coding is carried out to obtain target block address to second transition value.
6. a kind of credit accreditation storage device based on block chain characterized by comprising obtain module, credit computing module,
Credit record generation module, judgment module and writing module;
The acquisition module, for use intelligent contract obtain target user class static attribute data and the target user
Action data;The class static attribute data include: the title of each class static attribute, the value of each class static attribute and each
The change cycle of class static attribute;The action data includes: the title of each movement, the integral of each movement, each movement
Generation moment and each movement attenuation coefficient;
The credit computing module, it is the value of each class static attribute for being obtained according to the acquisition module, described every
The integral of a movement, each movement the generation moment and each movement attenuation coefficient, use the intelligent contract
The credit score of the target user is calculated according to preset formula;
The credit record generation module, the credit product of the target user for being calculated according to the credit computing module
Divide, the target that the class static attribute data for obtaining the target user that module obtains and the acquisition module obtain
The action data of user generates target user's credit record of preset format;
The judgment module, for judging whether block catenary system allows the credit record generation module raw according to common recognition mechanism
At target user's credit record the corresponding block chain of the block catenary system is written;
When the judgment module determines that the target that the block catenary system allows the credit record generation module to generate is used
When family credit record is written in the corresponding block chain of the block catenary system, the write module is used for the credit record is raw
It is written in the block chain at current time at target user's credit record that module generates to extend the block chain.
7. the credit accreditation storage device according to claim 6 based on block chain, which is characterized in that the credit calculates
Module is specifically used for:
The generation moment of each movement obtained according to the acquisition module determines the generation duration of each movement;Institute
State time span of the generation moment apart from current time of a length of each movement when the generation of each movement;
According to the generation duration of each movement and the value for obtaining each class static attribute that module obtains, institute
The integral of each movement and the attenuation coefficient of each movement are stated, using the intelligent contract according to described in preset formula calculating
The credit score of target user.
8. the credit accreditation storage device according to claim 6 based on block chain, which is characterized in that the write module
Including record power acquiring unit, version number's generation unit, scalar/vector and block generation unit;
The record weighs acquiring unit, the credit record version of the last one block of the block chain for obtaining current time
The address of this number and the last one block, and obtain by calculating power competition the private key of the last one block;
Version number's generation unit, the credit for the last one block according to the record power acquiring unit acquisition
It records version number and generates target user's credit record corresponding target credit record version number according to preset rules;
The scalar/vector, target credit record version number for being generated according to version number's generation unit and
The private key for the last one block that the record power acquiring unit obtains obtains target block address;
The block generation unit, target credit record version number for being generated according to version number's generation unit,
The last one described area of the target block address, the record power acquiring unit acquisition that the scalar/vector generates
Target user's credit record that the address of block and the credit record generation module generate generates target block to extend
State block chain.
9. the credit accreditation storage device according to claim 8 based on block chain, which is characterized in that the address generates
Unit is specifically used for:
It is public according to elliptic curve acquisition according to the private key of the last one block described in the record power acquiring unit acquisition
Key;
The public key is subjected to encryption using Message Digest Algorithm 5 MD5 and obtains the first cryptographic Hash;
First cryptographic Hash is encrypted to obtain the second cryptographic Hash using mature Message Digest 5 RIPEMD-160;
The target credit record version number that second cryptographic Hash and version number's generation unit generate is spliced to obtain
Take First Transition value;
The First Transition value is encrypted to obtain third cryptographic Hash using MD5;
By predetermined fraction in the third cryptographic Hash and First Transition value splicing to obtain the second transition value;
Base64 coding is carried out to obtain target block address to second transition value.
10. a kind of credit accreditation storage device based on block chain, which is characterized in that including memory, processor, bus and lead to
Believe interface;For storing computer executed instructions, the processor is connected with the memory by the bus memory
It connects;When the credit accreditation storage device operation based on block chain, the processor executes the institute of the memory storage
Computer executed instructions are stated, so that the credit accreditation storage device based on block chain is executed such as any one of claim 1-5
The credit accreditation storage method based on block chain.
11. a kind of computer storage medium, which is characterized in that the computer storage medium includes computer executed instructions, when
When the computer executed instructions are run on computers, so that the computer is executed as described in claim any one of 1-5
The credit accreditation storage method based on block chain.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811217765.5A CN109409882A (en) | 2018-10-18 | 2018-10-18 | A kind of credit accreditation storage method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811217765.5A CN109409882A (en) | 2018-10-18 | 2018-10-18 | A kind of credit accreditation storage method and device based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109409882A true CN109409882A (en) | 2019-03-01 |
Family
ID=65467683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811217765.5A Pending CN109409882A (en) | 2018-10-18 | 2018-10-18 | A kind of credit accreditation storage method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109409882A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109981297A (en) * | 2019-04-11 | 2019-07-05 | 百度在线网络技术(北京)有限公司 | Block chain processing method, device, equipment and storage medium |
CN110135844A (en) * | 2019-04-28 | 2019-08-16 | 阿里巴巴集团控股有限公司 | Credit record, querying method and device and electronic equipment based on block chain |
CN110175831A (en) * | 2019-04-23 | 2019-08-27 | 阿里巴巴集团控股有限公司 | A kind of credit transfer method, apparatus and electronic equipment based on block chain |
WO2019101237A3 (en) * | 2019-03-06 | 2019-12-26 | Alibaba Group Holding Limited | Managing housing scores using smart contracts in blockchain networks |
CN110891267A (en) * | 2019-11-20 | 2020-03-17 | 中国联合网络通信集团有限公司 | Service processing method based on block chain and operator network node |
CN111885586A (en) * | 2020-07-22 | 2020-11-03 | 中国联合网络通信集团有限公司 | Roaming management method based on block chain and network access node |
CN112308714A (en) * | 2020-10-12 | 2021-02-02 | 联合汽车电子有限公司 | Block chain network architecture |
US11100093B2 (en) | 2019-04-28 | 2021-08-24 | Advanced New Technologies Co., Ltd. | Blockchain-based recording and querying operations |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107657509A (en) * | 2017-09-19 | 2018-02-02 | 前海云链科技(深圳)有限公司 | A kind of reference method and device based on block chain |
WO2018154082A1 (en) * | 2017-02-24 | 2018-08-30 | Buisson Gilles | System and method for processing a banking transaction |
CN108647962A (en) * | 2018-04-27 | 2018-10-12 | 腾讯科技(深圳)有限公司 | Credit investigation system, the storage method of collage-credit data, device, equipment and medium |
CN108667632A (en) * | 2018-04-19 | 2018-10-16 | 阿里巴巴集团控股有限公司 | Based on the credit record sharing method and device of block chain, electronic equipment |
-
2018
- 2018-10-18 CN CN201811217765.5A patent/CN109409882A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018154082A1 (en) * | 2017-02-24 | 2018-08-30 | Buisson Gilles | System and method for processing a banking transaction |
CN107657509A (en) * | 2017-09-19 | 2018-02-02 | 前海云链科技(深圳)有限公司 | A kind of reference method and device based on block chain |
CN108667632A (en) * | 2018-04-19 | 2018-10-16 | 阿里巴巴集团控股有限公司 | Based on the credit record sharing method and device of block chain, electronic equipment |
CN108647962A (en) * | 2018-04-27 | 2018-10-12 | 腾讯科技(深圳)有限公司 | Credit investigation system, the storage method of collage-credit data, device, equipment and medium |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019101237A3 (en) * | 2019-03-06 | 2019-12-26 | Alibaba Group Holding Limited | Managing housing scores using smart contracts in blockchain networks |
US10984492B2 (en) | 2019-03-06 | 2021-04-20 | Advanced New Technologies Co., Ltd. | Managing housing scores using smart contracts in blockchain networks |
CN109981297A (en) * | 2019-04-11 | 2019-07-05 | 百度在线网络技术(北京)有限公司 | Block chain processing method, device, equipment and storage medium |
CN109981297B (en) * | 2019-04-11 | 2022-06-28 | 百度在线网络技术(北京)有限公司 | Block chain processing method, device, equipment and storage medium |
CN110175831B (en) * | 2019-04-23 | 2023-09-29 | 创新先进技术有限公司 | Credit transfer method and device based on blockchain and electronic equipment |
CN110175831A (en) * | 2019-04-23 | 2019-08-27 | 阿里巴巴集团控股有限公司 | A kind of credit transfer method, apparatus and electronic equipment based on block chain |
CN110135844B (en) * | 2019-04-28 | 2020-11-24 | 创新先进技术有限公司 | Credit recording and inquiring method and device based on block chain and electronic equipment |
US11100093B2 (en) | 2019-04-28 | 2021-08-24 | Advanced New Technologies Co., Ltd. | Blockchain-based recording and querying operations |
US11106659B2 (en) | 2019-04-28 | 2021-08-31 | Advanced New Technologies Co., Ltd. | Blockchain-based recording and querying operations |
CN110135844A (en) * | 2019-04-28 | 2019-08-16 | 阿里巴巴集团控股有限公司 | Credit record, querying method and device and electronic equipment based on block chain |
US11886423B2 (en) | 2019-04-28 | 2024-01-30 | Advanced New Technologies Co., Ltd. | Blockchain-based recording and querying operations |
CN110891267A (en) * | 2019-11-20 | 2020-03-17 | 中国联合网络通信集团有限公司 | Service processing method based on block chain and operator network node |
CN111885586A (en) * | 2020-07-22 | 2020-11-03 | 中国联合网络通信集团有限公司 | Roaming management method based on block chain and network access node |
CN111885586B (en) * | 2020-07-22 | 2023-02-17 | 中国联合网络通信集团有限公司 | Roaming management method based on block chain and network access node |
CN112308714A (en) * | 2020-10-12 | 2021-02-02 | 联合汽车电子有限公司 | Block chain network architecture |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109409882A (en) | A kind of credit accreditation storage method and device based on block chain | |
JP6940662B2 (en) | Methods and systems for the protection and verification of identities and certificates via the blockchain | |
US20230334181A1 (en) | System and method for interaction object management in a blockchain environment | |
CN110121727B (en) | Method and system for providing authenticated, auditable and immutable input for intelligent contracts | |
EP3485602B1 (en) | Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains | |
US10432411B2 (en) | System and method for file time-stamping using a blockchain network | |
US10305694B2 (en) | Method and system for efficient distribution of configuration data utilizing permissioned blockchain technology | |
CN108292351A (en) | Use the data verification method and system of the Hash tree of such as time-centered Merkel's Hash tree etc | |
TW202029694A (en) | Systems and methods for efficient and secure processing, accessing and transmission of data via a blockchain network | |
KR20200011435A (en) | Parameterizable Smart Contract | |
CN109472158B (en) | Data processing method and device based on block chain | |
EP3709568A1 (en) | Deleting user data from a blockchain | |
EP3744071B1 (en) | Data isolation in distributed hash chains | |
US20200334677A1 (en) | Transparent blockchain sidechains to support blockchain processing heterogeneity | |
US11816069B2 (en) | Data deduplication in blockchain platforms | |
CN115769206A (en) | Cryptographic data entry blockchain data structure | |
CN110190963A (en) | A kind of monitoring method, device and equipment for the request of time service certificates constructing | |
WO2023051308A1 (en) | Data verification method and apparatus, device and storage medium | |
CN113810185B (en) | Anti-trapdoor leakage on-chain data restoration system and method | |
US11645650B1 (en) | Systems and methods for blockchain-based transaction break prevention | |
US20220358371A1 (en) | Digital transaction ledger with dna-related ledger parameter | |
CN116028484A (en) | Digital asset management method and related products | |
CN115827776A (en) | Intelligent contract upgrading method, intelligent contract deployment method and intelligent contract deployment device | |
TW202025068A (en) | Real estate transaction record system and method including a blockchain database storing a decentralized ledger, a storage unit storing an application software, a plurality of user ends and a server unit |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190301 |
|
RJ01 | Rejection of invention patent application after publication |