CN109670924A - A kind of real-time account checking method and device, electronic equipment based on block chain - Google Patents

A kind of real-time account checking method and device, electronic equipment based on block chain Download PDF

Info

Publication number
CN109670924A
CN109670924A CN201811445867.2A CN201811445867A CN109670924A CN 109670924 A CN109670924 A CN 109670924A CN 201811445867 A CN201811445867 A CN 201811445867A CN 109670924 A CN109670924 A CN 109670924A
Authority
CN
China
Prior art keywords
node
transaction
data
transaction data
target
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
Application number
CN201811445867.2A
Other languages
Chinese (zh)
Inventor
胡玉金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811445867.2A priority Critical patent/CN109670924A/en
Publication of CN109670924A publication Critical patent/CN109670924A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/12Accounting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The present invention relates to a kind of real-time account checking method and device, electronic equipments based on block chain.The described method includes: generating the first transaction data after participate in a certain target transaction first participates in the corresponding trading processing of node completion, the first participation node is the network node in block chain network;First transaction data is reported to block chain network to broadcast, so that any one other network node of block chain network verify target transaction;When verifying target transaction exception, identification participates in the second participation node of target transaction, and the second participation node is remaining node for participating in target transaction in network node in addition to first participates in node;The second participation node is obtained to participate in target transaction and complete the second transaction data generated after corresponding trading processing;Reconciliation is carried out using the first transaction data and the second transaction data.The embodiment of the present invention in real time handles abnormal transaction using intelligent contract, can improve reconciliation efficiency with real-time perfoming reconciliation tune account.

Description

A kind of real-time account checking method and device, electronic equipment based on block chain
Technical field
The present invention relates to block chain technical field, in particular to a kind of real-time account checking method and device based on block chain, Electronic equipment.
Background technique
In order to guarantee the consistency of data, current fund system selection is concentrated at a fixed time carries out reconciliation: for example, Set time is selected at 15 points, after daily 15 points, carries out reconciliation to transaction data by modes such as file transmitting, and sending out Tune account is carried out when existing injustice account.However, since there are dependences between each system, and each system can only be concentrated at one Time in carry out reconciliation operation, when reconciliation finds that exception occurs in a certain transaction, if the reconciliation tune account business people of the system Member's processing delay, down-stream system also can and then be delayed, and lead to occur that income issues delay, net value issues delay.As it can be seen that Account checking method in the prior art does not have real-time, and efficiency is lower.
Summary of the invention
In order to solve the problem of that reconciliation tune account method present in the relevant technologies does not have real-time low efficiency, the present invention Provide a kind of real-time account checking method and device, electronic equipment based on block chain.
First aspect of the embodiment of the present invention discloses a kind of real-time account checking method based on block chain, which comprises
After the first participation node for participating in a certain target transaction completes the corresponding trading processing of the node, generates first and hand over Easy data, described first participates in node as the network node in block chain network;
First transaction data is reported into the block chain network, and is broadcasted, so that the block chain network In except it is described first participate in node in addition to any one of network node according to first transaction data to the target Transaction is verified;
It is tested in any one of network node in addition to the first participation node according to first transaction data When demonstrate,proving out the target transaction exception, identification participates in the second participation node of the target transaction, and the second participation node is Remaining node of the target transaction is participated in the network node in addition to the first participation node;
The second participation node is obtained to participate in the target transaction and generate after completing the corresponding trading processing of the node The second transaction data;
Reconciliation is carried out using first transaction data and second transaction data.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to utilize first transaction Data and second transaction data carry out reconciliation, comprising:
From in the public database that the block chain network is safeguarded extract preset time range in corresponding public account book;
According to the public account book, whether normal first transaction data is verified;
If normal, using first transaction data as benchmark data, the reference data and second transaction are utilized Data carry out reconciliation;
If abnormal, it is artificial right to remind the corresponding business personnel of the first participation node to carry out to issue reminder message Account, and the corresponding business personnel of the first participation node is reminded to be adjusted first transaction data;
The feedback information that the business personnel participates in node feeding back by described first is received, the feedback information is used for table It levies first transaction data and is adjusted to the first transaction data of target, and the first transaction data of the target is normal;
Using first transaction data of target as benchmark data, using the reference data and second transaction data into Row reconciliation.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to utilize the reference data Reconciliation is carried out with second transaction data, comprising:
Judge whether the reference data matches with second transaction data;
If the reference data and second transaction data mismatch, Xiang Suoshu second participates in node transmission prompting and disappears Breath adjusts second transaction data to remind described second to participate in node;
When the second participation node receives the reminder message, according to the intelligent contract of the second participation node The tune account rule arranged, the reference data of being subject to are adjusted second transaction data.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the judgement reference data Whether matched with second transaction data, comprising:
Judge the first summation and second transaction data package of multiple transaction details data that the reference data includes Whether the second summation of the multiple transaction details data included matches;
If first summation and second summation mismatch, the reference data and second number of deals are determined According to mismatch.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method also includes:
If first summation is matched with second summation, each transaction details that the reference data includes are judged Whether data match with corresponding transaction details data in second transaction data;
If any transaction details data that the reference data includes and corresponding transaction in second transaction data Detailed data mismatches, and determines that the reference data and second transaction data mismatch.
As an alternative embodiment, in first aspect of the embodiment of the present invention, described according to second ginseng The tune account rule arranged with the intelligent contract of node, the reference data of being subject to are adjusted second transaction data Later, the method also includes:
It receives the reconciliation that described second participates in node feeding back and completes message, the reconciliation completes message for characterizing described the Two transaction data are adjusted to the second transaction data of target, and the second transaction data of the target is normal;
The reference data and the second transaction data of the target are uploaded to the public database.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method also includes:
It is tested in any one of network node in addition to the first participation node according to first transaction data When demonstrate,proving out the target transaction exception, Xiang Suoshu block chain network broadcast alarms information, to inform in the block chain network Target transaction described in all network nodes is abnormal.
Second aspect of the embodiment of the present invention discloses a kind of real-time reconciliation system based on block chain, the system comprises:
Generation unit, for completing the corresponding trading processing of the node in the first participation node for participating in a certain target transaction Afterwards, the first transaction data is generated, described first participates in node as the network node in block chain network;
Radio unit for first transaction data to be reported to the block chain network, and is broadcasted, so that institute Any one of network node in block chain network in addition to described first participates in node is stated according to first number of deals It is verified according to the target transaction;
Recognition unit, for being handed in any one of network node in addition to described first participates in node according to first When easy data verification goes out the target transaction exception, identification participates in the second participation node of the target transaction, second ginseng It is remaining node for participating in the target transaction in the network node in addition to the first participation node with node;
Acquiring unit, for obtaining the second participation node participation target transaction and completing the corresponding friendship of the node The second transaction data generated after easy to handle;
Reconciliation unit, for carrying out reconciliation using first transaction data and second transaction data.
The third aspect of the embodiment of the present invention discloses a kind of electronic equipment, and the electronic equipment includes:
Processor;
Memory is stored with computer-readable instruction on the memory, and the computer-readable instruction is by the processing When device executes, the real-time account checking method based on block chain disclosed in first aspect of the embodiment of the present invention is realized.
Fourth aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, institute Stating computer program makes computer execute the real-time account checking method based on block chain disclosed in first aspect of the embodiment of the present invention.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Real-time account checking method provided by the present invention based on block chain includes the following steps: participating in a certain target transaction First participation node complete the corresponding trading processing of the node after, generate the first transaction data, first participate in node be block Network node in chain network;First transaction data is reported into block chain network, and is broadcasted, so that in block chain network Any one network node in addition to the first participation node verifies target transaction according to the first transaction data;Except the When any one network node other than one participation node goes out target transaction exception according to the first transaction data authentication, identification is participated in The second of target transaction participates in node, and the second participation node is to participate in target transaction in addition to the first participation node in network node Remaining node;The second participation node is obtained to participate in target transaction and complete generate after the corresponding trading processing of the node second Transaction data;Reconciliation is carried out using the first transaction data and the second transaction data.
Under the method, participate in corresponding to generate first after node completes trading processing by the way that the first of target transaction will be participated in Transaction data reports to block chain network, and is broadcasted, any one network node can real-time basis in block chain network First transaction data verifies target transaction, and when verifying target transaction exception, identification participates in remaining of target transaction Participate in node, using the first transaction data and remaining participate in node generate second transaction data carry out reconciliation, can in real time into Row reconciliation tune account improves reconciliation efficiency.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited 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 in specification together principle for explaining the present invention.
Fig. 1 is a kind of structural schematic diagram of real-time reconciliation system based on block chain disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of real-time account checking method based on block chain disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another real-time account checking method based on block chain disclosed by the embodiments of the present invention;
Fig. 4 is the flow diagram of another real-time account checking method based on block chain disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another real-time reconciliation system based on block chain disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another real-time reconciliation system based on block chain disclosed by the embodiments of the present invention;
Fig. 7 is the structural schematic diagram of another real-time reconciliation system based on block chain disclosed by the embodiments of the present invention.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Embodiment one
The scene for the real-time reconciliation of process that the embodiment of the present invention is suitable for trading in fund, when a certain transaction appearance of discovery is different Chang Shi is immediately performed the reconciliation tune account work of the transaction, without waiting until that specified time carries out concentration reconciliation, so as to trade The first time being abnormal handles abnormal conditions, can reserve more processing times, reduces each system clearance The risk of delay can improve reconciliation efficiency with real-time perfoming reconciliation tune account.
Fig. 1 is a kind of structural schematic diagram of real-time reconciliation system based on block chain disclosed by the embodiments of the present invention.Device 100 can be above-mentioned electronic equipment.As shown in Figure 1, device 100 may include following one or more components: processing component 102, memory 104, power supply module 106, multimedia component 108, audio component 110, sensor module 114 and communication component 116。
The integrated operation of the usual control device 100 of processing component 102, such as with display, telephone call, data communication, phase Machine operation and the associated operation of record operation etc..Processing component 102 may include one or more processors 118 to execute Instruction, to complete all or part of the steps of following methods.In addition, processing component 102 may include one or more modules, For convenient for the interaction between processing component 102 and other assemblies.For example, processing component 102 may include multi-media module, use In to facilitate the interaction between multimedia component 108 and processing component 102.
Memory 104 is configured as storing various types of data to support the operation in device 100.These data are shown Example includes the instruction of any application or method for operating on the device 100.Memory 104 can be by any kind of Volatibility or non-volatile memory device or their combination are realized, such as static random access memory (Static RandomAccess Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read OnlyMemory, abbreviation EPROM), programmable read only memory (Programmable Red- Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash Device, disk or CD.It is also stored with one or more modules in memory 104, is configured to for the one or more module It is executed by the one or more processors 118, to complete all or part of step in method as follows.
Power supply module 106 provides electric power for the various assemblies of device 100.Power supply module 106 may include power management system System, one or more power supplys and other with for device 100 generate, manage, and distribute the associated component of electric power.
Multimedia component 108 includes the screen of one output interface of offer between device 100 and user.In some realities It applies in example, screen may include liquid crystal display (Liquid Crystal Display, abbreviation LCD) and touch panel.If Screen includes touch panel, and screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes One or more touch sensors are to sense the gesture on touch, slide, and touch panel.Touch sensor can be sensed not only The boundary of a touch or slide action, but also detect duration and pressure relevant to touch or slide.Screen may be used also To include display of organic electroluminescence (Organic Light Emitting Display, abbreviation OLED).
Audio component 110 is configured as output and/or input audio signal.For example, audio component 110 includes a Mike Wind (Microphone, abbreviation MIC), when device 100 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 104 or via communication component 116 send.In some embodiments, audio component 110 further includes a loudspeaker, for exporting Audio signal.
Sensor module 114 includes one or more sensors, and the state for providing various aspects for device 100 is commented Estimate.For example, sensor module 114 can detecte the state that opens/closes of device 100, the relative positioning of component, sensor group Part 114 can be with the position change of 100 1 components of detection device 100 or device and the temperature change of device 100.Some In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 116 is configured to facilitate the communication of wired or wireless way between device 100 and other equipment.Device 100 can access the wireless network based on communication standard, such as WiFi (Wireless-Fidelity, Wireless Fidelity).In the present invention In embodiment, communication component 116 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In embodiments of the present invention, communication component 116 further includes near-field communication (Near Field Communication, abbreviation NFC) module, for promote short range communication.For example, radio frequency identification (Radio Frequency can be based in NFC module Identification, abbreviation RFID) technology, Infrared Data Association (Infrared DataAssociation, abbreviation IrDA) Technology, ultra wide band (UltraWideband, abbreviation UWB) technology, Bluetooth technology and other technologies are realized.
In the exemplary embodiment, device 100 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), it is digital signal processor, digital signal processing appts, programmable Logical device, field programmable gate array, controller, microcontroller, microprocessor or other electronic components are realized, for executing Following methods.
Embodiment two
Referring to Fig. 2, the process that Fig. 2 is a kind of real-time account checking method based on block chain disclosed by the embodiments of the present invention is shown It is intended to.Being somebody's turn to do the real-time account checking method based on block chain as shown in Figure 2 may comprise steps of:
201, after the first participation node for participating in a certain target transaction completes the corresponding trading processing of the node, the is generated One transaction data, first participates in node as the network node in block chain network.
In the embodiment of the present invention, for some target transaction, participated in jointly by multiple participation nodes, each participation node Corresponding trading processing is completed, the corresponding transaction data of respective trading processing is generated.For example, if participating in node There are seller, share register system and funds systems, then it is corresponding to complete the node after seller participates in a certain target transaction After trading processing, the transaction data of generation can be " to apply to purchase fund 1, share of applying to purchase is X ".
202, the first transaction data is reported into block chain network, and is broadcasted, so as to remove first in block chain network Any one network node other than node is participated in verify target transaction according to the first transaction data.
In the embodiment of the present invention, after all participation nodes for participating in target transaction complete the corresponding trading processing of the node, Corresponding transaction data can be generated, and all corresponding transaction data generated of node that participate in report to block chain network, And broadcasted, so that any one network node in block chain network in addition to first participates in node is according to any number of deals It is verified according to target transaction.It is to be appreciated that only verify target transaction it is normal when, transaction data could be uploaded to In the public database that block chain network is safeguarded.
203, target is gone out according to the first transaction data authentication in any one network node in addition to the first participation node When transaction exception, identify that participate in target transaction second participates in node, second participates in node participates in remove first in network node Remaining node of target transaction is participated in other than node.
In the embodiment of the present invention, the second participation node can be a network node, be also possible to multiple network nodes, this Invention is it is not limited here.
204, obtain that the second participation node participates in that target transaction and completing generates after the corresponding trading processing of the node the Two transaction data.
205, reconciliation is carried out using the first transaction data and the second transaction data.
As an alternative embodiment, the first transaction data or the second transaction data may include target transaction letter Breath, which includes identification code.Based on this, after performing step 204, in available second transaction data Target transaction information, which includes identification code;The corresponding reconciliation intelligence contract of the identification code is searched, with triggering pair Account intelligence contract carries out reconciliation operation.Correspondingly, step 205 may include: to judge that the first participation node and second participates in node In whether there is the target transaction the first attribute field;If it does, determining in the first transaction data and the second transaction data All the second attribute fields associated with the first attribute field;By all the second attributes associated with the first attribute field Field carries out collecting processing, obtains the second attribute field set of multiple same types;According to each the second attribute field collection It closes, data corresponding with the second attribute field set in the first transaction data and the second transaction data is compared.
Implement the embodiment, can use reconciliation intelligence contract, the first transaction data and the second transaction data are carried out Reconciliation operation, keeps reconciliation mode more intelligent.
As it can be seen that method described in Fig. 2, can participate in node completion trading processing by that will participate in the first of target transaction Corresponding the first transaction data generated reports to block chain network afterwards, and is broadcasted, any one network in block chain network Node can in real time verify target transaction according to the first transaction data, when verifying target transaction exception, identification ginseng Node is participated in remaining of target transaction, is carried out using the first transaction data and remaining second transaction data for participating in node generation Reconciliation can improve reconciliation efficiency with real-time perfoming reconciliation tune account.
Embodiment three
Referring to Fig. 3, Fig. 3 is the process of another real-time account checking method based on block chain disclosed by the embodiments of the present invention Schematic diagram.As shown in figure 3, being somebody's turn to do the real-time account checking method based on block chain may comprise steps of:
301~304.Wherein, step 301~304 are identical as step 201~204 described in embodiment two, the present invention Embodiment repeats no more.
Wherein, as an alternative embodiment, after executing step 303 following steps can be executed:
Target transaction is gone out according to the first transaction data authentication in any one network node in addition to the first participation node When abnormal, to block chain network broadcast alarms information, to inform that the transaction of the all-network node destination in block chain network is abnormal. As another optional embodiment, above embodiment can also be performed simultaneously with step 303.
Implement the embodiment, can alert in time, without just finding that transaction is abnormal until specified time concentrating reconciliation, So as to be monitored to entire process of exchange.
305, from the public database that block chain network is safeguarded extract preset time range in corresponding public account book.
In the embodiment of the present invention, when target transaction is verified as abnormal, all participation nodes participate in institute after target transaction The transaction data of generation cannot be uploaded in the public database that block chain network is safeguarded by verifying.Therefore, from block chain It may include the one of target transaction that corresponding public account book in preset time range is extracted in the public database that network is safeguarded Part transaction data can not also include any transaction data of target transaction, herein the present invention without limitation.Wherein, it presets It can be the interior for the previous period of the timing node sent for target transaction in time range, it is corresponding in preset time range Public account book includes the account book data for having relevance with the transaction data of target transaction.
306, according to public account book, whether normal the first transaction data is verified.If normal, step 307 is executed;If no Normally, step 308 is executed.
As an alternative embodiment, before executing step 306 following steps can be executed: from preset time model All account book data relevant to the first participation node are extracted in public account book in enclosing;It will be all related to the first participation node Account book data summarized, obtain by first participate in node centered on target account book.Correspondingly, the tool of step 306 is executed Body mode can be according to the target account book, whether normal verify the first transaction data.
Implement the embodiment, reconciliation process can be accelerated, and the assets of the first participation node can be best understood from Situation.
In the embodiment of the present invention, there are the account book data of relevance in transaction data using in public account book, verifying is handed over Whether easy data are normal.For example, if participating in node is paying party, the transaction data of paying party is " producing amount of money X ", and this Before secondary transaction, it is " total assets Y " that paying party, which is recorded in the account book data in the public database that block chain network is safeguarded, and Y is less than X, then determines that the transaction data is abnormal.
307, using the first transaction data as benchmark data, reconciliation is carried out using reference data and the second transaction data.
In the embodiment of the present invention, if the first transaction data is normal, using the first transaction data as benchmark data, handed over second Easy data carry out reconciliation.As an example it is assumed that the first transaction data includes " producing amount of money X to the second participation node ", second is handed over Easy data include " receiving the amount of money Y that the first participation node is transferred to ", if X=Y, the second transaction data is normal;Conversely, then Two transaction data are abnormal.
308, publication reminder message is to remind the corresponding business personnel of the first participation node to carry out artificial reconciliation, and reminds The corresponding business personnel of first participation node is adjusted the first transaction data.
309, the feedback information that business personnel participates in node feeding back by first is received, feedback information is handed over for characterizing first Easy data are adjusted to the first transaction data of target, and the first transaction data of target is normal.
310, using the first transaction data of target as benchmark data, reconciliation is carried out using reference data and the second transaction data.
It, can be in addition to reconciliation efficiency can be improved with real-time perfoming reconciliation tune account as it can be seen that method described in implementing Fig. 3 Alarm in time, without just finding that transaction is abnormal until specified time concentrating reconciliation, so as to be carried out to entire process of exchange Monitoring.
Further, it is also possible to accelerate reconciliation process, and the Assets of the first participation node can be best understood from.
Example IV
Referring to Fig. 4, Fig. 4 is the process of another real-time account checking method based on block chain disclosed by the embodiments of the present invention Schematic diagram.Being somebody's turn to do the real-time account checking method based on block chain as shown in Figure 4 may comprise steps of:
401~409.Wherein, step 401~409 are identical as step 301~309 described in embodiment three, the present invention Embodiment repeats no more.
410, using the first transaction data of target as benchmark data, judge whether reference data matches with the second transaction data. If mismatched, step 411 is executed;If it does, terminating this process.
In the embodiment of the present invention, as an alternative embodiment, step 410 may comprise steps of:
Using the first transaction data of target as benchmark data;
Judge the first summation of multiple transaction details data that reference data includes and that the second transaction data includes is multiple Whether the second summation of transaction details data matches;
If the first summation and the second summation mismatch, determine that reference data and the second transaction data mismatch.
If the first summation is matched with the second summation, judge that each transaction details data that reference data includes are handed over second Whether corresponding transaction details data match in easy data;
If any transaction details data that reference data includes and transaction details data corresponding in the second transaction data It mismatches, determines that reference data and the second transaction data mismatch.
Implement the embodiment, the accuracy of data judgement can be improved.
411, node is participated in second and send reminder message, adjust the second transaction data to remind second to participate in node.
412, when the second participation node receives reminder message, arranged according to the intelligent contract of the second participation node Account rule is adjusted, reference data of being subject to is adjusted the second transaction data.
In the embodiment of the present invention, as an alternative embodiment, following step can be executed after executing step 412 It is rapid:
It receives the reconciliation that second participates in node feeding back and completes message, reconciliation completes message for characterizing the second transaction data quilt It is adjusted to the second transaction data of target, and the second transaction data of target is normal;
Reference data and the second transaction data of target are uploaded to public database.
As an alternative embodiment, reference data and the second transaction data of target are uploaded to common data Before library, following steps can be executed:
Judge whether reference data and the second transaction data of target need to carry out secret protection processing;If so, generating The key of plaintext Encryption Algorithm, using using the plaintext Encryption Algorithm of the key to trade respectively to reference data and target second Data are encrypted, and the second transaction data of encrypted reference data and target is generated;Using treaty rule to the key into Row encryption, generates key ciphertext, which includes making the first participation node participate in node with second to add according to predetermined manner The close algorithm for decrypting the key ciphertext;Encrypted reference data and the second transaction data of target are uploaded to common data Library.
Implement the embodiment, can will be encrypted for the All Activity data of a certain target transaction, just for ginseng It can decrypt and check with the participation node of the target transaction, secret protection can be carried out to special deal data.
As it can be seen that implement method described in Fig. 4, it, can be in addition to reconciliation efficiency can be improved with real-time perfoming reconciliation tune account Improve the accuracy of data judgement.Further, it is also possible to carry out secret protection to special deal data.
Embodiment five
Referring to Fig. 5, Fig. 5 is the structure of another real-time reconciliation system based on block chain disclosed by the embodiments of the present invention Schematic diagram.As shown in figure 5, should real-time reconciliation system based on block chain may include: generation unit 501, radio unit 502, Recognition unit 503, acquiring unit 504 and reconciliation unit 505, wherein
Generation unit 501, for completing the corresponding transaction of the node in the first participation node for participating in a certain target transaction After processing, the first transaction data is generated, first participates in node as the network node in block chain network;
Radio unit 502 for the first transaction data to be reported to block chain network, and is broadcasted, so that block chain Any one network node in network in addition to the first participation node verifies target transaction according to the first transaction data;
Recognition unit 503, for except first participate in node in addition to any one network node according to the first number of deals When according to verifying target transaction exception, identification participates in the second participation node of target transaction, and second participates in node as network node In except first participate in node other than participation target transaction remaining node;
Acquiring unit 504, for obtaining the second participation node participation target transaction and completing at the corresponding transaction of the node The second transaction data generated after reason;
Reconciliation unit 505, for carrying out reconciliation using the first transaction data and the second transaction data.
As an alternative embodiment, above-mentioned acquiring unit 504, is also used to obtain the mesh in the second transaction data Transaction Information is marked, which includes identification code.
As an alternative embodiment, the real-time reconciliation system shown in fig. 5 based on block chain can also include:
Searching unit, for searching the mark after the target transaction information that acquiring unit 504 obtains the second transaction data Know the corresponding reconciliation intelligence contract of code, carries out reconciliation operation to trigger reconciliation intelligence contract.
Correspondingly, above-mentioned reconciliation unit 505 may include:
Judgment sub-unit, for judging that the first participation node participates in whether there is the of the target transaction in node with second One attribute field;
Subelement is determined, for judging that there are the targets in the first participation node and the second participation node in judging unit When the first attribute field of transaction, determine that the first transaction data is all related with the first attribute field in the second transaction data Second attribute field of connection;
Subelement is obtained, for all the second attribute fields associated with the first attribute field to be carried out collecting processing, Obtain the second attribute field set of multiple same types;
Contrast subunit is used for according to each the second attribute field set, to the first transaction data and the second number of deals Data corresponding with the second attribute field set compare in.
Implement the embodiment, can use reconciliation intelligence contract, the first transaction data and the second transaction data are carried out Reconciliation operation, keeps reconciliation mode more intelligent.
As it can be seen that the real-time reconciliation system shown in fig. 5 based on block chain, can be joined by that will participate in the first of target transaction The first transaction data of corresponding generation reports to block chain network after completing trading processing with node, and is broadcasted, block chain Any one network node can in real time verify target transaction according to the first transaction data in network, verify target When transaction exception, identification participates in remaining participation node of target transaction, is generated using the first transaction data and remaining participation node The second transaction data carry out reconciliation, can with real-time perfoming reconciliation tune account, improve reconciliation efficiency.
Embodiment six
Referring to Fig. 6, Fig. 6 is the structure of another real-time reconciliation system based on block chain disclosed by the embodiments of the present invention Schematic diagram.Real-time reconciliation system shown in fig. 6 based on block chain is the real-time reconciliation system based on block chain as shown in Figure 5 It optimizes.It is shown in fig. 6 to be based on block chain compared with the real-time reconciliation system shown in fig. 5 based on block chain Real-time reconciliation system in, above-mentioned reconciliation unit 505 may include:
Subelement 5051 is extracted, for extracting in preset time range from the public database that block chain network is safeguarded Corresponding public account book.
Subelement 5052 is verified, for whether normal verifying the first transaction data according to public account book.
Reconciliation subelement 5053, for verify subelement 5052 verify the first transaction data it is normal when, with first hand over Easy data are benchmark data, carry out reconciliation using reference data and the second transaction data.
Remind subelement 5054, for verify subelement 5052 verify the first transaction data it is abnormal when, publication mentions Message of waking up is to remind the corresponding business personnel of the first participation node to carry out artificial reconciliation, and reminds the first participation node corresponding Business personnel is adjusted the first transaction data.
Receiving subelement 5055, the feedback information for participating in node feeding back by first for receiving business personnel, feedback letter Breath is adjusted to the first transaction data of target for characterizing the first transaction data, and the first transaction data of target is normal.
Above-mentioned reconciliation subelement 5053 is also used to utilize reference data using the first transaction data of target as benchmark data Reconciliation is carried out with the second transaction data.
As an alternative embodiment, above-mentioned radio unit 502, is also used in addition to first participates in node When any one network node goes out target transaction exception according to the first transaction data authentication, believe to block chain network broadcast alarms Breath, to inform that the transaction of the all-network node destination in block chain network is abnormal.
Implement the embodiment, can alert in time, without just finding that transaction is abnormal until specified time concentrating reconciliation, So as to be monitored to entire process of exchange.
As an alternative embodiment, above-mentioned extraction subelement 5051, is also used to out of preset time range All account book data relevant to the first participation node are extracted in public account book;By all account books relevant to the first participation node Data are summarized, and the target account book centered on the first participation node is obtained;
Correspondingly, above-mentioned verifying subelement 5052 is used to whether normal verify the first transaction data according to public account book Mode specifically may is that
Above-mentioned verifying subelement 5052, for whether normal verifying the first transaction data according to the target account book.
Implement the embodiment, reconciliation process can be accelerated, and the assets of the first participation node can be best understood from Situation.
As it can be seen that the real-time reconciliation system shown in fig. 6 based on block chain, in addition to that can be improved with real-time perfoming reconciliation tune account Reconciliation efficiency can also alert in time, without just finding that transaction is abnormal until specified time concentrating reconciliation, so as to whole A process of exchange is monitored.
Further, it is also possible to accelerate reconciliation process, and the Assets of the first participation node can be best understood from.
Embodiment seven
Referring to Fig. 7, Fig. 7 is the structure of another real-time reconciliation system based on block chain disclosed by the embodiments of the present invention Schematic diagram.Real-time reconciliation system shown in Fig. 7 based on block chain is the real-time reconciliation system based on block chain as shown in Figure 6 It optimizes.It is shown in Fig. 7 to be based on block chain compared with the real-time reconciliation system shown in fig. 6 based on block chain Real-time reconciliation system in, above-mentioned reconciliation subelement 5053 may include:
Judgment module 50531, for judging whether reference data matches with the second transaction data.
Reminding module 50532, for judging that reference data and the second transaction data mismatch in judgment module 50531 When, node is participated in second and sends reminder message, adjusts the second transaction data to remind second to participate in node;
Account module 50533 is adjusted, the intelligence for participating in node according to second when the second participation node receives reminder message The tune account rule that energy contract is arranged, reference data of being subject to are adjusted the second transaction data.
Message is completed in receiving module 50534, the reconciliation for receiving the second participation node feeding back, and reconciliation is completed message and is used for It characterizes the second transaction data and is adjusted to the second transaction data of target, and the second transaction data of target is normal.
Uploading module 50535, for reference data and the second transaction data of target to be uploaded to public database.
As an alternative embodiment, above-mentioned judgment module 50531 is for judging reference data and the second transaction The whether matched mode of data specifically:
Above-mentioned judgment module 50531, for judging the first summation of multiple transaction details data that reference data includes Whether the second summation of the multiple transaction details data for including with the second transaction data matches.
As an alternative embodiment, above-mentioned reconciliation subelement 5053, can also include:
Determining module, for determining benchmark when judgment module 50531 judges the first summation and the second summation mismatches Data and the second transaction data mismatch, and node transmission reminder message are participated in trigger reminding module 50532 to second, to remind Second, which participates in node, adjusts the second transaction data.
As an alternative embodiment, above-mentioned judgment module 50531, it is also used to judging the first summation and the When two summations match, each transaction details data that reference data includes and corresponding transaction details in the second transaction data are judged Whether data match.
Correspondingly, above-mentioned determining module is also used to judge any friendship that reference data includes in judgment module 50531 When easy detailed data is mismatched with corresponding transaction details data in the second transaction data, reference data and the second number of deals are determined According to mismatch, node transmission reminder message is participated in trigger reminding module 50532 to second, to remind second to participate in node adjustment Second transaction data.
As an alternative embodiment, above-mentioned judgment module 50531, is also used to judge reference data and target Whether the second transaction data needs to carry out secret protection processing.
Accordingly, as a kind of optional embodiment, above-mentioned reconciliation subelement 5053 can also be built-in with generation mould Block, for judging that reference data and the second transaction data of target need to carry out secret protection processing in judgment module 50531 When, reference data and the second transaction data of target are encrypted respectively using the plaintext Encryption Algorithm using the key, it is raw At the second transaction data of encrypted reference data and target;And the key is encrypted using treaty rule, it generates Key ciphertext, the treaty rule include that the first participation node and second is made to participate in node according to the predetermined manner encrypting and decrypting key The algorithm of ciphertext.
Correspondingly, above-mentioned uploading module 50535 is used to reference data and the second transaction data of target being uploaded to public affairs The mode of database specifically may is that altogether
Above-mentioned uploading module 50535, for encrypted reference data and the second transaction data of target to be uploaded to Public database.
Implement the embodiment, can will be encrypted for the All Activity data of a certain target transaction, just for ginseng It can decrypt and check with the participation node of the target transaction, secret protection can be carried out to special deal data.
As it can be seen that the real-time reconciliation system shown in Fig. 7 based on block chain, in addition to that can be improved with real-time perfoming reconciliation tune account Reconciliation efficiency can also improve the accuracy of data judgement.Further, it is also possible to carry out secret protection to special deal data.
The present invention also provides a kind of electronic equipment, which includes:
Processor;
Memory is stored with computer-readable instruction on the memory, when which is executed by processor, Realize the real-time account checking method based on block chain as previously shown.
The electronic equipment can be Fig. 1 shown device 100.
In one exemplary embodiment, the present invention also provides a kind of computer readable storage mediums, are stored thereon with calculating Machine program when the computer program is executed by processor, realizes the real-time account checking method as previously shown based on block chain.
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 change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.

Claims (10)

1. a kind of real-time account checking method based on block chain, which is characterized in that the described method includes:
After the first participation node for participating in a certain target transaction completes the corresponding trading processing of the node, the first number of deals is generated According to described first participates in node as the network node in block chain network;
First transaction data is reported into the block chain network, and is broadcasted, so as to be removed in the block chain network Any one of network node other than the first participation node is according to first transaction data to the target transaction It is verified;
Gone out in any one of network node in addition to the first participation node according to first transaction data authentication When the target transaction exception, identification participates in the second participation node of the target transaction, and the second participation node is described Remaining node of the target transaction is participated in network node in addition to the first participation node;
Obtain the second participation node participates in the target transaction and completes to generate after the corresponding trading processing of the node the Two transaction data;
Reconciliation is carried out using first transaction data and second transaction data.
2. the method according to claim 1, wherein described handed over using first transaction data with described second Easy data carry out reconciliation, comprising:
From in the public database that the block chain network is safeguarded extract preset time range in corresponding public account book;
According to the public account book, whether normal first transaction data is verified;
If normal, using first transaction data as benchmark data, the reference data and second transaction data are utilized Carry out reconciliation;
If abnormal, publication reminder message carries out artificial reconciliation to remind described first to participate in the corresponding business personnel of node, And the corresponding business personnel of the first participation node is reminded to be adjusted first transaction data;
The feedback information that the business personnel participates in node feeding back by described first is received, the feedback information is for characterizing institute It states the first transaction data and is adjusted to the first transaction data of target, and the first transaction data of the target is normal;
Using first transaction data of target as benchmark data, carried out pair using the reference data and second transaction data Account.
3. according to the method described in claim 2, it is characterized in that, described utilize the reference data and second number of deals According to progress reconciliation, comprising:
Judge whether the reference data matches with second transaction data;
If the reference data and second transaction data mismatch, Xiang Suoshu second participates in node and sends reminder message, Second transaction data is adjusted to remind described second to participate in node;
When the second participation node receives the reminder message, the intelligent contract institute of node is participated in about according to described second Fixed tune account rule, the reference data of being subject to are adjusted second transaction data.
4. according to the method described in claim 3, it is characterized in that, the judgement reference data and second number of deals According to whether matching, comprising:
The first summation and second transaction data for judging multiple transaction details data that the reference data includes include Whether the second summation of multiple transaction details data matches;
If first summation and second summation mismatch, the reference data and second transaction data are determined not Matching.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
If first summation is matched with second summation, each transaction details data that the reference data includes are judged Whether matched with transaction details data corresponding in second transaction data;
If any transaction details data that the reference data includes and corresponding transaction details in second transaction data Data mismatch, and determine that the reference data and second transaction data mismatch.
6. according to the described in any item methods of claim 3~5, which is characterized in that participate in node according to described second described The tune account rule arranged of intelligent contract, after the reference data of being subject to is adjusted second transaction data, The method also includes:
It receives the reconciliation that described second participates in node feeding back and completes message, the reconciliation is completed message and handed over for characterizing described second Easy data are adjusted to the second transaction data of target, and the second transaction data of the target is normal;
The reference data and the second transaction data of the target are uploaded to the public database.
7. described in any item methods according to claim 1~6, which is characterized in that the method also includes:
Gone out in any one of network node in addition to the first participation node according to first transaction data authentication When the target transaction exception, Xiang Suoshu block chain network broadcast alarms information is all in the block chain network to inform Target transaction described in the network node is abnormal.
8. a kind of real-time reconciliation system based on block chain, which is characterized in that the system comprises:
Generation unit, after completing the corresponding trading processing of the node in the first participation node for participating in a certain target transaction, The first transaction data is generated, described first participates in node as the network node in block chain network;
Radio unit for first transaction data to be reported to the block chain network, and is broadcasted, so that the area Any one of network node in block chain network in addition to described first participates in node is according to first transaction data pair The target transaction is verified;
Recognition unit, for except it is described first participate in node in addition to any one of network node according to the first number of deals When according to verifying the target transaction exception, identification participates in the second participation node of the target transaction, and described second participates in section Point is remaining node for participating in the target transaction in the network node in addition to the first participation node;
Acquiring unit, for obtaining the second participation node participation target transaction and completing at the corresponding transaction of the node The second transaction data generated after reason;
Reconciliation unit, for carrying out reconciliation using first transaction data and second transaction data.
9. a kind of electronic equipment, including memory and processor, the memory are stored with computer program, which is characterized in that The step of processor realizes method according to any one of claims 1 to 7 when executing the computer program.
10. a kind of computer readable storage medium, which is characterized in that it stores computer program, and the computer program makes Computer perform claim requires 1~7 described in any item real-time account checking methods based on block chain.
CN201811445867.2A 2018-11-29 2018-11-29 A kind of real-time account checking method and device, electronic equipment based on block chain Pending CN109670924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811445867.2A CN109670924A (en) 2018-11-29 2018-11-29 A kind of real-time account checking method and device, electronic equipment based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811445867.2A CN109670924A (en) 2018-11-29 2018-11-29 A kind of real-time account checking method and device, electronic equipment based on block chain

Publications (1)

Publication Number Publication Date
CN109670924A true CN109670924A (en) 2019-04-23

Family

ID=66143477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811445867.2A Pending CN109670924A (en) 2018-11-29 2018-11-29 A kind of real-time account checking method and device, electronic equipment based on block chain

Country Status (1)

Country Link
CN (1) CN109670924A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263582A (en) * 2019-05-10 2019-09-20 阿里巴巴集团控股有限公司 A kind of account checking method based on alliance's chain, device and electronic equipment
CN111161041A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Account checking method and device based on block chain
CN112069262A (en) * 2020-09-09 2020-12-11 上海万向区块链股份公司 Account checking data uplink method based on block chain intelligent contract
CN113011879A (en) * 2021-03-22 2021-06-22 中国联合网络通信集团有限公司 Associated transaction data processing method and device and server
US11228446B2 (en) 2019-05-10 2022-01-18 Advanced New Technologies Co., Ltd. Blockchain-based reconciliation method and apparatus and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108074177A (en) * 2017-12-05 2018-05-25 深圳前海微众银行股份有限公司 Data account checking method, system and computer readable storage medium
CN108280358A (en) * 2018-02-12 2018-07-13 北京金山安全软件有限公司 Information reminding method and device and electronic equipment
CN108776929A (en) * 2018-04-02 2018-11-09 成都云创智融科技有限公司 Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN108876572A (en) * 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 The account checking method and device, electronic equipment of block chain transaction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108074177A (en) * 2017-12-05 2018-05-25 深圳前海微众银行股份有限公司 Data account checking method, system and computer readable storage medium
CN108280358A (en) * 2018-02-12 2018-07-13 北京金山安全软件有限公司 Information reminding method and device and electronic equipment
CN108776929A (en) * 2018-04-02 2018-11-09 成都云创智融科技有限公司 Bill processing method, system based on block chain database and readable storage medium storing program for executing
CN108876572A (en) * 2018-05-29 2018-11-23 阿里巴巴集团控股有限公司 The account checking method and device, electronic equipment of block chain transaction

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110263582A (en) * 2019-05-10 2019-09-20 阿里巴巴集团控股有限公司 A kind of account checking method based on alliance's chain, device and electronic equipment
US11228446B2 (en) 2019-05-10 2022-01-18 Advanced New Technologies Co., Ltd. Blockchain-based reconciliation method and apparatus and electronic device
CN111161041A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Account checking method and device based on block chain
CN112069262A (en) * 2020-09-09 2020-12-11 上海万向区块链股份公司 Account checking data uplink method based on block chain intelligent contract
CN112069262B (en) * 2020-09-09 2022-05-24 上海万向区块链股份公司 Account checking data uplink method based on block chain intelligent contract
CN113011879A (en) * 2021-03-22 2021-06-22 中国联合网络通信集团有限公司 Associated transaction data processing method and device and server
CN113011879B (en) * 2021-03-22 2023-05-19 中国联合网络通信集团有限公司 Associated transaction data processing method, device and server

Similar Documents

Publication Publication Date Title
CN109670924A (en) A kind of real-time account checking method and device, electronic equipment based on block chain
US9832020B2 (en) Cryptographic protocol for portable devices
CN107079058B (en) The business of block chain node executes method, apparatus and node device
US20200412521A1 (en) Secure blockchain integrated circuit
US9032501B1 (en) Cryptographic protocol for portable devices
US9294287B2 (en) Interrogating an authentication device
US9826400B2 (en) Method and apparatus that facilitates a wearable identity manager
US9866389B2 (en) Multi-broadcast beacon signals
CN110351133A (en) Method and device for the host node hand-off process in block catenary system
CN108694668A (en) Digital asset method of commerce, device, medium and equipment
US20070271830A1 (en) Systems and Methods for Qualified Registration
CN107248918A (en) Offline internet-based control device and its control system and method
CN106716917A (en) Techniques and system for extended authentication
US8866596B1 (en) Code-based RFID loss-prevention system
CN110222529A (en) Assets management method, electronic equipment and computer storage medium based on alliance's chain
CN108028001A (en) System and method for the formula interaction of audio signal intermediary
CN110457890A (en) Right management method and device, electronic equipment and storage medium based on multisystem
US8866595B1 (en) Ticket-based RFID loss-prevention system
CN104168117B (en) A kind of speech digit endorsement method
CN109815289A (en) Block generation method, calculating equipment, storage medium for block chain network
CN110490640A (en) Method, apparatus and system for object distribution processor
CN107105344A (en) A kind of based reminding method, device and terminal
US8872636B1 (en) Algorithm-based RFID loss-prevention system
CN109785142A (en) Monetary fund based on block chain redeems method and system, electronic equipment
CN107316207A (en) A kind of method and apparatus for obtaining bandwagon effect information

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