Specific implementation mode
E-payment processing method, device and client under a kind of line of this specification embodiment offer.
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with this explanation
Attached drawing in book embodiment is clearly and completely described the technical solution in this specification embodiment, it is clear that described
Embodiment be only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual,
Every other embodiment obtained by those of ordinary skill in the art without making creative efforts, should all belong to
The range of this specification protection.
As shown in Figure 1, Fig. 1 is the structure of e-payment processing system under the line a kind of in the prior art that this specification provides
Schematic diagram.It can be seen from figure 1 that in the prior art, e-payment processing system may include merchant client 110, user under line
Client 120 and server 130.
Specifically, the merchant client 110 can be the terminal of businessman side (beneficiary), as shown in Figure 1, businessman client
End 110 can be the desktop computer for including host and display equipment;The subscription client 120 can be user side (paying party)
Terminal, as shown in Figure 1, the subscription client 120 can be mobile phone.The server 130 can be flat for Third-party payment
Platform.In the prior art, in the case where realizing line in electronic payment process, merchant client 110 is needed through network call server 130
Corresponding lower single interface, generates the corresponding order code page and shows on the display device;Then, subscription client 120 and businessman
Barcode scanning operation between client 110, completes e-payment.In above-mentioned existing electronic payment process, businessman side needs logical
Cross the corresponding A PI interfaces (i.e. lower single interface) that network goes integrated Third-party payment platform, when network when something goes wrong, just can not be complete
At e-payment under line, and bring additional network and api interface integrated cost.Based on this, carried in this specification embodiment
For a kind of specific embodiment of e-payment processing method under line, it is possible to reduce the cost of businessman.
Referring to Fig. 2, the structure that Fig. 2 is a kind of embodiment of e-payment processing system under the line that this specification provides is shown
It is intended to.It can be seen in fig. 2 that e-payment processing system may include the first client 210, the second client 220 and branch under line
Pay server 230.
Specifically, first client 210 can be the terminal of businessman side (beneficiary), specifically, first visitor
Family end 210 can be the electronic equipment with entity such as desktop computer, tablet computer, laptop;As shown in Figure 1, first
Client 210 can be the desktop computer for including host and display equipment;Second client 220 can be that user side (is paid
Money side) terminal, have specifically, second client 220 can be mobile phone, intelligent wearable device, tablet computer etc.
The mobile electronic device of entity;As shown in Fig. 2, second client 220 can be mobile phone.The payment server 230 can
Think Third-party payment platform, specifically, the payment server can be the electronic equipment with certain entity, it can be with
For the software for running in above-mentioned electronic equipment.
Based on e-payment processing system under above-mentioned line, e-payment processing side under a kind of line of this specification introduced below
A kind of specific embodiment of method.Fig. 3 is a kind of flow of embodiment of e-payment processing method under the line that this specification provides
Schematic diagram, present description provides the method operating procedures as described in embodiment or flow chart, but based on routine or without creation
The labour of property may include more or less operating procedure.The step of being enumerated in embodiment sequence is only that numerous steps are held
A kind of mode in row sequence does not represent and unique executes sequence.It, can be with when system in practice or client production execute
According to embodiment, either method shown in the drawings sequence executes or parallel executes (such as parallel processor or multiple threads
Environment).It is specific as shown in figure 3, the method may include:
S302:First client end response is instructed in the generation of order, and the generation instruction based on the order is corresponding to be ordered
Single information generates order payment request.
In practical applications, the generation instruction of order can be after inputting order information with predetermined manner triggering.Such as
Shown in Fig. 4, Fig. 4 is a kind of flow diagram of embodiment of the triggering page of the generation instruction for the order that this specification provides.
Specifically, as can be seen from Fig. 4, the triggering page includes order information and generates the button of order payment request;Specifically,
Here order information may include the information such as O/No., trade name, unit price, quantity and total price.It, can in the present embodiment mode
To realize that the generation of triggering order instructs by clicking the button for generating order payment request.Correspondingly, described in triggering
After the generation instruction of order, first client can the corresponding order information life of the generation instruction based on the order
At order payment request.Specifically, here can based in order information all information or partial information generate order payment
Request.
In a specific embodiment, as shown in figure 5, Fig. 5 is the generation based on the order that this specification provides
The corresponding order information of instruction generates a kind of flow diagram of embodiment of order payment request, specifically, may include:
S502:The corresponding order information of the generation instruction of the order is obtained, the mark letter of the order information is generated
Breath.
In practical applications, the first client can generate the order information of commodity in commodity settlement process.It orders
Single information generally may include one or more data informations.It is described to order when the order information includes multiple data informations
The identification information of single information may be multiple identification informations.The identification information can be the mark of corresponding order information.
Specifically, the identification information can include but is not limited to random sequence number.
S504:The identification information is converted into order note identification information based on predetermined encryption algorithm.
Specifically, in this specification embodiment, the predetermined encryption algorithm can include but is not limited to Md5 (Message
Digest Algorithm5, Message Digest Algorithm 5) Encryption Algorithm.
Specifically, the order note identification information can be as the identification information of the order, and it can be used for subsequent authentication
The validity of corresponding order payment request.
S506:The order payment request is generated based on the identification information and the order note identification information.
In practical applications, can the interface protocol based on third-party platform by the identification information and the order note identification
Information is converted into the order payment request.
S304:The order payment request is sent to the second client by first client according to Preset Transfer mode
End, wherein the Preset Transfer mode is non-network transmission mode.
In this specification embodiment, first client is after generating order payment request, first client
The order payment request is sent to the second client according to Preset Transfer mode.Specifically, in present embodiment, it is described non-
The transmission mode of network can include but is not limited to by this bluetooth, infrared, short message (Short Message Service,
The modes such as SMS).
S306:Second client sends the order payment request to payment server, completes the branch of the order
It pays.
In this specification embodiment, after the second client obtains order payment request, second client can be with
The order payment request is sent to payment server, completes the payment of the order.
Specifically, in second client can be aroused after order payment request described in the payment server
The Cash register page in tripartite's payment platform can ask after user inputs password to payment server Sending Payments, when
Payment request and the order payment request described in the payment server successful match, so that it may to complete e-payment.
E-payment processing method is as it can be seen that this specification embodiment passes through under the line provided by above-mentioned this specification embodiment
Order payment request is sent to the client of user side, then, is sent out the order payment request by the client of user side
Payment server is given, the payment of order is completed, it is possible to reduce the api interface integrated cost of trade company's side client, and businessman side
Client by the way of non-network by the order payment request send user side client, can also solve because not having
Caused by network the problem of payment failure.
In further embodiments, as shown in fig. 6, Fig. 6 is e-payment processing method under the line that this specification provides
The flow diagram of another embodiment, specifically, the method can also include:
S308:The order payment request is converted to default payment information by the first client.
S310:Show the default payment information.
Specifically, the default payment information includes the information of the order payment request.Specifically, the default payment
Information can include at least one of the following:
Pay bar code, payment Quick Response Code, default payment pictorial information.
In practical applications, during order payment request is converted to default payment information, payment can be preset
Order payment request is converted to default payment information by the coding rule corresponding to information.For example, working as the default payment information
When to pay Quick Response Code, order payment request can be converted into corresponding 2 D code information according to Quick Response Code coding rule.
As shown in fig. 7, a kind of page of the embodiment for the displaying default payment information that Fig. 7, which is this specification, to be provided shows
It is intended to.
Specifically, in present embodiment, order payment request is converted into default payment information, and after being shown, it can
So that the second client active obtaining order payment request, it is possible to reduce the transmission cost of businessman.
It the order payment request be sent to the second client according to Preset Transfer mode may include specifically, described
The order payment request is sent to second client according to Preset Transfer mode based on default payment information.
In a specific embodiment, described to be based on default payment information by the order payment request according to default biography
Defeated mode is sent to second client:
Second client is scanned processing to the default payment information;
It is identified based on the information in the scan process and the order payment request is sent to second client.
In another embodiment, described to be based on default payment information by the order payment request according to Preset Transfer side
Formula is sent to second client:
Second client carries out shooting processing to the default payment information;
Institute is sent to by the order payment request information to the image recognition for shooting image after being handled based on the shooting
State the second client.
In present embodiment, the non-network transmission mode can include but is not limited to Quick Response Code barcode scanning technology, bar shaped
Code barcode scanning technology, image recognition technology) etc..
E-payment processing method is as it can be seen that this specification embodiment businessman under the line provided by above-mentioned this specification embodiment
The client of side is shown pre- comprising order payment request information by the way that order payment request is converted to default payment information
If payment information, the client active obtaining order payment request of user side can be made, it is possible to reduce the transmission cost of businessman;So
Afterwards, the order payment request is sent to payment server by the client of user side, completes the payment of order, it is possible to reduce
The api interface integrated cost of trade company's side client, simultaneously as carrying out the biography of order payment request without the client of businessman side
It is defeated to solve the problems, such as to pay failure caused by without network.
It is executive agent based on the first client, e-payment processing method is another under a kind of line of this specification introduced below
A kind of specific embodiment.Fig. 8 is that the flow of another embodiment of e-payment processing method under the line that this specification provides is shown
It is intended to, present description provides the method operating procedures as described in embodiment or flow chart, but based on routine or without creativeness
Labour may include more or less operating procedure.The step of being enumerated in embodiment sequence is only that numerous steps execute
A kind of mode in sequence does not represent and unique executes sequence.It, can be by when system in practice or client production execute
According to embodiment, either method shown in the drawings sequence executes or parallel executes (such as parallel processor or multiple threads
Environment).It is specific as shown in figure 8, the method may include:
S802:In response to the generation instruction of order, the corresponding order information of the generation instruction based on the order generates
Order payment request.
S804:The order payment request is sent to the second client according to Preset Transfer mode, for described
Two clients complete the payment of the order based on the order payment request.
Specifically, the Preset Transfer mode is non-network transmission mode.
In other embodiments, in order to make the second client active obtaining order payment request, reduce by the first client (quotient
Family) transmission cost, the method can also include:
The order payment request is converted into default payment information;
Show the default payment information;
Correspondingly, described be sent to the second client including being based on by the order payment request according to Preset Transfer mode
The order payment request is sent to second client by default payment information according to Preset Transfer mode.
Trade company to based on the first client be executive agent line under e-payment processing method carried out simple description,
Specific embodiment may refer to the specific embodiment of e-payment processing method under above-mentioned line, and details are not described herein.
On the other hand this specification also provides e-payment processing unit under a kind of line, Fig. 9 is the line that this specification provides
The structural schematic diagram of a kind of embodiment of lower e-payment processing unit, as shown in figure 9, described device 900 may include:
Order payment request generation module 910 can be used for the generation instruction in response to order, the life based on the order
Order payment request is generated at the corresponding order information of instruction;
Order payment request sending module 920 can be used for sending out the order payment request according to Preset Transfer mode
The second client is given, completes the payment of the order based on the order payment request for second client;
Wherein, the Preset Transfer mode is non-network transmission mode.
This specification also provides another embodiment of e-payment processing unit under a kind of line, and Figure 10 is that this specification provides
The structural schematic diagram of another embodiment of e-payment processing unit under line, as shown in Figure 10, described device 900 can also wrap
It includes:
Conversion module 930 can be used for the order payment request being converted to default payment information;
Information display module 940 can be used for showing the default payment information;
Correspondingly, the order payment request sending module is additionally operable to ask order payment based on default payment information
It asks and is sent to second client according to Preset Transfer mode.
It is described to be sent out the order payment request according to Preset Transfer mode based on default payment information in another embodiment
Giving second client may include:
Second client is scanned processing to the default payment information;
It is identified based on the information in the scan process and the order payment request is sent to second client.
The order payment request is sent out according to Preset Transfer mode based on default payment information described in another embodiment
Giving second client may include:
Second client carries out shooting processing to the default payment information;
Institute is sent to by the order payment request information to the image recognition for shooting image after being handled based on the shooting
State the second client.
In another embodiment, the order payment request generation module 910 may include:
Identification information generation unit can be used for obtaining the corresponding order information of the generation instruction of the order, generate
The identification information of the order information;
Identification information converting unit can be used for that the identification information is converted to order note identification based on predetermined encryption algorithm
Information;
Order payment request generation unit can be used for generating institute based on the identification information and the order note identification information
State order payment request.
In another embodiment, the default payment information includes at least one of the following:
Pay bar code, payment Quick Response Code, default payment pictorial information.
Under the above-mentioned line that this specification embodiment provides e-payment processing method or device can in a computer by
Reason device executes corresponding program instruction to realize, such as using the c++ language of windows operating systems the ends PC realize or other
Such as realized in intelligent terminal using android, iOS system programming language, and the processing based on quantum computer is patrolled
Collect realization etc..As shown in figure 11, Figure 11 is that e-payment handles client under the line according to an exemplary embodiment of this specification
The schematic configuration diagram at end.In hardware view, which may include processor, internal bus, network interface, memory and non-
Volatile memory is also possible that the required hardware of other business certainly.Processor is read from nonvolatile memory
It is then run in corresponding computer program to memory, forms word string identification device on logic level.Certainly, in addition to software reality
Except existing mode, other realization methods, such as the mode etc. of logical device or software and hardware combining is not precluded in the application,
That is the executive agent of following process flow is not limited to each logic unit, can also be hardware or logical device.
Specifically, on the other hand this specification also provides e-payment processing client under a kind of line, including processor and
Memory, the memory store the computer program instructions executed by the processor, and the computer program instructions can be with
Including:
In response to the generation instruction of order, the corresponding order information of the generation instruction based on the order generates order branch
Pay request;
The order payment request is sent to the second client according to Preset Transfer mode, for second client
End group completes the payment of the order in the order payment request;
Wherein, the Preset Transfer mode is non-network transmission mode.
In this specification embodiment, the processor may include central processing unit (CPU) or graphics processor
(GPU), naturally it is also possible to including other microcontroller, logic gates, integrated circuits with logic processing capability etc. or its
It is appropriately combined.Memory described in the embodiment of the present application can be for protecting stored memory device.In digital display circuit, energy
The equipment for preserving binary data can be memory;In integrated circuits, one not physical form have store function
Circuit may be memory, such as RAM, FIFO;In systems, the storage device with physical form can also be named storage
Device etc..When realization, which can also be realized by the way of cloud storage, specific implementation, and this specification is not
Mistake limits.
In another embodiment, the computer program instructions can also include:
The order payment request is converted into default payment information;
Show the default payment information;
Correspondingly, described be sent to the second client including being based on by the order payment request according to Preset Transfer mode
The order payment request is sent to second client by default payment information according to Preset Transfer mode.
It can be seen that the embodiment quotient of e-payment processing method under a kind of line of this specification, device, client or system
The client of family side is shown by the way that order payment request is converted to default payment information comprising order payment request information
Default payment information, can make the second client active obtaining order payment request, it is possible to reduce the transmission cost of businessman;So
Afterwards, the order payment request is sent to payment server by the client of user side, completes the payment of order, it is possible to reduce
The api interface integrated cost of trade company's side client, simultaneously as carrying out the biography of order payment request without the client of businessman side
It is defeated to solve the problems, such as to pay failure caused by without network.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims
It is interior.In some cases, the action recorded in detail in the claims or step can be come according to different from the sequence in embodiment
It executes and desired result still may be implemented.In addition, the process described in the accompanying drawings not necessarily require show it is specific suitable
Sequence or consecutive order could realize desired result.In some embodiments, multitasking and parallel processing be also can
With or it may be advantageous.
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 " patrols
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 are 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 flow 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, application-specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but 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 for 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 in the form of logic gate, switch, application-specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. to come in fact
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.
Device, module or the unit that above-described embodiment illustrates can specifically be realized, Huo Zheyou by computer chip or entity
Product with certain function is realized.It is a kind of typically to realize that equipment is computer.Specifically, computer for example can be a
People's computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation
Any equipment in equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
Combination.
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 is realized can in the same or multiple software and or hardware when specification.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, apparatus 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, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (device) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of 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 count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include computer-readable medium in volatile memory, 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 realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (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), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage, graphene stores or other
Magnetic storage apparatus or any other non-transmission medium can be used for storage and can be accessed by a computing device information.According to herein
In define, computer-readable medium does not include temporary computer readable media (transitory media), such as data of modulation
Signal and carrier wave.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also 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 a ...", it is not excluded that wanted including described
There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification can be provided as method, apparatus or computer program production
Product.Therefore, complete hardware embodiment, complete software embodiment or implementation combining software and hardware aspects can be used in this specification
The form of example.Moreover, this specification can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
This specification can describe in the general context of computer-executable instructions executed by a computer, such as journey
Sequence module.Usually, program module include routines performing specific tasks or implementing specific abstract data types, program, object,
Component, data structure etc..This specification can also be put into practice in a distributed computing environment, in these distributed computing environment
In, by executing task by the connected remote processing devices of communication network.In a distributed computing environment, program module
It can be located in the local and remote computer storage media including storage device.
Each embodiment in this specification is described in a progressive manner, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device and
For server example, since it is substantially similar to the method embodiment, so description is fairly simple, related place is referring to side
The part of method embodiment illustrates.
The foregoing is merely the embodiments of this specification, are not limited to this specification.For art technology
For personnel, this specification can have various modifications and variations.It is all this specification spirit and principle within made by it is any
Modification, equivalent replacement, improvement etc., should be included within right.