CN107093068A - Order repeating method and device - Google Patents
Order repeating method and device Download PDFInfo
- Publication number
- CN107093068A CN107093068A CN201710396339.1A CN201710396339A CN107093068A CN 107093068 A CN107093068 A CN 107093068A CN 201710396339 A CN201710396339 A CN 201710396339A CN 107093068 A CN107093068 A CN 107093068A
- Authority
- CN
- China
- Prior art keywords
- order
- client
- list
- server
- successfully
- 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/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/02—Payment architectures, schemes or protocols involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
-
- 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
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
Abstract
The invention provides a kind of order repeating method and device, it is related to data communication technology field, this method includes:When client receives payment request, payment request is sent to third-party server;Receive the order that third-party server is issued when paying the fees successfully;Client sends order to the server of client;When client determines that order submits failure, the above order is stored;Initialized when client is again started up;Search the order stored in client;Again the order is sent to the server of client;When the submission success message that the server for receiving client is returned, determine that order is retransmitted successfully.The order repeating method that the present embodiment is provided, by way of the order of failure is submitted preserving and is retransmitted, can be effectively ensured completion payment and supplement process with money, improve the Experience Degree of user.
Description
Technical field
The present invention relates to data communication technology field, more particularly, to a kind of order repeating method and device.
Background technology
User often has when playing on iOS or Android device game to be bought ideal money and supplements behavior with money, generally
Flow is as follows:The interface of supplementing with money that user enters in game client, clicks on purchase ideal money;Game client and App
Store or Google Wallet server is communicated, and the money of user account is first taken off by it and then order data is generated
Return to game client;Game client is again sent to the above order data the server of the game, by the clothes of the game
Device granting game virtual currency be engaged in user.But in above-mentioned flow, game client is sending order data to game garment
Often user is caused can not but to receive virtual goods in the case of received payment because network problem sends unsuccessful during business device
Coin, poor user experience.
The problem of sending failure for order during above-mentioned supplement with money, not yet proposes effective solution at present.
The content of the invention
In view of this, it is an object of the invention to provide a kind of order repeating method and device, failure will can be sent
Order is retransmitted, and to complete to supplement process with money, improves the Experience Degree of user.
In a first aspect, the embodiments of the invention provide a kind of order repeating method, applied to client, including:Work as client
When termination receives payment request, payment request is sent to third-party server;Third-party server is received when paying the fees successfully
The order issued;Client stores the above order and sends order to the server of client;When client determines that order is submitted
During success, the above order is deleted;Initialized when client is again started up;Search the order stored in client;Again
The order is sent to the server of client;When the submission success message that the server for receiving client is returned, it is determined that ordering
Substance is sent out successfully.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, when
Initialization is carried out when client is again started up to be included:Sqlite databases are initialized when client is again started up.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of second of first aspect, wherein, look into
The order stored in client is looked for include:Search client whether be stored with order retransmit list;List is retransmitted when there is order
When, search order from order repeating transmission list.
With reference to second of possible embodiment of first aspect, the embodiments of the invention provide the third of first aspect
Possible embodiment, in addition to:When retransmitting list in the absence of order, newly-built order retransmits list.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the 4th of first aspect kind, wherein, really
Determine also to include after order is retransmitted successfully:The above order is deleted from client;When client determines that order submits failure, carry
Show that user's client when starting next time can retransmit the above order.
With reference to the third possible embodiment of first aspect, the embodiments of the invention provide the 5th of first aspect kind
Possible embodiment, in addition to:In client running, whether regular check order is retransmitted in list has order;Such as
Fruit has, and retransmits the order that order is retransmitted in list;When order is sent successfully, retransmit list from order and delete order.
Second aspect, the embodiment of the present invention also provides a kind of order retransmission apparatus, applied to client, including:Payment please
Sending module is sought, for when client receives payment request, payment request to be sent to third-party server;Order reception
Module, for receiving the order that third-party server is issued when paying the fees successfully;Order sending module, for client to client
The server at end sends order;Order memory module, for when client determines that order submits failure, storing order;Initially
Change module, for being initialized when client is again started up;Order searching modul, what is stored for searching in client orders
It is single;Order retransmits module, for sending order to the server of client again;Determining module, client is received for working as
Server return submission success message when, determine that order is retransmitted successfully.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the first of second aspect, wherein, just
Beginningization module is additionally operable to:Sqlite databases are initialized when client is again started up.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of second of second aspect, wherein, order
Single searching modul is additionally operable to:Search client whether be stored with order retransmit list;When there is order repeating transmission list, from order
Retransmit in list and search order.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the third of second aspect, in addition to:
Order retransmits the newly-built module of list, for when retransmitting list in the absence of order, newly-built order to retransmit list.
The embodiment of the present invention brings following beneficial effect:
Order repeating method and device that the present embodiment is provided, client submitted to the server of client receive the
During the payment order that tripartite's server is returned, the above order is stored, again the order is deleted after submitting successfully, lost if submitted
Lose, retain;And then the order of the submission failure stored in client is searched in client terminal start-up, weighed after finding
Hair, by way of above-mentioned preservation order and repeating transmission, can be effectively ensured completion payment and supplement process with money, improve the experience of user
Degree.
Other features and advantages of the present invention will be illustrated in the following description, also, partly be become from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims
And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art
The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below
Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid
Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of order repeating method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another order repeating method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another order repeating method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of order retransmission apparatus provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of order retransmission apparatus provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of order retransmission apparatus provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of intelligent terminal provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention
Technical scheme be clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise
Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Current game client exists because network problem is led during sequence information to be sent to the supplementing with money of server
The sequence information of cause sends unsuccessful problem, causes user to be supplemented with money in the case of received payment unsuccessfully, based on this, the present invention is real
A kind of order repeating method and device of example offer are provided, the order for sending failure can be retransmitted, to complete to supplement process with money,
Improve the Experience Degree of user.For ease of understanding the present embodiment, one kind disclosed in the embodiment of the present invention is ordered first
Substance forwarding method describes in detail.
, it is necessary to first define the application scenarios of the above method before order repeating method is introduced, application scenarios are not limited to trip
Play supplement scene with money, go for all clients receive third-party server sequence information, and the client need by
Sequence information is sent to the scene of service end, in embodiments of the present invention so that game client sends order as an example.
Embodiment 1
The embodiment of the present invention 1 provides a kind of order repeating method, applied to client, order weight shown in Figure 1
The schematic flow sheet of forwarding method, comprises the following steps:
Step S11, when client receives payment request, payment request is sent to third-party server.
Specifically, user submits payment request when being paid the fees in client, wherein payment request includes supplementing with money, purchasing
Buy game virtual currency etc..
Step S12, receives the order that third-party server is issued when paying the fees successfully.
By taking iOS or Android game clients as an example, client will pay the fees request send to App Store or
Google Wallet servers, the gold in user account is taken off by above-mentioned App Store or Google Wallet servers
Money, generation order returns to game client, order is sent to again by game client the server of game, server issues
Game virtual currency etc. gives player.
Step S13, client stores the above order and sends order to the server of the client.
Client stores the order when sending order to the server of the client, can avoid sending order
When, game is closed or dodged because of other reasonses and moves back, and causes server not receive message, client also has little time to preserve, and then leaks
It is single.
Step S14, when client determines that order is submitted successfully, deletes the above order.
Under complex network environment, there is order in game client when sequence information to be sent to the server of game
The situation of failure is sent, now client stores the order of transmission failure.It is understood that sending successful feelings in order
It is not necessary to store the successful order of the transmission under condition, therefore the order stored in the client is the order for sending failure.
In the present embodiment, the mode that the order of above-mentioned submission failure is preserved to client is not limited, client can using it is any can
Storage mode.
Step S15, is initialized when client is again started up.
Need first to be initialized when starting game, specifically initialize sqlite databases, follow-up weight can be prevented
Occur losing list during hair order.
Step S16, searches the order stored in client.
When client is again started up, it is necessary to first search the order stored in client, the order is that user pays above-mentioned
Client submits the order of failure during taking.
Step S17, sends the above order to the server of client again.
Be stored with the client order when, by the above order carry out be re-transmitted to server.If in client not
Be stored with order, then it represents that before this without the order for sending failure.
Step S18, when the submission success message that the server for receiving client is returned, determines that order is retransmitted successfully.
The order repeating method that the present embodiment is provided, submits the third party received to take in client to the server of client
During the payment order that business device is returned, the above order is stored, again the order is deleted after submitting successfully, protected if failure is submitted
Stay;And then the order of the submission failure stored in client is searched in client terminal start-up, retransmitted, passed through after finding
Above-mentioned preservation order and the mode retransmitted, can be effectively ensured completion payment and supplement process with money, improve the Experience Degree of user.
In view of when sending, there is a situation where to submit failure, therefore the above method also includes:When client determines order
When submitting failure, user's client when starting next time is pointed out to retransmit order.In the case where order is sent not successfully, it is considered to
To now having played in operation, system resource can be consumed by continuing repeating transmission, and the experience to game can also produce certain influence,
Therefore prompting user resends the order in client startup next time by client.
Specifically, client can determine that order submits failure, including but not limited in the following manner in several ways:
(1) when the submission success message that the server for not receiving client in the time of specifying is returned, determine that order is carried
Hand over failure;Above-mentioned submission success message includes order and submits confirmation message or server issues game virtual currency message etc..
(2) when the submission failed message that the server for receiving client is returned, determine that order submits failure;
(3) when client is without network connection or abnormal network connection, determine that order submits failure.
The above method that the present embodiment is provided, deletes the order of storage after client is retransmitted successfully, is retransmitted in client
Prompting user is retransmitted when starting next time during failure, it is ensured that order, which is retransmitted to, to be sent successfully, while saving system resource.
Embodiment 2
The embodiment of the present invention 2 provides a kind of order repeating method, and being stored in order with the order for submitting failure retransmits row
Illustrated exemplified by table.Schematic flow sheet shown in Figure 2, specifically includes following steps (wherein step S21-S25 and reality
The step S11-S15 applied in example 1 is identical):
Step S21, when client receives payment request, payment request is sent to third-party server.
Step S22, receives the order that third-party server is issued when paying the fees successfully.
Step S23, client stores the above order and sends order to the server of the client.
Step S24, when client determines that order is submitted successfully, deletes the above order.
Client stores the mode of the above order and retransmits preservation in list for order in the client in the present embodiment
Exemplified by illustrate
Step S25, is initialized when client is again started up.
Step S26, search client whether be stored with order retransmit list.
The above order retransmits list and saves as RetryOrder, retransmits list RetryOrder in the present embodiment with order
Comprising being illustrated exemplified by two fields, specifically include:Order number orderId;Order detailed data orderDetail, should
OrderDetail data are json (JavaScript Object Notation, JS object tag) forms.
Step S27, when there is order repeating transmission list, order is searched from order repeating transmission list.
Step S28, when retransmitting list in the absence of order, newly-built order retransmits list.
If there is no the above order to retransmit list in client, table RetryOrder is created.Retransmit and arrange in the absence of order
Table is deleted or error etc. it may is that starting client or order first and retransmitting list, now newly-built list,
When client submits order to server failure, the order is saved in order and retransmits list, retransmits and operates with for after.
Step S29, resends the above order to server.
In the above-mentioned steps S23 and S24, the operation that the above order is carried out is comprised the following steps that:
(1) when client submits order to the server of client, the order is preserved to order and retransmits list;
(2) judge whether the new order submits success;
(3) if it is, deleting the new order from order repeating transmission list;
(4) if not, prompting user client when starting next time can retransmit the new order.
In above-mentioned storage operation, it is all to preserve all orders of client before submission, is sent by order
Success or not determines to need which order retained, it is clear that submit successful order no longer to need to be stored in order and retransmit list
In, that is, it is deleted, only retains failure order, remains to be retransmitted by client when starting next time.
The order repeating method that the present embodiment is provided, client stores by way of order retransmits list and submits failure
Order, searches in client terminal start-up and retransmits the above order, and completion payment can be effectively ensured and supplements process with money, user is improved
Experience Degree.
Order failure to user's startup next time client, which is sent, in view of client typically understands certain interval of time, Yong Hu
Successful recharging may be badly in need of when supplementing with money to obtain ideal money or virtual item, therefore based on the above method, also
The step of including being retransmitted in following client running:
(1) in client running, whether regular check order is retransmitted in list has order;
(2) if so, retransmitting the order that order is retransmitted in list;
(3) when order is sent successfully, retransmit list from order and delete order.
In client running, using inspect periodically in RetryOrder tables whether the side of the order of repeating transmission in need
Formula, carries out repeating transmission operation.
The above method that the present embodiment is provided, by the way of being retransmitted in client running, Ke Yijia
Completion is supplemented in fast payment with money, improves the Experience Degree of user.
Embodiment 3
The embodiment of the present invention 3 provide a kind of order repeating method, embodiment 2 provide method on the basis of, with
Illustrated exemplified by scene when family is Shi Jishiyong.Schematic flow sheet shown in Figure 3, specifically includes following steps:
Step S31, client judges that RetryOrder tables whether there is.If it does, performing step S32;If do not deposited
Performing step S33.
Step S32, the order retransmitted in RetryOrder tables.
Step S33, creates RetryOrder tables.
Step S34, judges whether the above order sends success.If it is, performing step S35;If not, performing step
S36。
Step S35, deletes the above order in RetryOrder tables.
Step S36, points out user's client when starting next time to retransmit the new order.
The above method that the present embodiment is provided, checks that RetryOrder tables whether there is, and retransmit in client terminal start-up
Order in RetryOrder tables, it is ensured that completion is supplemented in payment with money, improves the Experience Degree of user.
Embodiment 4
The embodiment of the present invention 4 provides a kind of order retransmission apparatus, and applied to client, structure shown in Figure 4 is shown
It is intended to, including with lower module:
Payment request sending module 401, for when client receives payment request, payment to be asked into transmission to the 3rd
Square server;
Order reception module 402, for receiving the order that third-party server is issued when paying the fees successfully;
Order sending module 403, stores the above order for client and sends order to the server of client;
Order memory module 404, for when client determines that order is submitted successfully, deleting the above order;
Initialization module 405, for being initialized when client is again started up;
Order searching modul 406, the order stored for searching in client;
Order retransmits module 407, for sending order to the server of client again;
Determining module 408, for when receiving the submission success message of server return of client, determining order weight
Send out successfully.
Further, initialization module 405 is additionally operable to:Sqlite databases are initialized when client is again started up.
Order searching modul 406 is additionally operable to:Search client whether be stored with order retransmit list;When there is order repeating transmission
During list, order is searched from order repeating transmission list.
Initialization module 405 is additionally operable to:Sqlite databases are initialized when client is again started up.
Order searching modul 406 is additionally operable to:Search client whether be stored with order retransmit list;When there is order repeating transmission
During list, order is searched from order repeating transmission list.
Structural representation shown in Figure 5, said apparatus also includes order and retransmits the newly-built module 409 of list, for working as
When retransmitting list in the absence of order, newly-built order retransmits list.Structural representation shown in Figure 6, said apparatus also includes
Regular check module 410, in client running, whether regular check order is retransmitted in list to have order.If
Have, order retransmits module 407 and retransmits the order that order is retransmitted in list;When order is sent successfully, retransmitting list from order will
Order is deleted.
It is apparent to those skilled in the art that, to describe convenient and succinct, the device of foregoing description
Specific work process, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
The order retransmission apparatus that the present embodiment is provided, submits the third party received to take in client to the server of client
During the payment order that business device is returned, the above order is stored, again the order is deleted after submitting successfully, protected if failure is submitted
Stay;And then the order of the submission failure stored in client is searched in client terminal start-up, retransmitted, passed through after finding
The order of failure and the mode retransmitted are submitted in above-mentioned preservation, and completion payment can be effectively ensured and supplements process with money;Retransmitted in client
The order of storage is deleted after success, prompting user retransmits when starting next time when client retransmits failure, it is ensured that order
It is retransmitted to and sends successfully, while saving system resource, improves the Experience Degree of user.
Referring to Fig. 7, the embodiment of the present invention also provides a kind of intelligent terminal 100, including:Processor 70, memory 71, bus
72 and communication interface 73, processor 70, communication interface 73 and memory 71 are connected by bus 72;Processor 70 is deposited for execution
The executable module stored in reservoir 71, such as computer program.
Wherein, memory 71 may include high-speed random access memory (RAM, Random Access Memory),
Non-labile memory (non-volatile memory), for example, at least one magnetic disk storage may also be included.By extremely
A few communication interface 73 (can be wired or wireless) is realized logical between the system network element and at least one other network element
Letter connection, can use internet, wide area network, LAN, Metropolitan Area Network (MAN) etc..
Bus 72 can be isa bus, pci bus or eisa bus etc..It is total that bus can be divided into address bus, data
Line, controlling bus etc..For ease of represent, figure XX in only represented with a four-headed arrow, it is not intended that only one bus or
A type of bus.
Wherein, memory 71 is used for storage program, and processor 70 performs foregoing routine after execute instruction is received, preceding
State the method performed by the device that defines of stream process of any embodiment of embodiment of the present invention announcement and can apply to processor 70
In, or realized by processor 70.
Processor 70 is probably a kind of IC chip, the disposal ability with signal.In implementation process, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor 70 or the instruction of software form.Above-mentioned
Processor 70 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network
Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal
Processing, abbreviation DSP), application specific integrated circuit (Application Specific Integrated Circuit, referred to as
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable
Logical device, discrete gate or transistor logic, discrete hardware components.It can realize or perform in the embodiment of the present invention
Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor can also be appointed
What conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing
Device performs completion, or performs completion with the hardware in decoding processor and software module combination.Software module can be located at
Machine memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register etc. are originally
In the ripe storage medium in field.The storage medium is located at memory 71, and processor 70 reads the information in memory 71, with reference to
The step of its hardware completes the above method.
The computer program product for the progress order repeating method that the embodiment of the present invention is provided, including store processor
The computer-readable recording medium of executable non-volatile program code, the instruction that described program code includes can be used for performing
Method described in previous methods embodiment, implements and can be found in embodiment of the method, will not be repeated here.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods
Realize by another way.Device embodiment described above is only schematical, for example, the division of the unit,
It is only a kind of division of logic function, there can be other dividing mode when actually realizing, in another example, multiple units or component can
To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for
The coupling each other of opinion or direct-coupling or communication connection can be by some communication interfaces, device or unit it is indirect
Coupling is communicated to connect, and can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious 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 the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in the executable non-volatile computer read/write memory medium of a processor.Understood based on such, the present invention
The part that is substantially contributed in other words to prior art of technical scheme or the part of the technical scheme can be with software
The form of product is embodied, and the computer software product is stored in a storage medium, including some instructions are to cause
One computer equipment (can be personal computer, server, or network equipment etc.) performs each embodiment institute of the invention
State all or part of step of method.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 be with
The medium of store program codes.
Finally it should be noted that:Embodiment described above, is only the embodiment of the present invention, to illustrate the present invention
Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art
The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. a kind of order repeating method, it is characterised in that applied to client, including:
When client receives payment request, the payment request is sent to third-party server;
Receive the order that the third-party server is issued when paying the fees successfully;
The client stores the order and sends the order to the server of the client;
When the client determines that the order is submitted successfully, the order is deleted;
Initialized when the client is again started up;
Search the order stored in the client;
Again the order is sent to the server of the client;
When the submission success message that the server for receiving the client is returned, determine that the order is retransmitted successfully.
2. according to the method described in claim 1, it is characterised in that described to be initialized when the client is again started up
Including:
Sqlite databases are initialized when the client is again started up.
3. according to the method described in claim 1, it is characterised in that described to search the order bag stored in the client
Include:
Search the client whether be stored with order retransmit list;
When there is order repeating transmission list, the order is searched from order repeating transmission list.
4. method according to claim 3, it is characterised in that also include:It is newly-built to order when retransmitting list in the absence of order
Substance sends out list.
5. according to the method described in claim 1, it is characterised in that also include:
When the client determines that the order submits failure, user's client when starting next time is pointed out to retransmit institute
State order.
6. method according to claim 4, it is characterised in that also include:
In the client running, whether order described in regular check is retransmitted in list has order;
If so, retransmitting the order that the order is retransmitted in list;
When the order is sent successfully, retransmit list from the order and delete the order.
7. a kind of order retransmission apparatus, it is characterised in that applied to client, including:
Payment request sending module, for when client receives payment request, by the payment request transmission to third party
Server;
Order reception module, for receiving the order that the third-party server is issued when paying the fees successfully;
Order sending module, the order is sent for the client to the server of the client;
Order memory module, for when the client determines that the order submits failure, storing the order;
Initialization module, for being initialized when the client is again started up;
Order searching modul, the order stored for searching in the client;
Order retransmits module, for sending the order to the server of the client again;
Determining module, for when receiving the submission success message of server return of the client, determining the order
Retransmit successfully.
8. device according to claim 7, it is characterised in that the initialization module is additionally operable to:When the client again
Sqlite databases are initialized during secondary startup.
9. device according to claim 7, it is characterised in that the order searching modul is additionally operable to:Search the client
The order that whether is stored with is held to retransmit list;When there is order repeating transmission list, ordered from order repeating transmission list described in lookup
It is single.
10. device according to claim 7, it is characterised in that also include:Order retransmits the newly-built module of list, for working as
When retransmitting list in the absence of order, newly-built order retransmits list.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710396339.1A CN107093068A (en) | 2017-05-27 | 2017-05-27 | Order repeating method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710396339.1A CN107093068A (en) | 2017-05-27 | 2017-05-27 | Order repeating method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107093068A true CN107093068A (en) | 2017-08-25 |
Family
ID=59638818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710396339.1A Pending CN107093068A (en) | 2017-05-27 | 2017-05-27 | Order repeating method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107093068A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988949A (en) * | 2015-02-15 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Terminal equipment and data interactive processing method and system |
CN106203881A (en) * | 2016-07-20 | 2016-12-07 | 武汉斗鱼网络科技有限公司 | A kind of order processing system applying interior purchase and method |
-
2017
- 2017-05-27 CN CN201710396339.1A patent/CN107093068A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105988949A (en) * | 2015-02-15 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Terminal equipment and data interactive processing method and system |
CN106203881A (en) * | 2016-07-20 | 2016-12-07 | 武汉斗鱼网络科技有限公司 | A kind of order processing system applying interior purchase and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10387852B2 (en) | Making a payment using a payment plug-in | |
CN104980468A (en) | Method, device and system for processing service request | |
CN105099688A (en) | Operation method for electronic account, display method and apparatus for payment page | |
CN104216695A (en) | Method and system for providing webpage information to be displayed on webpage and displaying webpage information | |
CN104574162A (en) | Virtual product trading method and device | |
CN108805701A (en) | Across the chain transaction processing system of multi-tiling chain and method, block catenary system and storage medium | |
CN106296175A (en) | Method of payment, merchant tenninal, bank transaction system, client terminal and system | |
CN110086877A (en) | Application program sharing, sharing information display methods, device, equipment and medium | |
CN108628687A (en) | The system and method for product information are provided | |
CN106156974A (en) | Obtain the method and device of sequence information | |
US7606906B2 (en) | Bundling and sending work units to a server based on a weighted cost | |
CN111639279A (en) | Graphic code generation method, target page loading method and device | |
CN105474199A (en) | Utomatically filling item information for selling | |
CN103778358A (en) | Method and system for realizing online shopping | |
CN109255704A (en) | Information processing method, device, server and computer readable storage medium | |
CA2916223C (en) | Mobile identity | |
CN107222774A (en) | Information displaying method and device, computer-readable recording medium | |
CN105469296A (en) | Method, device and system for game item transaction | |
CN106415637A (en) | Commission allocation method and system | |
CN111930786A (en) | Resource acquisition request processing system, method and device | |
CN108876339B (en) | E-pet transaction method and device based on certificate | |
CN107093068A (en) | Order repeating method and device | |
CN105808707B (en) | Data processing method, device and e-commerce platform | |
CN107862581A (en) | The implementation method and device of staple commodities online transaction | |
CN104123637B (en) | A kind of to processing method, system and the equipment that object processes |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170825 |
|
RJ01 | Rejection of invention patent application after publication |