CN109816512A - Verification method, device and the computer equipment of reconciliation result - Google Patents
Verification method, device and the computer equipment of reconciliation result Download PDFInfo
- Publication number
- CN109816512A CN109816512A CN201811536862.0A CN201811536862A CN109816512A CN 109816512 A CN109816512 A CN 109816512A CN 201811536862 A CN201811536862 A CN 201811536862A CN 109816512 A CN109816512 A CN 109816512A
- Authority
- CN
- China
- Prior art keywords
- verifying
- reconciliation
- test scene
- result
- test
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000012795 verification Methods 0.000 title claims abstract description 25
- 238000012360 testing method Methods 0.000 claims abstract description 200
- 230000008676 import Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 8
- 238000004891 communication Methods 0.000 description 6
- 230000005291 magnetic effect Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 235000013399 edible fruits Nutrition 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000686 essence Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008140 language development Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Present applicant proposes verification method, device and the computer equipments of a kind of reconciliation result, wherein the verification method of above-mentioned reconciliation result includes: the verifying dimension for obtaining reconciliation verifying;The test scene of the reconciliation verifying is established according to the verifying dimension of acquisition;The test data for being used for the test scene is obtained from block chain;The test data is imported the test scene to test, obtains the reconciliation result under the test scene;Reconciliation result under the test scene is compared with the default reconciliation result for being directed to the test scene in the block chain;The verifying report of the reconciliation verifying is generated according to comparing result.The application may be implemented to verify the reconciliation result in block chain, and then the efficiency and accuracy rate verified to the reconciliation result in block chain can be improved, and ensure that the coverage verified to the reconciliation result in block chain.
Description
[technical field]
This application involves block chain technical field more particularly to a kind of verification method, device and the computers of reconciliation result
Equipment.
[background technique]
It is existing that when carrying out reconciliation to loan repayment, block chain technology can be used in the related technology, in order to be gone back to providing a loan
The correctness of the reconciliation result of money is verified, and is generally required including one of following verifying dimension or combination: 1, different refund
Business scenario: single is also or batch deducts etc.;2, different logical transaction: not singulated, limit is torn open or two decouple etc.;3, different
System node: loan, core or main account etc.;4, different transaction results: trade successfully, Fail Transaction or partial payment;5,
Different reconciliation result: flat account, amount of money injustice, state injustice or unilateral account etc..
Since the verifying dimension of reconciliation verifying is more, the larger workload of reconciliation verifying and easy error, reconciliation
The accuracy rate of verifying is lower.
[summary of the invention]
The embodiment of the present application provides verification method, device and the computer equipment of a kind of reconciliation result, is improved with realizing
The efficiency and accuracy rate of reconciliation verifying.
In a first aspect, the embodiment of the present application provides a kind of verification method of reconciliation result, comprising: obtain reconciliation verifying
Verify dimension;The test scene of the reconciliation verifying is established according to the verifying dimension of acquisition;It obtains from block chain for described
The test data of test scene;The test data is imported the test scene to test, is obtained under the test scene
Reconciliation result;By the reconciliation result under the test scene and the default reconciliation in the block chain for the test scene
As a result it compares;The verifying report of the reconciliation verifying is generated according to comparing result.
Wherein in a kind of possible embodiment, the verifying dimension for obtaining reconciliation verifying includes: to obtain to match automatically
The verifying dimension for the reconciliation verifying set;The verifying dimension includes following one or combination: business scenario, logical transaction, system
Node, transaction results and reconciliation result.
It is described that the test number for being used for the test scene is obtained from block chain wherein in a kind of possible embodiment
According to including: the verifying dimension for obtaining the test scene and including;It obtains from block chain and is tested with included by the test scene
The data that card dimension matches.
It is described to survey the test data importing test scene wherein in a kind of possible embodiment
Examination, obtaining the reconciliation result under the test scene includes: that other in the data that will acquire in addition to reconciliation result dimension are tested
The data of card dimension import the test scene and are tested, and obtain the reconciliation result under the test scene.
Wherein in a kind of possible embodiment, the verifying for generating the reconciliation verifying according to comparing result is reported
It include: to obtain the entry that reconciliation result is different in the comparing result, the reconciliation result difference includes under the test scene
Reconciliation result from the block chain be directed to the default reconciliation result of the test scene it is different;Not according to the reconciliation result
The quantity of same entry generates the accuracy report of the reconciliation result of the block chain.
Second aspect, the embodiment of the present application provide a kind of verifying device of reconciliation result, comprising: module are obtained, for obtaining
The verifying dimension for taking reconciliation to verify;Generation module, the verifying dimension for being obtained according to the acquisition module establish the reconciliation
The test scene of verifying;The acquisition module is also used to obtain the test data for being used for the test scene from block chain;It surveys
Die trial block, the test data for obtaining the acquisition module import the test scene and test, and obtain the test
Reconciliation result under scene;Contrast module, reconciliation result under the test scene for obtaining the test module with
Default reconciliation result in the block chain for the test scene compares;The generation module is also used to according to institute
The comparing result for stating contrast module generates the verifying report of the reconciliation verifying.
Wherein in a kind of possible embodiment, the acquisition module is tested specifically for obtaining the reconciliation automatically configured
The verifying dimension of card;The verifying dimension includes following one or combination: business scenario, logical transaction, system node, transaction knot
Fruit and reconciliation result.
Wherein in a kind of possible embodiment, the acquisition module includes specifically for obtaining the test scene
Verifying dimension, obtained from block chain and the data that match of verifying dimension included by the test scene.
Wherein in a kind of possible embodiment, the test module, specifically in the data that will acquire except reconciliation
As a result the data of other verifying dimensions except dimension import the test scene and are tested, and obtain under the test scene
Reconciliation result.
Wherein in a kind of possible embodiment, the generation module, it is right in the comparing result to be specifically used for obtaining
The different entry of account result, the reconciliation result difference include the reconciliation result under the test scene and needle in the block chain
It is different to the default reconciliation result of the test scene;According to the quantity of the different entry of the reconciliation result, the area is generated
The accuracy of the reconciliation result of block chain is reported.
The third aspect, the embodiment of the present application provide a kind of computer equipment, including memory, processor and are stored in described
It is real when the processor executes the computer program on memory and the computer program that can run on the processor
Now method as described above.
Fourth aspect, the embodiment of the present application provide a kind of non-transitorycomputer readable storage medium, are stored thereon with meter
Calculation machine program, the computer program realize method as described above when being executed by processor.
In above technical scheme, after the verifying dimension for obtaining reconciliation verifying, established according to the verifying dimension of acquisition above-mentioned
The test scene of reconciliation verifying, then obtains the test data for being used for above-mentioned test scene, by above-mentioned test number from block chain
It is tested according to above-mentioned test scene is imported, obtains the reconciliation under above-mentioned test scene as a result, then will be under above-mentioned test scene
Reconciliation result in above-mentioned block chain be directed to above-mentioned test scene default reconciliation result compare, finally according to comparison tie
Fruit generates the verifying report of above-mentioned reconciliation verifying, verifies so as to realize to the reconciliation result in block chain, Jin Erke
To improve the efficiency and accuracy rate verified to the reconciliation result in block chain, and ensure that the reconciliation knot in block chain
The coverage that fruit is verified.
[Detailed description of the invention]
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for this field
For those of ordinary skill, without creative efforts, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the flow chart of verification method one embodiment of the application reconciliation result;
Fig. 2 is the flow chart of another embodiment of the verification method of the application reconciliation result;
Fig. 3 is the flow chart of the verification method further embodiment of the application reconciliation result;
Fig. 4 is the flow chart of the verification method further embodiment of the application reconciliation result;
Fig. 5 is the flow chart of the verification method further embodiment of the application reconciliation result;
Fig. 6 is the structural schematic diagram of verifying device one embodiment of the application reconciliation result;
Fig. 7 is the structural schematic diagram of the application computer equipment one embodiment.
[specific embodiment]
In order to better understand the technical solution of the application, the embodiment of the present application is retouched in detail with reference to the accompanying drawing
It states.
It will be appreciated that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Base
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall in the protection scope of this application.
The term used in the embodiment of the present application is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The application.In the embodiment of the present application and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning.
Fig. 1 is the flow chart of verification method one embodiment of the application reconciliation result, as shown in Figure 1, above-mentioned reconciliation knot
The verification method of fruit may include:
Step 101, the verifying dimension of reconciliation verifying is obtained.
Wherein, reconciliation is exactly checked the accounts, and is referred in accounting, to guarantee that account book record is correct reliable, to account book
In the work that is checked and checked of related data.In the present embodiment, can the reconciliation result to loan repayment verify,
The reconciliation result that can also be made loans loan is verified, and the present embodiment is not construed as limiting this.
Step 102, the test scene of above-mentioned reconciliation verifying is established according to the verifying dimension of acquisition.
Specifically, it after the verifying dimension for obtaining reconciliation verifying, can be established automatically according to the verifying dimension of acquisition
State the test scene of reconciliation verifying.
Step 103, the test data for being used for above-mentioned test scene is obtained from block chain.
Wherein, block chain technology is to verify to be total to storing data, using distributed node using block linked data structure
Algorithm is known to generate and guarantee the safety of data transmission and access with more new data, in the way of cryptography, using by automating
The intelligent contract of scripted code composition programs the completely new distributed basis framework and calculation of one kind with operation data.Its
In, distributed node and common recognition algorithm mechanism in block chain make block chain have decentralization, autonomy, opening etc. special
Point, the mode of Applied cryptography guarantee that the information in block chain can not distort.Block chain is divided into publicly-owned block chain, area, alliance at present
Block chain and privately owned block chain, wherein each node in publicly-owned block chain is opened to anyone, the whole world anyone all may be used
To participate in common recognition process, and, transaction can be read and send, in addition, any node in publicly-owned block chain any need not be permitted
It can be added and be detached from any time the publicly-owned block chain, therefore, publicly-owned block chain is earliest block chain, and application is the most
Extensive block chain.
As an example it is assumed that the reconciliation result to loan repayment is verified, user can will use after bank loan
The Transaction Information of the identification information at family and user's loan is packaged into block, and above-mentioned block is then uploaded to block chain.Into
And after user refunds, the identification information institute that the Transaction Information that user refunds can equally be uploaded to above-mentioned user is right
The transaction data that user's loan repayment business is preserved in the block answered, therefore in block chain, in the verifying dimension according to acquisition
It establishes after the test scene of above-mentioned reconciliation verifying, the test data for above-mentioned test scene can be obtained from block chain.
Step 104, above-mentioned test data is imported above-mentioned test scene to test, obtains pair under above-mentioned test scene
Account result.
Specifically, after obtaining the test data for above-mentioned test scene, above-mentioned test data can be imported above-mentioned
Test scene is tested, and then obtains the reconciliation result under above-mentioned test scene.
Step 105, by under above-mentioned test scene reconciliation result in above-mentioned block chain be directed to above-mentioned test scene it is pre-
If reconciliation result compares.
Specifically, the transaction data of user's loan repayment business is preserved in block chain, therefore block chain can be according to loan
The transaction data of money reimbursement business generates the reconciliation of loan repayment business as a result, and being stored in block chain.Obtaining checkout area
After reconciliation result under scape, can by under above-mentioned test scene reconciliation result and block chain in for above-mentioned test scene
Default reconciliation result compares, to verify to the reconciliation result saved in above-mentioned block chain.
Step 106, it is reported according to the verifying that comparing result generates above-mentioned reconciliation verifying.
In specific implementation, the testing tool that can develop a set of automation executes reconciliation result provided in this embodiment
The testing tool of verification method, above-mentioned automation can be developed using Java language, can also be using other language developments, this
Embodiment is not construed as limiting language used in the testing tool for developing above-mentioned automation.
In the verification method of above-mentioned reconciliation result, after the verifying dimension for obtaining reconciliation verifying, tieed up according to the verifying of acquisition
Degree establishes the test scene of above-mentioned reconciliation verifying, and the test data for being used for above-mentioned test scene is then obtained from block chain, will
Above-mentioned test data imports above-mentioned test scene and is tested, and obtains the reconciliation under above-mentioned test scene as a result, then will be above-mentioned
Reconciliation result under test scene is compared with the default reconciliation result for being directed to above-mentioned test scene in above-mentioned block chain, finally
The verifying report that above-mentioned reconciliation verifying is generated according to comparing result, tests the reconciliation result in block chain so as to realize
Card, and then the efficiency and accuracy rate verified to the reconciliation result in block chain can be improved.
Fig. 2 is the flow chart of another embodiment of the verification method of the application reconciliation result, as shown in Fig. 2, the application Fig. 1
In illustrated embodiment, step 101 may include:
Step 201, the verifying dimension of the reconciliation verifying automatically configured is obtained.
Wherein, above-mentioned verifying dimension may include following one or combination: business scenario, logical transaction, system node, friendship
Easy result and reconciliation result.
That is, the verifying dimension of above-mentioned reconciliation verifying can be automatically configured according to the business scenario that reconciliation is verified,
For example, the business scenario of above-mentioned reconciliation verifying can make loans for loan repayment or loan;The verifying of above-mentioned reconciliation verifying
Dimension can be one or more, such as: reconciliation verifying can be carried out just for this dimension of business scenario, can also combined more
A verifying dimension carries out reconciliation verifying.Reconciliation verifying can be improved in the configuration for the verifying dimension that the present embodiment is verified by reconciliation
Efficiency, guarantee reconciliation verifying coverage.
Fig. 3 is the flow chart of the verification method further embodiment of the application reconciliation result, as shown in figure 3, the application Fig. 1
In illustrated embodiment, step 103 may include:
Step 301, the verifying dimension that above-mentioned test scene includes is obtained.
Step 302, the data to match with verifying dimension included by above-mentioned test scene are obtained from block chain.
In the present embodiment, when the test data needed for obtaining above-mentioned test scene in block chain, can first it obtain above-mentioned
Then the verifying dimension that test scene includes obtains and verifying included by above-mentioned test scene from the data that block chain saves
The data that dimension matches.
Fig. 4 is the flow chart of the verification method further embodiment of the application reconciliation result, as shown in figure 4, the application Fig. 1
In illustrated embodiment, step 104 may include:
Step 401, the data of other verifying dimensions in the data that will acquire in addition to reconciliation result dimension import above-mentioned
Test scene is tested, and the reconciliation result under above-mentioned test scene is obtained.
Due to being verified to the reconciliation result saved in block chain, by test data import test scene into
When row test, the data of other verifying dimensions in the data of acquisition in addition to reconciliation result dimension need to be only imported, are being surveyed
After examination is completed, the reconciliation result under available above-mentioned test scene.The present embodiment may be implemented
Verifying dimension, then above-mentioned test data imports above-mentioned test scene and carried out by test data needed for obtaining test scene
Test, can be improved the efficiency verified to the reconciliation result in block chain.
Fig. 5 is the flow chart of the verification method further embodiment of the application reconciliation result, as shown in figure 5, the application Fig. 1
In illustrated embodiment, step 106 may include:
Step 501, the entry that reconciliation result is different in above-mentioned comparing result is obtained, above-mentioned reconciliation result difference includes above-mentioned
Reconciliation result under test scene is different from the default reconciliation result of above-mentioned test scene is directed in above-mentioned block chain.
Step 502, according to the quantity of the different entry of above-mentioned reconciliation result, the reconciliation result of above-mentioned block chain is being generated just
True rate report.
In the present embodiment, if being directed to above-mentioned test scene in reconciliation result under above-mentioned test scene and above-mentioned block chain
Default reconciliation result it is different, then illustrate that mistake occurs in the default reconciliation result in above-mentioned block chain, therefore according to reconciliation result
The sum that the entry of this test is participated in the quantity of different entries and above-mentioned block chain can calculate and obtain above-mentioned area
The accuracy of the default reconciliation result of block chain, improves the accuracy rate verified to the reconciliation result in block chain.
In addition, can position after obtaining the entry that reconciliation result is different in above-mentioned comparing result and occur mistake in block chain
Entry corresponding to reconciliation result accidentally, and then the reconciliation result of above-mentioned appearance mistake can be modified.
Fig. 6 is the structural schematic diagram of verifying device one embodiment of the application reconciliation result, the reconciliation in the present embodiment
As a result the verification method of reconciliation result provided by the embodiments of the present application may be implemented in verifying device.As shown in fig. 6, above-mentioned reconciliation
As a result verifying device may include: to obtain module 61, generation module 62, test module 63 and contrast module 64;
Wherein, module 61 is obtained, for obtaining the verifying dimension of reconciliation verifying;Wherein, reconciliation is exactly checked the accounts, and is
Refer in accounting, to guarantee that account book records correct reliable, the work that the related data in account book are checked and checked.
In the present embodiment, can the reconciliation result to loan repayment verify, the reconciliation result that make loans of loan can also be tested
Card, the present embodiment are not construed as limiting this.
Generation module 62, for establishing the checkout area of above-mentioned reconciliation verifying according to the verifying dimension for obtaining the acquisition of module 61
Scape;Specifically, after obtaining module 61 and obtaining the verifying dimension that reconciliation is verified, generation module 62 can be according to the verifying of acquisition
Dimension establishes the test scene of above-mentioned reconciliation verifying automatically.
Module 61 is obtained, is also used to obtain the test data for being used for above-mentioned test scene from block chain;Wherein, block chain
Technology is to verify to know together algorithm with storing data, using distributed node to generate and update number using block linked data structure
According to, the safety that guarantees in the way of cryptography data transmission and access, utilize and closed by the intelligence that automatized script code forms
About program the completely new distributed basis framework and calculation of one kind with operation data.Wherein, the distribution in block chain
Node and common recognition algorithm mechanism make block chain have the characteristics that decentralization, autonomy, opening, the mode of Applied cryptography
Guarantee that the information in block chain can not distort.Block chain is divided into publicly-owned block chain, alliance's block chain and privately owned block chain at present,
In, each node in publicly-owned block chain is opened to anyone, anyone can participate in common recognition process in the whole world, with
And can read and send transaction, in addition, any node in publicly-owned block chain need not any license can be added at any time and
It is detached from the publicly-owned block chain, therefore, publicly-owned block chain is earliest block chain, and the block chain being most widely used.
As an example it is assumed that the reconciliation result to loan repayment is verified, user can will use after bank loan
The Transaction Information of the identification information at family and user's loan is packaged into block, and above-mentioned block is then uploaded to block chain.Into
And after user refunds, the identification information institute that the Transaction Information that user refunds can equally be uploaded to above-mentioned user is right
The transaction data that user's loan repayment business is preserved in the block answered, therefore in block chain, in generation module 62 according to acquisition
Verifying dimension establish after the test scene of above-mentioned reconciliation verifying, obtain module 61 can be obtained from block chain be used for it is above-mentioned
The test data of test scene.
Test module 63, the test data for will acquire the acquisition of module 61 import above-mentioned test scene and are tested, obtained
Take the reconciliation result under above-mentioned test scene;Specifically, obtain module 61 obtain for above-mentioned test scene test data it
Afterwards, above-mentioned test data can be imported above-mentioned test scene and tested by test module 63, and then obtain above-mentioned test scene
Under reconciliation result.
Contrast module 64, reconciliation result under above-mentioned test scene and above-mentioned block chain for obtaining test module 63
In compared for the default reconciliation result of above-mentioned test scene;Specifically, user's loan repayment industry is preserved in block chain
The transaction data of business, therefore block chain can generate the reconciliation of loan repayment business according to the transaction data of loan repayment business
As a result, and being stored in block chain.After obtaining the reconciliation result under test scene, contrast module 64 can be by above-mentioned test
Reconciliation result under scene is compared with the default reconciliation result for being directed to above-mentioned test scene in block chain, to above-mentioned block
The reconciliation result saved in chain is verified.
Generation module 62 is also used to generate the verifying report of above-mentioned reconciliation verifying according to the comparing result of contrast module 64.
In the present embodiment, module 61 is obtained, specifically for obtaining the verifying dimension of the reconciliation automatically configured verifying;Wherein,
Above-mentioned verifying dimension includes following one or combination: business scenario, logical transaction, system node, transaction results and reconciliation result.
That is, the verifying dimension of above-mentioned reconciliation verifying can be automatically configured according to the business scenario that reconciliation is verified,
For example, the business scenario of above-mentioned reconciliation verifying can make loans for loan repayment or loan;The verifying of above-mentioned reconciliation verifying
Dimension can be one or more, such as: reconciliation verifying can be carried out just for this dimension of business scenario, can also combined more
A verifying dimension carries out reconciliation verifying.Reconciliation verifying can be improved in the configuration for the verifying dimension that the present embodiment is verified by reconciliation
Efficiency, guarantee reconciliation verifying coverage.
In the present embodiment, module 61 is obtained, the verifying dimension for including specifically for obtaining above-mentioned test scene, from block chain
The data that middle acquisition matches with verifying dimension included by above-mentioned test scene.
It, can be with when obtaining the test data needed for obtaining above-mentioned test scene in block chain of module 61 in the present embodiment
The verifying dimension that above-mentioned test scene includes first is obtained, is then obtained and above-mentioned test scene institute from the data that block chain saves
Including the data that match of verifying dimension.
In the present embodiment, test module 63, specifically for other in the data that will acquire in addition to reconciliation result dimension
The data of verifying dimension import above-mentioned test scene and are tested, and obtain the reconciliation result under above-mentioned test scene.
Due to being verified to the reconciliation result saved in block chain, test module 63 is imported by test data
When test scene is tested, the data of other verifying dimensions in the data of acquisition in addition to reconciliation result dimension need to be only imported
, after testing is complete, the reconciliation result under available above-mentioned test scene.The present embodiment may be implemented according to test
Then above-mentioned test data is imported above-mentioned test by the verifying dimension that scene includes, test data needed for obtaining test scene
Scene is tested, and the efficiency verified to the reconciliation result in block chain can be improved.
In the present embodiment, generation module 62, specifically for obtaining the entry that reconciliation result is different in above-mentioned comparing result, on
Stating reconciliation result difference includes reconciliation result under above-mentioned test scene and the pre- of above-mentioned test scene is directed in above-mentioned block chain
If reconciliation result is different;According to the quantity of the different entry of above-mentioned reconciliation result, the reconciliation result of above-mentioned block chain is being generated just
True rate report.
In the present embodiment, if being directed to above-mentioned test scene in reconciliation result under above-mentioned test scene and above-mentioned block chain
Default reconciliation result it is different, then illustrate that mistake, therefore generation module 62 occurs in the default reconciliation result in above-mentioned block chain
According to the sum for the entry for participating in this test in the quantity of the different entry of reconciliation result and above-mentioned block chain, can calculate
The accuracy for obtaining the default reconciliation result of above-mentioned block chain, improve the reconciliation result in block chain is verified it is accurate
Rate.
In addition, can position after obtaining the entry that reconciliation result is different in above-mentioned comparing result and occur mistake in block chain
Entry corresponding to reconciliation result accidentally, and then the reconciliation result of above-mentioned appearance mistake can be modified.
In the verifying device of above-mentioned reconciliation result, after obtaining the verifying dimension that module 61 obtains reconciliation verifying, mould is generated
Block 62 establishes the test scene of above-mentioned reconciliation verifying according to the verifying dimension of acquisition, then obtains module 61 and obtains from block chain
For the test data of above-mentioned test scene, above-mentioned test data is imported above-mentioned test scene and tested by test module 63,
Obtain the reconciliation under above-mentioned test scene as a result, then contrast module 64 by under above-mentioned test scene reconciliation result and above-mentioned area
Default reconciliation result in block chain for above-mentioned test scene compares, and ultimately produces module 62 and is generated according to comparing result
The verifying report for stating reconciliation verifying, verifies the reconciliation result in block chain so as to realize, and then can be improved pair
The efficiency and accuracy rate that reconciliation result in block chain is verified.
Fig. 7 is the structural schematic diagram of the application computer equipment one embodiment, and above-mentioned computer equipment may include depositing
Reservoir, processor and it is stored in the computer program that can be run on above-mentioned memory and on above-mentioned processor, above-mentioned processor
When executing above-mentioned computer program, the verification method of reconciliation result provided by the embodiments of the present application may be implemented.
Wherein, above-mentioned computer equipment can be server, such as: Cloud Server, or electronic equipment, such as:
Smart phone, personal computer (PersonalComputer;Hereinafter referred to as: PC) or the smart machines such as tablet computer, this implementation
Example is not construed as limiting the specific form of above-mentioned computer equipment.
Fig. 7 shows the block diagram for being suitable for the exemplary computer device 12 for being used to realize the application embodiment.Fig. 7 is shown
Computer equipment 12 be only an example, should not function to the embodiment of the present application and use scope bring any restrictions.
As shown in fig. 7, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with
Including but not limited to: one or more processor or processing unit 16, system storage 28 connect different system components
The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (Industry Standard
Architecture;Hereinafter referred to as: ISA) bus, microchannel architecture (Micro Channel Architecture;Below
Referred to as: MAC) bus, enhanced isa bus, Video Electronics Standards Association (Video Electronics Standards
Association;Hereinafter referred to as: VESA) local bus and peripheral component interconnection (Peripheral Component
Interconnection;Hereinafter referred to as: PCI) bus.
Computer equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by
The usable medium that computer equipment 12 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (Random Access Memory;Hereinafter referred to as: RAM) 30 and/or cache memory 32.Computer equipment 12
It may further include other removable/nonremovable, volatile/non-volatile computer system storage mediums.Only conduct
Citing, storage system 34 can be used for reading and writing immovable, non-volatile magnetic media, and (Fig. 7 do not show, commonly referred to as " hard disk
Driver ").Although being not shown in Fig. 7, the magnetic for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided
Disk drive, and to removable anonvolatile optical disk (such as: compact disc read-only memory (Compact Disc Read Only
Memory;Hereinafter referred to as: CD-ROM), digital multi CD-ROM (Digital Video Disc Read Only
Memory;Hereinafter referred to as: DVD-ROM) or other optical mediums) read-write CD drive.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 18.Memory 28 may include that at least one program produces
Product, the program product have one group of (for example, at least one) program module, and it is each that these program modules are configured to perform the application
The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28
In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould
Block 42 usually executes function and/or method in embodiments described herein.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24
Deng) communication, can also be enabled a user to one or more equipment interact with the computer equipment 12 communicate, and/or with make
The computer equipment 12 any equipment (such as network interface card, the modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also
To pass through network adapter 20 and one or more network (such as local area network (Local Area Network;Hereinafter referred to as:
LAN), wide area network (Wide Area Network;Hereinafter referred to as: WAN) and/or public network, for example, internet) communication.Such as figure
Shown in 7, network adapter 20 is communicated by bus 18 with other modules of computer equipment 12.Although should be understood that in Fig. 7 not
It shows, other hardware and/or software module can be used in conjunction with computer equipment 12, including but not limited to: microcode, equipment are driven
Dynamic device, redundant processing unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and
Data processing, such as realize the verification method of reconciliation result provided by the embodiments of the present application.
The embodiment of the present application also provides a kind of non-transitorycomputer readable storage medium, is stored thereon with computer journey
The verification method of reconciliation result provided by the embodiments of the present application may be implemented in sequence, above-mentioned computer program when being executed by processor.
Above-mentioned non-transitorycomputer readable storage medium can appointing using one or more computer-readable media
Meaning combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer can
Reading storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device
Or device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:
Electrical connection, portable computer diskette, hard disk, random access memory (RAM), read-only storage with one or more conducting wires
Device (Read Only Memory;Hereinafter referred to as: ROM), erasable programmable read only memory (Erasable
Programmable Read Only Memory;Hereinafter referred to as: EPROM) or flash memory, optical fiber, portable compact disc are read-only deposits
Reservoir (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer
Readable storage medium storing program for executing can be any tangible medium for including or store program, which can be commanded execution system, device
Either device use or in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the application operation computer
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
It is related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (Local
Area Network;Hereinafter referred to as: LAN) or wide area network (Wide Area Network;Hereinafter referred to as: WAN) it is connected to user
Computer, or, it may be connected to outer computer (such as being connected using ISP by internet).
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement
Or event) when " or " in response to detection (condition or event of statement) ".
It should be noted that terminal involved in the embodiment of the present application can include but is not limited to personal computer
(Personal Computer;Hereinafter referred to as: PC), personal digital assistant (Personal Digital Assistant;Below
Referred to as: PDA), radio hand-held equipment, tablet computer (Tablet Computer), mobile phone, MP3 player, MP4 player etc..
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown
Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect
Coupling or communication connection can be electrical property, mechanical or other forms.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the application
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory;Hereinafter referred to as: ROM), random access memory (Random Access Memory;Hereinafter referred to as: RAM),
The various media that can store program code such as magnetic or disk.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.
Claims (10)
1. a kind of verification method of reconciliation result characterized by comprising
Obtain the verifying dimension of reconciliation verifying;
The test scene of the reconciliation verifying is established according to the verifying dimension of acquisition;
The test data for being used for the test scene is obtained from block chain;
The test data is imported the test scene to test, obtains the reconciliation result under the test scene;
By under the test scene reconciliation result and the block chain in for the test scene default reconciliation result into
Row comparison;
The verifying report of the reconciliation verifying is generated according to comparing result.
2. the method according to claim 1, wherein the verifying dimension for obtaining reconciliation verifying includes:
Obtain the verifying dimension of the reconciliation verifying automatically configured;The verifying dimension includes following one or combination: business scenario,
Logical transaction, system node, transaction results and reconciliation result.
3. the method according to claim 1, wherein described obtain from block chain for the test scene
Test data includes:
Obtain the verifying dimension that the test scene includes;
The data to match with verifying dimension included by the test scene are obtained from block chain.
4. according to the method described in claim 3, it is characterized in that, it is described by the test data import the test scene into
Row test, the reconciliation result obtained under the test scene include:
The data of other verifying dimensions in the data that will acquire in addition to reconciliation result dimension import the test scene and carry out
Test, obtains the reconciliation result under the test scene.
5. the method according to claim 1, wherein described generate testing for the reconciliation verifying according to comparing result
Card is reported
The entry that reconciliation result is different in the comparing result is obtained, the reconciliation result difference includes under the test scene
Reconciliation result is different from the default reconciliation result of the test scene is directed in the block chain;
According to the quantity of the different entry of the reconciliation result, the accuracy report of the reconciliation result of the block chain is generated.
6. a kind of verifying device of reconciliation result characterized by comprising
Module is obtained, for obtaining the verifying dimension of reconciliation verifying;
Generation module, the verifying dimension for being obtained according to the acquisition module establish the test scene of the reconciliation verifying;
The acquisition module is also used to obtain the test data for being used for the test scene from block chain;
Test module, the test data for obtaining the acquisition module import the test scene and test, and obtain institute
State the reconciliation result under test scene;
Contrast module, the reconciliation result under the test scene for obtaining the test module and needle in the block chain
The default reconciliation result of the test scene is compared;
The generation module is also used to generate the verifying report of the reconciliation verifying according to the comparing result of the contrast module.
7. device according to claim 6, which is characterized in that
The acquisition module, specifically for obtaining the verifying dimension of the reconciliation automatically configured verifying;The verifying dimension include with
One of lower or combination: business scenario, logical transaction, system node, transaction results and reconciliation result.
8. device according to claim 6, which is characterized in that
The acquisition module, the verifying dimension for including specifically for obtaining the test scene, obtained from block chain with it is described
The data that verifying dimension matches included by test scene.
9. a kind of computer equipment, which is characterized in that including memory, processor and be stored on the memory and can be in institute
The computer program run on processor is stated, when the processor executes the computer program, is realized as in claim 1-5
Any method.
10. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the meter
Such as method as claimed in any one of claims 1 to 5 is realized when calculation machine program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811536862.0A CN109816512A (en) | 2018-12-14 | 2018-12-14 | Verification method, device and the computer equipment of reconciliation result |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811536862.0A CN109816512A (en) | 2018-12-14 | 2018-12-14 | Verification method, device and the computer equipment of reconciliation result |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109816512A true CN109816512A (en) | 2019-05-28 |
Family
ID=66601688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811536862.0A Pending CN109816512A (en) | 2018-12-14 | 2018-12-14 | Verification method, device and the computer equipment of reconciliation result |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109816512A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111161041A (en) * | 2019-12-31 | 2020-05-15 | 中国银行股份有限公司 | Account checking method and device based on block chain |
CN113708943A (en) * | 2021-09-06 | 2021-11-26 | 中国联合网络通信集团有限公司 | Internetwork settlement method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050187852A1 (en) * | 2004-02-24 | 2005-08-25 | Finaplex, Inc. | Method and system for account reconciliation in a wealth management system |
CN106330882A (en) * | 2016-08-18 | 2017-01-11 | 广州凰腾通信科技有限公司 | Safety verification method and safety verification device |
CN107016542A (en) * | 2016-12-06 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of business data processing method, verification method, apparatus and system |
US20170228371A1 (en) * | 2016-02-05 | 2017-08-10 | Manifold Technology, Inc. | Blockchain-enhanced database |
CN107070871A (en) * | 2017-01-12 | 2017-08-18 | 阿里巴巴集团控股有限公司 | A kind of method and device of authentication |
CN108074177A (en) * | 2017-12-05 | 2018-05-25 | 深圳前海微众银行股份有限公司 | Data account checking method, system and computer readable storage medium |
CN108647969A (en) * | 2018-05-16 | 2018-10-12 | 深圳市网心科技有限公司 | A kind of method, apparatus, system and the storage medium of access block chain |
-
2018
- 2018-12-14 CN CN201811536862.0A patent/CN109816512A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050187852A1 (en) * | 2004-02-24 | 2005-08-25 | Finaplex, Inc. | Method and system for account reconciliation in a wealth management system |
US20170228371A1 (en) * | 2016-02-05 | 2017-08-10 | Manifold Technology, Inc. | Blockchain-enhanced database |
CN106330882A (en) * | 2016-08-18 | 2017-01-11 | 广州凰腾通信科技有限公司 | Safety verification method and safety verification device |
CN107016542A (en) * | 2016-12-06 | 2017-08-04 | 阿里巴巴集团控股有限公司 | A kind of business data processing method, verification method, apparatus and system |
CN107070871A (en) * | 2017-01-12 | 2017-08-18 | 阿里巴巴集团控股有限公司 | A kind of method and device of authentication |
CN108074177A (en) * | 2017-12-05 | 2018-05-25 | 深圳前海微众银行股份有限公司 | Data account checking method, system and computer readable storage medium |
CN108647969A (en) * | 2018-05-16 | 2018-10-12 | 深圳市网心科技有限公司 | A kind of method, apparatus, system and the storage medium of access block chain |
Non-Patent Citations (1)
Title |
---|
龙洋洋;陈玉玲;辛阳;豆慧;: "基于联盟区块链的安全能源交易方案", 计算机应用, no. 06 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111161041A (en) * | 2019-12-31 | 2020-05-15 | 中国银行股份有限公司 | Account checking method and device based on block chain |
CN113708943A (en) * | 2021-09-06 | 2021-11-26 | 中国联合网络通信集团有限公司 | Internetwork settlement method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109360088A (en) | Processing method, device and the computer equipment of loan transaction | |
US20190266584A1 (en) | Closed-loop testing of integrated circuit card payment terminals | |
JP2020529071A (en) | Transaction processing methods and systems with full crypto auditing capabilities | |
US20230070762A1 (en) | Data encryption method and apparatus, computer device, and storage medium | |
CN109582550B (en) | Method, device and server for acquiring full-service scene fault set | |
CN110009488A (en) | Order processing method, apparatus, equipment and storage medium | |
CN110060155A (en) | The intelligent contract of block chain executes method and device and electronic equipment | |
US20170200148A1 (en) | Point of interaction device emulation for payment transaction simulation | |
CN110008984A (en) | A kind of object module training method and device based on multitask sample | |
CN109815039A (en) | Test method and device, storage medium, the computer equipment of business software | |
CN110377522A (en) | The test method for scene of trading, calculates equipment and medium at device | |
CN109873735A (en) | Performance test methods, device and the computer equipment of the H5 page | |
US20230019494A1 (en) | Data verification method and apparatus, computer device, and computer readable storage medium | |
CN109816512A (en) | Verification method, device and the computer equipment of reconciliation result | |
CN110110236A (en) | A kind of information-pushing method, device, equipment and storage medium | |
CN109951553A (en) | Data processing method, system, electronic equipment and computer readable storage medium | |
CN109582569A (en) | Lending platforms test method, device, terminal device and readable storage medium storing program for executing | |
CN111723102A (en) | Intelligent contract updating method and device | |
US20150317635A1 (en) | Electronic gesture-based signatures | |
CN110033165A (en) | The recommended method of overdue loaning bill collection mode, device, medium, electronic equipment | |
US11710117B1 (en) | Systems and methods for EMV terminal device testing using EMV card emulation | |
US11354110B2 (en) | System and method using natural language processing to synthesize and build infrastructure platforms | |
CN108446738A (en) | A kind of clustering method, device and electronic equipment | |
CN108769059A (en) | Method of calibration, device, medium and computing device | |
CN112785287A (en) | Method, apparatus, computer system and medium for billing settlement |
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 |