CN107527192A - It is a kind of to identify the method for repeating to pay and server - Google Patents
It is a kind of to identify the method for repeating to pay and server Download PDFInfo
- Publication number
- CN107527192A CN107527192A CN201710644535.6A CN201710644535A CN107527192A CN 107527192 A CN107527192 A CN 107527192A CN 201710644535 A CN201710644535 A CN 201710644535A CN 107527192 A CN107527192 A CN 107527192A
- Authority
- CN
- China
- Prior art keywords
- information
- unique mark
- increment
- pay
- goods orders
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/085—Payment architectures involving remote charge determination or related payment systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
- G06Q20/0655—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash e-cash managed centrally
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/12—Payment architectures specially adapted for electronic shopping systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/385—Payment protocols; Details thereof using an alias or single-use codes
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Identify that the method for repeating to pay and server, wherein this method include the embodiment of the invention discloses a kind of:Unique mark corresponding to acquisition goods orders information, unique mark corresponding to the goods orders information is carried out from increasing, obtain the first increment certainly corresponding to the unique mark;Obtain payment request information corresponding to the goods orders information;Wherein, the payment request information includes unique mark corresponding to the goods orders information;According to described first from rising in value to being carried out in the payment request information comprising described unique mark from increasing, the second increment certainly corresponding to the unique mark is obtained;If described second is more than 2 from increment, delivery operation corresponding to the payment request information is identified as to repeat delivery operation, and terminate this payment flow.The embodiment of the present invention can identify the exception that repetition is paid before pay invoice is created, and improve the treatment effeciency of pay invoice, and can reduce data process load, improve data-handling efficiency.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and server for identifying repetition payment.
Background technology
In electronic fare payment system, for user when buying commodity, goods orders corresponding to the purchase commodity are unique, but
It is that its pay invoice is not but unique.
Payment system confirms that the method for repetition pay invoice is typically in the prior art:Ordered in the payment for getting pending
Dan Shi, pay and order according to corresponding to goods orders information corresponding to the pay invoice searches the goods orders information from database
It is single, so as to confirm that the goods orders whether there is the pay invoice paid.When the goods orders have the branch paid
When paying order, existing pay invoice, payment flow failure are prompted.
Pay invoice corresponding to searching same goods orders due to connection database and from database is required to expend
Regular hour, payment system just can know that whether pay invoice repeats when inquiring about database, and which adds mistake
The response time of flow, greatly reduce the data-handling efficiency of payment system by mistake.
The content of the invention
The embodiment of the present invention provides a kind of method and server for identifying and repeating payment, can be before pay invoice is created
The exception that repetition is paid is identified, saves the time created required for the pay invoice repeated, improves the processing effect of pay invoice
Rate, and data process load can be reduced, data processing speed is improved, and then improve data-handling efficiency.
In a first aspect, the embodiments of the invention provide a kind of method for identifying and repeating to pay, this method includes:
Unique mark corresponding to goods orders information is obtained, unique mark corresponding to the goods orders information is carried out certainly
Increase, obtain the first increment certainly corresponding to the unique mark;
Obtain payment request information corresponding to the goods orders information;Wherein, the payment request information includes described
Unique mark corresponding to goods orders information;
To including described unique mark in the payment request information from increasing, obtain from increment according to described first
Second rises in value certainly corresponding to the unique mark;
If described second is more than 2 from increment, delivery operation corresponding to the payment request information is identified as to repeat branch
Operation is paid, and terminates this payment flow.
On the other hand, the embodiments of the invention provide a kind of server, the server to include:
First from unit is increased, for obtaining unique mark corresponding to goods orders information, to the goods orders information pair
The unique mark answered is carried out from increasing, and obtains the first increment certainly corresponding to the unique mark;
Acquiring unit, for obtaining payment request information corresponding to the goods orders information;Wherein, it is described to pay request
Information includes unique mark corresponding to the goods orders information;
Second from unit is increased, for described unique to being included in the payment request information from increment according to described first
Identify and carry out from increasing, obtain the second increment certainly corresponding to the unique mark;
First processing units, if being more than 2 from increment for described second, by payment corresponding to the payment request information
Operation is identified as repeating delivery operation, and terminates this payment flow.
The third aspect, the embodiments of the invention provide another server, including processor, input equipment, output equipment
And memory, the processor, input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store
Support server to perform the computer program of the above method, the computer program includes programmed instruction, the processor by with
Put for calling described program to instruct, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium
Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor
The method for stating the above-mentioned first aspect of computing device.
The embodiment of the present invention is carried out from increasing by the way that the unique mark of goods orders information is arranged into major key to major key,
By currently whether there is pay invoice corresponding to the goods orders information from increment detection, the goods orders are being currently existed
Corresponding to information during pay invoice, this payment flow is terminated, no longer creates pay invoice corresponding to the goods orders information, is prevented
Only repeat to pay.Paying server identifies the exception that repetition is paid before pay invoice is created, and can save establishment and repeat
Pay invoice required for time, improve the treatment effeciency of pay invoice.Because paying server no longer creates the branch of repetition
Order is paid, data process load can be reduced, improves data processing speed, and then improve data-handling efficiency.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area
For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram for identifying the method for repeating to pay provided in an embodiment of the present invention;
Fig. 2 is the schematic flow diagram for the method that a kind of identification that another embodiment of the present invention provides repeats payment;
Fig. 3 is a kind of schematic block diagram of server provided in an embodiment of the present invention;
Fig. 4 is a kind of server schematic block diagram that another embodiment of the present invention provides;
Fig. 5 is a kind of server schematic block diagram that yet another embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction
Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole
Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface
The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just
Portable device.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but with tactile
Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal including display and touch sensitive surface is described.It is, however, to be understood that
It is that terminal can include one or more of the other physical user-interface device of such as physical keyboard, mouse and/or control-rod.
Terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application journey
Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application
Program, telephony application, videoconference application, email application, instant messaging applications, exercise
Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application
Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed in terminal can use at least one public of such as touch sensitive surface
Physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitive table
The corresponding information shown in the one or more functions and terminal in face.So, the public physical structure of terminal is (for example, touch
Sensing surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow diagram for identifying the method for repeating to pay provided in an embodiment of the present invention.
The executive agent for the method that identification repeats to pay is server in the present embodiment, and the server is paying server, payment services
Device is server corresponding to payment system.Payment system is available to trade company and creates transaction (pay invoice), selects Alipay, micro-
The platform of the means of payment transaction such as letter, Yi Bao or easy connection.The method that identification as shown in Figure 1 repeats to pay may include following step
Suddenly:
S101:Unique mark corresponding to goods orders information is obtained, to unique mark corresponding to the goods orders information
Carry out from increasing, obtain the first increment certainly corresponding to the unique mark.
In the process of purchase of electronic fare payment system, buyer is placed an order in businessman by terminal device and buys commodity or virtual production
During product, purchase request is sent to merchant device, merchant device can be merchant terminal equipment or business server, buy request bag
Include the information such as the relevant information of the free choice of goods and the quantity of commodity.Merchant device asks generation goods orders letter according to purchase
Breath, and goods orders information is sent to the terminal device for sending purchase request.Goods orders information can include goods orders
The letters such as the total price that merchandise news, commodity amount, cargo price and the needs that unique mark, buyer corresponding to information order are paid
Breath.Unique mark corresponding to goods orders information can be goods orders numbering, but be not limited to this, can also be according to commodity
Other unique marks that information determines, are not limited herein.
Paying server obtains unique mark corresponding to the goods orders information of merchant device generation, and goods orders are believed
Unique mark corresponding to breath is carried out from increasing, and obtains the first increment certainly corresponding to unique mark.
Wherein, paying server can obtain from merchant device uniquely marks corresponding to the goods orders information generated
Know.When the goods orders information of generation is sent to paying server by merchant device, paying server can also be from receiving
Goods orders information in obtain unique mark corresponding to the goods orders information.Paying server is corresponding with goods orders information
Unique mark be major key, and to major key perform increment operator, obtain corresponding to unique mark corresponding to the goods orders information
First from rise in value.
Major key is the unique mark that can determine that a record, and increment operator refers to count major key.
For example, when without the first major key of storage, (the corresponding first goods orders information of the first major key is corresponding in paying server
Unique mark) when, the initial value of the first major key is 0, and paying server carries out, from increasing, obtaining the first major key pair to the first major key
First answered is from rising in value, and now first is 1 from rising in value.
(uniquely marked corresponding to the corresponding second goods orders information of the second major key when having stored the second major key in paying server
Know), and detect the second major key it is current from increment be 1 when, paying server carries out, from increasing, obtaining the first master to the second major key
First from rising in value corresponding to key, and now first is 2 from rising in value.
S102:Obtain payment request information corresponding to the goods orders information;Wherein, the payment request information includes
Unique mark corresponding to the goods orders information.
Buyer is errorless in the goods orders information that show of verification terminal device, and when confirming to pay the bill, triggering terminal equipment to
Paying server sends payment request information corresponding to the goods orders information.Paying server obtains the business that buyer terminal is sent
Payment request information corresponding to product sequence information, wherein, payment request information includes unique mark corresponding to goods orders information.
S103:Carried out certainly from increment to including described unique mark in the payment request information according to described first
Increase, obtain the second increment certainly corresponding to the unique mark.
Paying server obtains the goods orders information pair that payment request information includes when getting payment request information
The unique mark answered, and the unique mark according to corresponding to goods orders information obtains its corresponding first increment certainly, according to this only
First corresponding to one mark carries out, from increasing, obtaining the unique mark from increment to the unique mark included in payment request information
Corresponding second from rise in value, second from increment be more than first from rise in value, and second from increment with first from increment difference be 1.
For example, first from increment it is 1 corresponding to the unique mark, first according to corresponding to the unique mark is from rising in value
The unique mark that is included in payment request information is carried out from increasing, obtain corresponding to the unique mark second from increment be 2.
S104:If described second is more than 2 from increment, delivery operation identification corresponding to the payment request information is attached most importance to
Multiple delivery operation, and terminate this payment flow.
Paying server is obtaining corresponding to the unique mark second from when rising in value, and this second is compared from increment with 2
Compared with, when comparative result be second be more than 2 from increment when, it is corresponding that paying server is identified as currently existing the goods orders information
Pay invoice, the payment request information is asked for the payment repeated, delivery operation corresponding to the payment request information attaches most importance to
Multiple delivery operation, terminates this payment flow, no longer creates pay invoice corresponding to the payment request information.
Pay invoice comprises at least collecting account and the amount of money to be paid;Pay invoice is used for paying party according to pay invoice
It is that payment account is paid to select the means of payment.
It is understood that paying server can also return to S102 after S104 is performed, enter a next repeating query ring, under
In one wheel circulation corresponding to unique mark first from increment be second from rising in value in last round of circulation.
Such scheme, the unique mark of goods orders information is arranged to major key by paying server, and major key is carried out certainly
Increasing, by currently whether there is pay invoice corresponding to the goods orders information from increment detection, currently existing the commodity
Corresponding to sequence information during pay invoice, this payment flow is terminated, no longer creates to pay corresponding to the goods orders information and orders
It is single, prevent from repeating to pay.Paying server identifies the exception that repetition is paid before pay invoice is created, and can save establishment
Time required for the pay invoice repeated, improve the treatment effeciency of pay invoice.Because paying server no longer creates repetition
Pay invoice, can reduce data process load, improve data processing speed, and then improve data-handling efficiency.
Fig. 2 is referred to, Fig. 2 is the exemplary flow for the method that a kind of identification that another embodiment of the present invention provides repeats payment
Figure.The executive agent for the method that identification repeats to pay is server in the present embodiment, and the server is paying server, pays clothes
Business device is server corresponding to payment system.Payment system is available to trade company's establishment and merchandised (pay invoice), selection Alipay,
The platform of the means of payment transaction such as wechat, Yi Bao or easy connection.The method that identification as shown in Figure 2 repeats to pay may include following step
Suddenly:
S201:Unique mark corresponding to goods orders information is obtained, to unique mark corresponding to the goods orders information
Carry out from increasing, obtain the first increment certainly corresponding to the unique mark.
S201 is identical with the S101 of a upper embodiment in the present embodiment, is retouched referring specifically to upper embodiment S101 correlation
State, do not repeat herein.
Alternatively, after S101, the method that identification repeats to pay can also include S202:The unique mark is corresponding
First preserved from increment to default buffer area.
Paying server is obtaining the first increment certainly corresponding to unique mark corresponding to goods orders information, by goods orders
Unique mark corresponding to information associates with its first oneself increment and is stored in default buffer area.
S203:Obtain payment request information corresponding to the goods orders information;Wherein, the payment request information includes
Unique mark corresponding to the goods orders information.
Buyer is errorless in the goods orders information that show of verification terminal device, and when confirming to pay the bill, triggering terminal equipment to
Paying server sends payment request information corresponding to the goods orders information.Paying server obtains the business that buyer terminal is sent
Payment request information corresponding to product sequence information, wherein, payment request information includes unique mark corresponding to goods orders information.
S204:Carried out certainly from increment to including described unique mark in the payment request information according to described first
Increase, obtain the second increment certainly corresponding to the unique mark.
Paying server obtains the goods orders information pair that payment request information includes when getting payment request information
The unique mark answered, and the unique mark according to corresponding to goods orders information obtains its corresponding first increment certainly, according to this only
First corresponding to one mark carries out, from increasing, obtaining the unique mark from increment to the unique mark included in payment request information
Corresponding second from rise in value, second from increment be more than first from rise in value, and second from increment with first from increment difference be 1.Root
Obtaining its corresponding first oneself increment according to unique mark corresponding to goods orders information is specially:It is corresponding according to goods orders information
Unique mark obtained from presetting database or preset buffer memory area its corresponding first from rise in value.Presetting database can be this
Ground database can also be non-local data base, not be limited herein.
For example, first from increment it is 1 corresponding to the unique mark, first according to corresponding to the unique mark is from rising in value
The unique mark that is included in payment request information is carried out from increasing, obtain corresponding to the unique mark second from increment be 2.
When the first oneself increment is preserved to default buffer area corresponding to unique mark, S204 can be specially:According to branch
Unique mark corresponding to the goods orders information included in solicited message is paid, corresponding first is obtained from default buffer area
From increment;And first the unique mark is carried out from increasing on the basis of value-added at this, obtain second corresponding to the unique mark
From increment.
Alternatively, server can delete unique mark when the second increment certainly corresponding to the unique mark is calculated
First from increment corresponding to knowledge, and is identified as new first from increment by corresponding to the unique mark second and rises in value certainly.
Paying server is obtaining corresponding to the unique mark second from when rising in value, and this second is compared from increment with 2
Compared with when comparative result is that the second oneself increment performs S205 when being more than 2;When comparative result is equal to 2 for second from increment, perform
S206。
S205:If described second is more than 2 from increment, delivery operation identification corresponding to the payment request information is attached most importance to
Multiple delivery operation, and terminate this payment flow.
When confirming that second is more than 2 from increment, paying server is identified as currently existing the commodity to be ordered paying server
Pay invoice corresponding to single information, the payment request information is asked for the payment repeated, propped up corresponding to the payment request information
Delivery operation of the operation to repeat is paid, this payment flow is terminated, no longer creates pay invoice corresponding to the payment request information.
Pay invoice comprises at least collecting account and the amount of money to be paid;Pay invoice is used for paying party according to pay invoice
It is that payment account is paid to select the means of payment.
It is understood that paying server, which after S205 is performed, can also return to S203, enters a next repeating query ring, it is next
In wheel circulation corresponding to unique mark first from increment be second from rising in value in last round of circulation.
S206:If described second is equal to 2 from increment, pay invoice information corresponding to the payment request information is created,
And complete to pay according to the pay invoice information.
When confirming that second is equal to 2 from increment, paying server is identified as there is currently no the commodity to be ordered paying server
Pay invoice corresponding to single information, pay invoice information corresponding to payment request information is created, and it is complete according to pay invoice information
Into payment.Pay invoice information comprises at least shroff account number and the amount of money to be paid.
Specifically, paying server can send pay invoice information to the buyer terminal for receiving goods orders information,
So that buyer terminal when detecting the confirmation payment instruction that buyer sends according to pay invoice information, is sent to paying server
Payment request information, payment request information include payment information, and payment information includes payment accounts, shroff account number and to be paid
The amount of money.
Paying server receives payment request information, and payment information is obtained from payment request information, payment information bag
Include payment account, collecting account and the amount of money to be paid.When payment account and collecting account manage by paying server,
Paying server can be transferred the amount of money to be paid to collecting account from payment account according to payment information, complete delivery operation.
When payment account and collecting account are by the fund server admin thought except paying server, paying server can root
The first fund server corresponding to collecting account is determined according to collecting account, and according to corresponding to payment account determines payment account
Second fund server, and notify the second fund server to transfer the amount of money to be paid to the first fund server from payment account
The collecting account of management, complete delivery operation.When successfully paying, the status information of pay invoice is corresponding to the payment information
Pay status;When paying failure, the status information of pay invoice corresponding to the payment information is non-pay status or payment
Status of fail.
Alternatively, after S206, on-line payment method can also include S207:If detect the shape of the pay invoice
State information is that pay status, then remove the default caching preservation described first have increased certainly from increment and described second
Value.
Paying server obtains the pay invoice information when it is pay status to detect the status information of pay invoice
The unique mark of corresponding goods orders information, and the unique mark is searched from default buffer area according to the unique mark and corresponded to
First from increment and second from rise in value, remove it is default caching preserve the unique mark corresponding to first from increment and
Second rises in value certainly.
Wherein, when being calculated corresponding to the unique mark second from rising in value and delete first corresponding to the unique mark
From during increment, server deletes the second increment certainly corresponding to the unique mark when performing S207.
Alternatively, on-line payment method can also include S208:If described second is more than 2 from increment, if described second
It is more than 2 from increment, then is sent to buyer terminal corresponding to the transmission goods orders information for representing to repeat the prompting paid
Information.
Paying server sends to the buyer terminal for receiving goods orders information and used when confirming that second is equal to 2 from increment
In the prompt message for representing repetition payment, pay invoice corresponding to the goods orders information is currently existed with prompting, so that
Buyer terminal is obtained when getting the prompt message, terminates and repeats payment flow.
S206 and S208 sequentially, can first carry out S206 and perform S208 in no particular order;S208 can also be first carried out to hold again
Row S206;S206 and S208 can also be performed simultaneously.
Such scheme, the unique mark of goods orders information is arranged to major key by paying server, and major key is carried out certainly
Increasing, by currently whether there is pay invoice corresponding to the goods orders information from increment detection, currently existing the commodity
Corresponding to sequence information during pay invoice, this payment flow is terminated, no longer creates to pay corresponding to the goods orders information and orders
It is single, prevent from repeating to pay.Paying server identifies the exception that repetition is paid before pay invoice is created, and can save establishment
Time required for the pay invoice repeated, improve the treatment effeciency of pay invoice.Because paying server no longer creates repetition
Pay invoice, can reduce data process load, improve data processing speed, and then improve data-handling efficiency.
Server is when detecting that the second oneself increment is more than 2 corresponding to the unique mark, to reception goods orders information
Buyer terminal is sent for representing to repeat the prompt message paid, corresponding to prompt user to currently exist the goods orders information
Pay invoice, and terminate repetition payment flow, can prevent user from repeating to initiate to repeat payment flow to pass so as to take network
The situation of defeated resource, the processing load of repetition payment data can be effectively reduced, improve data-handling efficiency.
It is corresponding to create payment request information when detecting corresponding to the unique mark that second is more than 2 from increment for server
Pay invoice information, and complete to pay according to pay invoice information, the establishment efficiency of pay invoice information can be accelerated, and
The response speed of pay invoice information.
Referring to Fig. 3, Fig. 3 is a kind of schematic block diagram of server provided in an embodiment of the present invention.The service of the present embodiment
The each unit that device 3 includes is used to perform each step in embodiment corresponding to Fig. 1, referring specifically to real corresponding to Fig. 1 and Fig. 1
The associated description in example is applied, is not repeated herein.The server of the present embodiment includes:First from increase unit 310, acquiring unit 320,
Second increases unit 330 and first processing units 340 certainly.
First is used to obtain unique mark corresponding to goods orders information from unit 310 is increased, to the goods orders information
Corresponding unique mark is carried out from increasing, and obtains the first increment certainly corresponding to the unique mark;
Acquiring unit 320 is used to obtain payment request information corresponding to the goods orders information;Wherein, the payment please
Information is asked to include unique mark corresponding to the goods orders information;
Second from increase unit 330 be used for according to described first from increment in the payment request information comprising it is described only
One identifies progress from increasing, and obtains the second increment certainly corresponding to the unique mark;
If first processing units 340 are used for described second and are more than 2 from increment, by branch corresponding to the payment request information
Pay operation to be identified as repeating delivery operation, and terminate this payment flow.
Such scheme, the unique mark of goods orders information is arranged to major key by paying server, and major key is carried out certainly
Increasing, by currently whether there is pay invoice corresponding to the goods orders information from increment detection, currently existing the commodity
Corresponding to sequence information during pay invoice, this payment flow is terminated, no longer creates to pay corresponding to the goods orders information and orders
It is single, prevent from repeating to pay.Paying server identifies the exception that repetition is paid before pay invoice is created, and can save establishment
Time required for the pay invoice repeated, improve the treatment effeciency of pay invoice.Because paying server no longer creates repetition
Pay invoice, can reduce data process load, improve data processing speed, and then improve data-handling efficiency.
Referring to Fig. 4, Fig. 4 is a kind of schematic block diagram for server that another embodiment of the present invention provides.The present embodiment
The each unit that server 4 includes is used to perform each step in embodiment corresponding to Fig. 2, corresponding referring specifically to Fig. 2 and Fig. 2
Embodiment in associated description, do not repeat herein.The server of the present embodiment includes:First increases unit 410, acquiring unit certainly
420th, second increases unit 430, first processing units 440 and second processing unit 450 certainly.Alternatively, server can also wrap
Include buffer unit 460, delete unit 470 and Tip element 480.
First is used to obtain unique mark corresponding to goods orders information from unit 410 is increased, to the goods orders information
Corresponding unique mark is carried out from increasing, and obtains the first increment certainly corresponding to the unique mark.
Alternatively, buffer unit 460 is used to preserve corresponding to the unique mark first to default caching from increment
Area.
Acquiring unit 420 is used to obtain payment request information corresponding to the goods orders information;Wherein, the payment please
Information is asked to include unique mark corresponding to the goods orders information.
Second from increase unit 430 be used for according to described first from increment in the payment request information comprising it is described only
One identifies progress from increasing, and obtains the second increment certainly corresponding to the unique mark.
If first processing units 440 are used for described second and are more than 2 from increment, by branch corresponding to the payment request information
Pay operation to be identified as repeating delivery operation, and terminate this payment flow.
If second processing unit 450 is used for described second and is equal to 2 from increment, create corresponding to the payment request information
Pay invoice information, and complete to pay according to the pay invoice information.
Alternatively, if the status information that deletion unit 470 is used to detect the pay invoice is pay status, clearly
Described first except the default caching preservation rises in value certainly from increment and described second.
Alternatively, if Tip element 480 is used for described second is more than 2 from increment, to the reception goods orders information
Buyer terminal send for represent repeat pay prompt message.
Such scheme, the unique mark of goods orders information is arranged to major key by paying server, and major key is carried out certainly
Increasing, by currently whether there is pay invoice corresponding to the goods orders information from increment detection, currently existing the commodity
Corresponding to sequence information during pay invoice, this payment flow is terminated, no longer creates to pay corresponding to the goods orders information and orders
It is single, prevent from repeating to pay.Paying server identifies the exception that repetition is paid before pay invoice is created, and can save establishment
Time required for the pay invoice repeated, improve the treatment effeciency of pay invoice.Because paying server no longer creates repetition
Pay invoice, can reduce data process load, improve data processing speed, and then improve data-handling efficiency.
Server is when detecting that the second oneself increment is more than 2 corresponding to the unique mark, to reception goods orders information
Buyer terminal is sent for representing to repeat the prompt message paid, corresponding to prompt user to currently exist the goods orders information
Pay invoice, and terminate repetition payment flow, can prevent user from repeating to initiate to repeat payment flow to pass so as to take network
The situation of defeated resource, the processing load of repetition payment data can be effectively reduced, improve data-handling efficiency.
It is corresponding to create payment request information when detecting corresponding to the unique mark that second is more than 2 from increment for server
Pay invoice information, and complete to pay according to pay invoice information, the establishment efficiency of pay invoice information can be accelerated, and
The response speed of pay invoice information.
Referring to Fig. 5, Fig. 5 is a kind of server schematic block diagram that yet another embodiment of the invention provides.This reality as depicted
The server 5 applied in example can include:One or more processors 501;One or more input equipments 502, it is one or more
Output equipment 503 and memory 504.Above-mentioned processor 501, input equipment 502, output equipment 503 and memory 504 are by total
Line 505 connects.Memory 502 is used to store computer program, and the computer program includes programmed instruction, and processor 501 is used
In the programmed instruction for performing the storage of memory 502.Wherein, processor 501 is arranged to call described program instruction to perform:
Unique mark corresponding to goods orders information is obtained, unique mark corresponding to the goods orders information is carried out certainly
Increase, obtain the first increment certainly corresponding to the unique mark;
Obtain payment request information corresponding to the goods orders information;Wherein, the payment request information includes described
Unique mark corresponding to goods orders information;
To including described unique mark in the payment request information from increasing, obtain from increment according to described first
Second rises in value certainly corresponding to the unique mark;
If described second is more than 2 from increment, delivery operation corresponding to the payment request information is identified as to repeat branch
Operation is paid, and terminates this payment flow.
Further, processor 501 is configured to be specifically used for calling described program instruction to perform:If described second rises in value certainly
Equal to 2, then pay invoice information corresponding to the payment request information is created, and branch is completed according to the pay invoice information
Pay.
Further, processor 501 is configured to be specifically used for calling described program instruction to perform:By the unique mark pair
First answered is preserved to default buffer area from rising in value.
Further, processor 501 is configured to be specifically used for calling described program instruction to perform:If detect the payment
The status information of order is pay status, then remove that the default caching preserves described first is from increment and described the
Two rise in value certainly.
Further, processor 501 is additionally configured to call described program instruction to perform:If described second is big from rising in value
In 2, then sent to the buyer terminal for receiving the goods orders information for representing to repeat the prompt message paid.
It should be appreciated that in embodiments of the present invention, alleged processor 501 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 502 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone etc., output equipment 503 can include display (LCD etc.), loudspeaker etc..
The memory 504 can include read-only storage and random access memory, and to processor 501 provide instruction and
Data.The a part of of memory 504 can also include nonvolatile RAM.For example, memory 504 can also be deposited
Store up the information of device type.
In the specific implementation, processor 501, input equipment 502, the output equipment 503 described in the embodiment of the present invention can
Perform the reality described in the first embodiment and second embodiment for the method that identification provided in an embodiment of the present invention repeats payment
Existing mode, the implementation of the server described by the embodiment of the present invention is also can perform, will not be repeated here.
Further, a kind of computer-readable recording medium, the computer are provided in another embodiment of the invention
Readable storage medium storing program for executing is stored with computer program, and the computer program includes programmed instruction, and described program is instructed by processor
Realized during execution:
Unique mark corresponding to goods orders information is obtained, unique mark corresponding to the goods orders information is carried out certainly
Increase, obtain the first increment certainly corresponding to the unique mark;
Obtain payment request information corresponding to the goods orders information;Wherein, the payment request information includes described
Unique mark corresponding to goods orders information;
To including described unique mark in the payment request information from increasing, obtain from increment according to described first
Second rises in value certainly corresponding to the unique mark;
If described second is more than 2 from increment, delivery operation corresponding to the payment request information is identified as to repeat branch
Operation is paid, and terminates this payment flow.
Alternatively, can be implemented when the computer program is executed by processor:If described second is equal to from increment
2, then pay invoice information corresponding to the payment request information is created, and complete to pay according to the pay invoice information.
Alternatively, can be realized when the computer program is executed by processor:By first corresponding to the unique mark
Preserved from increment to default buffer area.
Alternatively, can also be realized when the computer program is executed by processor:If detect the pay invoice
Status information is that pay status, then remove the default caching preservation described first have increased certainly from increment and described second
Value.
Alternatively, can also be realized when the computer program is executed by processor:If described second is more than 2 from increment,
Then sent to the buyer terminal for receiving the goods orders information for representing to repeat the prompt message paid.
The computer-readable recording medium can be the internal storage unit of the server described in foregoing any embodiment,
Such as the hard disk or internal memory of server.The computer-readable recording medium can also be that the external storage of the server is set
Plug-in type hard disk that is standby, such as being equipped with the server, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, the computer-readable recording medium is also
The internal storage unit of the server can both be included or including External memory equipment.The computer-readable recording medium is used
In other programs and data needed for the storage computer program and the server.The computer-readable recording medium
It can be also used for temporarily storing the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially
Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the clothes of foregoing description
The specific work process of business device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed server and method, can pass through
Other modes are realized.For example, device embodiment described above is only schematical, for example, the division of the unit,
Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with
With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is in addition, shown or discussed
Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit
Letter connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs
Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of identify the method for repeating to pay, it is characterised in that including:
Unique mark corresponding to goods orders information is obtained, unique mark corresponding to the goods orders information is carried out from increasing,
Obtain the first increment certainly corresponding to the unique mark;
Obtain payment request information corresponding to the goods orders information;Wherein, the payment request information includes the commodity
Unique mark corresponding to sequence information;
To including described unique mark in the payment request information from increasing, obtain described from increment according to described first
Second rises in value certainly corresponding to unique mark;
If described second is more than 2 from increment, delivery operation corresponding to the payment request information is identified as repeating to pay behaviour
Make, and terminate this payment flow.
2. according to the method for claim 1, it is characterised in that methods described also includes:
If described second is equal to 2 from increment, pay invoice information corresponding to the payment request information is created, and according to described
Pay invoice information is completed to pay.
3. method according to claim 1 or 2, it is characterised in that methods described also includes:
Corresponding to the unique mark first is preserved to default buffer area from increment.
4. according to the method for claim 3, it is characterised in that methods described also includes:
If the status information for detecting the pay invoice is pay status, the described of the default caching preservation is removed
First rises in value certainly from increment and described second.
5. according to the method for claim 1, it is characterised in that methods described also includes:
If described second is more than 2 from increment, sent to the buyer terminal for receiving the goods orders information for representing to repeat
The prompt message of payment.
A kind of 6. server, it is characterised in that including:
First from unit is increased, for obtaining unique mark corresponding to goods orders information, to corresponding to the goods orders information
Unique mark is carried out from increasing, and obtains the first increment certainly corresponding to the unique mark;
Acquiring unit, for obtaining payment request information corresponding to the goods orders information;Wherein, the payment request information
Including unique mark corresponding to the goods orders information;
Second from unit is increased, for rising in value certainly to including described unique mark in the payment request information according to described first
Carry out from increasing, obtain the second increment certainly corresponding to the unique mark;
First processing units, if being more than 2 from increment for described second, by delivery operation corresponding to the payment request information
It is identified as repeating delivery operation, and terminates this payment flow.
7. server according to claim 6, it is characterised in that the server also includes:
Second processing unit, if being equal to 2 from increment for described second, create to pay corresponding to the payment request information and order
Single information, and complete to pay according to the pay invoice information.
8. the server according to claim 6 or 7, it is characterised in that the server also includes:
Buffer unit, for corresponding to the unique mark first to be preserved to default buffer area from increment;
Unit is deleted, if for detecting that the status information of the pay invoice for pay status, is removed described default
Described the first of caching preservation is rised in value certainly from increment and described second;
Tip element, if being more than 2 from increment for described second, sent to the buyer terminal for receiving the goods orders information
For representing to repeat the prompt message paid.
A kind of 9. server, it is characterised in that including processor, input equipment, output equipment and memory, the processor,
Input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store computer program, the calculating
Machine program includes programmed instruction, and the processor is arranged to call described program instruction, performed as claim 1-5 is any
The methods described of item.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program,
The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor
It is required that any one of 1-5 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710644535.6A CN107527192A (en) | 2017-07-31 | 2017-07-31 | It is a kind of to identify the method for repeating to pay and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710644535.6A CN107527192A (en) | 2017-07-31 | 2017-07-31 | It is a kind of to identify the method for repeating to pay and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107527192A true CN107527192A (en) | 2017-12-29 |
Family
ID=60680574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710644535.6A Pending CN107527192A (en) | 2017-07-31 | 2017-07-31 | It is a kind of to identify the method for repeating to pay and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107527192A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182572A (en) * | 2018-01-18 | 2018-06-19 | 四川斐讯信息技术有限公司 | A kind of method of commerce and system based on network shopping mall |
CN109003071A (en) * | 2018-05-31 | 2018-12-14 | 阿里巴巴集团控股有限公司 | Method of payment, device and equipment |
CN111242592A (en) * | 2020-01-13 | 2020-06-05 | 北京三快在线科技有限公司 | Resource transfer detection method, device, server and computer readable storage medium |
CN112529649A (en) * | 2020-11-20 | 2021-03-19 | 深圳市智莱科技股份有限公司 | Processing method and device for withholding abnormity of self-service charging cabinet and related equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105512869A (en) * | 2015-11-26 | 2016-04-20 | 中国建设银行股份有限公司 | Repeated payment-prevention payment system, method and E-commerce system |
CN106651333A (en) * | 2016-09-20 | 2017-05-10 | 联动优势电子商务有限公司 | Method and device for preventing repeated payment |
CN106779639A (en) * | 2016-12-09 | 2017-05-31 | 北京奇虎科技有限公司 | The processing method of payment transaction, processing system and processing unit |
-
2017
- 2017-07-31 CN CN201710644535.6A patent/CN107527192A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105512869A (en) * | 2015-11-26 | 2016-04-20 | 中国建设银行股份有限公司 | Repeated payment-prevention payment system, method and E-commerce system |
CN106651333A (en) * | 2016-09-20 | 2017-05-10 | 联动优势电子商务有限公司 | Method and device for preventing repeated payment |
CN106779639A (en) * | 2016-12-09 | 2017-05-31 | 北京奇虎科技有限公司 | The processing method of payment transaction, processing system and processing unit |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108182572A (en) * | 2018-01-18 | 2018-06-19 | 四川斐讯信息技术有限公司 | A kind of method of commerce and system based on network shopping mall |
CN109003071A (en) * | 2018-05-31 | 2018-12-14 | 阿里巴巴集团控股有限公司 | Method of payment, device and equipment |
CN114677131A (en) * | 2018-05-31 | 2022-06-28 | 创新先进技术有限公司 | Payment method, device and equipment |
CN111242592A (en) * | 2020-01-13 | 2020-06-05 | 北京三快在线科技有限公司 | Resource transfer detection method, device, server and computer readable storage medium |
CN112529649A (en) * | 2020-11-20 | 2021-03-19 | 深圳市智莱科技股份有限公司 | Processing method and device for withholding abnormity of self-service charging cabinet and related equipment |
CN112529649B (en) * | 2020-11-20 | 2024-02-27 | 深圳市智莱科技股份有限公司 | Processing method and device for self-service charging cabinet deduction abnormality and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200402055A1 (en) | Providing history-based data processing | |
CN107818467A (en) | A kind of method of payment and terminal | |
EP3079326B1 (en) | Network payment method, apparatus and system | |
CN107527192A (en) | It is a kind of to identify the method for repeating to pay and server | |
WO2017219988A1 (en) | Payment method, payment terminal, and payment server | |
WO2017054624A1 (en) | Resource deduction method, device, smart terminal and deduction server | |
EP3232391A1 (en) | Electronic device and payment method using the same | |
WO2015088853A1 (en) | Launching a client application based on a message | |
CN107992517A (en) | A kind of data processing method, server and computer-readable medium | |
CN107371146A (en) | A kind of method and terminal for selecting short message channel | |
CN106873850A (en) | A kind of method and terminal of control page jump | |
WO2019067577A1 (en) | Message sizing and serialization optimization | |
US20170286948A1 (en) | Contactless Payment Method, Apparatus, And System | |
KR101426520B1 (en) | System and method for supporting tax refund | |
CN108694578A (en) | Payment method, payment device, terminal device and computer-readable storage medium | |
JP2016054007A (en) | Coupon issuing device, coupon issuing system, coupon issuing method and program | |
JP2009140199A (en) | Point management apparatus, point management method and point management program | |
CN107092519A (en) | A kind of function displaying method, equipment and terminal device | |
CN107016598B (en) | Virtual article charging method and device | |
CN107301236A (en) | Application searches method, mobile terminal, server and computer-readable recording medium | |
TWI528763B (en) | Method for data processing and server thereof | |
CN106804025A (en) | A kind of agency selection method and application server | |
CN108805541A (en) | Payment method and system, and storage medium | |
CN108053255A (en) | The method and device of a kind of information processing | |
CN108171544A (en) | A kind of method and device of sales statistics |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171229 |
|
WD01 | Invention patent application deemed withdrawn after publication |