Summary of the invention
In order to which the distribution deduction information for solving the problems, such as that payment platform reports is incredible, this specification embodiment provides one kind
Receipt on account record processing method and system, technical solution based on block chain intelligence contract are as follows:
According to the 1st of this specification embodiment the aspect, a kind of receipt on account record processing based on block chain intelligence contract is provided
Method, form block chain network multiple nodes in presence service at least one business side service node and serve at least
The management node of one manager, which comprises
The service node obtains the receipt on account publication transaction of any business side's building, and broadcasts institute to the block chain network
State receipt on account publication transaction;The receipt on account publication transaction includes the receipt on account that the business root is generated according to the trade company's receipt on account event monitored
Record;
The multiple node calls the intelligent contract disposed in advance, and is remembered according to the receipt on account in receipt on account publication transaction
Record executes the distribution deduction logic recorded in the intelligent contract, obtains the distribution deduction amount of money;
The corresponding implementing result of the receipt on account publication transaction is written in the distribution deduction amount of money by the multiple node;
The receipt on account is issued transaction implementing result write area corresponding with receipt on account publication transaction by the multiple node
Block chain, so that at least one described manager is consulted by the management node.
According to the 2nd of this specification embodiment the aspect, a kind of receipt on account record processing based on block chain intelligence contract is provided
Method, form block chain network multiple nodes in presence service at least one business side service node and serve at least
The management node of one manager, which comprises
What the service node obtained any business side's building includes the business root according to the trade company's receipt on account event monitored
Transaction is issued in the receipt on account of the receipt on account record of generation, and broadcasts the receipt on account publication transaction to the block chain network, so that described
Multiple nodes call the intelligent contract disposed in advance, are recorded according to the receipt on account in receipt on account publication transaction, and execute the intelligence
The distribution deduction logic recorded in energy contract, obtains the distribution deduction amount of money, and then make the multiple node that the distribution to be deducted a percentage
The amount of money is written receipt on account publication and trades corresponding implementing result, finally make the multiple node by receipt on account publication transaction with
The receipt on account issues corresponding implementing result of trading and block chain is written, and saves so that at least one described manager passes through the management
Point is consulted.
According to the 3rd of this specification embodiment the aspect, a kind of receipt on account record processing based on block chain intelligence contract is provided
Method, form block chain network multiple nodes in presence service at least one business side service node and serve at least
The management node of one manager, which comprises
The multiple node calls the intelligent contract disposed in advance, and is recorded according to the receipt on account in receipt on account publication transaction, holds
The distribution deduction logic recorded in the row intelligent contract, obtains the distribution deduction amount of money;The receipt on account publication transaction is the industry
Business node obtains and to block chain network broadcast, and the receipt on account publication transaction is that any business side constructs, the receipts
Account publication transaction includes the receipt on account record that the business root is generated according to the trade company's receipt on account event monitored;
The corresponding implementing result of the receipt on account publication transaction is written into the distribution deduction amount of money;
Block chain is written into receipt on account publication transaction implementing result corresponding with receipt on account publication transaction, so as to described
At least one manager is consulted by the management node.
According to the 4th of this specification embodiment the aspect, a kind of receipt on account record processing based on block chain intelligence contract is provided
System, including the block chain network being made of multiple nodes, presence service is at least one business side in the multiple node
Service node and the management node for serving at least one manager;
The service node, obtains the receipt on account publication transaction of any business side's building, and broadcasts to the block chain network
The receipt on account publication transaction;The receipt on account publication transaction includes the receipts that the business root is generated according to the trade company's receipt on account event monitored
Account record;
The multiple node calls the intelligent contract disposed in advance, and is remembered according to the receipt on account in receipt on account publication transaction
Record executes the distribution deduction logic recorded in the intelligent contract, obtains the distribution deduction amount of money;The distribution deduction amount of money is write
Enter the corresponding implementing result of the receipt on account publication transaction;Receipt on account publication transaction issued with the receipt on account to transaction is corresponding holds
Block chain is written in row result, so that at least one described manager is consulted by the management node.
According to the 5th of this specification embodiment the aspect, a kind of receipt on account record processing based on block chain intelligence contract is provided
Device, form block chain network multiple described devices in presence service at least one business side service node with serve
The management node of at least one manager, described device include:
Module is obtained, when described device is service node, obtain any business side's building includes the business root evidence
The receipt on account publication transaction for the receipt on account record that the trade company's receipt on account event monitored generates, and the receipts are broadcasted to the block chain network
Account publication transaction;
Execution module is called the intelligent contract disposed in advance, and is recorded according to the receipt on account in receipt on account publication transaction, and institute is executed
The distribution deduction logic recorded in intelligent contract is stated, the distribution deduction amount of money is obtained;The receipt on account publication transaction is the business section
Point obtains and to block chain network broadcast, and the receipt on account publication transaction is that any business side constructs, the receipt on account hair
Cloth transaction includes the receipt on account record that the business root is generated according to the trade company's receipt on account event monitored;
Card module is deposited, the corresponding implementing result of the receipt on account publication transaction is written into the distribution deduction amount of money;
Receipt on account publication transaction implementing result corresponding with receipt on account publication transaction is written block chain writing module
Block chain, so that at least one described manager is consulted by management node.
Technical solution provided by this specification embodiment introduces in block chain network and serves at least one business side
The service node of (such as payment platform) and the management node for serving at least one manager (such as Central Bank), payment platform can incite somebody to action
The receipt on account record of trade company, which is submitted, is given to block chain network, by each node in block chain network based on the intelligent contract disposed in advance
Determine that the distribution that is related to of receipt on account record is deducted a percentage the amount of money, receipt on account record and the corresponding distribution deduction amount of money can be also written into
Block chain carries out depositing card.
Following effect so may be implemented:
1, each node in block chain network can execute the distribution deduction logic being expressly recited in intelligent contract in a distributed manner,
It may insure that it is consistent and believable that the calculated distribution deduction amount of money is recorded for same receipt on account.
2, since each receipt on account record and the corresponding distribution deduction amount of money have deposited card in block chain, manager can be with
It is consulted at any time by management node.That is, by this specification embodiment, it can be with more timely, more believable side
Formula meets the regulatory requirement for distribution deduction.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
This specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Specific embodiment
It is to be responsible for recording for each receipt on account by payment platform, calculating should be in existing receipt on account record processing method
The receipt on account records the distribution deduction amount of money that the retail trader being related to provides, and then by receipt on account record and the associated distribution deduction amount of money
It is reported to management organization.But this method suffers from the drawback that
1, payment platform reports receipt on account record often to lag with the corresponding distribution deduction amount of money to management organization, management
Mechanism is difficult to every receipt on account record of timely learning and records the associated distribution deduction amount of money with every receipt on account.
2, since the distribution deduction amount of money is voluntarily determined by payment platform, the distribution deduction that payment platform reports
The amount of money is not necessarily believable.For example, payment platform is recorded for some receipt on account, can be made a false report and is associated with receipt on account record
Distribution deduct a percentage the amount of money, but will not will actually make a false report the funds release of part to retail trader, but divert to other purpose.Assuming that some
The receipt on account amount of money in receipt on account record is 100 yuan, and according to rule, (service charge is the 0.1% of the receipt on account amount of money, and the distribution deduction amount of money is hand
10% to continue to pay dues), the receivable service charge of payment platform is 0.1 yuan, and payment platform needs further exist for the distribution for being issued to retail trader
The amount of money of deducting a percentage is 0.01 yuan.But payment platform can make a false report the receipt on account to management organization records the associated distribution deduction amount of money
It is 0.05 yuan, false part (0.04 yuan) is diverted to other purpose, for example for investing in stock, this is in fact irregularity.
For this purpose, receipt on account record processing is carried out in a manner of decentralization in one or more embodiments of this specification,
Specifically, receipt on account is recorded to each node being broadcast in block chain network, wherein include the industry for serving business side in each node
It is engaged in node (such as payment platform), also includes the management node for serving manager.Each node in block chain network can basis
The intelligent contract disposed in advance independently executes distribution deduction logic in a distributed manner, calculates the believable distribution deduction amount of money.
Also, receipt on account record and receipt on account can be recorded associated distribution deduction amount of money write-in block chain and carry out depositing card by each node, also
It is to say, management node always can at the first time record each receipt on account and believable distribution deduction amount of money deposit is local, convenient
Manager consults at any time.
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
Below in conjunction with attached drawing, the technical solution that each embodiment of this specification provides is described in detail.
Fig. 1 is a kind of stream for receipt on account record processing method based on block chain intelligence contract that this specification embodiment provides
Journey schematic diagram, includes the following steps:
S100: the service node in block chain network obtains the receipt on account publication transaction of any business side building, and to described
Block chain network broadcasts the receipt on account publication transaction.
In this specification embodiment, block chain network specifically can be alliance's chain network and (be also possible to publicly-owned link network
Network), it is made of multiple nodes.When the block chain network is alliance's chain network, includes at least and served at least in network
The service node of one business side and the management node for serving at least one manager.Wherein, business side can be payment
Platform or other manage the mechanism of online receipt on account business, manager can be financial regulator (such as Central Bank) or other supervisors
Structure.
In practical applications, trade company needs the login account at business side, and (such as using the receipt on account tool of business side's offer
Receipt on account two dimensional code, barcode scanning gun, receipt on account client etc.) carry out receipt on account.Business side once monitors trade company's receipt on account event, will basis
The trade company's receipt on account event monitored generates receipt on account record.Receipt on account record generally comprises but is not limited to following information: the trade company of trade company
Mark, the receipt on account amount of money, the identity of receipt on account time, requestee.
Business side will construct the receipt on account publication transaction comprising receipt on account record whenever generating a receipt on account record, will
The service node in block chain network is submitted in receipt on account publication transaction.
It should be noted that transaction (transaction) described in this specification, refers to that user passes through block chain
Client creation, and need finally to be distributed to data in the distributed data base of block chain.Transaction is block chain association
A kind of data structure arranged in view, a data will be stored in block chain, it is necessary to be packaged into transaction.
S102: multiple nodes of composition block chain network call the intelligent contract disposed in advance, and are sent out according to the receipt on account
Receipt on account record in cloth transaction executes the distribution deduction logic recorded in the intelligent contract, obtains the distribution deduction amount of money.
In this specification embodiment, need to dispose intelligent contract, institute on each node in advance in block chain network
Intelligent contract is stated at least to need to record for being generated and the associated distribution deduction amount of money of the business record according to a business record
Code logic (herein by it be known as distribute deduction logic).
Since the intelligent contract disposed on each node in the block chain network is consistent, for same
Business record, each node execute the obtained business record that is associated with of distribution deduction logic that the intelligent contract is recorded
The distribution deduction amount of money is also consistent, and any node is all difficult to make a false report the distribution deduction amount of money.
It should be noted that, in this document, the multiple node executes XX operation, actually refer in the multiple node
Each node executes XX operation respectively.
S104: the receipt on account publication transaction pair is written in the distribution deduction amount of money by multiple nodes of composition block chain network
The implementing result answered.
S106: multiple nodes of composition block chain network are corresponding with receipt on account publication transaction by receipt on account publication transaction
Implementing result be written block chain.
In block chain field, it is well known that assuming that a transaction needs that at least one code in intelligent contract is called to patrol
Volume, it means that, each node is the input of intelligent contract with the transaction, at least one code executed in intelligent contract is patrolled
At least one output (or return value) obtained after volume is the corresponding implementing result of the transaction.It trades corresponding implementing result
Also it can carry out depositing card as transaction is written into block chain together.
In this specification embodiment, the distribution deduction amount of money that each node needs to be calculated is written the receipt on account and sends out
The corresponding implementing result of cloth transaction, then, distribution deduction transaction and the distribution are deducted a percentage, and transaction is corresponding to execute knot
Block chain is written in fruit, so that at least one manager that the management node is serviced consults described point by the management node
The corresponding implementing result of pin deduction transaction, that is, consult the receipt on account record and the receipt on account records associated distribution deduction gold
Volume.
By method shown in FIG. 1, following effect may be implemented:
1, each node in block chain network can execute the distribution deduction logic being expressly recited in intelligent contract in a distributed manner,
It may insure that it is consistent and believable that the calculated distribution deduction amount of money is recorded for same receipt on account.
2, since each receipt on account record and the corresponding distribution deduction amount of money have deposited card in block chain, manager can be with
It is consulted at any time by management node.That is, by this specification embodiment, it can be with more timely, more believable side
Formula meets the regulatory requirement for distribution deduction.
In this specification embodiment, retail trader's mark can also be recorded in the intelligence contract and obtains logic, is used for root
The retail trader's mark for the retail trader that the associated distribution deduction of the business record should provide is obtained according to some business record.In this way,
The multiple node is issued before corresponding implementing result write-in block chain that receipt on account publication is traded according to the receipt on account
Receipt on account record in transaction executes the retail trader's mark recorded in the intelligent contract and obtains logic, to obtain receivable described point
Retail trader's mark of the retail trader for the amount of money of deducting a percentage is sold, and the receipt on account is written into retail trader mark and issues corresponding hold of trading
Row result.It not only include that receipt on account records associated distribution deduction in corresponding implementing result in this way, the receipt on account publication is traded
The amount of money further comprises the retail trader's mark for the retail trader that the distribution deduction amount of money should be provided.
Specifically, the mode of retail trader's mark of the retail trader of the receivable distribution deduction amount of money of acquisition includes but is not limited to
Following two:
1, the corresponding relationship of multiple groups trade company and retail trader can be locally stored in each node of block chain network in advance.Needle
To some trade company, corresponding retail trader, the trade company is actually the distribution for developing trade company login account on payment platform
Quotient.Node when executing retail trader's mark in intelligent contract and obtaining logic, according to receipt on account record in the merchant identification recorded, look into
The corresponding relationship for asking local trade company and retail trader obtains the corresponding retail trader's mark of the merchant identification recorded in receipt on account record.
2, it can be obtained using block chain prophesy machine technology (Oracle), node in the retail trader's mark executed in intelligent contract
When taking logic, retail trader's mark of the retail trader of the receivable distribution deduction amount of money of payment platform storage is obtained outside chain.
In addition, the receipt on account is being issued corresponding implementing result of trading by the management node in specification embodiment
It is written after block chain, gives out information and prompt at least one manager transmission receipt on account.For example, the management node is to pipe
The receipt on account that reason side is sent gives out information and can be, and " payment platform A has submitted a receipt on account record, and the receipt on account amount of money is 100 yuan, association
Distribution deduction the amount of money be 0.01 yuan ".
In practice, payment platform not only can be issued to retail trader for the part of service charge as distribution deduction sometimes, also
Trade company can be returned to using the part of service charge as trade company's rebating.For example, can specify that for any receipt on account, payment platform
Service charge is the 0.1% of the receipt on account amount of money, and the distribution deduction amount of money is the 0.1% of service charge, and trade company's rebating amount of money is service charge
0.05%, so, it is assumed that the receipt on account amount of money is 100 yuan, then service charge is 0.1 yuan, 0.01 yuan of the amount of money of distribution deduction, trade company's rebating
The amount of money is 0.005 yuan.So, by this receipt on account, payment platform obtains 0.1-0.01-0.005=0.085 member in fact, and retail trader is real
0.1 yuan is obtained, trade company obtains 100-0.1+0.005=99.905 member in fact.
For this purpose, trade company's rebating logic can also be recorded in the intelligence contract.Trade company's rebating logic refers to according to one
A business record generates the code logic with the associated trade company's rebating amount of money of the business record.In this way, the multiple node is being incited somebody to action
The receipt on account publication is traded before corresponding implementing result write-in block chain, is remembered according to the receipt on account in receipt on account publication transaction
Record executes the trade company's rebating logic recorded in the intelligent contract, obtains trade company's rebating amount of money, trade company's rebating amount of money is write
Enter the corresponding implementing result of the receipt on account publication transaction.As it can be seen that receipt on account publication trade corresponding implementing result can be not only
It can also include trade company's rebating amount of money including the distribution deduction amount of money.
Further, service charge logic can also be recorded in the intelligent contract, the service charge logic refers to according to one
A business record generates the code logic with the associated commission amount of the business record.In this way, the receipt on account publication transaction pair
The implementing result answered can also include commission amount.
In addition, manager inquires receipt on account publication transaction by management node and receipt on account is sent out in this specification embodiment
The trade mode of corresponding implementing result of cloth can have the following two kinds:
Mode 1: any manager can send management inquiry request to management node, and the management inquiry request includes should
The querying condition that manager specifies, management node can directly return to the manager according to the querying condition and meet the inquiry
The receipt on account publication transaction and/or the corresponding implementing result of receipt on account publication transaction of condition.
Mode 2: the management node obtains the management inquiry transaction of any manager building, and to the block chain network
The management inquiry transaction is broadcasted, the management inquiry transaction includes the querying condition that the manager specifies;The multiple node
The intelligent contract disposed in advance is called, and according to the querying condition in the management inquiry transaction, is executed in the intelligent contract
The query logic of record, to determine the receipt on account publication transaction for meeting the querying condition in the management inquiry transaction in block chain
And/or the corresponding implementing result of receipt on account publication transaction;Query result is returned to the manager by the management node.
It in mode 2, is inquired by intelligent contract, manager's query event can be managed to the shape of inquiry transaction
Formula deposits card in block chain.Further, since the implementation procedure of the code logic in intelligent contract generally also can be in the form of log
Block chain is written, therefore, is equivalent to and the process that the querying condition specified according to manager is inquired also is deposited into card in block chain
In.
It can also include serving at least one in multiple nodes of the block chain network in this specification embodiment
The merchant node of trade company.Trade company can receive receipt on account by merchant node and give out information, and inquire receipt on account by merchant node
Record carries out reconciliation.
Specifically, the merchant node is after corresponding implementing result write-in block chain that receipt on account publication is traded,
It gives out information and is prompted to the transmission receipt on account of at least one trade company.
Similar with manager, receipt on account publication transaction is inquired by merchant node by trade company and corresponding hold of trading is issued in receipt on account
The mode of row result also there are two types of.Wherein, in such a way that intelligent contract is inquired are as follows:
Transaction is inquired by the trade company of the available any trade company's building of merchant node, and broadcasts to the block chain network
Trade company's inquiry transaction;Trade company's inquiry transaction includes the querying condition that the trade company specifies;The multiple node calls pre-
The intelligent contract first disposed, and the querying condition in transaction is inquired according to the trade company, it is recorded in the execution intelligent contract
Query logic, with determined in block chain meet the querying condition in trade company inquiry transaction receipt on account publication transaction and/or
The corresponding implementing result of receipt on account publication transaction;Query result is returned to the trade company by the merchant node.
It is inquired by intelligent contract, trade company's query event can be deposited into card in block in the form of trade company's inquiry transaction
In chain, the process that the querying condition specified according to trade company is inquired can also be deposited to card in block chain.
In addition, can also include the distribution section for serving at least one retail trader in multiple nodes of the block chain network
Point.Similar, retail trader can receive receipt on account by distribution node and give out information, and pass through distribution querying node receipt on account record
The associated distribution deduction amount of money.
Specifically, the distribution node is after corresponding implementing result write-in block chain that receipt on account publication is traded,
It gives out information and is prompted to the transmission receipt on account of at least one retail trader.
About inquiry, transaction is inquired in the distribution of the available any retail trader building of distribution node, and to the area
Block chain network broadcasts the distribution inquiry transaction;The distribution inquiry transaction includes the querying condition that the retail trader specifies;It is described
Multiple nodes call the intelligent contract disposed in advance, and according to the querying condition in the distribution inquiry transaction, execute the intelligence
The query logic recorded in energy contract, to determine the receipt on account for meeting the querying condition in the distribution inquiry transaction in block chain
Publication transaction and/or the corresponding implementing result of receipt on account publication transaction;Query result is returned to the retail trader by the merchant node.
In this specification embodiment, retail trader can also be mentioned by the corresponding distribution for being issued to oneself of distribution node application
At being settled accounts.Specifically, the clearing application transaction of the available any retail trader building of the distribution node, and to the area
Block chain network broadcasts the clearing application transaction;The multiple node can call the intelligent contract disposed in advance, and according to institute
Clearing application transaction is stated, the clearing check logic recorded in the intelligent contract is executed, to refer to for clearing application transaction
Fixed receipt on account publication transaction is verified;If verification passes through, the multiple node instruction and the retail trader have cooperative relationship
Business root settled accounts according to clearing application transaction to the retail trader, and block is written into clearing application transaction
Chain.
It needs to be illustrated following several situations herein:
Situation 1: during may include the specified clearing of the retail trader in the clearing application transaction.For example, the clearing
Period can be in January, 2019~2019 year March.Clearing application transaction is submitted to distribution node by the retail trader, is equivalent to this point
Selling quotient applies payment platform by the associated distribution deduction gold of creating during clearing, receipt on account publication related with oneself exchange
Volume is issued to oneself.
In situation 1, it is equivalent to during the clearing in the clearing application transaction and specifies the receipt on account to be settled accounts publication
Transaction.It is verified, is implemented for the specified receipt on account publication transaction of the clearing application transaction are as follows:
It determines during creation time falls into the clearing and corresponding implementing result includes retail trader's mark of the retail trader
Receipt on account issue transaction;The distribution deduction amount of money that the determining corresponding implementing result of each receipt on account publication transaction of judgement is included
Whether all it was not settled;If so, verification passes through;Do not pass through if it is not, then verifying.
Situation 2: may include at least one specified transaction Hash of the retail trader in the clearing application transaction.For institute
It states the specified receipt on account publication transaction of clearing application transaction to be verified, implement are as follows:
For each transaction Hash that the clearing application transaction includes, determine that the corresponding receipt on account publication of the transaction Hash is handed over
Easily;Judge whether all the retail trader comprising the retail trader identifies the determining corresponding implementing result of each receipt on account publication transaction;
Do not pass through if it is not, then verifying;If so, further the determining corresponding implementing result of each receipt on account publication transaction of judgement is wrapped
Whether the distribution deduction amount of money contained was not all settled, if so, verification passes through, did not passed through if it is not, then verifying.
Namely institute, in situation 2, if retail trader specifies several receipt on account publication transaction to be settled accounts, first
It is whether really related with the retail trader that specified these receipts on account publication transaction of retail trader should be verified.If all related, it is also necessary to
Further verify whether these receipts on account publication transaction was settled.
Situation 3: will instruct in the multiple node has the business root of cooperative relationship according to the clearing with the retail trader
After application transaction is settled accounts to the retail trader, if payment platform clearing are completed, it can submit and settle accounts to block chain network
Transaction is completed, carries out depositing card.It is complete to the retail trader according to clearing application transaction for characterizing that transaction is completed in the clearing
At clearing.In this way, prevent retail trader for some receipt on account publication transaction repeat request clearing.
Specifically, the clearing that the service node obtains that the business side for having cooperative relationship with the retail trader constructs are completed to hand over
Easily, and to the block chain network clearing application transaction is broadcasted;The clearing are completed transaction write-in by the multiple node
Block chain.
Situation 4: retail trader, can also be using such for some receipt on account publication transaction repeat request clearing in order to prevent
Mode, i.e., the multiple node need to obtain the clearing of payment platform feedback before it will settle accounts application transaction write-in block chain
Complete as a result, otherwise, will not will clearing application transaction write-in block chain.
Specifically, the multiple node has the business side of cooperative relationship according to the clearing when determining with the retail trader
When application transaction is completed to settle accounts to the retail trader, transaction write-in block chain is applied for into the clearing.
To sum up, for the mode of retail trader's application clearing, 4 kinds of above-mentioned situations can be combined as follows, is had
The embodiment of body: (situation 1 or situation 2)+(situation 3 or situation 4).
Fig. 2 is a kind of knot for receipt on account record processing system based on block chain intelligence contract that this specification embodiment provides
Structure schematic diagram.As shown in Fig. 2, including the block chain network being made of multiple nodes, presence service is in extremely in the multiple node
The service node of a few business side and the management node for serving at least one manager;
The service node, obtains the receipt on account publication transaction of any business side's building, and broadcasts to the block chain network
The receipt on account publication transaction;The receipt on account publication transaction includes the receipts that the business root is generated according to the trade company's receipt on account event monitored
Account record;
The multiple node calls the intelligent contract disposed in advance, and is remembered according to the receipt on account in receipt on account publication transaction
Record executes the distribution deduction logic recorded in the intelligent contract, obtains the distribution deduction amount of money;The distribution deduction amount of money is write
Enter the corresponding implementing result of the receipt on account publication transaction;Receipt on account publication transaction issued with the receipt on account to transaction is corresponding holds
Block chain is written in row result, so that at least one described manager is consulted by the management node.
Fig. 3 is another receipt on account record processing system based on block chain intelligence contract that this specification embodiment provides
Structural schematic diagram.In system shown in Fig. 3, in block chain network other than there are service nodes with management node, there is also
It serves the merchant node of trade company and serves the distribution node of retail trader.
This specification embodiment additionally provides a kind of receipt on account record processing unit based on block chain intelligence contract, forms area
In multiple described devices of block chain network presence service at least one business side service node and serve at least one pipe
The management node of reason side, as shown in figure 4, described device includes:
Module 401 is obtained, when described device is service node, obtain any business side's building includes the business root
According to the receipt on account publication transaction for the receipt on account record that the trade company's receipt on account event monitored generates, and to described in block chain network broadcast
Receipt on account publication transaction;
Execution module 402 is called the intelligent contract disposed in advance, and is recorded according to the receipt on account in receipt on account publication transaction, holds
The distribution deduction logic recorded in the row intelligent contract, obtains the distribution deduction amount of money;The receipt on account publication transaction is the industry
Business node obtains and to block chain network broadcast, and the receipt on account publication transaction is that any business side constructs, the receipts
Account publication transaction includes the receipt on account record that the business root is generated according to the trade company's receipt on account event monitored;
Card module 403 is deposited, the corresponding implementing result of the receipt on account publication transaction is written into the distribution deduction amount of money;
Block chain writing module 404, by receipt on account publication transaction implementing result corresponding with receipt on account publication transaction
Block chain is written, so that at least one described manager is consulted by the management node.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, wherein processor realizes method shown in Fig. 1 when executing described program
Function.
Fig. 5 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,
The equipment may include: processor 1410, memory 1420, input/output interface 1430, communication interface 1440 and bus
1450.Wherein processor 1410, memory 1420, input/output interface 1430 and communication interface 1440 are real by bus 1450
The now communication connection inside equipment each other.
Processor 1410 can use general CPU (Central Processing Unit, central processing unit), micro- place
Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one
Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodiment
Case.
Memory 1420 can use ROM (Read Only Memory, read-only memory), RAM (Random Access
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1420 can store
Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware
When, relevant program code is stored in memory 1420, and execution is called by processor 1410.
Input/output interface 1430 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loudspeaker, vibrator, indicator light etc..
Communication interface 1440 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1450 include an access, equipment various components (such as processor 1410, memory 1420, input/it is defeated
Outgoing interface 1430 and communication interface 1440) between transmit information.
It should be noted that although above equipment illustrates only processor 1410, memory 1420, input/output interface
1430, communication interface 1440 and bus 1450, but in the specific implementation process, which can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment
Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
The function of method shown in Fig. 1 is realized when sequence is executed by processor.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, method, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for method and
For apparatus embodiments, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Embodiment of the method described above is only schematical, wherein described be used as separation unit
The module that part illustrates may or may not be physically separated, can be when implementing this specification example scheme
The function of each module is realized in the same or multiple software and or hardware.It can also select according to the actual needs therein
Some or all of the modules achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not making the creative labor
In the case where, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.