CN110414955A - Transfer account method, device, medium and electronic equipment based on block chain - Google Patents
Transfer account method, device, medium and electronic equipment based on block chain Download PDFInfo
- Publication number
- CN110414955A CN110414955A CN201910676334.3A CN201910676334A CN110414955A CN 110414955 A CN110414955 A CN 110414955A CN 201910676334 A CN201910676334 A CN 201910676334A CN 110414955 A CN110414955 A CN 110414955A
- Authority
- CN
- China
- Prior art keywords
- accounts
- node
- transfer
- block chain
- amount
- 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/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
The embodiment of the invention provides a kind of transfer account method based on block chain, device, medium and electronic equipments, are related to field of computer technology, which comprises generate alliance's block chain, alliance's block chain includes multiple nodes;If receiving transfer request, a node being randomly assigned in alliance's block chain is transferred accounts node as first;If transfer request is corresponding, number of transferring accounts is transferred accounts amount greater than first, another node being randomly assigned in alliance's block chain is transferred accounts node as second;It transfers accounts the sum of amount if number of transferring accounts is less than or equal to the first amount and second of transferring accounts, is transferred accounts node processing transfer request using the first node and second of transferring accounts.In the technical solution of the embodiment of the present invention, amount of transferring accounts is obtained according to the credit grade of the node of alliance's block chain, and node for handling transfer request is determined according to amount of transferring accounts, wholesale is transferred accounts and is decomposed into the small amount transfers of different node payments, reduces the timeliness that ensure that transfer operation while transferring accounts risk.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of transfer account method based on block chain, device,
Computer readable storage medium and electronic equipment.
Background technique
In financial industry between enterprise during money transfer transactions, whether the transfer operation for the enterprise that transfers accounts closes rule, if follows
Timeliness of transferring accounts requirement will be a greater impact to transfer accounts risk and the timeliness of transferring accounts of money transfer transactions.
In financial industry between enterprise when money transfer transactions, it is also necessary to entrust in special associated agency or liquidation organization's conduct
Between mechanism, this generates certain intermediate treatments to take, and timeliness of transferring accounts is relatively low.
In transfer procedure, there is transaction records the risk of transferring accounts such as to be tampered, if the number of single transaction is larger, phase
The risk of transferring accounts answered also can be higher.
How to reduce that transfer accounts risk and improve timeliness of transferring accounts be a technical problem to be solved urgently.
It should be noted that information is only used for reinforcing the reason to background of the invention disclosed in above-mentioned background technology part
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of transfer account method based on block chain, device, computer-readable deposits
Storage media and electronic equipment, and then reduce at least to a certain extent and transfer accounts risk and improve timeliness of transferring accounts.
Other characteristics and advantages of the invention will be apparent from by the following detailed description, or partially by the present invention
Practice and acquistion.
According to a first aspect of the embodiments of the present invention, a kind of transfer account method based on block chain is provided, comprising: generate connection
Alliance's block chain, alliance's block chain include multiple nodes;If receiving transfer request, it is randomly assigned alliance's block chain
In a node transfer accounts node as first, and the credit grade for transferring accounts node according to described first obtains it and first transfers accounts volume
Degree;The amount if the corresponding number of transferring accounts of the transfer request is transferred accounts greater than described first, is randomly assigned alliance's block chain
In another node transfer accounts node as second, and the credit grade for transferring accounts node according to described second obtains it and second transfers accounts
Amount;If the number of transferring accounts is transferred accounts less than or equal to described first, amount and described second is transferred accounts the sum of amount, using described
First node and described second of transferring accounts is transferred accounts transfer request described in node processing.
In some embodiments, the method also includes: after handling the transfer request, update described first and transfer accounts section
Put the credit grade for node of transferring accounts with described second.
In some embodiments, the described first credit grade for transferring accounts node is updated, comprising: transfer accounts section according to described first
Undertakings of point transfer accounts number information, accept and transfer accounts amount information and undertaking age information of transferring accounts updates described first and transfers accounts node
Credit grade.
In some embodiments, the method also includes: if described first transfer accounts node occur twice delay transfer accounts or
It does not transfer accounts situation once, then removes the described first node of transferring accounts from alliance's block chain.
In some embodiments, the method also includes: by the corresponding transfer data distributed storage of the transfer request
To multiple nodes in the block chain.
In some embodiments, the method also includes: preset the corresponding difference of different credit grades and transfer accounts amount.
According to a second aspect of the embodiments of the present invention, a kind of transfer device based on block chain is provided, comprising: generate single
Member, for generating alliance's block chain, alliance's block chain includes multiple nodes;First acquisition unit, if turning for receiving
Account request, then a node being randomly assigned in alliance's block chain are transferred accounts node as first, and according to described first turn
The credit grade of account node obtains it and first transfers accounts amount;Second acquisition unit, if transferring accounts for the transfer request to be corresponding
Number is greater than described first and transfers accounts amount, then another node being randomly assigned in alliance's block chain is transferred accounts section as second
Point, and the credit grade for transferring accounts node according to described second obtains it and second transfers accounts amount;It transfers accounts unit, if transferring accounts for described
Number is less than or equal to the described first amount and described second of transferring accounts and transfers accounts the sum of amount, then transfers accounts node and institute using described first
Second is stated to transfer accounts transfer request described in node processing.
In some embodiments, described device further include: updating unit, for updating after handling the transfer request
Described first transfer accounts node and described second transfer accounts node credit grade.
According to a third aspect of the embodiments of the present invention, a kind of computer readable storage medium is provided, meter is stored thereon with
Calculation machine program is realized when described program is executed by processor and is turned as described in first aspect in above-described embodiment based on block chain
Account method.
According to a fourth aspect of the embodiments of the present invention, a kind of electronic equipment is provided, comprising: one or more processors;
Storage device, for storing one or more programs, when one or more of programs are held by one or more of processors
When row, so that one or more of processors realize the transferring accounts based on block chain as described in first aspect in above-described embodiment
Method.
Technical solution provided in an embodiment of the present invention can include the following benefits:
In the technical solution provided by some embodiments of the present invention, according to the credit grade of the node of alliance's block chain
To obtain amount of transferring accounts, and the node for handling transfer request is determined according to amount of transferring accounts, wholesale is transferred accounts and is decomposed into difference
The small amount transfers of node payment, reduce the timeliness that ensure that transfer operation while transferring accounts risk.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 diagrammatically illustrates the flow chart of the transfer account method based on block chain according to an embodiment of the present invention;
Fig. 2 diagrammatically illustrates the flow chart of the transfer account method based on block chain of another embodiment according to the present invention;
Fig. 3 diagrammatically illustrates the block diagram of the transfer device based on block chain according to an embodiment of the present invention;
Fig. 4 diagrammatically illustrates the block diagram of the transfer device based on block chain of another embodiment according to the present invention;
Fig. 5 diagrammatically illustrates the structure for being suitable for the computer system for the electronic equipment for being used to realize the embodiment of the present invention
Figure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.
In the related technology, in financial industry between enterprise during money transfer transactions, due to needing to entrust special commission machine
There is transaction records the risk of transferring accounts such as to be tampered as intermediary agency, and in transfer procedure for structure or liquidation organization, thus,
It is lower there is timeliness of transferring accounts and transfer accounts the higher problem of risk, if the number of single transaction is larger, risk of transferring accounts accordingly
It also can be higher.
To solve the above problems, the embodiment of the present invention provides a kind of transfer account method based on block chain, pass through alliance's block
The node of chain carries out money transfer transactions, and the number of transferring accounts of wholesale is disassembled the number of transferring accounts for multiple small amounts, is turned using different
Account node carries out processing of transferring accounts, and high timeliness, the low-risk of money transfer transactions are realized in conjunction with the characteristics of block chain technology.
Technical solution of the present invention is described in detail below by way of specific embodiment:
Fig. 1 diagrammatically illustrates a kind of transfer account method based on block chain of exemplary embodiments of the present invention.This hair
The executing subject for the transfer account method based on block chain that bright embodiment provides can be the equipment with calculation processing function, such as take
Business device and/or mobile terminal etc..
With reference to Fig. 1, the transfer account method provided in an embodiment of the present invention based on block chain be may comprise steps of:
Step S102 generates alliance's block chain, and alliance's block chain includes multiple nodes.
Step S104 is randomly assigned a node in alliance's block chain as first turn if receiving transfer request
Account node, and the credit grade for transferring accounts node according to first obtains it and first transfers accounts amount.
Step S106, the amount if the corresponding number of transferring accounts of transfer request is transferred accounts greater than first, is randomly assigned alliance's block
Another node in chain is transferred accounts node as second, and the credit grade for transferring accounts node according to second obtains it and second transfers accounts volume
Degree.
Step S108, if number of transferring accounts is transferred accounts less than or equal to first, amount and second is transferred accounts the sum of amount, utilizes first
Node and second of transferring accounts is transferred accounts node processing transfer request.
In the technical solution of the embodiment of the present invention, by generating alliance's block chain, in the corresponding number of transferring accounts of transfer request
Greater than first in the alliance's block chain being randomly assigned transfer accounts node transfer accounts amount when, the section that is randomly assigned in alliance's block chain
Point is transferred accounts node for second, according to first transfer accounts node and second transfer accounts node amount of transferring accounts determine scheme of transferring accounts, can subtract
Special associated agency or liquidation organization is entrusted to handle the intermediate treatment process of transfer request less, while extensive fund can decompose
It for the relatively small fund of number, and is transferred accounts by multiple nodes, reduces the risk of single block trade, trade simultaneously
Record is distributed in multiple alliance's block chain nodes and is not easy to distort, and realizes high timeliness, the low-risk of money transfer transactions between enterprise.
It in following illustration, is illustrated for transferring accounts between financial industry enterprise, but the present invention is simultaneously
It is not limited to this, method provided in an embodiment of the present invention can be applied between any suitable enterprise scene of transferring accounts, and work as applied field
When scape changes, drawing for modules under the classification of information, preset themes for uploading block chain, each theme can be changed accordingly
Point etc..
In embodiments of the present invention, before step S102, block chain node and block chain network structure can be constructed in advance
It builds, for example, using base, company operating agency as minimum node, one or more groups/company participates in turning between financial industry enterprise
Account transaction is shared and management transaction block chain network constructs.
After building block chain node and block chain network, the data structure side that can be defined according to the embodiment of the present invention
Formula, information storage means and agreement store and authenticate shared information etc., to guarantee the high efficiency of information storage and information processing.
The particular transactions Examples of information for being stored and being authenticated to shared information is as shown in table 1 below:
Table 1
In the most of application scenarios of block chain technology, the chain transaction data structure and encryption of block chain Hash pointer are utilized
It is Bu Tong a to realize that the mechanism that digital signature is learned in Hash calculation and encryption realizes the multi-level evidence approval in process of exchange
Trust problem between body counterparty.
In embodiments of the present invention, the information for uploading to block chain may include: transfer data information, in alliance's block chain
The exception information occurred in mutually coordinated transfer procedure, transfer operation whether compliance information, transfer accounts and whether follow the information of timeliness
Any one or multinomial in equal much informations.
Here, timeliness can be in real time, the same day, the next day or other preset time limits.
The enterprise or individual that above- mentioned information can be registered in systems by the enterprise or individual for obtaining authorization upload to area
In block chain.
Wherein it is possible to prove that the associated materials such as the audio of insurance products relevant information, video, image can also be uploaded to area
Block chain.
When generating alliance's block chain in step s 102, the node of alliance's block chain can be enterprise.Have between each node
Coordinate the function that mutual assistance is transferred accounts.
In embodiments of the present invention, different amounts of transferring accounts can be set for different nodes in advance.Different nodes turn
Account amount is associated with the credit grade of the node, namely needs to preset the corresponding difference of different credit grades and transfer accounts volume
Degree.
The node of higher credit grade amount with higher of transferring accounts.After the initial credit grade of setting node, In
After the completion of each money transfer transactions, the credit grade of the information update node according to money transfer transactions is needed.
Specifically, in the credit grade of more new node, according to the undertaking of transaction node transfer accounts number information, accept transfer accounts
Amount information and the credit grade for accepting age information update transaction node of transferring accounts.
It transfers accounts after amount in the first node and first of transferring accounts that step S104 is randomly assigned, needs to judge transfer request
It is corresponding transfer accounts number and first transfer accounts amount size relation.
If first transfers accounts amount less than the corresponding number of transferring accounts of transfer request, S106 is thened follow the steps, it is random to obtain
The node and second of transferring accounts of specified second is transferred accounts amount.
Later, judge first transfer accounts amount and second transfer accounts amount sum number of transferring accounts corresponding with transfer request size
Relationship.
If first transfer accounts amount and second transfer accounts amount sum number of transferring accounts corresponding more than or equal to transfer request, hold
Row step S108 is transferred accounts the node processing transfer request using the first node and second of transferring accounts.
After the step S108 processing transfer request, the described first node and described second of transferring accounts can be updated and transferred accounts section
The credit grade of point.
In the exemplary embodiment, updating the credit grade that described first transfers accounts node may include: according to described first
Transfer accounts node undertaking transfer accounts number information, accept and transfer accounts amount information and undertaking age information etc. of transferring accounts updates described first turn
The credit grade of account node.
In the exemplary embodiment, updating the credit grade that described second transfers accounts node may include: according to described second
Transfer accounts node undertaking transfer accounts number information, accept and transfer accounts amount information and undertaking age information etc. of transferring accounts updates described second turn
The credit grade of account node.
In embodiments of the present invention, if the described first node of transferring accounts delay twice occurs and transfers accounts or do not transfer accounts feelings once
Condition can then remove the described first node of transferring accounts from alliance's block chain.
Equally, if the described second transfer accounts node or other node delay twice occurs and transfer accounts or feelings of not transferring accounts once
Condition then transfers accounts node for described second or other nodes is removed from alliance's block chain.It should be noted that here
" delay is transferred accounts twice " or " not transferring accounts once " are only a kind of for example, can be carried out according to concrete application scene from homophony
Whole, this is not limited by the present invention.
If certain node appearance delay twice is transferred accounts or situation of not transferring accounts once, it is meant that the credit grade of the node will be big
It is big to reduce, so that it cannot undertaking function of transferring accounts again, being put on the blacklist and being removed out alliance's block chain.
In addition, be randomly assigned node as transfer accounts node when, can also be preferentially according to history case information or credit
Class information, which is randomly assigned, participates in the task of transferring accounts as node is transferred accounts in accordance with the high enterprise of timeliness, prestige that transfers accounts.
It in embodiments of the present invention, can be by the corresponding transfer data of the transfer request after handling the transfer request
Distributed storage to multiple nodes in the block chain, with using the secret protection of block chain technology, it is open and clear, can chase after
It traces back, be not easy the features such as distorting, reduce the risk of money transfer transactions.
In embodiments of the present invention, the node in alliance's block chain undertakes difference according to the credit grade of itself and transfers accounts amount
It is described in detail.
In embodiments of the present invention, credit grade is for example segmented into five grades of A, B, C, D, E.Wherein, A is highest letter
With grade, E is minimum credit grade, and higher grade, and the amount of transferring accounts that can be undertaken is bigger.
In addition, the Credit Rank Appraisal S of node and node accept the times N transferred accounts, node accepts the amount M to transfer accounts, turn
Whether the correlations such as transfer accounts timeliness are followed during account.If node occurs postponing to transfer accounts or occur more than twice in money transfer transactions
The case where not transferring accounts then loses alliance's qualification, is put on the blacklist and kicks out of alliance.
After evaluating the volume credit grade of node and rejecting the bad enterprise's node of credit, it is ensured that in alliance's block chain
Node credit it is higher, transfer accounts timeliness to improve.
Here, S, N, M are natural number, wherein the calculated result calculated S can be normalized to 0 to 100.
Credit Rank Appraisal rule can be such that N is every and increase primary, S+1;M is every to increase by 10,000 yuan, S+2;There is primary turn
Account delay, S-20;When the above-mentioned calculated result for calculating S is less than 0, either occur being delayed or occurring one more than twice
When the secondary behavior that do not transfer accounts, enterprise will be removed name from the rolls.
For example, relationship between Credit Rank Appraisal S and credit grade and corresponding number of transferring accounts can be with are as follows:
20 > S >=0 when, credit grade E, can undertake transfer amounts be 10,000 yuan.
40 > S >=20 when, credit grade D, can undertake transfer amounts be 20,000 yuan.
60 > S >=40 when, credit grade C, can undertake transfer amounts be 50,000 yuan.
80 > S >=60 when, credit grade B can undertake 100,000 yuan of transfer amounts.
100 > S >=80 when, credit grade A, can undertake transfer amounts be 300,000 yuan.
In this way, when the corresponding amount of transferring accounts of transfer request is 60,000 yuan, if first transferring accounts node of being randomly assigned of system
Credit grade be C, i.e., first transfers accounts, and transfer amounts that node can undertake are 50,000 yuan, number of transferring accounts corresponding less than transfer request
Volume, then, it is also necessary to it is randomly assigned second and transfers accounts node.
If the second credit grade for transferring accounts node that system is randomly assigned is E, i.e., second transfers accounts, and node can undertake turns
The account amount of money is 10,000 yuan, due to second transfer accounts node and first transfer accounts transfer amounts that node can undertake total value be 60,000 yuan,
Number of transferring accounts corresponding not less than transfer request, then then by first transfer accounts node and second transfer accounts node shared transfer accounts appoint
Business.
First transfer accounts node and second transfer accounts node transfer accounts after, alliance can be recorded in the data of money transfer transactions
On each node of block chain.Further, it is also possible to according to transfer procedure update first transfer accounts node and second transfer accounts node letter
Use grade.
It transfers accounts for node by second, if the second Credit Rank Appraisal S for transferring accounts node is 18 before transferring accounts, credit
Grade is E, meets timeliness in the second node of transferring accounts and requires to carry out 1 Wan Yuanhou that transfers accounts, the second Credit Rank Appraisal S for transferring accounts node
21 will be recalculated as, at this point, the second credit grade for transferring accounts node will be updated to D, it is 20,000 to the transfer amounts that should bear
Member.
As shown in Fig. 2, in an embodiment of the present invention, a kind of specific steps of the transfer account method based on block chain are such as
Under:
Step S201 generates block chain alliance.
Step S202 is randomly assigned a node in alliance's block chain as first turn if receiving transfer request
Account node, and the credit grade for transferring accounts node according to first obtains it and first transfers accounts amount.
After step S202, step S203 is executed, judges whether transfer request is greater than first and transfers accounts amount.
If it is not, then follow the steps S204, transfer accounts node processing transfer request using first.
If so, then follow the steps S205, a node being randomly assigned in alliance's block chain is transferred accounts node as second, and
The credit grade for transferring accounts node according to second obtains it and second transfers accounts amount.
After step S205, step S206 is executed, whether judgement number of transferring accounts is greater than first and transfers accounts amount and second turn
The sum of account amount.
If it is not, then follow the steps S207, transferred accounts node processing transfer request using the first node and second of transferring accounts.
If so, then follow the steps S208, a node being randomly assigned in alliance's block chain is transferred accounts node as third, and
It obtains its third according to the transfer accounts credit grade of node of third and transfers accounts amount.
After step S208, execute step S209, judgement transfer accounts number whether be greater than first transfer accounts amount, second transfer accounts
Amount and third are transferred accounts the sum of amount.
If it is not, then follow the steps S210, using first transfer accounts node, second transfer accounts node and third node processing of transferring accounts turns
Account request.
If so, thening follow the steps S211, other processing are carried out.Here, other processing can be to continue with and be randomly assigned the 4th
It transfers accounts node and node of more transferring accounts, until the sum of the amount of transferring accounts for all nodes of transferring accounts that these are randomly assigned is greater than
Equal to above-mentioned amount of transferring accounts, these node processing transfer requests of transferring accounts then are utilized.
The transfer account method based on block chain of the embodiment of the present invention is obtained according to the credit grade of the node of alliance's block chain
Amount of transferring accounts is taken, and the node for handling transfer request is determined according to amount of transferring accounts, wholesale is transferred accounts and is decomposed into different nodes
The small amount transfers of payment reduce the timeliness that ensure that transfer operation while transferring accounts risk.
The device of the invention embodiment introduced below can be used for executing the above-mentioned side of transferring accounts based on block chain of the present invention
Method.
As shown in figure 3, a kind of transfer device 300 based on block chain provided according to embodiments of the present invention includes:
Generation unit 302, for generating alliance's block chain, alliance's block chain includes multiple nodes.
First acquisition unit 304, if for receiving transfer request, be randomly assigned in alliance's block chain one
Node is transferred accounts node as first, and the credit grade for transferring accounts node according to described first obtains it and first transfers accounts amount.
Second acquisition unit 306, if transferring accounts amount for the corresponding number of transferring accounts of the transfer request greater than described first,
Another node being then randomly assigned in alliance's block chain is transferred accounts node as second, and is transferred accounts node according to described second
Credit grade obtain it and second transfer accounts amount.
It transfers accounts unit 308, if amount and described second of transferring accounts for the number of transferring accounts less than or equal to described first is transferred accounts
The sum of amount is then transferred accounts transfer request described in node processing using the described first node and described second of transferring accounts.
In the technical solution of the embodiment of the present invention, by generating alliance's block chain, in the corresponding number of transferring accounts of transfer request
Greater than first in the alliance's block chain being randomly assigned transfer accounts node transfer accounts amount when, the section that is randomly assigned in alliance's block chain
Point is transferred accounts node for second, according to first transfer accounts node and second transfer accounts node amount of transferring accounts determine scheme of transferring accounts, can subtract
Special associated agency or liquidation organization is entrusted to handle the intermediate treatment process of transfer request less, while extensive fund can decompose
It for the relatively small fund of number, and is transferred accounts by multiple nodes, reduces the risk of single block trade, trade simultaneously
Record is distributed in multiple alliance's block chain nodes and is not easy to distort, and realizes high timeliness, the low-risk of money transfer transactions between enterprise.
An exemplary embodiment of the present invention, with reference to Fig. 4, compare the transfer device 300 based on block chain, is based on area
The transfer device 400 of block chain not only includes generation unit 302, first acquisition unit 304, first acquisition unit 306, unit of transferring accounts
308, it further include updating unit 410.
Updating unit 410 is used for after handling the transfer request, is updated described first and is transferred accounts node and second turn described
The credit grade of account node.
Updating the credit grade that described first transfers accounts node includes: that the undertaking for transferring accounts node according to described first is transferred accounts number
Information, undertaking, which are transferred accounts, amount information and to be accepted age information of transferring accounts and updates the described first credit grade for transferring accounts node.
Updating the credit grade that described second transfers accounts node includes: that the undertaking for transferring accounts node according to described second is transferred accounts number
Information, undertaking, which are transferred accounts, amount information and to be accepted age information of transferring accounts and updates the described second credit grade for transferring accounts node.
In embodiments of the present invention, if the described first node of transferring accounts delay twice occurs and transfers accounts or do not transfer accounts feelings once
Condition then removes the described first node of transferring accounts from alliance's block chain.Equally, if described second transfers accounts node or other
There is delay twice and transfers accounts or do not transfer accounts situation once in node, then transfers accounts node or other nodes from described for described second
It is removed in alliance's block chain.
If certain node appearance delay twice is transferred accounts or situation of not transferring accounts once, it is meant that the credit grade of the node will be big
It is big to reduce, so that it cannot undertaking function of transferring accounts again, being put on the blacklist and being removed out alliance's block chain.
After evaluating the volume credit grade of node and rejecting the bad enterprise's node of credit, it is ensured that in alliance's block chain
Node credit it is higher, transfer accounts timeliness to improve.
Since each functional module of the transfer device based on block chain of example embodiments of the present invention is based on above-mentioned
The step of example embodiment of the transfer account method of block chain, is corresponding, therefore for undisclosed thin in apparatus of the present invention embodiment
Section please refers to the embodiment of the above-mentioned transfer account method based on block chain of the present invention.
The transfer device based on block chain of the embodiment of the present invention is obtained according to the credit grade of the node of alliance's block chain
Amount of transferring accounts is taken, and the node for handling transfer request is determined according to amount of transferring accounts, wholesale is transferred accounts and is decomposed into different nodes
The small amount transfers of payment reduce the timeliness that ensure that transfer operation while transferring accounts risk.
Below with reference to Fig. 5, it illustrates the computer systems 500 for the electronic equipment for being suitable for being used to realize the embodiment of the present invention
Structural schematic diagram.The computer system 500 of electronic equipment shown in Fig. 5 is only an example, should not be to the embodiment of the present invention
Function and use scope bring any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in
Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and
Execute various movements appropriate and processing.In RAM 503, it is also stored with various programs and data needed for system operatio.CPU
501, ROM 502 and RAM 503 is connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to bus
504。
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.;
And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because
The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon
Computer program be mounted into storage section 508 as needed.
Particularly, according to an embodiment of the invention, may be implemented as computer above with reference to the process of flow chart description
Software program.For example, the embodiment of the present invention includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 509, and/or from detachable media
511 are mounted.When the computer program is executed by central processing unit (CPU) 501, executes and limited in the system of the application
Above-mentioned function.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in unit involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situation
Under do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be
Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs
When standby execution, so that the electronic equipment realizes such as the above-mentioned transfer account method as described in the examples based on block chain.
For example, the electronic equipment may be implemented as shown in Figure 1: step S102 generates alliance's block chain, described
Alliance's block chain includes multiple nodes;Step S104 is randomly assigned in alliance's block chain if receiving transfer request
One node is transferred accounts node as first, and the credit grade for transferring accounts node according to described first obtains it and first transfers accounts amount;
Step S106, the amount if the corresponding number of transferring accounts of the transfer request is transferred accounts greater than described first, is randomly assigned the alliance
Another node in block chain is transferred accounts node as second, and the credit grade for transferring accounts node according to described second obtain its
Two transfer accounts amount;Step S108, if the number of transferring accounts is transferred accounts less than or equal to described first, amount and described second is transferred accounts amount
The sum of, then it is transferred accounts transfer request described in node processing using the described first node and described second of transferring accounts.
For another example, each step as shown in Figure 2 may be implemented in the electronic equipment.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, touch control terminal or network equipment etc.) executes embodiment according to the present invention
Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the present invention
Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.
Claims (10)
1. a kind of transfer account method based on block chain characterized by comprising
Alliance's block chain is generated, alliance's block chain includes multiple nodes;
If receiving transfer request, a node being randomly assigned in alliance's block chain is transferred accounts node as first, and
The credit grade for transferring accounts node according to described first obtains it and first transfers accounts amount;
The amount if the corresponding number of transferring accounts of the transfer request is transferred accounts greater than described first, is randomly assigned alliance's block chain
In another node transfer accounts node as second, and the credit grade for transferring accounts node according to described second obtains it and second transfers accounts
Amount;
If the number of transferring accounts is transferred accounts less than or equal to described first, amount and described second is transferred accounts the sum of amount, utilizes described the
One node and described second of transferring accounts is transferred accounts transfer request described in node processing.
2. the method according to claim 1, wherein the method also includes:
After handling the transfer request, update described first transfer accounts node and described second transfer accounts node credit grade.
3. according to the method described in claim 2, the credit grade of node it is characterized in that, update described first is transferred accounts, comprising:
The undertaking for transferring accounts node according to described first transfer accounts number information, accept and transfer accounts amount information and undertaking is transferred accounts age information
Update the described first credit grade for transferring accounts node.
4. the method according to claim 1, wherein the method also includes:
If the described first node of transferring accounts delay twice occurs and transfers accounts or do not transfer accounts situation once, described first is transferred accounts node
It is removed from alliance's block chain.
5. the method according to claim 1, wherein the method also includes:
By the corresponding transfer data distributed storage of the transfer request to multiple nodes in the block chain.
6. the method according to claim 1, wherein the method also includes:
The corresponding difference of different credit grades is preset to transfer accounts amount.
7. a kind of transfer device based on block chain characterized by comprising
Generation unit, for generating alliance's block chain, alliance's block chain includes multiple nodes;
First acquisition unit a, if node being randomly assigned in alliance's block chain is made for receiving transfer request
It transfers accounts node for first, and the credit grade for transferring accounts node according to described first obtains it and first transfers accounts amount;
Second acquisition unit, if transferring accounts amount for the corresponding number of transferring accounts of the transfer request greater than described first, at random
The credit specified another node in alliance's block chain to transfer accounts node as second, and transfer accounts node according to described second
Grade obtains it and second transfers accounts amount;
Transfer accounts unit, if transfer accounts for the number of transferring accounts less than or equal to described first amount and described second transfer accounts amount it
With then transferred accounts transfer request described in node processing using the described first node and described second of transferring accounts.
8. device according to claim 7, which is characterized in that described device further include:
Updating unit is transferred accounts node for after handling the transfer request, updating the described first node and described second of transferring accounts
Credit grade.
9. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is executed by processor
The Shi Shixian transfer account method for example described in any one of claims 1 to 6 based on block chain.
10. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs, when one or more of programs are by one or more of processing
When device executes, so that one or more of processors are realized such as the chain described in any one of claims 1 to 6 based on block
Transfer account method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910676334.3A CN110414955A (en) | 2019-07-25 | 2019-07-25 | Transfer account method, device, medium and electronic equipment based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910676334.3A CN110414955A (en) | 2019-07-25 | 2019-07-25 | Transfer account method, device, medium and electronic equipment based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110414955A true CN110414955A (en) | 2019-11-05 |
Family
ID=68363125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910676334.3A Pending CN110414955A (en) | 2019-07-25 | 2019-07-25 | Transfer account method, device, medium and electronic equipment based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110414955A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108764876A (en) * | 2018-05-29 | 2018-11-06 | 深圳市元征科技股份有限公司 | A kind of transaction processing method and server |
CN108764875A (en) * | 2018-05-17 | 2018-11-06 | 深圳前海微众银行股份有限公司 | Transfer account method, device, system and the computer readable storage medium of block chain |
CN108876606A (en) * | 2018-05-29 | 2018-11-23 | 阿里巴巴集团控股有限公司 | Assets transfer method and device, electronic equipment |
CN109102389A (en) * | 2018-07-27 | 2018-12-28 | 深圳前海微众银行股份有限公司 | Financial asset circulation method, apparatus and storage medium in supply chain |
CN109447804A (en) * | 2018-10-30 | 2019-03-08 | 杭州复杂美科技有限公司 | Transaction shunt method, equipment and storage medium |
-
2019
- 2019-07-25 CN CN201910676334.3A patent/CN110414955A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108764875A (en) * | 2018-05-17 | 2018-11-06 | 深圳前海微众银行股份有限公司 | Transfer account method, device, system and the computer readable storage medium of block chain |
CN108764876A (en) * | 2018-05-29 | 2018-11-06 | 深圳市元征科技股份有限公司 | A kind of transaction processing method and server |
CN108876606A (en) * | 2018-05-29 | 2018-11-23 | 阿里巴巴集团控股有限公司 | Assets transfer method and device, electronic equipment |
CN109102389A (en) * | 2018-07-27 | 2018-12-28 | 深圳前海微众银行股份有限公司 | Financial asset circulation method, apparatus and storage medium in supply chain |
CN109447804A (en) * | 2018-10-30 | 2019-03-08 | 杭州复杂美科技有限公司 | Transaction shunt method, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3542336B1 (en) | Blockchain data protection based on account note model with zero-knowledge proof | |
CN110088793B (en) | Data isolation in a blockchain network | |
CN107924389B (en) | System and method for secure traceability of distributed transaction databases | |
US10643208B2 (en) | Digital payment system | |
CN109299939A (en) | Method and system for the trading processing with complete password accountability | |
US20210374853A1 (en) | Atomically swapping ownership certificates | |
CN109314643A (en) | Transacter, transaction methods and the program for it | |
WO2019165027A1 (en) | Systems and methods for private settlement of distributed ledger transactions | |
CN109863521A (en) | Data isolation in block chain network | |
CN112204557A (en) | System and method for automated decentralized multilateral transaction processing | |
CN109035019A (en) | Bill business method, system, computer equipment and storage medium | |
CN103339636A (en) | Creation of signatures for authenticating applications | |
CN107016544B (en) | Cross-entity authentication rule management | |
CN109493047A (en) | A kind of commission settlement method, device and terminal device based on block chain | |
CN110659887A (en) | Automatic transaction processing system and method based on block chain | |
CN109993528A (en) | It is a kind of for managing the method and apparatus of committal charge | |
US20190386968A1 (en) | Method to securely broker trusted distributed task contracts | |
CN109308211A (en) | For handling the method, apparatus and storage medium of Transaction Information in block chain | |
CN109657492A (en) | Data base management method, medium and electronic equipment | |
CN110046900A (en) | Invoice based on block chain cancels method and apparatus, electronic equipment | |
CN109388957A (en) | Information transfer method, device, medium and electronic equipment based on block chain | |
CN109767217A (en) | Digital asset, server, terminal and digital asset method of commerce | |
CN109034657A (en) | Process path finding method, device, medium and electronic equipment based on block chain | |
CN111899111A (en) | Capital matching method, device, server and storage medium | |
EP3477570A1 (en) | Method and device facilitating expansion of primary payment instruments |
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: 20191105 |
|
RJ01 | Rejection of invention patent application after publication |