Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this
Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described
Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual,
Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
The user of bank or other financial institutions, i.e., actual holder or account holder, in bank card or Alipay
(specifically it is with bankcard association, bank or the concrete regulation of other cooperative institutions in certain time limit in account after fund payment
It is quasi-), it can propose to refuse to pay to the financial institution, i.e. certain transaction fund in application refusal to pay bill.
For example, the stolen brush of the bank card or payment account of user, then user can apply for refusing to pay the transaction money of corresponding generation
?;It for another example,, can if the commodity for thinking that businessman provides are not inconsistent with description after user's bank card or payment account buy certain commodity
To apply returning goods and refusing to pay the fund of the transaction order.
After user's application is refused to pay, uniline or financial institution are received by the corresponding transaction order of generation and refuses to pay task.
This specification provides one kind and refuses to pay task processing method, shown in Figure 1, and this method may comprise steps of:
S101, acquisition is to be processed to refuse to pay task data;
Whether S102 examines in data obtained comprising default feature;
When task is refused to pay in processing, user's application will be refused to pay according to corresponding trade order, carries out every judgement.Example
Such as, whether the amount of money for determining that user's application is refused to pay is reasonable;The bearer lost produced by determining, if it is due to financial institution
Air control measure is not perfect, and user is caused to be stolen brush bank card or account, then bearer is generally financial institution, and if it is due to
The commodity that businessman provides are not inconsistent with description, then bearer is generally businessman;Etc..
Accordingly, to be processed refuse to pay will generate several features in task data, such as: task identification (such as mission number),
Determine attribute, application refuse to pay the amount of money, determine win a lawsuit the amount of money, determine lose a lawsuit the amount of money, amount of money bearer, task current state, etc..
When task is refused to pay in processing, needs to examine the data for task of refusing to pay whether complete, i.e., whether lack in individuality.If through examining
It tests in determining data and lacks some or certain several features, then can show corresponding prompt information, such as show that " mission number cannot
For sky " etc. information, so that operator supplements.In addition, certain features can also be automatically generated according to existing feature, thus
Keep data complete.
For example, certain trade orders are to merge the merging order that payment generates by more sub- orders, and user may Shen
The sub- order in part therein please be refuse to pay, therefore refusing to pay can also include subtask mark (such as subtask number) in task data.
When in examining data obtained whether comprising default feature, can determine first described in refuse to pay corresponding trade of task and order
It is single, if to be the merging order of more sub- orders;Whether identified comprising subtask if so, examining in data obtained.
If do not identified comprising subtask, this feature can be automatically generated and calculate characteristic value.Specifically, it can be generated
Subtask mark, and extract the value for merging the corresponding default feature of order in data obtained;According to extracted characteristic value,
And sub- order and the transaction amount relationship for merging order, calculate the value of the corresponding default feature of sub- order.
It after additional modifications data, can test again, no longer lack default feature in data until determining, then may be used
To continue otherwise inspection.
S103, if so, extract the value of the default feature in data obtained, and examine extracted each characteristic value it
Between corresponding relationship it is whether correct and whether consistent with each characteristic value in local data;
In addition to the integrality of feature, in data the value of each feature be also required to meet corresponding relationship it is correct, with local data one
The inspection rules such as cause.
As previously described, refuse to pay in the data of task may include determining that attribute, application refuse to pay the amount of money, determine gold of winning a lawsuit
Volume, judgement lose a lawsuit the amount of money, etc. features, the corresponding relationship of these characteristic values can be examined whether correct.
In this specification embodiment, after the value for extracting the default feature in data obtained, it can determine and sentence first
Determine the value of attribute, if it is determined that the value of attribute is fully to win a lawsuit, that is, determines that the applied amount of money of refusing to pay is won a lawsuit, then judgement is examined to win
It tells whether the amount of money is greater than 0, whether is equal to application and refuses to pay amount of money etc., examine whether the amount of money that determines to lose a lawsuit is equal to 0;If it is determined that attribute
Value is fully to lose a lawsuit, that is, determines that the applied amount of money of refusing to pay is lost a lawsuit, then examine judgement lose a lawsuit the amount of money whether be greater than 0, whether etc.
Amount of money etc. is refused to pay in application, examines whether the amount of money that determines to win a lawsuit is equal to 0;If it is determined that the value of attribute is won a lawsuit for part, and/or part
It loses a lawsuit, then examines that the amount of money is won a lawsuit in judgement and whether the judgement amount of money of losing a lawsuit is all larger than 0;It, can be in addition, for aforementioned a few class situations
It examines and determines to win a lawsuit the amount of money and whether judgement the sum of amount of money of losing a lawsuit is equal to application and refuses to pay the amount of money.
As previously described, refusing to pay may include the features such as task identification, subtask mark in the data of task, and task
And the respective task of the task, associated mode can be taken to be identified, therefore, can be identified with inspection task, subtask
Whether the corresponding relationship of the characteristic values of features such as mark is correct, to examine whether the subtask belongs to the task dispatching.
In addition, if in certain task include multiple subtasks, can also examine the judgement of each subtask win a lawsuit the amount of money, sentence
Surely win a lawsuit the sum of the value of the amount of money, if the judgement equal to the task win a lawsuit the amount of money, determine the amount of money of winning a lawsuit.Also, it is more for being related to
The numerical result of the transaction of currency type, currency exchange may be subjected to the influence of floating exchange standard, therefore, judge between each amount of money value
Corresponding relationship when, can according to preset rules, the exchange rate or the current real-time exchange rate when according to transaction are calculated,
Alternatively, corresponding relationship between each value can be examined whether within a preset range, and the range can be previously according to floating exchange standard
Range setting.
It determines that the corresponding relationship of each characteristic value of data is incorrect if examined, can show corresponding prompt information,
So that operator modifies.It is of course also possible to judge automatically the characteristic value for mistake occur and amendment.
Processing may include multiple processing stages when refusing to pay task, and each processing stage, there may be corresponding data to deposit
It is stored in local, to when refusing to pay task data and testing, it is also necessary to examine the value of certain features whether special with stored data
Value indicative is identical.
For example, after task is refused to pay in generation, it is local to store the task identification of the task, therefore can whether examine locally
Store tasks mark and subtask mark, so that it is determined that task identification and subtask identify whether the characteristic value one with local data
It causes;For another example, it is whether consistent with the characteristic value of local data that the characteristic values such as the amount of money, amount of money bearer can be refused to pay with inspection request;Deng
Deng.
It determines that each characteristic value of data and local data are inconsistent if examined, can show corresponding prompt information,
So that operator modifies;Inconsistent characteristic value and amendment can also be judged automatically.
In this specification embodiment, examining to the value and local data for extracting the default feature in data obtained
When characteristic value is inconsistent, the value of such as a certain amount of money feature is inconsistent, may further determine that and described refuses to pay the corresponding transaction of task
Whether order is Multiple Currencies transaction;If so, can be transferred in real time there may be amount of money value is changed because of floating exchange standard
Exchange rate data (according to preset computation rule, when transferring transaction or the current real-time exchange rate), is obtained with recalculating
Data in preset feature value.After recalculating, operator can also be showed directly according to modified result data
For reference.
S104, if so, determine it is to be processed refuse to pay task data by examine, according to it is extracted application refuse to pay the amount of money,
Determine to win a lawsuit the amount of money and determine the value of the amount of money of losing a lawsuit, judgement result is refused to pay in generation;
If the inspection result in S102, S103 is to be, it can determine that task data to be processed of refusing to pay passes through inspection.
For same order, according to user or the feedback of financial institution, it is understood that there may be repeatedly refuse to pay judgement;Alternatively, such as
Fruit this order is to merge order, then may be respectively present to each sub- order and corresponding refuse to pay judgement;Or if the pen is ordered
Multiple Currencies are designed in list, then during task is refused to pay in processing, may relate to other intermediate links.
Therefore, after refusing to pay task data by examining, the judgement situation according to this is needed, integrates same order its
He determines situation, and generate this refuses to pay judgement result.
S105 determines to refuse to pay the corresponding trade order of task described in result treatment according to refusing to pay.
In this specification embodiment, it can determine that result refuses to pay task and corresponding trade order described in updating according to refusing to pay
Processing status.
Wherein, as previously described, for same order, it is understood that there may be repeatedly refuse to pay, the corresponding son of more sub- orders is appointed
Business or other intermediate links etc. then can determine that result is performed in accordance with state and updates according to refusing to pay, e.g., in repeatedly refusing to pay
This state of refusing to pay be updated to " complete determine " etc..
In addition, this order may be frozen, and this is refused after the fund in certain transaction order is refused to pay in user's application
After judgement result is refused to pay in the task generation of paying, then this order can be thawed, to determine that result carries out user according to refusing to pay
The feedback such as reimbursement.
Below with reference to one, more specifically example, the task processing method of refusing to pay provided this specification are illustrated.
It is paid the bill when assuming that doing shopping under certain line of user using Alipay, user-pay bank is credit card issuer, and trade company receives
Money bank is to receive uniline.Include more than one piece commodity in the transaction order, as merges order, and user's discovery later wherein 1
Commodity are not inconsistent with description, it is desirable that carry out return of goods reimbursement processing, thus refuse to pay the partial amount in the fund to credit card issuer application.
It after credit card issuer is connected to application, will be checked by bank's flowing water, and refuse to pay request to uniline initiation is received, and receive uniline
It will freeze the transaction, and Alipay is transferred to carry out refusing to pay judgement.Alipay will be correspondingly generated the task of refusing to pay and subtask, into
Row refuses to pay the determination processings such as the amount of money, bearer, and tests after obtaining corresponding data.
Fig. 2 is to a kind of flow diagram refusing to pay task data and testing.
Inspection process include the corresponding relationship of whether complete, each characteristic value of feature of data it is whether correct and whether with this
Ground data are consistent.If examining to data and there is the case where not meeting above-mentioned condition, operation personage can be prompted to confirm abnormal former
Cause simultaneously modifies data, then can test again to data;If data is not examined to there are the feelings for not meeting above-mentioned condition
Condition, then the data can carry out subsequent processing routine by examining.
It is understood that Fig. 2 is a kind of signal to inspection process, each checking procedure can also pass through other sequences
And serial parallel mode executes, Fig. 2 should not be construed as the restriction to this specification example scheme.
After task data is refused to pay by examining, JSON sentence can be constructed according to features such as the amount of money, bearers in data
And local data is updated, this state for refusing to pay task can also be updated.Determine that result feeds back to receipts list and it is possible to will refuse to pay
Row, if receive uniline agree to this refuse to pay the judgement of task as a result, if will thaw the trade order, and according to the amount of money of winning a lawsuit to user
Reimbursement.
As it can be seen that using above scheme, the integrality to be processed for refusing to pay task data, correctness and consistent can be examined automatically
Property etc., and according to promoting this to refuse to pay task by the data examined, to save manpower and time, improve the efficiency for the treatment of process
With accuracy rate.
Corresponding to above method embodiment, this specification embodiment also provides one kind and refuses to pay Task Processing Unit, referring to Fig. 3
It is shown, the apparatus may include:
Data acquisition module 110 to be processed refuses to pay task data for obtaining;
Feature verification module 120, for whether examining in data obtained comprising default feature;The default feature is extremely
It less include: that the amount of money is refused to pay in the application for refusing to pay task, determining to win a lawsuit the amount of money and determines to lose a lawsuit the amount of money;It is obtained if so, extracting
Data in default feature value, and examine corresponding relationship between extracted each characteristic value whether correct and with local
Whether each characteristic value in data is consistent;
Result-generation module 130, for determine it is to be processed refuse to pay task data by examining in the case where, according to being mentioned
The application taken refuses to pay the amount of money, determines to win a lawsuit the amount of money and determine the value of the amount of money of losing a lawsuit, and judgement result is refused to pay in generation;
Ordering Module 140, for according to refuse to pay determine result treatment described in refuse to pay the corresponding trade order of task.
In a kind of specific embodiment that this specification provides, the default feature can also include: subtask mark
Know;
The feature verification module 120, can be specifically used for:
The corresponding trade order of task is refused to pay described in determination, if be the merging order of more sub- orders;
Whether identified comprising subtask if so, examining in data obtained.
In a kind of specific embodiment that this specification provides, it can also include the first correction module, can specifically use
In:
In the case where mark comprising subtask in examining data obtained, subtask mark is generated, and extract institute
Merge the value of the corresponding default feature of order in the data of acquisition;
According to extracted characteristic value and sub- order and the transaction amount relationship for merging order, it is corresponding to calculate sub- order
The value of default feature.
In a kind of specific embodiment that this specification provides, it can also include the second correction module, can specifically use
In:
In the case where examining each characteristic value in extracted each characteristic value and local data inconsistent, refused described in determination
Pay whether the corresponding trade order of task is Multiple Currencies transaction;
If so, exchange rate data is transferred, to recalculate the value for presetting feature in data obtained.
In a kind of specific embodiment that this specification provides, the Ordering Module 140 can be specifically used for:
Determine that result refuses to pay the processing status of task and corresponding trade order described in updating according to refusing to pay.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus
Realization process, details are not described herein.
This specification embodiment also provides a kind of computer equipment, includes at least memory, processor and is stored in
On reservoir and the computer program that can run on a processor, wherein processor realizes above-mentioned refuse to pay when executing described program
Task processing method.This method includes at least:
Data acquisition module to be processed refuses to pay task data for obtaining;
Feature verification module, for whether examining in data obtained comprising default feature;The default feature is at least
It include: that the amount of money is refused to pay in the application for refusing to pay task, determining to win a lawsuit the amount of money and determines to lose a lawsuit the amount of money;If so, extracting obtained
The value of default feature in data, and examine corresponding relationship between extracted each characteristic value whether correct and with local number
Whether each characteristic value in is consistent;
Result-generation module, for determine it is to be processed refuse to pay task data by examining in the case where, according to being extracted
Application refuse to pay the amount of money, determine to win a lawsuit the amount of money and determine the value of the amount of money of losing a lawsuit, judgement result is refused to pay in generation;
Ordering Module, for according to refuse to pay determine result treatment described in refuse to pay the corresponding trade order of task.
Fig. 4 shows one kind provided by this specification embodiment and more specifically calculates device hardware structural schematic diagram,
The equipment may include: processor 1010, memory 1020, input/output interface 1030, communication interface 1040 and bus
1050.Wherein processor 1010, memory 1020, input/output interface 1030 and communication interface 1040 are real by bus 1050
The now communication connection inside equipment each other.
Processor 1010 can use general CPU (Central Processing Unit, central processing unit), micro- place
Reason device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one
Or the modes such as multiple integrated circuits are realized, for executing relative program, to realize technical side provided by this specification embodiment
Case.
Memory 1020 can use ROM (Read Only Memory, read-only memory), RAM (Random Access
Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 1020 can store
Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware
When, relevant program code is stored in memory 1020, and execution is called by processor 1010.
Input/output interface 1030 is for connecting input/output module, to realize information input and output.Input and output/
Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein
Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display,
Loudspeaker, vibrator, indicator light etc..
Communication interface 1040 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment
Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly
(such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 1050 include an access, equipment various components (such as processor 1010, memory 1020, input/it is defeated
Outgoing interface 1030 and communication interface 1040) between transmit information.
It should be noted that although above equipment illustrates only processor 1010, memory 1020, input/output interface
1030, communication interface 1040 and bus 1050, but in the specific implementation process, which can also include realizing normal fortune
Other assemblies necessary to row.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising real in above equipment
Component necessary to existing this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey
It is realized when sequence is executed by processor and above-mentioned refuses to pay task processing method.This method includes at least:
Data acquisition module to be processed refuses to pay task data for obtaining;
Feature verification module, for whether examining in data obtained comprising default feature;The default feature is at least
It include: that the amount of money is refused to pay in the application for refusing to pay task, determining to win a lawsuit the amount of money and determines to lose a lawsuit the amount of money;If so, extracting obtained
The value of default feature in data, and examine corresponding relationship between extracted each characteristic value whether correct and with local number
Whether each characteristic value in is consistent;
Result-generation module, for determine it is to be processed refuse to pay task data by examining in the case where, according to being extracted
Application refuse to pay the amount of money, determine to win a lawsuit the amount of money and determine the value of the amount of money of losing a lawsuit, judgement result is refused to pay in generation;
Ordering Module, for according to refuse to pay determine result treatment described in refuse to pay the corresponding trade order of task.
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 (transitorymedia), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification
Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make
It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment
Method described in certain parts of a embodiment or embodiment.
System, 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.A kind of typically to realize that equipment is computer, the concrete form of computer can
To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment
The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality
For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method
Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description
Module may or may not be physically separated, can be each module when implementing this specification example scheme
Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or
Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor
Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art
For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this
A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.