Summary of the invention
In order to solve the above technical problems, the embodiment of the present invention shows a kind of payment processing method and device.
In a first aspect, the embodiment of the present invention shows a kind of payment processing method, which comprises
Payment request is received, the payment request at least carries the mark of channel of disbursement and payer;
Forbid channel of disbursement according to the mark acquisition payer of the payer;
Forbid whether channel of disbursement includes channel of disbursement that the payment request carries described in judgement;
If described, to forbid channel of disbursement include the channel of disbursement that the payment request carries, and is refused according to the payment
Request is paid.
In an optional implementation, the method also includes:
If described, to forbid channel of disbursement include the channel of disbursement that the payment request carries, according to the payer
It identifies to the payer and sends checking request, the checking request is for requesting the payer to provide the pre- of the payer
If evidence for payment;
Receive the evidence for payment that the payer is sent according to the checking request;
The default evidence for payment of the stored payer is obtained according to the mark of the payer;
Determine whether the default evidence for payment of received evidence for payment and acquisition is identical;
If received evidence for payment is different from the default evidence for payment of acquisition, the refusal is executed according to the payment
Request the process paid;
If received evidence for payment is identical as the default evidence for payment of acquisition, propped up according to the payment request
It pays.
It is described that the stored payer is obtained according to the mark of the payer in an optional implementation
Default evidence for payment, comprising:
According to the mark of the payer obtain the payer is corresponding, forbid channel of disbursement and default pay mark it
Between corresponding relationship;
It is searched in the corresponding relationship and forbids the corresponding default evidence for payment of channel of disbursement with described.
In an optional implementation, the method also includes:
After refusal is paid according to the payment request, prompt information, the prompt are sent to the payer
Information received the payment request for prompting.
Second aspect, the embodiment of the present invention show a kind of payment processing device, and described device includes:
Receiving module, for receiving payment request, the payment request at least carries the mark of channel of disbursement and payer;
First obtains module, forbids channel of disbursement for what the mark according to the payer obtained the payer;
Judgment module described forbids whether channel of disbursement includes channel of disbursement that the payment request carries for judging;
Refuse module, if to forbid channel of disbursement include the channel of disbursement that the payment request carries for described, refuses
It is paid according to the payment request absolutely.
In an optional implementation, described device further include:
First sending module, if to forbid channel of disbursement include the channel of disbursement that the payment request carries for described,
Checking request is then sent to the payer according to the mark of the payer, the checking request is for requesting the payer
The default evidence for payment of the payer is provided;
Receiving module, the evidence for payment sent for receiving the payer according to the checking request;
Second obtains module, and the default payment of the stored payer is obtained for the mark according to the payer
Voucher;
Whether determining module, the default evidence for payment for determining received evidence for payment and acquisition are identical;
The refusal module is also used to: if received evidence for payment is different from the default evidence for payment of acquisition, being refused
It is paid according to the payment request;
Payment module, if identical as the default evidence for payment of acquisition for received evidence for payment, according to the branch
Request is paid to be paid.
In an optional implementation, the second acquisition module includes:
According to the mark of the payer obtain the payer is corresponding, forbid channel of disbursement and default pay mark it
Between corresponding relationship;
It is searched in the corresponding relationship and forbids the corresponding default evidence for payment of channel of disbursement with described.
In an optional implementation, described device further include:
Second sending module, for being sent to the payer after refusal is paid according to the payment request
Prompt information, the prompt information received the payment request for prompting.
The third aspect, the embodiment of the present invention show a kind of electronic equipment, including memory, processor and are stored in storage
On device and the computer program that can run on a processor, the processor are realized as described in relation to the first aspect when executing described program
Payment processing method the step of.
Fourth aspect, the embodiment of the present invention show a kind of computer readable storage medium, the computer-readable storage
It is stored with computer program on medium, is realized when the computer program is executed by processor at payment as described in relation to the first aspect
The step of reason method.
Compared with prior art, the embodiment of the present invention includes following advantages:
In embodiments of the present invention, payment request is received, which at least carries the mark of channel of disbursement and payer
Know;Forbid channel of disbursement according to the mark acquisition payer of payer;Judgement forbids whether channel of disbursement includes that the payment is asked
Seek the channel of disbursement of carrying;If forbidding channel of disbursement includes the channel of disbursement that the payment request carries, refuse according to the branch
Request is paid to be paid;If the channel of disbursement for forbidding channel of disbursement not and include the payment request to carry, is asked according to the payment
It asks and is paid.Method through the embodiment of the present invention can identify illegal payment using payer to avoid criminal, such as
Brush bank card is stolen, so as to ensure the property safety of user.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step flow chart of payment processing method embodiment of the invention is shown, can specifically include
Following steps:
In step s101, payment request is received, which at least carries the mark of channel of disbursement and payer;
In embodiments of the present invention, the card number etc. of used bank card when the mark of payer can be with payment.
User can be swiped the card in POS machine when being paid using bank card, can use bank card branch by quick payment
It pays, is paid by e-Bank payment or by ATM machine.Therefore, channel of disbursement includes at least: POS machine, quick payment, Internetbank and
ATM etc. may also comprise other channel of disbursement certainly, and the embodiment of the present invention is not limited this.
Wherein, when payer needs to pay, payment request can be generated using the mark of payer in payment terminal,
Then controlling terminal sends the payment request to payment server, and payment server receives the payment request, then executes step
S102。
In step s 102, channel of disbursement is forbidden according to the mark acquisition payer of payer;
In embodiments of the present invention, payer can be arranged it in advance in payment server and forbid channel of disbursement, for example,
The channel of disbursement of forbidding being arranged is Internetbank, when payer is paid using bank card, can not pay success by e-Bank payment, lead to
Success could be paid by crossing the channel of disbursement such as ATM, quick payment or POS machine.
In step s 103, judgement forbid channel of disbursement whether include the payment request carry channel of disbursement;
Forbidding channel of disbursement may be a channel of disbursement, it is also possible to multiple channel of disbursement.
If forbidding channel of disbursement includes the channel of disbursement that the payment request carries, in step S104, refusal basis should
Payment request is paid.
If the channel of disbursement for forbidding channel of disbursement not and include the payment request to carry, in step s105, according to the branch
Request is paid to be paid.
In embodiments of the present invention, payment request is received, which at least carries the mark of channel of disbursement and payer
Know;Forbid channel of disbursement according to the mark acquisition payer of payer;Judgement forbids whether channel of disbursement includes that the payment is asked
Seek the channel of disbursement of carrying;If forbidding channel of disbursement includes the channel of disbursement that the payment request carries, refuse according to the branch
Request is paid to be paid;If the channel of disbursement for forbidding channel of disbursement not and include the payment request to carry, is asked according to the payment
It asks and is paid.Method through the embodiment of the present invention can identify illegal payment using payer to avoid criminal, such as
Brush bank card is stolen, so as to ensure the property safety of user.
However, sometimes when payer encounters special circumstances, it is also desirable to pay canal by forbidding using bank card
The payment of road channel of disbursement, if payment server is still refused to pay at this time, can reduce user experience.
Therefore, in order to avoid reducing user experience, in an alternative embodiment of the invention, referring to fig. 2, this method further include:
If described, to forbid channel of disbursement include the channel of disbursement that the payment request carries, in step s 201, according to
The mark of payer sends checking request to payer, which is used to that payer to be requested to provide the default payment of payer
Voucher;
Default evidence for payment can be the password that payer stores in payment server in advance, for example, phone number
Code, date of birth, birthplace or work unit etc..
Alternatively, the checking request is a short message, it include 4 identifying codes or 6 identifying codes in short message, according to payer
Mark obtains the phone number of payer, sends the short message to the phone number, and payer passes through mobile phone, and to receive this short
After letter, it will be able to view identifying code, then send the identifying code to payment server.
In step S202, the evidence for payment that payer is sent according to the checking request is received;
In step S203, the default evidence for payment of stored payer is obtained according to the mark of payer;
In order to further increase the property safety of user, in embodiments of the present invention, different forbids channel of disbursement corresponding
Default pay mark it is different, even if criminal obtains a default pay mark, do not know the default pay mark pair yet
Which should forbid channel of disbursement in, in this way, brush bank card can not be stolen, so as to further ensure the wealth of payer
Produce safety.
Specifically, obtain that the payer is corresponding, forbids channel of disbursement and default payment mark according to the mark of payer
Corresponding relationship between knowledge;Default evidence for payment corresponding with channel of disbursement is forbidden is searched in the corresponding relationship.
In step S204, determine whether the default evidence for payment of received evidence for payment and acquisition is identical;
If received evidence for payment is different from the default evidence for payment of acquisition, then follow the steps S104: refusal basis should
Payment request is paid;
If received evidence for payment is identical as the default evidence for payment of acquisition, S105 is thened follow the steps: according to the payment
Request is paid.
If received evidence for payment is identical as the default evidence for payment of acquisition, illustrate be payer carry out conjunction
Method payment behavior is not the illegal payment behavior that criminal executes, so as to be paid according to the payment request.
Further, if criminal carries out illegal payment using payer mark, although payment server can be refused
It is paid according to the payment request, but it is stated that the proprietary information of user is intercepted by criminal, in order to ensure user
Property safety, refusal paid according to the payment request after, need to payer send prompt information, the prompt letter
Breath received the payment request for prompting, so that payer knows this situation, and then changed the close of bank card in time
The information such as code, bring loss to user's property after avoiding.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 3, a kind of structural block diagram of payment processing Installation practice of the present invention is shown, which specifically can wrap
Include following module:
Receiving module 11, for receiving payment request, the payment request at least carries the mark of channel of disbursement and payer
Know;
First obtains module 12, forbids channel of disbursement for what the mark according to the payer obtained the payer;
Judgment module 13 described forbids whether channel of disbursement includes payment canal that the payment request carries for judging
Road;
Refuse module 14, if to forbid channel of disbursement include the channel of disbursement that the payment request carries for described,
Refusal is paid according to the payment request.
In an optional implementation, described device further include:
First sending module, if to forbid channel of disbursement include the channel of disbursement that the payment request carries for described,
Checking request is then sent to the payer according to the mark of the payer, the checking request is for requesting the payer
The default evidence for payment of the payer is provided;
Receiving module, the evidence for payment sent for receiving the payer according to the checking request;
Second obtains module, and the default payment of the stored payer is obtained for the mark according to the payer
Voucher;
Whether determining module, the default evidence for payment for determining received evidence for payment and acquisition are identical;
The refusal module is also used to: if received evidence for payment is different from the default evidence for payment of acquisition, being refused
It is paid according to the payment request;
Payment module, if identical as the default evidence for payment of acquisition for received evidence for payment, according to the branch
Request is paid to be paid.
In an optional implementation, the second acquisition module includes:
According to the mark of the payer obtain the payer is corresponding, forbid channel of disbursement and default pay mark it
Between corresponding relationship;
It is searched in the corresponding relationship and forbids the corresponding default evidence for payment of channel of disbursement with described.
In an optional implementation, described device further include:
Second sending module, for being sent to the payer after refusal is paid according to the payment request
Prompt information, the prompt information received the payment request for prompting.
In embodiments of the present invention, payment request is received, which at least carries the mark of channel of disbursement and payer
Know;Forbid channel of disbursement according to the mark acquisition payer of payer;Judgement forbids whether channel of disbursement includes that the payment is asked
Seek the channel of disbursement of carrying;If forbidding channel of disbursement includes the channel of disbursement that the payment request carries, refuse according to the branch
Request is paid to be paid;If the channel of disbursement for forbidding channel of disbursement not and include the payment request to carry, is asked according to the payment
It asks and is paid.Method through the embodiment of the present invention can identify illegal payment using payer to avoid criminal, such as
Brush bank card is stolen, so as to ensure the property safety of user.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of payment processing method provided by the present invention and device, it is described in detail, it is used herein
A specific example illustrates the principle and implementation of the invention, and the above embodiments are only used to help understand
Method and its core concept of the invention;At the same time, for those skilled in the art is having according to the thought of the present invention
There will be changes in body embodiment and application range, in conclusion the content of the present specification should not be construed as to the present invention
Limitation.