CN109859028A - A kind of verification method, system, medium and the electronic equipment of repaying information - Google Patents
A kind of verification method, system, medium and the electronic equipment of repaying information Download PDFInfo
- Publication number
- CN109859028A CN109859028A CN201910003244.8A CN201910003244A CN109859028A CN 109859028 A CN109859028 A CN 109859028A CN 201910003244 A CN201910003244 A CN 201910003244A CN 109859028 A CN109859028 A CN 109859028A
- Authority
- CN
- China
- Prior art keywords
- repaying
- file
- data
- target
- verifying
- 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 52
- 238000012795 verification Methods 0.000 title claims abstract description 32
- 238000012360 testing method Methods 0.000 claims abstract description 104
- 230000015572 biosynthetic process Effects 0.000 claims description 10
- 238000001514 detection method Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 2
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 claims 1
- 239000010931 gold Substances 0.000 claims 1
- 229910052737 gold Inorganic materials 0.000 claims 1
- 238000004422 calculation algorithm Methods 0.000 description 10
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000012937 correction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000006399 behavior Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention relates to contrast test fields, disclose verification method, system, medium and the electronic equipment of a kind of repaying information, it include: to detect the target repaying model of place of tester's selection, and obtain repaying parameter, which includes at least repayment period time, refund time and repayment amount;According to target repaying model of place and repaying parameter, the first verifying file is generated;The second verifying file corresponding with target repaying model of place and repaying parameter is searched in test database;First verifying file is compared with the second verifying file, obtains comparison result.Under the method, it can will be compared based on the first verifying file generated under target repaying model of place and the second verifying file generated under true repaying scene, it obtains improving the verification efficiency of repaying information for the comparison result for reflecting the data accuracy of true repaying system and reducing the error probability of test result.
Description
Technical field
The present invention relates to contrastive test field, in particular to a kind of verification method, system, medium and the electronics of repaying information
Equipment.
Background technique
When repaying user carries out repaying operation by repaying system, the background data base of repaying system can be according to the repaying
The repaying operation of user updates the repaying information of its account.Since repaying information can effectively reflect the current repaying of repaying user
Therefore situation safeguards the normal operation of repaying system, ensures that the accuracy of its repaying information data is obviously particularly significant.
Currently, being mainly by way of manual verification for the data maintenance of repaying system, i.e., background test personnel will
The repaying information for wanting verifying is extracted from test database, then is carried out by accuracy of the manual calculation to repaying information
Verification.However, since the number of users of repaying system is huge, and the having differences property of repaying situation of different repaying users, backstage
Database in be stored with magnanimity repaying information data to be verified.Obviously, that there are verification efficiencies is low for the mode of manual verification
And the high problem of error probability.
Summary of the invention
The skill that verification efficiency in order to solve repaying Information Authentication present in the relevant technologies is low and error probability is high
Art problem, the present invention provides verification method, system, medium and the electronic equipments of a kind of repaying information.
A kind of verification method of repaying information, which comprises
The target repaying model of place of tester's selection is detected, and obtains repaying parameter, the repaying parameter is at least wrapped
Include repayment period time, refund time and repayment amount;
According to the target repaying model of place and the repaying parameter, the first verifying file is generated;Wherein, described
One verifying file includes the first receipt information table, the first repayment schedule table and the first refund detail list;
The second verifying corresponding with the target repaying model of place and the repaying parameter is searched in test database
File, the test database is for storing the verifying file generated under true repaying scene;
The first verifying file is compared with the second verifying file, obtains comparison result.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to be looked into test database
Look for the second verifying file corresponding with the target repaying model of place and the repaying parameter, comprising:
Target query condition is generated according to the target repaying model of place and the repaying parameter;
When the index type of test database is Customs Assigned Number, it is determined for compliance with the target user of the target query condition
Number set;Wherein, target user's set includes that at least one target user numbers;
The target user is searched in the test database and numbers corresponding user's checking file, and by the user
Verifying file is determined as the second verifying file;
When the index type of test database is form types, according to the target query condition respectively in receipt information
The second receipt information table of word bank lookup searches the second repayment schedule table and in refund detail word bank in repayment schedule word bank
Search the second refund detail list;Wherein, the test database includes at least the receipt information word bank, repayment schedule
Library and the refund detail word bank;
The is generated according to the second receipt information table, the second repayment schedule table and the second refund detail list
Two verifying files.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described by the first verifying text
Part is compared with the second verifying file, obtains comparison result, comprising:
The first field of first tables of data is obtained, and is looked into the second tables of data corresponding with first tables of data
Look for the second field corresponding with first field;Wherein, when first tables of data is the first receipt information table, institute
Stating the second tables of data is the second receipt information table;It is described when first tables of data is the first repayment schedule table
Second tables of data is the second repayment schedule table;When first tables of data is the first refund detail list, described the
Two tables of data are the second refund detail list;
The field value of first field and the field value of second field are compared, the comparison result of field value is obtained;
The comparison of the first verifying file and the second verifying file is determined based on the comparison result of the field value
As a result.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described to obtain first data
Before first field of table, the method also includes:
Detect the quantity for the first field that the first verifying file is included;
Judge whether the quantity is greater than preset quantity threshold value;
If the quantity is greater than the preset quantity threshold value, the corresponding the First Eigenvalue column of first tables of data are generated
Table and the corresponding second feature value list of second tables of data;
The fisrt feature value list and the second feature value list are compared, comparison result is obtained;
If the quantity is not more than the preset quantity threshold value, the first of acquisition first tables of data is executed
Field.
As an alternative embodiment, in first aspect of the embodiment of the present invention, it is described by the first verifying text
Part is compared with the second verifying file, after obtaining comparison result, the method also includes:
Judge the second verifying file with the presence or absence of content to be modified according to the comparison result;
If there is the content to be modified, the content to be modified and the content to be modified are obtained described second
Verify the location information in file;
Test report is generated based on the content to be modified and the location information.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method also includes:
Detect whether to receive the inquiry request of tester;
If receiving the inquiry request, the test report is graphically exported.
As an alternative embodiment, in first aspect of the embodiment of the present invention, the method also includes:
The date of formation for obtaining the test report stores the test report into history test catalogue with the life
The classification folder named at the date.
A kind of verifying system of repaying information, the system comprises:
Detection module, for detecting the target repaying model of place of tester's selection;
Module is obtained, for obtaining repaying parameter, the repaying parameter includes at least repayment period time, refund time and goes back
The money amount of money;
Generation module, for generating the first verifying text according to the target repaying model of place and the repaying parameter
Part;Wherein, the first verifying file includes the first receipt information table, the first repayment schedule table and the first refund detail list;
Searching module, for being searched and the target repaying model of place and the repaying parameter pair in test database
The the second verifying file answered, the test database is for storing the verifying file generated under true repaying scene;
Comparison module obtains comparing knot for the first verifying file to be compared with the second verifying file
Fruit.
The third aspect of the embodiment of the present invention discloses a kind of computer readable storage medium, stores computer program, wherein
The computer program makes computer execute a kind of verification method of repaying information disclosed in first aspect of the embodiment of the present invention.
Fourth 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, foregoing method is realized.
The technical solution that the embodiment of the present invention provides can include the following benefits:
A kind of verification method of repaying information provided by the present invention includes the following steps, detects the mesh of tester's selection
Repaying model of place is marked, and obtains repaying parameter, wherein the repaying parameter includes at least repayment period time, refund time and goes back
The money amount of money;According to target repaying model of place and repaying parameter, the first verifying file is generated;Wherein, the first verifying file packet
Include the first receipt information table, the first repayment schedule table and the first refund detail list;It is searched with target also in test database
Model of place and the corresponding second verifying file of repaying parameter are borrowed, which generates under true repaying scene for storing
Verifying file;First verifying file is compared with the second verifying file, obtains comparison result.
Under the method, produced being verified based on first generated under target repaying model of place under file and true repaying scene
The second raw verifying file is compared, and obtains comparing for the comparison result for reflecting the data accuracy of true repaying system
In by way of manually extracting repaying information and being calculated and checked, this method can be improved repaying information in the prior art
Verification efficiency and the error probability for reducing test result.
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 flow chart of the verification method of repaying information shown according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the verification method of the repaying information shown according to another exemplary embodiment;
Fig. 3 is a kind of block diagram of the verifying system of repaying information shown according to an exemplary embodiment;
Fig. 4 is the block diagram of the verifying system of another repaying information shown according to an exemplary embodiment.
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.
Fig. 1 is a kind of flow chart of the verification method of repaying information shown according to an exemplary embodiment.Such as Fig. 1 institute
Show, the method includes the following steps.
Step 101, the target repaying model of place of system detection tester selection, and obtain repaying parameter.
In the exemplary embodiment, the type of target repaying model of place may include repayment date refund failure, grace period
Inner part is refunded or refund in full outside the grace period.Above-mentioned repaying parameter at least may include repayment period time, refund the time and
Repayment amount, and each target repaying model of place includes the type of identical repaying parameter.Different repaying scenes can
To be mapped in different target repaying model of place, therefore, in different target repaying model of place, for repaying parameter
Computation rule it is not necessarily identical.
In the present example embodiment, the mode that system obtains repaying parameter is specifically as follows: system detection tester
Whether to be measured repaying parameter is inputted;If detecting that tester does not input repaying parameter to be measured, default repaying parameter is determined
For the repaying parameter under the target repaying model of place;If detecting that user has input repaying parameter to be measured, by repaying to be measured
Parameter replacement default repaying parameter;Wherein, default repaying parameter is the pre-set repaying parameter of system.
Step 102, system generates the first verifying file according to target repaying model of place and repaying parameter;Wherein, should
First verifying file may include the first receipt information table, the first repayment schedule table and the first refund detail list.
In the present example embodiment, optionally, system can also detect whether to receive history verifying file, if connect
History verifying file is received, history verifying file is updated according to target repaying model of place and repaying parameter, is updated
History afterwards verifies file, and the updated history verifying file is determined as the first verifying file;It is gone through if do not received
History verifies file, according to target repaying model of place and repaying parameter, generates the first verifying file;Wherein, history verifying text
Part may include history receipt information table, history repayment schedule table and history refund detail list.
Step 103, system is searched and target repaying model of place and repaying parameter corresponding second in test database
File is verified, the test database is for storing the verifying file generated under true repaying scene.
In the present example embodiment, user (also lender) carries out repaying behaviour in repaying system (scene of really repaying) for the first time
When making, test database (background data base) can generate corresponding to the user account of the user according to the repaying operation of user
Verify file;User it is non-for the first time repaying system carry out repay operation when, test database can be operated according to the repaying of user
Update verifying file corresponding to the user account of the user;The verifying file can recorde and reflect the current loan feelings of user
Condition.
In one exemplary embodiment, optionally, system searched in test database with target repaying model of place and
The mode of the corresponding second verifying file of repaying parameter is specifically as follows:
Target query condition is generated according to target repaying model of place and above-mentioned repaying parameter;
When the index type of test database is Customs Assigned Number, it is determined for compliance with target user's number of target query condition
Set;Wherein, target user's set includes that at least one target user numbers;
Target user is searched in test database and numbers corresponding user's checking file, and user's checking file is determined
For the second verifying file;
When the index type of test database is form types, according to target query condition respectively in receipt information word bank
The second receipt information table is searched, the second repayment schedule table is searched in repayment schedule word bank and is searched in refund detail word bank
Second refund detail list;Wherein, test database includes at least receipt information word bank, repayment schedule word bank and refund detail
Library;
The second verifying file is generated according to the second receipt information table, the second repayment schedule table and the second refund detail list.
In the exemplary embodiment, system can generate target query item according to target repaying model of place and repaying parameter
Part, and obtain the database information of test database;Index information is obtained according to the database information of acquisition, which can
To include the index type, index name and the index sentence for being indexed to condition of test database, the present exemplary embodiment is not
It limits.
Step 104, the first verifying file is compared system with the second verifying file, obtains comparison result.
In one exemplary embodiment, optionally, the first verifying file is compared system with the second verifying file, obtains
May include: to comparison result
System obtain the first tables of data the first field, and in the second tables of data corresponding with the first tables of data search with
Corresponding second field of first field;Wherein, when the first tables of data is the first receipt information table, the second tables of data is borrowed for second
According to information table;When the first tables of data is the first repayment schedule table, the second tables of data is the second repayment schedule table;When the first data
When table is the first refund detail list, the second tables of data is the second refund detail list;
System compares the field value of the first field and the field value of the second field, obtains the comparison result of field value;
System determines the comparison result of the first verifying file and the second verifying file based on the comparison result of field value.
Further alternative, system can also detect the first verifying text before the first field for obtaining the first tables of data
The quantity for the first field that part is included, and judge whether quantity is greater than preset quantity threshold value;If quantity is greater than preset quantity
Threshold value generates the corresponding fisrt feature value list of the first tables of data and the corresponding second feature value list of the second tables of data;Than
To fisrt feature value list and second feature value list, comparison result is obtained;If quantity is not more than preset quantity threshold value, triggering
The step of executing the first field of above-mentioned the first tables of data of acquisition.
In the present exemplary embodiment, a plurality of data are stored in the first tables of data and the second tables of data, every data is all
It may include multiple fields.Wherein, in tables of data, field can be understood as a longitudinal permutation, and different fields can be used
In storing different information, the attribute of each field may be identical, it is also possible to different.For example, the first tables of data is first
Repayment schedule table, certain data in the first repayment schedule table includes three fields, and first character section and second field are equal
For storage time, wherein the attribute of first character section is the borrowing time, such as on January 1st, 2016;The attribute of second field
For time of refunding, such as on January 1st, 2017;The attribute of third field is repayment amount, such as 1000 yuan.
In the present exemplary embodiment, system can locate the first original tables of data and the second original tables of data in advance
Reason;Wherein, pretreatment can include but is not limited to Data Format Transform, spcial character filters, shape sound word is replaced, meaningless word replaces
One or more of change, the embodiment of the present invention is not construed as limiting;Further, it is corresponding that the first tables of data can be generated in system
Fisrt feature value list and the corresponding second feature value list of the second tables of data, specifically, system can use preset
Algorithm calculates the characteristic value of every data in the first tables of data, and forms first tables of data by the characteristic value of every data and correspond to
Fisrt feature value list, similarly it is found that the second tables of data corresponding the can also be calculated in system using same algorithm
Two feature value lists;Wherein, preset algorithm can be summation algorithm or Hash (hash) algorithm, and the present exemplary embodiment is not
It limits.
The present exemplary embodiment, when the field quantity of tables of data is more, the mode for comparing field one by one needs to spend one
It fixes time, and the transmission quantity of data is larger in comparison process, it is therefore possible to use the corresponding list of feature values of tables of data is calculated,
And comparison result is obtained by the comparison between the list of feature values, can be improved the efficiency of comparing, and reduce compare error,
Improve the accuracy of comparison result.
As it can be seen that implementing the verification method of repaying information described in Fig. 1, can will be based on raw under target repaying model of place
At the first verifying file and true repaying scene under the second verifying file for generating be compared, obtain for reflect it is true and also
The comparison result of the data accuracy of loan system, compared to the prior art in calculate and core by manually extracting repaying information
Pair mode, this method can be improved the verification efficiency of repaying information and reduces the error probability of test result;In addition, energy
Enough use calculates the corresponding list of feature values of tables of data, and obtains comparison result by the comparison between the list of feature values, can be improved
The efficiency of comparing, and the accuracy for reducing and comparing error, improve comparison result.
Fig. 2 is a kind of flow chart of the verification method of the repaying information shown according to another exemplary embodiment.Such as Fig. 2 institute
Show, in addition to the step shown in Fig. 1, first verifying file is verified into file with second in step 104 and is compared, comparison result is obtained
Later, the verification method of repaying information is further comprising the steps of in this embodiment.
Step 105, system according to comparison result judge the second verifying file with the presence or absence of content to be modified, if there is to
Content is corrected, triggering executes step 106;If there is no content to be modified, terminate this process.
Step 106, system obtains the location information of content to be modified and the content to be modified in the second verifying file.
Step 107, system generates test report based on the location information of content to be modified and the content to be modified.
In a further exemplary embodiment, after step 107, the verification method of repaying information further includes in this embodiment
Following steps:
Step 108, whether system detection receives the inquiry request of tester, if receiving the inquiry request, touching
Hair executes step 109;If not receiving inquiry request, terminate this process.
In the present example embodiment, optionally, if not receiving the inquiry request, system can also trigger and execute step
Rapid 110.
Step 109, system graphically exports test report.
In the present example embodiment, the form of Visual Chart can be exported the test report by system;Wherein, it is surveying
In examination report, can by color and or the modes such as font distinguish different data contents.As it can be seen that the present exemplary embodiment, energy
It is enough that test result is presented to tester in a manner of intuitively, improve the readability of test report.
In the present example embodiment, optionally, system can also send test by way of mail and/or short message
It reports to the corresponding terminal device of tester.
In yet another exemplary embodiment, after step 107, the verification method of repaying information further includes in this embodiment
Following steps:
Step 110, system obtains the date of formation of test report, and the test report is stored into history test catalogue
The classification folder named with the date of formation.
In the present example embodiment, system stores test report, is conducive to tester by checking that test report is fixed
Position occurs abnormal data portion into test database, and the data portion for subsequent correction exception provides great convenience;In addition,
Test report is subjected to classification storage according to the date of formation, is capable of the time of effectively save information searching, and then improves information and obtains
Take efficiency.
As it can be seen that implementing the verification method of repaying information described in Fig. 2, can will be based on raw under target repaying model of place
At the first verifying file and true repaying scene under the second verifying file for generating be compared, obtain for reflect it is true and also
The comparison result of the data accuracy of loan system, compared to the prior art in calculate and core by manually extracting repaying information
Pair mode, this method can be improved the verification efficiency of repaying information and reduces the error probability of test result;And energy
The efficiency of comparing is enough improved, and the accuracy for reducing and comparing error, improve comparison result;And it can be with intuitively
Test result is presented to tester in mode, improves the readability of test report;And tester can be conducive to and passed through
Check that test report navigates in test database and abnormal data portion occurs, the data portion for subsequent correction exception provides
Great convenience;In addition, test report is carried out classification storage according to the date of formation, it is capable of the time of effectively save information searching,
And then improve information acquisition efficiency.
It is the device of the invention embodiment below.
Fig. 3 is a kind of block diagram of the verifying system of repaying information shown according to an exemplary embodiment.As shown in figure 3,
The system includes:
Detection module 201 for detecting the target repaying model of place of tester's selection, and will test result and be supplied to
Generation module 203.
In the exemplary embodiment, the type of target repaying model of place may include repayment date refund failure, grace period
Inner part is refunded or refund in full outside the grace period.
Module 202 is obtained, for obtaining repaying parameter, and result is will test and is supplied to generation module 203;It wherein, should be also
Borrowing parameter at least may include repayment period time, refund time and repayment amount.
In the exemplary embodiment, by above-described embodiment content it is found that above-mentioned repaying parameter at least may include repayment period
Secondary, refund time and repayment amount, and each target repaying model of place includes the type of identical repaying parameter.No
Same repaying scene may map in different target repaying model of place, therefore, in different target repaying model of place
In, it is not necessarily identical for the computation rule of repaying parameter.
In the present example embodiment, the mode for obtaining the acquisition repaying parameter of module 202 is specifically as follows: detection tester
Whether member inputs repaying parameter to be measured;It is if detecting that tester does not input repaying parameter to be measured, default repaying parameter is true
The repaying parameter being set under the target repaying model of place;If detecting that user has input repaying parameter to be measured, gone back to be measured
Borrow parameter replacement default repaying parameter;Wherein, default repaying parameter is the pre-set repaying parameter of system.
Generation module 203, for generating the first verifying according to above-mentioned target repaying model of place and above-mentioned repaying parameter
File, and the first verifying file is supplied to comparison module 205;Wherein, which may include the first receipt
Information table, the first repayment schedule table and the first refund detail list.
In the present example embodiment, optionally, generation module 203 can also detect whether to receive history verifying text
Part updates history verifying file according to target repaying model of place and repaying parameter if receiving history verifying file,
Updated history verifying file is obtained, and the updated history verifying file is determined as the first verifying file;If not
History verifying file is received, according to target repaying model of place and repaying parameter, generates the first verifying file;Wherein, it goes through
It may include history receipt information table, history repayment schedule table and history refund detail list that history, which verifies file,.
Searching module 204, it is corresponding with target repaying model of place and repaying parameter for being searched in test database
Second verifying file, and the second verifying file is supplied to comparison module 205;Wherein, the test database is true for storing
The verifying file generated under real repaying scene.
In the present example embodiment, user (also lender) carries out repaying behaviour in repaying system (scene of really repaying) for the first time
When making, test database (background data base) can generate corresponding to the user account of the user according to the repaying operation of user
Verify file;User it is non-for the first time repaying system carry out repay operation when, test database can be operated according to the repaying of user
Update verifying file corresponding to the user account of the user;The verifying file can recorde and reflect the current loan feelings of user
Condition.
In one exemplary embodiment, searching module 204 searched in test database with target repaying model of place and
The mode of the corresponding second verifying file of repaying parameter is specifically as follows:
Target query condition is generated according to target repaying model of place and repaying parameter;
When the index type of test database is Customs Assigned Number, it is determined for compliance with target user's number of target query condition
Set;Wherein, target user's set includes that at least one target user numbers;
Target user is searched in test database and numbers corresponding user's checking file, and user's checking file is determined
For the second verifying file;
When the index type of test database is form types, according to target query condition respectively in receipt information word bank
The second receipt information table is searched, the second repayment schedule table is searched in repayment schedule word bank and is searched in refund detail word bank
Second refund detail list;Wherein, test database includes at least receipt information word bank, repayment schedule word bank and refund detail
Library;
The second verifying file is generated according to the second receipt information table, the second repayment schedule table and the second refund detail list.
In the exemplary embodiment, searching module 204 can generate mesh according to target repaying model of place and repaying parameter
Querying condition is marked, and obtains the database information of test database;Index information is obtained according to the database information of acquisition, the rope
Fuse breath may include the index type, index name and the index sentence for being indexed to condition of test database, this is exemplary
Embodiment is not construed as limiting.
Comparison module 205 obtains comparison result for the first verifying file to be compared with the second verifying file.
In one exemplary embodiment, the first verifying file is compared comparison module 205 with the second verifying file, obtains
Mode to comparison result is specifically as follows:
The first field of the first tables of data is obtained, and is searched and first in the second tables of data corresponding with the first tables of data
Corresponding second field of field;Wherein, when the first tables of data is the first receipt information table, the second tables of data is the second receipt letter
Cease table;When the first tables of data is the first repayment schedule table, the second tables of data is the second repayment schedule table;When the first tables of data is
When the first refund detail list, the second tables of data is the second refund detail list;
The field value of the first field and the field value of the second field are compared, the comparison result of field value is obtained;
The comparison result of the first verifying file and the second verifying file is determined based on the comparison result of field value.
In the present exemplary embodiment, further, in the first field for obtaining the first tables of data, comparison module 205 may be used also
To execute following operation:
The quantity for the first field that detection the first verifying file is included;
Judge whether quantity is greater than preset quantity threshold value;
If quantity is greater than preset quantity threshold value, the corresponding fisrt feature value list of the first tables of data and the second number are generated
According to the corresponding second feature value list of table;
Fisrt feature value list and second feature value list are compared, comparison result is obtained;
If quantity is not more than preset quantity threshold value, the first field of above-mentioned the first tables of data of acquisition of execution.
In the present exemplary embodiment, a plurality of data are stored in the first tables of data and the second tables of data, every data is all
It may include multiple fields.Wherein, in tables of data, field can be understood as a longitudinal permutation, and different fields can be used
In storing different information, the attribute of each field may be identical, it is also possible to different.For example, the first tables of data is first
Repayment schedule table, certain data in the first repayment schedule table includes three fields, and first character section and second field are equal
For storage time, wherein the attribute of first character section is the borrowing time, such as on January 1st, 2016;The attribute of second field
For time of refunding, such as on January 1st, 2017;The attribute of third field is repayment amount, such as 1000 yuan.
In the present exemplary embodiment, comparison module 205 can be to the first original tables of data and the second original tables of data
It is pre-processed;Wherein, pretreatment can include but is not limited to Data Format Transform, spcial character filtering, the replacement of shape sound word, nothing
One or more of meaning word replacement, the embodiment of the present invention is not construed as limiting;Further, comparison module 205 can be generated
The corresponding fisrt feature value list of first tables of data and the corresponding second feature value list of the second tables of data, specifically, than
The characteristic value of in first tables of data every data can be calculated module 205 using preset algorithm, and by the spy of every data
Value indicative forms the corresponding fisrt feature value list of first tables of data, similarly it is found that comparison module 205 can also be using same
The corresponding second feature value list of the second tables of data is calculated in algorithm;Wherein, preset algorithm can be summation algorithm or
Hash (hash) algorithm, the present exemplary embodiment are not construed as limiting.
The present exemplary embodiment, when the field quantity of tables of data is more, the mode for comparing field one by one needs to spend one
It fixes time, and the transmission quantity of data is larger in comparison process, it is therefore possible to use the corresponding list of feature values of tables of data is calculated,
And comparison result is obtained by the comparison between the list of feature values, can be improved the efficiency of comparing, and reduce compare error,
Improve the accuracy of comparison result.
As it can be seen that system described in implementing Fig. 3, can will verify text based on first generated under target repaying model of place
The the second verifying file generated under part and true repaying scene is compared, and the data obtained for reflecting true repaying system are quasi-
The comparison result of true property, compared to the prior art in by way of manually extracting repaying information and being calculated and checked, we
Method can be improved the verification efficiency of repaying information and reduce the error probability of test result;Furthermore it is possible to using number is calculated
Comparison result is obtained according to the corresponding list of feature values of table, and by the comparison between the list of feature values, can be improved the effect of comparing
Rate, and the accuracy for reducing and comparing error, improve comparison result.
Referring to Fig. 4, the block diagram of Fig. 4 another system shown according to an exemplary embodiment, wherein shown in Fig. 4
System is that system further progress as shown in Figure 3 optimizes.Compared with system shown in Fig. 3, system shown in Fig. 4
Further include:
Judgment module 206 is obtained for first verifying file to be compared with the second verifying file in comparison module 205
To after comparison result, judge that the second verifying file whether there is content to be modified according to comparison result, and judging result is mentioned
Supply obtains module 202.
In the present exemplary embodiment, the first verifying file is being compared comparison module 205 with the second verifying file, obtains
To after comparison result, which can also be supplied to judgment module 206.
Above-mentioned acquisition module 202 is also used to judge to obtain to be modified there are when content to be modified in judgment module 206
The location information of content and content to be modified in the second verifying file, and the amendment content and location information are supplied to
Above-mentioned generation module 203.
In one exemplary embodiment, as shown in figure 4, above-mentioned detection module 201, can be also used for detecting whether to receive
The inquiry request of tester, and the testing result is supplied to output module 207.
Output module 207, for graphically exporting test report.
In the present example embodiment, the form of Visual Chart can be exported the test report by output module 207;Its
In, in test report, can by color and or the modes such as font distinguish different data contents.As it can be seen that this exemplary reality
Example is applied, test result can be presented to tester in a manner of intuitively, improve the readability of test report.
In the present example embodiment, optionally, output module 207 can also be by way of mail and/or short message
Test report is sent to the corresponding terminal device of tester.
In a further exemplary embodiment, which can also include memory module 208, as shown in figure 4, above-mentioned generation mould
Block 203 can also trigger the memory module 208 and open after generating test report based on content to be modified and location information
It is dynamic.
Memory module 208 for obtaining the date of formation of test report, and test report is stored to history and tests catalogue
In with the date of formation name classification folder.
In the present example embodiment, system stores test report, is conducive to tester by checking that test report is fixed
Position occurs abnormal data portion into test database, and the data portion for subsequent correction exception provides great convenience;In addition,
Test report is subjected to classification storage according to the date of formation, is capable of the time of effectively save information searching, and then improves information and obtains
Take efficiency.
As it can be seen that implementing system described in Fig. 4, text can will be verified based on first generated under target repaying model of place
The the second verifying file generated under part and true repaying scene is compared, and the data obtained for reflecting true repaying system are quasi-
The comparison result of true property, compared to the prior art in by way of manually extracting repaying information and being calculated and checked, we
Method can be improved the verification efficiency of repaying information and reduce the error probability of test result;And it can be improved data ratio
Pair efficiency, and reduce compare error, improve comparison result accuracy;And it can be in a manner of intuitively to tester
Test result is presented in member, improves the readability of test report;And tester can be conducive to by checking test report
It navigates in test database and abnormal data portion occurs, the data portion for subsequent correction exception provides great convenience;This
Outside, test report is subjected to classification storage according to the date of formation, be capable of the time of effectively save information searching, and then improve information
Obtain efficiency.
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 verification method of repaying information as previously shown.
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 verification method of repaying information as previously shown.
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 verification method of repaying information, which is characterized in that the described method includes:
The target repaying model of place of tester's selection is detected, and obtains repaying parameter, the repaying parameter includes at least also
Money phase time, refund time and repayment amount;
According to the target repaying model of place and the repaying parameter, the first verifying file is generated;Wherein, it described first tests
Demonstrate,proving file includes the first receipt information table, the first repayment schedule table and the first refund detail list;
The second verifying file corresponding with the target repaying model of place and the repaying parameter is searched in test database,
The test database is for storing the verifying file generated under true repaying scene;
The first verifying file is compared with the second verifying file, obtains comparison result.
2. the method according to claim 1, wherein described search in test database is repaid with the target
Model of place and the corresponding second verifying file of the repaying parameter, comprising:
Target query condition is generated according to the target repaying model of place and the repaying parameter;
When the index type of test database is Customs Assigned Number, it is determined for compliance with target user's number of the target query condition
Set;Wherein, target user's set includes that at least one target user numbers;
The target user is searched in the test database and numbers corresponding user's checking file, and by the user's checking
File is determined as the second verifying file;
When the index type of test database is form types, according to the target query condition respectively in receipt information word bank
The second receipt information table is searched, the second repayment schedule table is searched in repayment schedule word bank and is searched in refund detail word bank
Second refund detail list;Wherein, the test database include at least the receipt information word bank, the repayment schedule word bank with
And the refund detail word bank;
Second is generated according to the second receipt information table, the second repayment schedule table and the second refund detail list to test
Demonstrate,prove file.
3. method according to claim 1 or 2, which is characterized in that described by the first verifying file and described second
Verifying file is compared, and obtains comparison result, comprising:
Obtain the first field of first tables of data, and in the second tables of data corresponding with first tables of data search with
Corresponding second field of first field;Wherein, when first tables of data is the first receipt information table, described the
Two tables of data are the second receipt information table;When first tables of data is the first repayment schedule table, described second
Tables of data is the second repayment schedule table;When first tables of data is the first refund detail list, second number
It is the second refund detail list according to table;
The field value of first field and the field value of second field are compared, the comparison result of field value is obtained;
The comparison result of the first verifying file and the second verifying file is determined based on the comparison result of the field value.
4. according to the method described in claim 3, it is characterized in that, first field for obtaining first tables of data it
Before, the method also includes:
Detect the quantity for the first field that the first verifying file is included;
Judge whether the quantity is greater than preset quantity threshold value;
If the quantity is greater than the preset quantity threshold value, generate the corresponding fisrt feature value list of first tables of data with
And the corresponding second feature value list of second tables of data;
The fisrt feature value list and the second feature value list are compared, comparison result is obtained;
If the quantity is not more than the preset quantity threshold value, the first word of acquisition first tables of data is executed
Section.
5. method according to any one of claims 1 to 4, which is characterized in that described by the first verifying file and institute
The second verifying file is stated to be compared, after obtaining comparison result, the method also includes:
Judge the second verifying file with the presence or absence of content to be modified according to the comparison result;
If there is the content to be modified, the content to be modified and the content to be modified are obtained in second verifying
Location information in file;
Test report is generated based on the content to be modified and the location information.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Detect whether to receive the inquiry request of tester;
If receiving the inquiry request, the test report is graphically exported.
7. method according to claim 5 or 6, which is characterized in that the method also includes:
The date of formation of the test report is obtained, and the test report is stored into history test catalogue with the generation
The classification folder of date name.
8. a kind of verifying system of repaying information, which is characterized in that the system comprises:
Detection module, for detecting the target repaying model of place of tester's selection;
Module is obtained, for obtaining repaying parameter, the repaying parameter includes at least repayment period time, refund time and gold of refunding
Volume;
Generation module, for generating the first verifying file according to the target repaying model of place and the repaying parameter;Its
In, the first verifying file includes the first receipt information table, the first repayment schedule table and the first refund detail list;
Searching module, it is corresponding with the target repaying model of place and the repaying parameter for being searched in test database
Second verifying file, the test database is for storing the verifying file generated under true repaying scene;
Comparison module obtains comparison result for the first verifying file to be compared with the second verifying file.
9. a kind of computer readable storage medium, which is characterized in that it stores computer program, and the computer program makes to succeed in one's scheme
Calculation machine perform claim requires the verification method of 1~7 described in any item repaying information.
10. 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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910003244.8A CN109859028A (en) | 2019-01-03 | 2019-01-03 | A kind of verification method, system, medium and the electronic equipment of repaying information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910003244.8A CN109859028A (en) | 2019-01-03 | 2019-01-03 | A kind of verification method, system, medium and the electronic equipment of repaying information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109859028A true CN109859028A (en) | 2019-06-07 |
Family
ID=66893833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910003244.8A Pending CN109859028A (en) | 2019-01-03 | 2019-01-03 | A kind of verification method, system, medium and the electronic equipment of repaying information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109859028A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377522A (en) * | 2019-07-22 | 2019-10-25 | 中国工商银行股份有限公司 | The test method for scene of trading, calculates equipment and medium at device |
CN110502442A (en) * | 2019-08-15 | 2019-11-26 | 平安普惠企业管理有限公司 | Dynamic parameter method of calibration, device, equipment and storage medium |
CN110675157A (en) * | 2019-09-26 | 2020-01-10 | 中国银行股份有限公司 | Payment information verification method and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108256996A (en) * | 2018-02-13 | 2018-07-06 | 平安科技(深圳)有限公司 | For the single method and system of two partition in credit repaying business |
-
2019
- 2019-01-03 CN CN201910003244.8A patent/CN109859028A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108256996A (en) * | 2018-02-13 | 2018-07-06 | 平安科技(深圳)有限公司 | For the single method and system of two partition in credit repaying business |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110377522A (en) * | 2019-07-22 | 2019-10-25 | 中国工商银行股份有限公司 | The test method for scene of trading, calculates equipment and medium at device |
CN110377522B (en) * | 2019-07-22 | 2023-10-03 | 中国工商银行股份有限公司 | Transaction scene testing method, device, computing equipment and medium |
CN110502442A (en) * | 2019-08-15 | 2019-11-26 | 平安普惠企业管理有限公司 | Dynamic parameter method of calibration, device, equipment and storage medium |
CN110675157A (en) * | 2019-09-26 | 2020-01-10 | 中国银行股份有限公司 | Payment information verification method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9864586B2 (en) | Code quality improvement | |
US9589014B2 (en) | Creating data in a data store using a dynamic ontology | |
US20120158625A1 (en) | Creating and Processing a Data Rule | |
CN109859028A (en) | A kind of verification method, system, medium and the electronic equipment of repaying information | |
CN110442516B (en) | Information processing method, apparatus, and computer-readable storage medium | |
CN103544429A (en) | Anomaly detection device and method for security information interaction | |
CN104765745B (en) | Loading data in database are carried out with the method and system of logic checking | |
CN108572942A (en) | A kind of method and apparatus creating hyperlink | |
EP2915075A1 (en) | Method, apparatus and computer program for detecting deviations in data sources | |
CN108664628A (en) | A kind of deriving method and equipment of data | |
CN108460068A (en) | Method, apparatus, storage medium and the terminal that report imports and exports | |
US7395457B2 (en) | System and method for detecting faults in a system | |
CN108875317A (en) | Software clone detection method and device, detection device and storage medium | |
CN109905366B (en) | Terminal equipment safety verification method and device, readable storage medium and terminal equipment | |
US6853963B1 (en) | Analyzing an extended finite state machine system model | |
CN106997322A (en) | Method and apparatus for automatic test | |
CN111950267B (en) | Text triplet extraction method and device, electronic equipment and storage medium | |
US20100198831A1 (en) | Knowledge annotation result checking method and system | |
CN112085589B (en) | Method and device for determining safety of rule model and server | |
CN112085590A (en) | Method and device for determining safety of rule model and server | |
CN112286910A (en) | Data verification method and device | |
CN110457705A (en) | A kind of interest point data processing method, device, equipment and storage medium | |
CN110399453A (en) | Reference reporting and processing method and device, electronic equipment and non-transient storage media | |
CN117032646A (en) | Index configuration method, index execution method and system | |
CN115391087A (en) | Message checking method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB02 | Change of applicant information |
Address after: 201, room 518000, building A, No. 1, front Bay Road, Qianhai Shenzhen Guangdong Shenzhen Hong Kong cooperation zone (Qianhai business secretary) Applicant after: Shenzhen one ledger Intelligent Technology Co., Ltd. Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A Applicant before: Shenzhen one ledger Intelligent Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |