CN109389298A - A kind of service request method of calibration and device - Google Patents

A kind of service request method of calibration and device Download PDF

Info

Publication number
CN109389298A
CN109389298A CN201811120741.8A CN201811120741A CN109389298A CN 109389298 A CN109389298 A CN 109389298A CN 201811120741 A CN201811120741 A CN 201811120741A CN 109389298 A CN109389298 A CN 109389298A
Authority
CN
China
Prior art keywords
field
verified
preset
level
request
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.)
Granted
Application number
CN201811120741.8A
Other languages
Chinese (zh)
Other versions
CN109389298B (en
Inventor
楼中望
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811120741.8A priority Critical patent/CN109389298B/en
Publication of CN109389298A publication Critical patent/CN109389298A/en
Application granted granted Critical
Publication of CN109389298B publication Critical patent/CN109389298B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Abstract

The present invention provides a kind of service request method of calibration and devices, wherein this method comprises: determining field to be verified according to several service requests;According to the corresponding relationship of preset field and verification rule, the corresponding verification rule of the field to be verified is determined, wherein the verification rule includes field level verification rule and request level verification rule;According to the corresponding field level verification rule of the field to be verified, the field level check results of the field to be verified are determined;According to the field level check results and the corresponding request level verification rule of the field to be verified, determine whether several service requests pass through verification.

Description

A kind of service request method of calibration and device
Technical field
The present invention relates to field of computer technology, in particular to a kind of service request method of calibration and device.
Background technique
Under the promotion of Internet technology and information technology, big data risk control the industries such as financial industry application, Gradually it is concerned by people.For example, internet financial company can be requested by analyzing a large amount of transaction business, it is right User carries out credit evaluation, in order to provide corresponding financial service for user.In some cases, some service requests are to big The validity of data risk control will have an important influence on.
For example, the quality that the brush single act of businessman will lead to service request reduces, confidence level decline.And utilize these low-qualitys The service request of amount carries out big data risk control, it is clear that is nonsensical.
Therefore, how service request is verified, to ensure that the quality of service request meets big data risk control It is required that being current urgent problem to be solved.
Summary of the invention
In consideration of it, the embodiment of the invention provides a kind of service request method of calibration and devices.
In a first aspect, the embodiment of the invention provides a kind of service request methods of calibration, comprising:
According to several service requests, field to be verified is determined;
According to the corresponding relationship of preset field and verification rule, the corresponding verification rule of the field to be verified is determined, Wherein, the verification rule includes field level verification rule and request level verification rule;
According to the corresponding field level verification rule of the field to be verified, the field level verification of the field to be verified is determined As a result;
According to the field level check results and the corresponding request level verification rule of the field to be verified, if determining described Whether dry service request passes through verification.
Second aspect, the present invention provides a kind of service request methods of calibration, comprising:
According to several service requests, field to be verified is determined;
According to the corresponding relationship of preset field and verification rule, the corresponding first verification rule of the field to be verified are determined Then, the second verification rule, third verification rule, the 4th verification rule and the 5th verification rule, wherein the first verification rule Including the first field level verification rule and the first request level verification rule, the second verification rule includes that the second field level verifies Rule and the second request level verification rule, the third verification rule include third field level verification rule and third request level school Rule is tested, the 4th verification rule includes the 4th field level verification rule and the 4th request level verification rule, the 5th school Testing rule includes the 5th field level verification rule and the 5th request level verification rule;
According to the corresponding first field level verification rule of the field to be verified, the length of the value of the field to be verified is determined Degree meets the service request of preset length range;Determine that the length of the value of the field to be verified meets preset length range Fiveth accounting of the service request in several service requests;According to corresponding first request level of the field to be verified school Test rule, determine the 5th accounting whether within the scope of preset 5th accounting,
If the 5th accounting is within the scope of preset 5th accounting, according to corresponding second word of the field to be verified Section grade verification rule, determines that the value of the field to be verified meets the service request of preset text formatting;It determines described to school The value for testing field meets sixth accounting of the service request of preset text formatting in several service requests;According to described Whether the corresponding second request level verification rule of field to be verified, determine the 6th accounting in preset 6th accounting range It is interior,
If the 6th accounting is within the scope of preset 6th accounting, according to the corresponding third word of the field to be verified Section grade verification rule, determines service request of the value of the field to be verified in preset third threshold range;Described in determination Seventh accounting of the value of field to be verified in the service request in preset third threshold range in several service requests; According to the corresponding third request level verification rule of the field to be verified, determine whether the 7th accounting accounts for the preset 7th Than in range,
If the 7th accounting is within the scope of preset 7th accounting, according to corresponding 4th word of the field to be verified Section grade verification rule, determines the value of the field to be verified of several service requests according to the ascending sequence knot being ranked up Fruit;According to the ranking results, the value of the corresponding field to be verified of preset target quartile is determined;According to the field to be verified Whether corresponding 4th request level verification rule, determine the value of the corresponding field to be verified of the target quartile the preset 4th In threshold range,
If the value of the corresponding field to be verified of the target quartile in preset 4th threshold range, according to it is described to Check field corresponding 5th field level verification rule, determine contain at least two field to be verified and described at least two to The value of check field meets the service request of preset mapping relations;Determine contain at least two field to be verified and it is described extremely The value of few two fields to be verified meets the service request of preset mapping relations the 8th accounting in several service requests Than;According to the corresponding 5th request level verification rule of the field to be verified, determine the 8th accounting whether preset the Within the scope of eight accountings, if so, determining several service requests by verification, otherwise, it determines several service requests are not Pass through verification.
The third aspect, the embodiment of the invention provides a kind of service request calibration equipments, comprising:
First determination unit, for determining field to be verified according to several service requests;
Second determination unit determines the word to be verified for the corresponding relationship according to preset field and verification rule The corresponding verification rule of section, wherein the verification rule includes field level verification rule and request level verification rule;
First verification unit determines described to school for verifying rule according to the corresponding field level of the field to be verified Test the field level check results of field;According to the field level check results and the corresponding request level verification of the field to be verified Rule, determines whether several service requests pass through verification.
Fourth aspect, the embodiment of the invention provides a kind of service request calibration equipments, comprising:
Third determination unit, for determining field to be verified according to several service requests;
4th determination unit determines the word to be verified for the corresponding relationship according to preset field and verification rule The corresponding first verification rule of section, the second verification rule, third verification rule, the 4th verification rule and the 5th verification rule, In, the first verification rule includes the first field level verification rule and the first request level verification rule, the second verification rule It then include the second field level verification rule and the second request level verification rule, the third verification rule includes third field level school Rule and third request level verification rule are tested, the 4th verification rule includes the 4th field level verification rule and the 4th request level Verification rule, the 5th verification rule include the 5th field level verification rule and the 5th request level verification rule;
Second verification unit, for verifying rule according to corresponding first field level of the field to be verified, determine described in The length of the value of field to be verified meets the service request of preset length range;Determine the length of the value of the field to be verified Meet fiveth accounting of the service request of preset length range in several service requests;According to the field to be verified Corresponding first request level verification rule, determine the 5th accounting whether within the scope of preset 5th accounting,
If the 5th accounting is within the scope of preset 5th accounting, according to corresponding second word of the field to be verified Section grade verification rule, determines that the value of the field to be verified meets the service request of preset text formatting;It determines described to school The value for testing field meets sixth accounting of the service request of preset text formatting in several service requests;According to described Whether the corresponding second request level verification rule of field to be verified, determine the 6th accounting in preset 6th accounting range It is interior,
If the 6th accounting is within the scope of preset 6th accounting, according to the corresponding third word of the field to be verified Section grade verification rule, determines service request of the value of the field to be verified in preset third threshold range;Described in determination Seventh accounting of the value of field to be verified in the service request in preset third threshold range in several service requests; According to the corresponding third request level verification rule of the field to be verified, determine whether the 7th accounting accounts for the preset 7th Than in range,
If the 7th accounting is within the scope of preset 7th accounting, according to corresponding 4th word of the field to be verified Section grade verification rule, determines the value of the field to be verified of several service requests according to the ascending sequence knot being ranked up Fruit;According to the ranking results, the value of the corresponding field to be verified of preset target quartile is determined;According to the field to be verified Whether corresponding 4th request level verification rule, determine the value of the corresponding field to be verified of the target quartile the preset 4th In threshold range,
If the value of the corresponding field to be verified of the target quartile in preset 4th threshold range, according to it is described to Check field corresponding 5th field level verification rule, determine contain at least two field to be verified and described at least two to The value of check field meets the service request of preset mapping relations;Determine contain at least two field to be verified and it is described extremely The value of few two fields to be verified meets the service request of preset mapping relations the 8th accounting in several service requests Than;According to the corresponding 5th request level verification rule of the field to be verified, determine the 8th accounting whether preset the Within the scope of eight accountings, if so, determining several service requests by verification, otherwise, it determines several service requests are not Pass through verification.
At least one above-mentioned technical solution used in the embodiment of the present invention can reach it is following the utility model has the advantages that this method not only It can determine field to be verified with the presence or absence of problem, additionally it is possible to determine several industry by the field level check results of field to be verified Business request whether there is problem.This method can verify the overall condition of several service requests, improve through verification The quality of service request.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of service request method of calibration provided by one embodiment of the present invention;
Fig. 2 is a kind of flow chart for service request method of calibration that another embodiment of the present invention provides;
Fig. 3 is a kind of flow chart for service request method of calibration that another embodiment of the invention provides;
Fig. 4 is a kind of structural schematic diagram of service request calibration equipment provided by one embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram for service request calibration equipment that another embodiment of the present invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, this method may include following step the embodiment of the invention provides a kind of service request method of calibration It is rapid:
Step 101: according to several service requests, determining field to be verified;
Step 102: according to the corresponding relationship of preset field and verification rule, determining the corresponding verification rule of field to be verified Then, wherein verification rule includes field level verification rule and request level verification rule;
Step 103: rule being verified according to the corresponding field level of field to be verified, determines the field level verification of field to be verified As a result;
Step 104: verifying rule according to field level check results and the corresponding request level of field to be verified, determine several industry Whether business request passes through verification.
Wherein, an a service request i.e. data.Field to be verified can be the same field of different business request, It is also possible to a variety of fields of different business request.For example, field to be verified is the password field of 10 logging requests, alternatively, Field to be verified is the password field and login file-name field of 10 logging requests.
This method can not only determine field to be verified with the presence or absence of problem, additionally it is possible to pass through the field level of field to be verified Check results determine several service requests with the presence or absence of problem.This method can the overall condition to several service requests carry out school It tests, improves the quality of the service request by verification.
As shown in Fig. 2, this method may include following step the embodiment of the invention provides a kind of service request method of calibration It is rapid:
Step 201: determining several service requests.
In embodiments of the present invention, it needs using multiple or a large amount of service request as verification basis.
Step 202: according to the corresponding relationship of preset service request type and field, being determined in the field of service request Field to be verified corresponding with its service request type.
Service request type may include transaction request, registration request, logging request etc..Service request type can be used as Field carries in service request.
By taking a kind of logging request as an example, as shown in table 1, service request type in logging request is A1, account, the pet name and Password is the field in logging request, and A2, A3, A4 are the value of corresponding field.Wherein, service request type is in the form of fields It is present in service request.
Table 1
Service request type Account The pet name Password
A1 A2 A3 A4
Table 2
Service request type Field
Registration request Cell-phone number
Logging request Account
Transaction request Trading volume, transaction total amount
In practical application scene, service request type is different, and there may be difference for corresponding field to be verified.
It as shown in table 2, is the corresponding relationship of a kind of service request type and field.Using service request type as logging request For, the field in logging request includes account, the pet name and password, and the field to be verified for determining the logging request according to table 2 is Account.
Table 3
Field Verification rule
Cell-phone number B1
Account B1、B2
Trading volume, transaction total amount B3
Step 203: according to the corresponding relationship of preset field and verification rule, determining the corresponding verification rule of field to be verified Then, wherein verification rule includes field level verification rule and request level verification rule.
It as shown in table 3, is the corresponding relationship of a kind of field and verification rule.As shown in Table 3, a field can correspond to one A or multiple verification rules, different fields can correspond to identical verification rule.It wherein, all include field level in B1, B2, B3 Verification rule and request level verification rule.
It should be noted that verification rule is the field to be verified for verifying several service requests, analysis is to school Test value of the field in different business request.
Step 204: rule being verified according to the corresponding field level of field to be verified, determines the field level verification of field to be verified As a result;According to field level check results and the corresponding request level verification rule of field to be verified, whether several service requests are determined Pass through verification.
This method determines each business in several service requests according to the current service request type carried in service request The field to be verified that request includes can more increase without matching one by one to all fields in each service request Effect ground determines field to be verified.
It should be noted that the embodiment of the present invention, which is concerned with several service requests, integrally whether there is problem, if whole There are problems can not then pass through verification for body.
In one embodiment of the invention, the value of the field to be verified of several service requests is verified, is at least deposited In following two situation:
Situation 1: verifying rule according to the corresponding field level of field to be verified, determines the field level verification knot of field to be verified Fruit;According to field level check results and the corresponding request level verification rule of field to be verified, determine whether several service requests lead to Cross verification.
Determine whether the value of the field to be verified of whole service request meets current verification rule.I.e. not to service request into Row is distinguished, and verification object is whole service request.
For example, existing 20 logging requests, according to the distribution of the value of the account of 20 logging requests and the corresponding school of account Rule is tested, determines whether 20 logging requests pass through verification.
Situation 2: step 204 specifically includes: corresponding according to the field to be verified of the service request of target service request type Field level verify rule, determine the field level check results of the field to be verified of the service request of target service request type; According to the field level check results and target service request type of the field to be verified of the service request of target service request type Service request field to be verified corresponding request level verification rule, determine target service request type service request whether Pass through verification.
Service request is classified according to service request type, is verified according to the difference of service request type.
For example, existing 20 service requests, wherein 10 logging requests, 10 registration requests.According to 10 logging requests Account value distribution and account corresponding verification rule, determine whether 10 logging requests pass through verification.According to 10 The distribution of the value of the account of registration request and the corresponding verification rule of account, determine whether 10 registration requests pass through verification.
In one embodiment of the invention, at least there is following several checking modes, i.e., step 103,104 include following Several ways of realization:
Checking mode 1: verifying rule according to the corresponding field level of field to be verified, determines the value of field to be verified default First threshold range in service request;Determine service request of the value of field to be verified in preset first threshold range The first accounting in several service requests;According to the corresponding request level verification rule of field to be verified, determine that the first accounting is It is no within the scope of preset first accounting, if so, determining several service requests by verification, otherwise, it determines several business are asked Ask unverified.
The value that checking mode 1 is suitable for field to be verified is text-type, numeric type or Boolean type.
Checking mode 1 verifies the value of the field to be verified of different business request according to the size of the value of field to be verified Distribution whether meet the requirements, the mode it can be found that field to be verified value value there is logically the problem of.
For example, service request to be verified is 10 transaction requests, the of transaction request of the value less than 1 for total amount of trading One accounting is 100%, and the first accounting range is " less than 80% ", it can be seen that, the first accounting is not within the scope of the first accounting, then Determine that this 10 transaction requests are unverified.
Furthermore it is also possible to which the quantity of the service request according to the value of field to be verified in preset first threshold range is It is no to be less than preset quantitative range to determine whether several service requests are unverified.
For example, the total quantity of service request is 10, business of the value of field to be verified in preset first threshold range The quantity of request is 7, within preset quantitative range " being greater than 6 ", determines that several service requests pass through verification.Analogously, under Stating checking mode 3,4,5,6 can also be verified by way of the quantity of service request determining, will no longer be carried out below Detailed description.
Checking mode 2: rule is verified according to the corresponding field level of field to be verified, determines the to be verified of several service requests The value of field is according to the ascending ranking results being ranked up;According to ranking results, determine that preset target quartile is corresponding The value of field to be verified;According to the corresponding request level verification rule of field to be verified, the corresponding word to be verified of target quartile is determined Whether the value of section is within the scope of preset second threshold, if so, determine that several service requests pass through verification, otherwise, it determines if Dry service request is unverified.
The value that checking mode 2 is suitable for field to be verified is numeric type.
Checking mode 2 is distributed according to the quantile of the value of field to be verified, and the word to be verified of multiple service requests is verified The value of section whether there is distribution problem.
Wherein, quantile distribution includes median distribution, quartile distribution and percentile distribution etc., now with quartile For number distribution, checking mode 2 is described in detail.
Existing 8 service requests, according to ascending sequence, the value of field to be verified be respectively " 1,2,5,8,9,11, 17,28 ", wherein target quartile is third quartile, and the value 11 of corresponding field to be verified is third quartile.Change speech It has the value of the field to be verified of 75% (i.e. 6) service request little in the value of the field to be verified of 8 service requests In 11, there is the value of the field to be verified of 25% (i.e. 2) service request to be greater than 11.If second threshold range is " being greater than 10 ", Then the value of the corresponding field to be verified of target quartile determines that 8 service requests pass through verification within the scope of second threshold.
It should be noted that target quartile is there may be multiple, for example, the first percentile, the second percentile, third percentage Position.It is accordingly, there are second threshold range corresponding with the first percentile, second threshold range corresponding with the second percentile, The corresponding second threshold range of third percentile.It, can be according to meeting corresponding second threshold range in practical application scene The number of target quartile and the relationship of preset number threshold value determine whether several service requests pass through verification.
Checking mode 3: rule is verified according to the corresponding field level of field to be verified, determination contains at least two word to be verified The value of section and at least two fields to be verified meets the service request of preset mapping relations;Determination is contained at least two to school The value for testing field and at least two fields to be verified meets the service request of preset mapping relations in several service requests Second accounting;According to the corresponding request level verification rule of field to be verified, determine the second accounting whether in preset second accounting In range, if so, determining several service requests by verification, otherwise, it determines several service requests are unverified.
The value that checking mode 3 is suitable for field to be verified is text-type, numeric type.
Checking mode 3 can be used for verifying the mapping relations of multiple interfields to be verified.
As shown in table 4, existing 5 transaction requests include unit price, trading volume and transaction three words of total amount in transaction request Section.Based on the relationship of three interfields, the value of three fields can be verified.
Table 4
Transaction request Monovalent (member/jin) Trading volume (jin) It trades total amount (member)
1 3 50 140
2 4 40 110
3 5 40 200
4 6 30 180
5 7 10 70
For example, preset mapping relations are " product of unit price and trading volume is equal to transaction total amount ".Based on the mapping relations 5 transaction requests in table 4 are verified, determine that the second accounting of the service request for meeting mapping relations is 60%, if Preset second accounting range is " being greater than 80% ", it is determined that 5 transaction requests are unverified.
It should be noted that mapping relations can be the mapping relations between the different field of the same service request, It can be the mapping relations between the different field of different business request.
Checking mode 4: rule is verified according to the corresponding field level of field to be verified, determination contains at least two word to be verified The value of section and at least two fields to be verified meets the service request of preset mapping relations;Determination is contained at least two to school Test second accounting of the identical service request of value of field and at least two fields to be verified in several service requests;According to The corresponding request level verification rule of field to be verified, determine the second accounting whether within the scope of preset second accounting, if so, Several service requests are determined by verification, otherwise, it determines several service requests are unverified
The value that checking mode 4 is suitable for field to be verified is text-type, numeric type.
Checking mode 4 is essentially a kind of special circumstances of checking mode 3.For example, the value of current check field A and current The value of check field B is equal.
Table 5
Transaction request It receives cell-phone number Register cell-phone number
6 a1 a1
7 a2 a2
8 a3 a3
9 a4 a4
10 a5 a5
As shown in table 5, the second accounting of cell-phone number of receiving transaction request identical with cell-phone number is registered as 100%, if Second accounting range is " less than 60% ", it is determined that transaction request 6-10 is unverified.
Checking mode 5: verifying rule according to the corresponding field level of field to be verified, and it is pre- to determine that the value of field to be verified meets If text formatting service request;Determine that the value of field to be verified meets the service request of preset text formatting in several industry Third accounting in business request;According to the corresponding request level verification rule of field to be verified, determine third accounting whether default Third accounting within the scope of, if so, determining several service requests by verification, otherwise, it determines several service requests do not pass through Verification.
The value that checking mode 5 is suitable for field to be verified is text-type, numeric type, date type or Boolean type.
The format that checking mode 5 is mainly used for treating the value of check field is verified.For example, cell-phone number field is corresponding Text formatting is " 11 bit digital ", if occurring letter in current phone number, it is determined that current phone number is unsatisfactory for preset text This format.
For example, the corresponding text formatting of currency type field is " any one in Euro, dollar, pound, yen and RMB ", If in current currency type when appearance won, it is determined that meet preset text formatting.
In practical application scene, what which considered is the situation of multiple service request entirety, for example, when 10 In service request, the third accounting that cell-phone number is unsatisfactory for the service request of preset text formatting is 60%, is greater than preset the Three accounting ranges " less than 10% ", it is determined that 10 service requests are unverified.
Checking mode 6: rule is verified according to the corresponding field level of field to be verified, determines the length of the value of field to be verified Meet the service request of preset length range;Determine that the length of the value of field to be verified meets the business of preset length range Request the 4th accounting in several service requests;According to the corresponding request level verification rule of field to be verified, determine that the 4th accounts for Than being verified if so, determining that several service requests pass through, otherwise, it determines several industry whether within the scope of preset 4th accounting Business request is unverified.
The value that checking mode 6 is suitable for field to be verified is text-type and numeric type.
For example, existing 10 registration requests, length range is " being equal to 11 ", the registration request that the length of cell-phone number is 11 4th accounting is 90%, if preset 4th accounting range is " being greater than 8% ", it is determined that 10 registration request verifications pass through.
The value that checking mode 6 can be also used for verifying field to be verified is empty situation.For example, existing 10 logins are asked It asks, length range is " being equal to 0 ", and the 4th accounting is 60%, if preset 4th accounting range is " less than 10% ", it is determined that 10 registration requests are unverified.
It should be noted that above-mentioned several checking modes can be respectively applied in above situation 1 and situation 2.Different Checking mode can also be applied in combination, i.e., verified using different checking modes to the same field.
For example, successively being verified using the value that checking mode 6,5,1 treats check field;It can also be verified in former In the case that modulo check passes through, verified using next checking mode.For example, first with checking mode 6 to be verified Field is verified, and when passed the verification, is treated check field using checking mode 5 and is verified, and when passed the verification, is utilized Checking mode 1 is treated check field and is verified.
Wherein, checking mode 1-4 can be realized the value progress for the field to be verified requested in semantic level different business Verification reaches and verifies quality possessed by desk checking, while improving verification efficiency.For example, checking mode 1 and checking mode 2 The distribution of the value of field to be verified can be judged with the presence or absence of problem, and whether the size of the value of field to be verified meets logic.School Wherein one or more fields to be verified can be verified using the incidence relation of the Bu Tong value of field to be verified by testing mode 3 and 4.
To sum up, compared with each field for each service request carries out verification, this method is from field in each business Value in request is verified as entrance, and no training cost has stronger versatility.
The embodiment of the invention provides a kind of service request methods of calibration, method includes the following steps:
S1: according to several service requests, field to be verified is determined;
S2: according to the corresponding relationship of preset field and verification rule, the corresponding first verification rule of field to be verified are determined Then, the second verification rule, third verify regular, the 4th verification rule and the 5th verification is regular, wherein first, which verifies rule, includes First field level verification rule and the first request level verification rule, the second verification rule include the second field level verification rule and the Two request levels verification rule, third verification rule is regular including third field level verification rule and the verification of third request level, and the 4th Verification rule includes the 4th field level verification rule and the 4th request level verification rule, and the 5th verification rule includes the 5th field level Verification rule and the 5th request level verification rule;
S3: verifying rule according to corresponding first field level of field to be verified, determines that the length of the value of field to be verified is full The service request of the preset length range of foot;Determine that the length of the value of field to be verified meets the business of preset length range and asks Seek the 5th accounting in several service requests;According to the corresponding first request level verification rule of field to be verified, the 5th is determined Whether accounting is within the scope of preset 5th accounting, if so, executing S4;
S4: verifying rule according to corresponding second field level of field to be verified, and it is default to determine that the value of field to be verified meets Text formatting service request;Determine that the value of field to be verified meets the service request of preset text formatting in several business The 6th accounting in request;According to the corresponding second request level verification rule of field to be verified, determine the 6th accounting whether pre- If the 6th accounting within the scope of, if so, execute S5;
S5: rule is verified according to the corresponding third field level of field to be verified, determines the value of field to be verified preset Service request in third threshold range;Determine that service request of the value of field to be verified in preset third threshold range exists The 7th accounting in several service requests;According to the corresponding third request level verification rule of field to be verified, the 7th accounting is determined Whether within the scope of preset 7th accounting, if so, executing S6;
S6: rule is verified according to corresponding 4th field level of field to be verified, determines the word to be verified of several service requests The value of section is according to the ascending ranking results being ranked up;According to ranking results, determine preset target quartile it is corresponding to The value of check field;According to the corresponding 4th request level verification rule of field to be verified, determine that target quartile is corresponding to be verified Whether the value of field is in preset 4th threshold range, if so, executing S7;
S7: verifying rule according to corresponding 5th field level of field to be verified, determine contain at least two field to be verified, And at least two the value of field to be verified meet the service requests of preset mapping relations;Determination contains at least two word to be verified The value of section and at least two fields to be verified meets the 8th of the service request of preset mapping relations in several service requests Accounting;According to the corresponding 5th request level verification rule of field to be verified, determine the 8th accounting whether in preset 8th accounting In range, if so, executing S8, otherwise, S9 is executed;
S8: determine that several service requests pass through verification;
S9: determine that several service requests are unverified.
The embodiment of the present invention is treated check field by different verification rules and is verified, and field to be verified can be verified It whether there is problem in different levels, and then filter out the service request of high quality.
As shown in figure 3, the embodiment of the present invention is by taking all transaction requests of current service request type as an example, to service request Method of calibration is described in detail, method includes the following steps:
Step 301: determining 5 service requests.
5 service requests obtained are as shown in table 6, and field includes unit price, trading volume and transaction total amount.
Table 6
Service request Service request type Monovalent (member/jin) Trading volume (jin) It trades total amount (member)
11 Transaction request 3 50 140
12 Transaction request 4 40 110
13 Transaction request 5 40 200
14 Transaction request 6 30 180
15 Transaction request 7 10 70
Step 302: according to the corresponding relationship of preset service request type and field, being determined in the field of service request Field to be verified corresponding with its service request type, wherein field to be verified includes unit price, trading volume and transaction total amount.
Table 7
Service request type Field
Registration request Cell-phone number
Logging request Account
Transaction request Unit price, trading volume, transaction total amount
The corresponding relationship of service request type and field is as shown in table 7, determines that field to be verified is unit price, hands over according to table 7 Yi Liang, transaction total amount.
Step 303: according to the corresponding relationship of preset field and verification rule, determining the corresponding verification rule of field to be verified Then, wherein unit price, the corresponding verification rule C5 of transaction total amount, corresponding verification rule C1, C2, C3, C4 and the C5 of trading volume.
It should be noted that each verification rule is all comprising field level verification rule and request level verification rule in C1-C5 Then.
Determine that unit price, the corresponding trading rules of transaction total amount are C5 according to table 8, the corresponding trading rules of trading volume are C1、C2、C3、C4、C5。
Table 8
Field Verification rule
Cell-phone number C1
Account C1、C2
Unit price, transaction total amount C5
Trading volume C1、C2、C3、C4、C5
Step 304: rule being verified according to the field level in the corresponding C1 of field to be verified, determines the value of field to be verified Length meets the service request of preset length range;Determine that the length of the value of field to be verified meets preset length range Fiveth accounting of the service request in several service requests;Rule is verified according to the request level in the corresponding C1 of field to be verified, Determine that the 5th accounting whether within the scope of preset 5th accounting, when the 5th accounting is within the scope of preset 5th accounting, is held Row step 305.
Step 305: rule being verified according to the field level in the corresponding C2 of field to be verified, determines that the value of field to be verified is full The service request of the preset text formatting of foot;If determining, the value of field to be verified meets the service request of preset text formatting and exists The 6th accounting in dry service request;Rule is verified according to the request level in the corresponding C2 of field to be verified, determines the 6th accounting Whether within the scope of preset 6th accounting, when the 6th accounting is within the scope of preset 6th accounting, step 306 is executed.
Step 306: rule being verified according to the field level in the corresponding C3 of field to be verified, determines that the value of field to be verified exists Service request in preset first threshold range;Determine business of the value of field to be verified in preset first threshold range Request the 7th accounting in several service requests;Rule is verified according to the request level in the corresponding C3 of field to be verified, is determined 7th accounting, when the 7th accounting is within the scope of preset 7th accounting, executes step whether within the scope of preset 7th accounting Rapid 307.
Step 307: according in the corresponding C4 of field to be verified field level verify rule, determine several service requests to The value of check field is according to the ascending ranking results being ranked up;According to ranking results, preset target quartile pair is determined The value for the field to be verified answered;Rule is verified according to the request level in the corresponding C4 of field to be verified, determines that target quartile is corresponding Field to be verified value whether within the scope of preset second threshold, when the value of the corresponding trading volume of target quartile is preset When in the 4th threshold range, step 308 is executed.
Step 308: rule being verified according to the field level in the corresponding C5 of field to be verified, determination is contained at least two to school The value for testing field and at least two fields to be verified meets the service request of preset mapping relations;Determination contains at least two The value of field to be verified and at least two fields to be verified meets the service request of preset mapping relations in several service requests In the 8th accounting;Rule is verified according to the request level in the corresponding C5 of field to be verified, determines the 8th accounting whether default The 8th accounting within the scope of, when the 8th accounting is within the scope of preset 8th accounting, determine 5 service requests by verification, Otherwise, it determines 5 service requests are unverified.
The embodiment of the present invention successively uses different checking modes by way of from the superficial to the deep, and check word is treated in realization The value of section carries out profound level, verifies with multi-angle.
As shown in figure 4, the embodiment of the invention provides a kind of service request calibration equipments, comprising:
First determination unit 401, for determining field to be verified according to several service requests;
Second determination unit 402 determines field to be verified for the corresponding relationship according to preset field and verification rule Corresponding verification rule, wherein verification rule includes field level verification rule and request level verification rule;
First verification unit 403 determines field to be verified for verifying rule according to the corresponding field level of field to be verified Field level check results;According to field level check results and the corresponding request level verification rule of field to be verified, determine several Whether service request passes through verification.
In one embodiment of the invention, the first determination unit 401, for according to preset service request type and word The corresponding relationship of section determines field to be verified corresponding with its service request type in the field of service request.
In one embodiment of the invention, the first verification unit 403, for the business according to target service request type The corresponding field level verification rule of the field to be verified of request, determines the word to be verified of the service request of target service request type The field level check results of section;According to the field level check results of the field to be verified of the service request of target service request type Request level verification rule corresponding with the field to be verified of the service request of target service request type, determines that target service is requested Whether the service request of type passes through verification.
In one embodiment of the invention, the first verification unit 403, for according to the corresponding field level of field to be verified Verification rule, determines service request of the value of field to be verified in preset first threshold range;Determine field to be verified It is worth the first accounting in the service request in preset first threshold range in several service requests;According to field pair to be verified The request level verification rule answered, determines the first accounting whether within the scope of preset first accounting, if so, determining several business Request is by verification, otherwise, it determines several service requests are unverified.
In one embodiment of the invention, the first verification unit 403, for according to the corresponding field level of field to be verified Verification rule, determines the value of the field to be verified of several service requests according to the ascending ranking results being ranked up;According to Ranking results determine the value of the corresponding field to be verified of preset target quartile;According to the corresponding request level school of field to be verified Rule is tested, the value of the corresponding field to be verified of target quartile is determined whether within the scope of preset second threshold, if so, determining Several service requests are by verification, otherwise, it determines several service requests are unverified.
In one embodiment of the invention, the first verification unit 403, for according to the corresponding field level of field to be verified Verification rule determines that the value for containing at least two field to be verified and at least two fields to be verified meets preset mapping and closes The service request of system;Determination contains at least two field to be verified and the value of at least two fields to be verified meets preset reflect Penetrate second accounting of the service request of relationship in several service requests;According to the corresponding request level verification rule of field to be verified Then, determine that the second accounting whether within the scope of preset second accounting, verifies if so, determining that several service requests pass through, it is no Then, determine that several service requests are unverified.
In one embodiment of the invention, the value of at least two fields to be verified meets preset mapping relations, comprising: The value of at least two fields to be verified is identical.
In one embodiment of the invention, the first verification unit 403, for according to the corresponding field level of field to be verified Verification rule, determines that the value of field to be verified meets the service request of preset text formatting;Determine that the value of field to be verified is full Third accounting of the service request of the preset text formatting of foot in several service requests;According to the corresponding request of field to be verified Grade verification rule determines third accounting whether within the scope of preset third accounting, if so, determining that several service requests pass through Verification, otherwise, it determines several service requests are unverified.
In one embodiment of the invention, the first verification unit 403, for according to the corresponding field level of field to be verified Verification rule, determines that the length of the value of field to be verified meets the service request of preset length range;Determine field to be verified The length of value meet fourth accounting of the service request of preset length range in several service requests;According to word to be verified The corresponding request level verification rule of section, determines the 4th accounting whether within the scope of preset 4th accounting, if so, determination is several Service request is by verification, otherwise, it determines several service requests are unverified.
As shown in figure 5, the embodiment of the invention provides a kind of service request calibration equipments, comprising:
Third determination unit 501, for determining field to be verified according to several service requests;
4th determination unit 502 determines field to be verified for the corresponding relationship according to preset field and verification rule Corresponding first verification rule, the second verification rule, third verification rule, the 4th verification rule and the 5th verification rule, wherein First verification rule includes the first field level verification rule and the first request level verification rule, and the second verification rule includes the second word Section grade verification rule and the second request level verification rule, third verification rule include third field level verification rule and third request Grade verification rule, the 4th verification rule include the 4th field level verification rule and the 4th request level verification rule, the 5th verification rule It then include the 5th field level verification rule and the 5th request level verification rule;
Second verification unit 503 determines to be verified for verifying rule according to corresponding first field level of field to be verified The length of the value of field meets the service request of preset length range;It is preset to determine that the length of the value of field to be verified meets Fiveth accounting of the service request of length range in several service requests;According to field to be verified corresponding first request level school Test rule, determine the 5th accounting whether within the scope of preset 5th accounting,
If the 5th accounting within the scope of preset 5th accounting, is verified according to corresponding second field level of field to be verified Rule determines that the value of field to be verified meets the service request of preset text formatting;It is pre- to determine that the value of field to be verified meets If text formatting sixth accounting of the service request in several service requests;According to corresponding second request of field to be verified Grade verification rule, determine the 6th accounting whether within the scope of preset 6th accounting,
If the 6th accounting within the scope of preset 6th accounting, is verified according to the corresponding third field level of field to be verified Rule determines service request of the value of field to be verified in preset third threshold range;Determine that the value of field to be verified exists Seventh accounting of the service request in several service requests in preset third threshold range;It is corresponding according to field to be verified Third request level verification rule, determine the 7th accounting whether within the scope of preset 7th accounting,
If the 7th accounting within the scope of preset 7th accounting, is verified according to corresponding 4th field level of field to be verified Rule determines the value of the field to be verified of several service requests according to the ascending ranking results being ranked up;According to sequence As a result, determining the value of the corresponding field to be verified of preset target quartile;According to the corresponding 4th request level school of field to be verified Test rule, determine the value of the corresponding field to be verified of target quartile whether in preset 4th threshold range,
If the value of the corresponding field to be verified of target quartile is in preset 4th threshold range, according to field to be verified Corresponding 5th field level verification rule, determines the value for containing at least two field to be verified and at least two fields to be verified Meet the service request of preset mapping relations;Determination contains at least two field to be verified and at least two fields to be verified Value meet eightth accounting of the service request of preset mapping relations in several service requests;It is corresponding according to field to be verified The 5th request level verify rule, the 8th accounting is determined whether within the scope of preset 8th accounting, if so, determining several industry Business request is by verification, otherwise, it determines several service requests are unverified.
The embodiment of the invention provides a kind of quality of data calibration equipments, comprising: processor and memory;
Memory for store execute instruction, processor be used for execute memory storage execute instruction to realize above-mentioned The method of one embodiment.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including described There is also other identical elements in the process, method of element, commodity or equipment.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (20)

1. a kind of service request method of calibration, comprising:
According to several service requests, field to be verified is determined;
According to the corresponding relationship of preset field and verification rule, the corresponding verification rule of the field to be verified is determined, wherein The verification rule includes field level verification rule and request level verification rule;
According to the corresponding field level verification rule of the field to be verified, the field level verification knot of the field to be verified is determined Fruit;
According to the field level check results and the corresponding request level verification rule of the field to be verified, several industry are determined Whether business request passes through verification.
2. service request method of calibration as described in claim 1,
It is described according to several service requests, determine field to be verified, comprising:
According to the corresponding relationship of preset service request type and field, determining and its business in the field of the service request The corresponding field to be verified of request type.
3. service request method of calibration as claimed in claim 2,
It is described that rule is verified according to the corresponding field level of the field to be verified, determine the field level verification of the field to be verified As a result, comprising:
According to the corresponding field level verification rule of the field to be verified of the service request of target service request type, the mesh is determined Mark the field level check results of the field to be verified of the service request of service request type;
It is described to be advised according to the field level check results of the field to be verified and the corresponding request level verification of the field to be verified Then, determine whether several service requests pass through verification, comprising:
According to the field level check results and the target of the field to be verified of the service request of the target service request type The corresponding request level verification rule of the field to be verified of the service request of service request type, determines the target service request class Whether the service request of type passes through verification.
4. service request method of calibration as described in claim 1,
It is described that rule is verified according to the corresponding field level of the field to be verified, determine the field level verification of the field to be verified As a result, comprising:
According to the corresponding field level verification rule of the field to be verified, determine the value of the field to be verified preset first Service request in threshold range;
It is described to verify rule according to the field level check results and the corresponding request level of the field to be verified, if determining described Whether dry service request passes through verification, comprising:
Determine service request of the value of the field to be verified in preset first threshold range in several service requests In the first accounting;
According to the corresponding request level verification rule of the field to be verified, determine whether first accounting accounts for preset first Than being verified if so, determining that several service requests pass through, otherwise, it determines several service requests do not pass through in range Verification.
5. service request method of calibration as described in claim 1,
It is described that rule is verified according to the corresponding field level of the field to be verified, determine the field level verification of the field to be verified As a result, comprising:
According to the corresponding field level verification rule of the field to be verified, the field to be verified of several service requests is determined Value is according to the ascending ranking results being ranked up;
It is described to verify rule according to the field level check results and the corresponding request level of the field to be verified, if determining described Whether dry service request passes through verification, comprising:
According to the ranking results, the value of the corresponding field to be verified of preset target quartile is determined;
According to the corresponding request level verification rule of the field to be verified, the corresponding field to be verified of the target quartile is determined Whether value is within the scope of preset second threshold, if so, determining several service requests by verification, otherwise, it determines institute It is unverified to state several service requests.
6. service request method of calibration as described in claim 1,
It is described that rule is verified according to the corresponding field level of the field to be verified, determine the field level verification of the field to be verified As a result, comprising:
According to the corresponding field level verification rule of the field to be verified, determines and contain at least two field to be verified and described The value of at least two fields to be verified meets the service request of preset mapping relations;
It is described to verify rule according to the field level check results and the corresponding request level of the field to be verified, if determining described Whether dry service request passes through verification, comprising:
Determination contains at least two field to be verified and the value of at least two field to be verified meets preset mapping relations Second accounting of the service request in several service requests;
According to the corresponding request level verification rule of the field to be verified, determine whether second accounting accounts for preset second Than being verified if so, determining that several service requests pass through, otherwise, it determines several service requests do not pass through in range Verification.
7. service request method of calibration as claimed in claim 6,
The value of at least two field to be verified meets preset mapping relations, comprising:
The value of at least two field to be verified is identical.
8. service request method of calibration as described in claim 1,
It is described that rule is verified according to the corresponding field level of the field to be verified, determine the field level verification of the field to be verified As a result, comprising:
According to the corresponding field level verification rule of the field to be verified, determine that the value of the field to be verified meets preset text The service request of this format;
It is described to verify rule according to the field level check results and the corresponding request level of the field to be verified, if determining described Whether dry service request passes through verification, comprising:
Determine that the value of the field to be verified meets the service request of preset text formatting in several service requests Third accounting;
According to the corresponding request level verification rule of the field to be verified, determine whether the third accounting accounts in preset third Than being verified if so, determining that several service requests pass through, otherwise, it determines several service requests do not pass through in range Verification.
9. such as service request method of calibration described in any one of claims 1-8,
It is described that rule is verified according to the corresponding field level of the field to be verified, determine the field level verification of the field to be verified As a result, comprising:
According to the corresponding field level verification rule of the field to be verified, it is pre- to determine that the length of the value of the field to be verified meets If length range service request;
It is described to verify rule according to the field level check results and the corresponding request level of the field to be verified, if determining described Whether dry service request passes through verification, comprising:
Determine that the length of the value of the field to be verified meets the service request of preset length range and asks in several business The 4th accounting in asking;
According to the corresponding request level verification rule of the field to be verified, determine whether the 4th accounting accounts for the preset 4th Than being verified if so, determining that several service requests pass through, otherwise, it determines several service requests do not pass through in range Verification.
10. a kind of service request method of calibration, comprising:
According to several service requests, field to be verified is determined;
According to preset field and verification rule corresponding relationship, determine the field to be verified it is corresponding first verification rule, Second verification rule, third verification rule, the 4th verification rule and the 5th verification rule, wherein the first verification rule packet The first field level verification rule and the first request level verification rule are included, the second verification rule includes the second field level verification rule Rule is then verified with the second request level, the third verification rule includes third field level verification rule and the verification of third request level Rule, the 4th verification rule include the 4th field level verification rule and the 4th request level verification rule, the 5th verification Rule includes the 5th field level verification rule and the 5th request level verification rule;
According to the corresponding first field level verification rule of the field to be verified, determine that the length of the value of the field to be verified is full The service request of the preset length range of foot;Determine that the length of the value of the field to be verified meets the industry of preset length range Fiveth accounting of the business request in several service requests;According to the corresponding first request level verification rule of the field to be verified Then, determine the 5th accounting whether within the scope of preset 5th accounting,
If the 5th accounting is within the scope of preset 5th accounting, according to corresponding second field level of the field to be verified Verification rule, determines that the value of the field to be verified meets the service request of preset text formatting;Determine the word to be verified The value of section meets sixth accounting of the service request of preset text formatting in several service requests;According to described to school Test field corresponding second request level verification rule, determine the 6th accounting whether within the scope of preset 6th accounting,
If the 6th accounting is within the scope of preset 6th accounting, according to the corresponding third field level of the field to be verified Verification rule, determines service request of the value of the field to be verified in preset third threshold range;It determines described to school Test seventh accounting of the value of field in the service request in preset third threshold range in several service requests;According to Whether the corresponding third request level verification rule of the field to be verified, determine the 7th accounting in preset 7th accounting model In enclosing,
If the 7th accounting is within the scope of preset 7th accounting, according to corresponding 4th field level of the field to be verified Verification rule, determines the value of the field to be verified of several service requests according to the ascending ranking results being ranked up; According to the ranking results, the value of the corresponding field to be verified of preset target quartile is determined;According to the field pair to be verified Whether the 4th request level verification rule answered, determine the value of the corresponding field to be verified of the target quartile in preset 4th threshold It is worth in range,
If the value of the corresponding field to be verified of the target quartile is in preset 4th threshold range, according to described to be verified Field corresponding 5th field level verification rule determines and contains at least two field to be verified and described at least two to be verified The value of field meets the service request of preset mapping relations;Determination contains at least two field to be verified and described at least two The value of a field to be verified meets eightth accounting of the service request of preset mapping relations in several service requests;Root According to the corresponding 5th request level verification rule of the field to be verified, determine the 8th accounting whether in preset 8th accounting In range, if so, determining several service requests by verification, otherwise, it determines several service requests do not pass through school It tests.
11. a kind of service request calibration equipment, comprising:
First determination unit, for determining field to be verified according to several service requests;
Second determination unit determines the field pair to be verified for the corresponding relationship according to preset field and verification rule The verification rule answered, wherein the verification rule includes field level verification rule and request level verification rule;
First verification unit determines the word to be verified for verifying rule according to the corresponding field level of the field to be verified The field level check results of section;According to the field level check results and the corresponding request level verification rule of the field to be verified Then, determine whether several service requests pass through verification.
12. service request calibration equipment as claimed in claim 11,
First determination unit is asked for the corresponding relationship according to preset service request type and field in the business Field to be verified corresponding with its service request type is determined in the field asked.
13. service request calibration equipment as claimed in claim 12,
First verification unit, for the corresponding field of field to be verified according to the service request of target service request type Grade verification rule, determines the field level check results of the field to be verified of the service request of the target service request type;Root It is asked according to the field level check results and the target service of the field to be verified of the service request of the target service request type The corresponding request level verification rule of the field to be verified of the service request of type is sought, determines the industry of the target service request type Whether business request passes through verification.
14. service request calibration equipment as claimed in claim 11,
First verification unit determines described to school for verifying rule according to the corresponding field level of the field to be verified Test service request of the value of field in preset first threshold range;Determine the value of the field to be verified preset first First accounting of the service request in several service requests in threshold range;It is asked according to the field to be verified is corresponding Grade verification rule is sought, first accounting is determined whether within the scope of preset first accounting, if so, determining several industry Business request is by verification, otherwise, it determines several service requests are unverified.
15. service request calibration equipment as claimed in claim 11,
First verification unit determines described several for verifying rule according to the corresponding field level of the field to be verified The value of the field to be verified of service request is according to the ascending ranking results being ranked up;According to the ranking results, determine The value of the corresponding field to be verified of preset target quartile;According to the corresponding request level verification rule of the field to be verified, really The value of the corresponding field to be verified of the target quartile is determined whether within the scope of preset second threshold, if so, described in determining Several service requests are by verification, otherwise, it determines several service requests are unverified.
16. service request calibration equipment as claimed in claim 11,
First verification unit is determined for verifying rule according to the corresponding field level of the field to be verified comprising at least The value of two fields to be verified and at least two field to be verified meets the service request of preset mapping relations;It determines The value for containing at least two field to be verified and at least two field to be verified, which meets the business of preset mapping relations, asks Seek the second accounting in several service requests;According to the corresponding request level verification rule of the field to be verified, determine Whether second accounting is within the scope of preset second accounting, if so, determine that several service requests pass through verification, it is no Then, determine that several service requests are unverified.
17. service request calibration equipment as claimed in claim 16,
The value of at least two field to be verified meets preset mapping relations, comprising:
The value of at least two field to be verified is identical.
18. service request calibration equipment as claimed in claim 11,
First verification unit determines described to school for verifying rule according to the corresponding field level of the field to be verified The value for testing field meets the service request of preset text formatting;Determine that the value of the field to be verified meets preset text lattice Third accounting of the service request of formula in several service requests;According to the corresponding request level verification of the field to be verified Rule determines the third accounting whether within the scope of preset third accounting, if so, determining that several service requests are logical Verification is crossed, otherwise, it determines several service requests are unverified.
19. the service request calibration equipment as described in any in claim 11-18,
First verification unit determines described to school for verifying rule according to the corresponding field level of the field to be verified The length for testing the value of field meets the service request of preset length range;Determine that the length of the value of the field to be verified meets Fourth accounting of the service request of preset length range in several service requests;It is corresponding according to the field to be verified Request level verify rule, the 4th accounting is determined whether within the scope of preset 4th accounting, if if so, determining described Dry service request is by verification, otherwise, it determines several service requests are unverified.
20. a kind of service request calibration equipment, comprising:
Third determination unit, for determining field to be verified according to several service requests;
4th determination unit determines the field pair to be verified for the corresponding relationship according to preset field and verification rule The first verification rule, the second verification rule, third verification rule, the 4th verification rule and the 5th verification rule answered, wherein institute Stating the first verification rule includes the first field level verification rule and the first request level verification rule, and the second verification rule includes Second field level verification rule and the second request level verification rule, the third verification rule include third field level verification rule Rule is verified with third request level, the 4th verification rule includes the 4th field level verification rule and the 4th request level verification rule Then, the 5th verification rule includes the 5th field level verification rule and the 5th request level verification rule;
Second verification unit determines described to school for verifying rule according to corresponding first field level of the field to be verified The length for testing the value of field meets the service request of preset length range;Determine that the length of the value of the field to be verified meets Fiveth accounting of the service request of preset length range in several service requests;It is corresponding according to the field to be verified The first request level verify rule, determine the 5th accounting whether within the scope of preset 5th accounting,
If the 5th accounting is within the scope of preset 5th accounting, according to corresponding second field level of the field to be verified Verification rule, determines that the value of the field to be verified meets the service request of preset text formatting;Determine the word to be verified The value of section meets sixth accounting of the service request of preset text formatting in several service requests;According to described to school Test field corresponding second request level verification rule, determine the 6th accounting whether within the scope of preset 6th accounting,
If the 6th accounting is within the scope of preset 6th accounting, according to the corresponding third field level of the field to be verified Verification rule, determines service request of the value of the field to be verified in preset third threshold range;It determines described to school Test seventh accounting of the value of field in the service request in preset third threshold range in several service requests;According to Whether the corresponding third request level verification rule of the field to be verified, determine the 7th accounting in preset 7th accounting model In enclosing,
If the 7th accounting is within the scope of preset 7th accounting, according to corresponding 4th field level of the field to be verified Verification rule, determines the value of the field to be verified of several service requests according to the ascending ranking results being ranked up; According to the ranking results, the value of the corresponding field to be verified of preset target quartile is determined;According to the field pair to be verified Whether the 4th request level verification rule answered, determine the value of the corresponding field to be verified of the target quartile in preset 4th threshold It is worth in range,
If the value of the corresponding field to be verified of the target quartile is in preset 4th threshold range, according to described to be verified Field corresponding 5th field level verification rule determines and contains at least two field to be verified and described at least two to be verified The value of field meets the service request of preset mapping relations;Determination contains at least two field to be verified and described at least two The value of a field to be verified meets eightth accounting of the service request of preset mapping relations in several service requests;Root According to the corresponding 5th request level verification rule of the field to be verified, determine the 8th accounting whether in preset 8th accounting In range, if so, determining several service requests by verification, otherwise, it determines several service requests do not pass through school It tests.
CN201811120741.8A 2018-09-25 2018-09-25 Service request checking method and device Active CN109389298B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811120741.8A CN109389298B (en) 2018-09-25 2018-09-25 Service request checking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811120741.8A CN109389298B (en) 2018-09-25 2018-09-25 Service request checking method and device

Publications (2)

Publication Number Publication Date
CN109389298A true CN109389298A (en) 2019-02-26
CN109389298B CN109389298B (en) 2022-04-29

Family

ID=65418163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811120741.8A Active CN109389298B (en) 2018-09-25 2018-09-25 Service request checking method and device

Country Status (1)

Country Link
CN (1) CN109389298B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110335098A (en) * 2019-04-24 2019-10-15 上海恺英网络科技有限公司 Order recognition methods and equipment at production payment center service end

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544074A (en) * 2012-07-09 2014-01-29 阿里巴巴集团控股有限公司 Method and device for verifying service
CN107426181A (en) * 2017-06-20 2017-12-01 竞技世界(北京)网络技术有限公司 The hold-up interception method and device of malice web access request
CN108021468A (en) * 2017-12-08 2018-05-11 泰康保险集团股份有限公司 The method of calibration and device of business datum in medical treatment endowment cooperative system
CN108345511A (en) * 2017-01-24 2018-07-31 阿里巴巴集团控股有限公司 A kind of application data verification method, device and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544074A (en) * 2012-07-09 2014-01-29 阿里巴巴集团控股有限公司 Method and device for verifying service
CN108345511A (en) * 2017-01-24 2018-07-31 阿里巴巴集团控股有限公司 A kind of application data verification method, device and electronic equipment
CN107426181A (en) * 2017-06-20 2017-12-01 竞技世界(北京)网络技术有限公司 The hold-up interception method and device of malice web access request
CN108021468A (en) * 2017-12-08 2018-05-11 泰康保险集团股份有限公司 The method of calibration and device of business datum in medical treatment endowment cooperative system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110335098A (en) * 2019-04-24 2019-10-15 上海恺英网络科技有限公司 Order recognition methods and equipment at production payment center service end

Also Published As

Publication number Publication date
CN109389298B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
TWI716871B (en) Postpaid transaction data processing method, device, processing equipment, and server
WO2019128526A1 (en) Method, apparatus, and device for training risk control model and risk control
US20210117627A1 (en) Automated Testing of Dialog Systems
CN109447469A (en) A kind of Method for text detection, device and equipment
CN107679700A (en) Business flow processing method, apparatus and server
WO2021223675A1 (en) Risk inspection
CN107391526A (en) A kind of data processing method and equipment based on block chain
CN109347787A (en) A kind of recognition methods of identity information and device
TW201833851A (en) Risk control event automatic processing method and apparatus
CN107329899A (en) A kind of application compatibility method of testing and device
CN108399477A (en) A kind of method and device that risk threshold value determines
CN110245475A (en) Auth method and device
CN109784013A (en) A kind of method, apparatus and equipment of information identification
US11074043B2 (en) Automated script review utilizing crowdsourced inputs
US20200357078A1 (en) Method, apparatus, system, and electronic device for credit tax refundment
WO2022247969A1 (en) Payment method and device
CN105893224B (en) A kind of resource measurement method and device
CN110009297A (en) A kind of fiduciary qualification signal auditing method, device and equipment
CN108876102A (en) A kind of risk trade method for digging, device and equipment
CN110390182A (en) A kind of method, system and the equipment of determining small routine classification
CN106372659A (en) Similar object determination method and device
CN106033574A (en) Identification method and identification device for cheating behavior
CN108268534A (en) Propagating influence computational methods and device
US10289669B2 (en) Filling information from mobile devices with security constraints
CN108959865A (en) A kind of verification method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240228

Address after: 128 Meizhi Road, Guohao Times City # 20-01, Singapore 189773

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right