CN109741069A - Processing method, device, electronic equipment and the readable storage medium storing program for executing of transaction data - Google Patents

Processing method, device, electronic equipment and the readable storage medium storing program for executing of transaction data Download PDF

Info

Publication number
CN109741069A
CN109741069A CN201811615600.3A CN201811615600A CN109741069A CN 109741069 A CN109741069 A CN 109741069A CN 201811615600 A CN201811615600 A CN 201811615600A CN 109741069 A CN109741069 A CN 109741069A
Authority
CN
China
Prior art keywords
transaction information
verified
server
transaction
information
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.)
Granted
Application number
CN201811615600.3A
Other languages
Chinese (zh)
Other versions
CN109741069B (en
Inventor
李昕蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811615600.3A priority Critical patent/CN109741069B/en
Publication of CN109741069A publication Critical patent/CN109741069A/en
Application granted granted Critical
Publication of CN109741069B publication Critical patent/CN109741069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

Present disclose provides a kind of processing method of transaction data, device, electronic equipment and readable storage medium storing program for executing, are related to technical field of data processing.This method comprises: when receiving the goods purchase request of user, determining, which whether there is in temporal cache, does not verify Transaction Information, if it exists then to Transaction Information progress verification processing is not verified, if being handled there is no Transaction Information is not verified goods purchase request in temporal cache.Technical solution provided by the present disclosure, verification processing can be carried out to the Transaction Information of not verifying in temporal cache automatically in the goods purchase request for receiving user, prevent from not verifying Transaction Information and subsequent possible transaction is impacted, the success rate for improving transaction, improves the usage experience of user.

Description

Processing method, device, electronic equipment and the readable storage medium storing program for executing of transaction data
Technical field
This disclosure relates to technical field of data processing, specifically, this disclosure relates to a kind of processing method of transaction data, Device, electronic equipment and readable storage medium storing program for executing.
Background technique
(IAP, In App Purchases) is paid inside application program, is a kind of intelligent mobile terminal application program payment Mode, have corresponding realization in a variety of intelligent mobile terminal operating systems.
User needs to verify transaction when paying using IAP in process of exchange, but more due to usage scenario It is complicated, in fact it could happen that abnormal conditions, such as apply exception to exit, network failure, it will lead to transaction verification failure, influence subsequent friendship Easily, cause the usage experience of user poor.
Summary of the invention
The purpose of the disclosure is intended at least can solve above-mentioned one of technological deficiency, provides a kind of processing of transaction data Method, apparatus, electronic equipment and readable storage medium storing program for executing.The technical solution is as follows:
In a first aspect, a kind of processing method of Transaction Information is provided, this method comprises:
When receiving the goods purchase request of user, determining, which whether there is in temporal cache, does not verify Transaction Information;
If existing in temporal cache and not verifying Transaction Information, verified to Transaction Information is not verified;
If being handled there is no Transaction Information is not verified goods purchase request in temporal cache.
Optionally, goods purchase request is handled, comprising:
Goods purchase request is sent to first server, receives first server is returned based on goods purchase request the One O/No.;
Based on the first O/No., corresponding transaction payment request is sent to second server, receives second server base In the first payment information that transaction payment request returns;
Transaction Information to be verified is sent to first server, so that first server tests Transaction Information to be verified Card, Transaction Information to be verified include the first O/No. and the first payment information;
Obtain the verification result for the Transaction Information to be verified that first server returns;
If the verification result of Transaction Information to be verified is to be proved to be successful, Transaction Information to be verified is sent to second server Be proved to be successful notice so that second server, which is deleted, notifies corresponding Transaction Information to be verified with being proved to be successful;
It is exited if being abnormal in the verification process of Transaction Information to be verified, receives second server after restart and send Do not verify Transaction Information and be cached in temporal cache, not verifying Transaction Information includes Transaction Information to be verified.
Optionally, it verifies to not verifying Transaction Information, comprising:
Transaction Information will not be verified and be sent to first server, so that first server is tested to not verifying Transaction Information Card, not verifying Transaction Information includes the second O/No. and the second payment information;
Obtain the verification result for not verifying Transaction Information that first server returns.
Optionally, after receiving the first payment information that second server is returned based on transaction payment request, above-mentioned side Method further include:
It is stored in temporal cache using Transaction Information to be verified as Transaction Information is not verified.
Optionally, after getting the verification result of Transaction Information to be verified of first server return, alternatively, obtaining The verification result for getting the verification result of the Transaction Information to be verified of first server return and Transaction Information to be verified is verifying When success, the above method is also further include:
Delete the Transaction Information to be verified in temporal cache.
Optionally, Transaction Information to be verified is sent to first server, comprising:
Transaction Information to be verified is sent to first server, until transmission times reaches default number of retries or gets Verification result of the first server to Transaction Information to be verified.
Optionally, the verification result for the Transaction Information to be verified that first server returns is obtained, comprising:
The verification result of Transaction Information to be verified is inquired to first server by the way of poll;
And/or
Before Transaction Information to be verified is sent to first server, the above method further include:
Determining Transaction Information to be verified, there is no proofing state labels, and proofing state label is for identifying transaction letter to be verified Breath is in proofing state;
After Transaction Information to be verified is sent to first server, the above method further include:
The proofing state label of Transaction Information to be verified is set;
After getting first server to the verification result of Transaction Information to be verified, the above method further include: delete to Verify the proofing state label of Transaction Information.
Second aspect provides a kind of processing unit of Transaction Information, which includes:
Transaction Information confirmation module is not verified, for determining temporal cache when receiving the goods purchase request of user In with the presence or absence of not verifying Transaction Information;
Authentication module, for testing Transaction Information is not verified when in temporal cache in the presence of Transaction Information is not verified Card;
Goods purchase request processing module, for when in temporal cache there is no do not verify Transaction Information when, to commodity purchase Request is bought to be handled.
Optionally, goods purchase request processing module includes:
O/No. receiving module, when not verifying Transaction Information for being not present in temporal cache, by goods purchase request It is sent to first server, receives the first O/No. that first server is returned based on goods purchase request;
Payment information receiving module sends corresponding transaction payment to second server for being based on the first O/No. Request receives the first payment information that second server is returned based on transaction payment request;
Transaction Information sending module to be verified, for Transaction Information to be verified to be sent to first server, so that first Server verifies Transaction Information to be verified, and Transaction Information to be verified includes the first O/No. and the first payment information;
Verification result obtains module, the verification result of the Transaction Information to be verified for obtaining first server return;
It is proved to be successful notice sending module, for when the verification result of Transaction Information to be verified is to be proved to be successful, to the What two servers sent Transaction Information to be verified is proved to be successful notice, so that second server is deleted and is proved to be successful notice pair The Transaction Information to be verified answered;
Exception exits processing module, when exiting for being abnormal in the verification process of Transaction Information to be verified, in weight After opening receive second server send do not verify Transaction Information and be cached in temporal cache, do not verify Transaction Information include to Verify Transaction Information.
Optionally, above-mentioned authentication module is specifically used for when for not verifying Transaction Information and verifying:
Transaction Information will not be verified and be sent to first server, so that first server is tested to not verifying Transaction Information Card, not verifying Transaction Information includes the second O/No. and the second payment information;
Obtain the verification result for not verifying Transaction Information that first server returns.
Optionally, above-mentioned apparatus further include:
Transaction Information cache module is not verified, for receiving first of second server based on transaction payment request return After payment information, it is stored in temporal cache using Transaction Information to be verified as Transaction Information is not verified.
Optionally, above-mentioned apparatus further include:
Transaction Information removing module to be verified, for getting the Transaction Information to be verified of first server return After verification result, alternatively, getting the verification result of the Transaction Information to be verified of first server return and friendship to be verified The verification result of easy information is when being proved to be successful, to delete the Transaction Information to be verified in temporal cache.
Optionally, Transaction Information sending module to be verified is when being sent to first server for Transaction Information to be verified, tool Body is used for:
Transaction Information to be verified is sent to first server, until transmission times reaches default number of retries or gets Verification result of the first server to Transaction Information to be verified;
And/or
Verification result obtains module and is specifically used for:
The verification result of Transaction Information to be verified is inquired to first server by the way of poll.
Optionally, above-mentioned apparatus further includes verification mark processing module, and proofing state label processing module is used for:
Before Transaction Information to be verified is sent to first server, determining Transaction Information to be verified, there is no verifying shapes State label, proofing state label are in proofing state for identifying Transaction Information to be verified;
After Transaction Information to be verified is sent to first server, the proofing state mark of Transaction Information to be verified is set Note;
After getting first server to the verification result of Transaction Information to be verified, testing for Transaction Information to be verified is deleted Demonstrate,prove status indication.
The third aspect provides a kind of electronic equipment, which includes:
Processor and memory;
Memory, for storing operational order;
Processor is executed as shown in any embodiment of disclosure first aspect for being instructed by call operation The processing method of Transaction Information.
Fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, and feature exists In Transaction Information shown in any embodiment of the first aspect of the realization disclosure when computer program is executed by processor Processing method.
Technical solution provided by the present disclosure has the benefit that
Technical solution provided by the present disclosure, can be in the goods purchase request for receiving user, automatically to temporal cache In Transaction Information of not verifying carry out verification processing, prevent from not verifying Transaction Information and subsequent possible transaction impacted, mention The success rate of height transaction, improves the usage experience of user.
Detailed description of the invention
It, below will be to institute in embodiment of the present disclosure description in order to illustrate more clearly of the technical solution in the embodiment of the present disclosure Attached drawing to be used is needed to be briefly described.
Fig. 1 is a kind of flow diagram of the processing method for transaction data that an embodiment of the present disclosure provides;
Fig. 2 is the flow diagram of an optional specific embodiment of the embodiment of the present disclosure;
Fig. 3 is a kind of structural schematic diagram of the processing method device for transaction data that the another embodiment of the disclosure provides;
Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the another embodiment of the disclosure provides.
Specific embodiment
Embodiment of the disclosure is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and is only used for explaining the disclosure, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the specification of the disclosure Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
To keep the purposes, technical schemes and advantages of the disclosure clearer, below in conjunction with attached drawing to disclosure embodiment party Formula is described in further detail.
How the technical solution of the disclosure and the technical solution of the disclosure are solved with specifically embodiment below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiment of the disclosure is described.
A kind of processing method of transaction data is provided in one embodiment, as shown in Figure 1, this method comprises:
Step S101: when receiving the goods purchase request of user, determining, which whether there is in temporal cache, does not verify friendship Easy information;
Step S102: Transaction Information is not verified if existing in temporal cache, is verified to Transaction Information is not verified.
In the present embodiment, for user when being paid using IAP, usage scenario is complex, in fact it could happen that abnormal conditions are such as answered With it is abnormal exit, network failure etc., will lead to transaction verification failure.Not verifying Transaction Information can be to occur in process of exchange When abnormal conditions, lead to the Transaction Information of transaction verification failure, does not verify Transaction Information and be stored in the interim slow of terminal device It, can be for Transaction Information progress is not verified, verifying provides basis again in time convenient for reading in depositing.
In the present embodiment, when client receives the goods purchase request of user, shows that user is subsequent and be likely to need It is bought, does not at this moment verify Transaction Information if existed in temporal cache, purchase may be impacted, in order to keep away Exempt from existing Transaction Information of not verifying to have an impact subsequent transaction, can preferentially verify to not verifying Transaction Information.
Step S103: if being handled there is no Transaction Information is not verified goods purchase request in temporal cache.
In the present embodiment, there is no when not verifying Transaction Information in determining temporal cache, it can not execute except to reception To user goods purchase request handle except other operation.
The processing method for the transaction data that the embodiment of the present disclosure provides, can be in the goods purchase request for receiving user When, verification processing is carried out to the Transaction Information of not verifying in temporal cache automatically, prevents from not verifying Transaction Information to subsequent possibility Transaction impact, improve the success rate of transaction, improve the usage experience of user.
In the alternative embodiment of the disclosure, it is above-mentioned to goods purchase request carry out processing may include:
Goods purchase request is sent to first server, receives first server is returned based on goods purchase request the One O/No.;
Based on the first O/No., corresponding transaction payment request is sent to second server, receives second server base In the first payment information that transaction payment request returns;
Transaction Information to be verified is sent to first server, so that first server tests Transaction Information to be verified Card, Transaction Information to be verified include the first O/No. and the first payment information;
Obtain the verification result for the Transaction Information to be verified that first server returns.
In the present embodiment, first server can be server that is corresponding with client, providing services to the user, specifically For, first server may include providing merchandise news, processing goods purchase request and mentioning to the service that client provides For the verifying to Transaction Information to be verified.First server can be based on the first O/No. and the first payment information, carry out pair The verifying of Transaction Information to be verified.
Second server can be to provide the server of payment services, such as apple server, prestore in second server Product name is contained, consumption type, commodity price, the merchandise newss such as commodity sign can be to client pay invoice offer branch It holds, and generates corresponding payment information after the completion of payment.
The detailed process performed corresponding processing to goods purchase request can be with are as follows:
Purchase request is sent to first server by client, and first server is based on purchase request and generates respective orders, And the first O/No. of the order is sent to client.
Transaction payment request is sent to second server by client, and second server, will after client completes payment First payment information returns to client, and second server is interior while correspondence is stored with the first O/No..
Transaction Information to be verified is sent to first server and carries out verifying to Transaction Information to be verified by client.
Specifically, being stored with the first O/No. in first server, friendship to be verified is determined according to the first O/No. Order corresponding to easy information, and the first payment information is checked with order, realize the verifying to Transaction Information to be verified.
Transaction Information to be verified is proved to be successful, that is, completes the corresponding processing to the goods purchase request received.
If the verification result of Transaction Information to be verified is to be proved to be successful, Transaction Information to be verified is sent to second server Be proved to be successful notice so that second server, which is deleted, notifies corresponding Transaction Information to be verified with being proved to be successful.
In the present embodiment, after being proved to be successful of Transaction Information to be verified, it is proved to be successful notice to second server transmission, Second server receive Transaction Information to be verified be proved to be successful notice after, then will not application restart after, by it is corresponding to Verifying Transaction Information is sent to client, specifically, second server can directly delete corresponding Transaction Information to be verified.
It is exited if being abnormal in the verification process of Transaction Information to be verified, receives second server after restart and send Do not verify Transaction Information and be cached in temporal cache, not verifying Transaction Information includes Transaction Information to be verified.
In the present embodiment, the verification process of Transaction Information to be verified refers to that Transaction Information to be verified is sent to by client One server and client get first server to the process between the verification result of Transaction Information to be verified.If Be abnormal in verification process exit such as application exception exit, system reboot, will lead to currently in authenticated Transaction Information to be verified in journey is lost, if Transaction Information to be verified has incorporated in temporal cache, temporal cache at this moment In Transaction Information to be verified can also lose, can application restart after, again receive second server send do not verify friendship Easy information, client receives do not verify Transaction Information after be deposited into temporal cache, so as in the commodity for receiving user When purchase request, verify again.What second server was sent at this moment do not verify Transaction Information in addition to may include it is current to Verification information, the information to be verified not being proved to be successful before can also including.
In the present embodiment, when verification process is abnormal and exits, client can receive second server transmission again Do not verify Transaction Information, can be improved the success rate of transaction, improve the usage experience of user.
The merchandise news and the second clothes of first server offer can be provided respectively in the present embodiment, in terminal device The merchandise news that business device provides, so as to generate goods purchase request based on the merchandise news that first server provides, be based on The merchandise news that second server provides generates payment request.For same commodity, first server and second server are provided The commodity merchandise news it is not identical, therefore can from client respectively to first server, second server obtain.
In the present embodiment, client can obtain the merchandise news provided in second server to second server in advance and delay It deposits, provides basis to issue transaction payment request to server, but in practical application, may exist in temporal cache and not deposit The merchandise news provided with the corresponding second server of purchase request the case where, the normal generation that transaction payment is requested is influenced, Client can be when user issues purchase request, and the merchandise news for determining that second server corresponding with purchase request provides is It is no to have cached;If uncached, obtain and cache to second server.
It is above-mentioned to verify to not verifying Transaction Information in the alternative embodiment of the disclosure, may include:
Transaction Information will not be verified and be sent to first server, so that first server is tested to not verifying Transaction Information Card, not verifying Transaction Information includes the second O/No. and the second payment information;
Obtain the verification result for not verifying Transaction Information that first server returns.
In the present embodiment, first server is referred to the above-mentioned verification mode to Transaction Information to be verified, is based on second O/No. and the second payment information are verified to not verifying Transaction Information, and details are not described herein.
In practical applications, do not verify Transaction Information may be simultaneously present it is a plurality of, then can to it is a plurality of not verify transaction letter Breath is successively verified, and to guarantee treatment effeciency, can not tested when each client receives goods purchase request every Card Transaction Information can carry out one-time authentication, to guarantee even if authentication failed, it is subsequent verifying or transaction also can in time into Row.
After the verification result for not verified Transaction Information, it is referred to the above-mentioned verifying to Transaction Information to be verified As a result processing mode is handled.
It is above-mentioned to receive first of second server based on transaction payment request return in the alternative embodiment of the disclosure After payment information, further includes:
It is stored in temporal cache using Transaction Information to be verified as Transaction Information is not verified.
In the present embodiment, it can face as Transaction Information deposit is not verified after receiving Transaction Information to be verified When caching in so that can face again to being stored in after failing to complete to Transaction Information to be verified verifying or authentication failed When caching in Transaction Information of not verifying verified.
In the alternative embodiment of the disclosure, in the verification result for the Transaction Information to be verified for getting first server return Later, alternatively, getting the verification result of the Transaction Information to be verified of first server return and Transaction Information to be verified Verification result is when being proved to be successful, and the above method can also include:
Delete the Transaction Information to be verified in temporal cache.
In the present embodiment, in the verification result for not verifying Transaction Information for receiving first server return, it is believed that It has been completed the verifying to Transaction Information to be verified, the Transaction Information to be verified in temporal cache can be deleted.
Specifically, can be to be proved to be successful and then will be in temporal cache in the verification result of Transaction Information to be verified Second do not verify Transaction Information deletion, in order to avoid occupy temporal cache space;It is in the verification result of Transaction Information to be verified After authentication failed, can retain that the Transaction Information to be verified is corresponding in temporal cache not to verify Transaction Information, so as to Transaction Information can not be verified to this to verify again.
In practical applications, can also only be by verification result after completing the verifying to Transaction Information to be verified In the Transaction Information to be verified deposit temporal cache of authentication failed, in the goods purchase request for receiving user, verify again.
It is above-mentioned that Transaction Information to be verified is sent to first server in the alternative embodiment of the disclosure, may include:
Transaction Information to be verified is sent to first server, until transmission times reaches default number of retries or gets Verification result of the first server to Transaction Information to be verified;
And/or
The verification result for the Transaction Information to be verified that above-mentioned acquisition first server returns may include:
The verification result of Transaction Information to be verified is inquired to first server by the way of poll.
The present embodiment in practical applications, may cause Transaction Information to be verified to due to network failure etc. One server sends failure, for the problem, repeatedly can send friendship to be verified to first server according to prefixed time interval Easy information, it can retransmitted, until getting first server to the verification result of Transaction Information to be verified, illustrate not test Card Transaction Information is sent successfully, can also be retried until number of retries reaches default number of retries, at this moment it is considered that current nothing Method sends Transaction Information to be verified, can abandon continuing to retry, and the specific value for presetting number of retries can be according to practical need It sets.
In the present embodiment, when inquiring the verification result of Transaction Information to be verified to first server, poll can be used Mode, the time interval of poll keeps being incremented by when wrap count is not more than preset value, is not less than preset value in wrap count When remain unchanged, to guarantee polling efficiency, such as interval time is 1s, 2s, 3s, 4s, 5s, 5s, 5s, 5s.
In the alternative embodiment of the disclosure, before Transaction Information to be verified is sent to first server, the above method Can also include:
Determining Transaction Information to be verified, there is no proofing state labels, and proofing state label is for identifying transaction letter to be verified Breath is in proofing state;
After Transaction Information to be verified is sent to first server, the above method can also include:
The proofing state label of Transaction Information to be verified is set;
After getting first server to the verification result of Transaction Information to be verified, the above method can also include:
Delete the proofing state label of Transaction Information to be verified.
In the present embodiment, if user is again at preset condition in the verification process of information to be verified, it may make The repeated authentication of the pairs of information to be verified can will enter the Transaction Information to be verified of verification process to avoid repeated authentication Labeled as proofing state, before being verified to Transaction Information to be verified, first determine if in proofing state, if not It is then verified in proofing state, if being in proofing state, current authentication processes can be waited to be located again after the completion Reason.And after the Transaction Information verification result to be verified got, the proofing state label of the Transaction Information to be verified is deleted It removes.
The flow diagram of an optional specific embodiment of the embodiment of the present disclosure, the specific reality are shown in Fig. 2 The mode of applying may include:
When client receives the goods purchase request of user, determine whether merchandise news has cached, if commodity are believed It ceases uncached, then requests merchandise news and to cache from second server;If merchandise news has cached, it is determined that in temporal cache Whether have and do not verify Transaction Information, if being bought without Transaction Information is not verified to first server goods in transit in temporal cache Request, and the first O/No. of first server return is received, it is based on the first O/No., is sent to second server corresponding Transaction payment request;Receive the first payment information that second server is returned based on transaction payment request;By transaction to be verified Information (i.e. the first O/No. and the corresponding information to be verified of the first payment information) is interim as Transaction Information deposit is not verified Caching will not verify Transaction Information and carry out proofing state label at this point, Transaction Information to be verified does not verify Transaction Information as, Transaction Information is not verified to first server transmission, is not verified the verification result of Transaction Information to first server inquiry, is being looked into After asking verification result, that is, after getting first server to the verification result for not verifying Transaction Information, then it represents that The verifying to Transaction Information is not verified is completed, the proofing state label for not verifying Transaction Information can be deleted, at this point, if verifying As a result to be proved to be successful, then it can be sent to second server and not verify Transaction Information and be proved to be successful notice, and from temporal cache It is middle delete that this is proved to be successful do not verify Transaction Information, terminate current process;It is sent out if verification result is authentication failed to user The prompt of authentication failed out;It is exited if being abnormal in verification process, can be received after client restarts again What two servers were sent does not verify Transaction Information, and does not verify Transaction Information deposit temporal cache for what is received.
When client receives the goods purchase request of user, Transaction Information is not verified if having in temporal cache, it can Transaction Information is not verified to prompt user to have, and determines that do not verify Transaction Information marks with the presence or absence of proofing state, if not verifying friendship There are proofing state labels for easy information, then illustrate that this does not verify Transaction Information just in verification process, that is, terminal device is just Do not verify the verification process of Transaction Information to this executing, current process can be terminated at this time, that is, can not execute except pair This does not verify other operations except the verification process of Transaction Information;If not verifying Transaction Information there is no proofing state label, It is then read from temporal cache and does not verify Transaction Information, Transaction Information will not verified and send first to server, so that first service Device is not verified Transaction Information to this and is verified, wherein does not verify the mode that Transaction Information is verified to this and treats with above-mentioned The operation that verifying Transaction Information is verified is essentially identical.
An embodiment of the present disclosure provides a kind of processing unit of Transaction Information, as shown in figure 3, the place of the Transaction Information Managing device 20 may include:
Transaction Information confirmation module 201 is not verified, it is interim slow for determining when receiving the goods purchase request of user It whether there is in depositing and do not verify Transaction Information;
Authentication module 202, for being carried out to Transaction Information is not verified when in temporal cache in the presence of Transaction Information is not verified Verifying;
Goods purchase request processing module 203, for when in temporal cache there is no do not verify Transaction Information when, to commodity Purchase request is handled.
The processing unit for the transaction data that the embodiment of the present disclosure provides, can be in the goods purchase request for receiving user When, verification processing is carried out to the Transaction Information of not verifying in temporal cache automatically, prevents from not verifying Transaction Information to subsequent possibility Transaction impact, improve the success rate of transaction, improve the usage experience of user.
Optionally, goods purchase request processing module 203 includes:
O/No. receiving module, when not verifying Transaction Information for being not present in temporal cache, by goods purchase request It is sent to first server, receives the first O/No. that first server is returned based on goods purchase request;
Payment information receiving module sends corresponding transaction payment to second server for being based on the first O/No. Request receives the first payment information that second server is returned based on transaction payment request;
Transaction Information sending module to be verified, for Transaction Information to be verified to be sent to first server, so that first Server verifies Transaction Information to be verified, and Transaction Information to be verified includes the first O/No. and the first payment information;
Verification result obtains module, the verification result of the Transaction Information to be verified for obtaining first server return;
It is proved to be successful notice sending module, for when the verification result of Transaction Information to be verified is to be proved to be successful, to the What two servers sent Transaction Information to be verified is proved to be successful notice, so that second server is deleted and is proved to be successful notice pair The Transaction Information to be verified answered;
Exception exits processing module, when exiting for being abnormal in the verification process of Transaction Information to be verified, in weight After opening receive second server send do not verify Transaction Information and be cached in temporal cache, do not verify Transaction Information include to Verify Transaction Information.
Optionally, above-mentioned authentication module is specifically used for when for not verifying Transaction Information and verifying:
Transaction Information will not be verified and be sent to first server, so that first server is tested to not verifying Transaction Information Card, not verifying Transaction Information includes the second O/No. and the second payment information;
Obtain the verification result for not verifying Transaction Information that first server returns.
Optionally, above-mentioned apparatus further include:
Transaction Information cache module is not verified, for receiving first of second server based on transaction payment request return After payment information, it is stored in temporal cache using Transaction Information to be verified as Transaction Information is not verified.
Optionally, above-mentioned apparatus further include:
Transaction Information removing module to be verified, for getting the Transaction Information to be verified of first server return After verification result, alternatively, getting the verification result of the Transaction Information to be verified of first server return and friendship to be verified The verification result of easy information is when being proved to be successful, to delete the Transaction Information to be verified in temporal cache.
Optionally, Transaction Information sending module to be verified is when being sent to first server for Transaction Information to be verified, tool Body is used for:
Transaction Information to be verified is sent to first server, until transmission times reaches default number of retries or gets Verification result of the first server to Transaction Information to be verified;
And/or
Verification result obtains module and is specifically used for:
The verification result of Transaction Information to be verified is inquired to first server by the way of poll.
Optionally, above-mentioned apparatus further includes verification mark processing module, and proofing state label processing module is used for:
Before Transaction Information to be verified is sent to first server, determining Transaction Information to be verified, there is no verifying shapes State label, proofing state label are in proofing state for identifying Transaction Information to be verified;
After Transaction Information to be verified is sent to first server, the proofing state mark of Transaction Information to be verified is set Note;
After getting first server to the verification result of Transaction Information to be verified, testing for Transaction Information to be verified is deleted Demonstrate,prove status indication.
Transaction Information shown in any of the above-described embodiment of the disclosure can be performed in the processing unit of the Transaction Information of the present embodiment Processing method, realization principle is similar, and details are not described herein again.
The embodiment of the present disclosure additionally provides a kind of electronic equipment comprising processor and memory;
Memory, for storing operational order;
Processor executes the processing method of above-mentioned Transaction Information for instructing by call operation.
The embodiment of the present disclosure additionally provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The processing method of above-mentioned Transaction Information is realized when sequence is executed by processor.
Below with reference to Fig. 4, it illustrates the electronic equipments 800 for being suitable for being used to realize the embodiment of the present disclosure (such as holding The terminal device of the processing method of Transaction Information shown in row Fig. 1) structural schematic diagram.Terminal in the embodiment of the present disclosure is set It is standby can include but is not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), The mobile end of PAD (tablet computer), PMP (portable media player), car-mounted terminal (such as vehicle mounted guidance terminal) etc. The fixed terminal of end and such as number TV, desktop computer etc..Electronic equipment shown in Fig. 4 is only an example, no The function and use scope for coping with the embodiment of the present disclosure bring any restrictions.
As shown in figure 4, electronic equipment 800 may include processing unit (such as central processing unit, graphics processor etc.) 801, random access can be loaded into according to the program being stored in read-only memory (ROM) 802 or from storage device 808 Program in memory (RAM) 803 and execute various movements appropriate and processing.In RAM 803, it is also stored with electronic equipment Various programs and data needed for 800 operations.Processing unit 801, ROM 802 and RAM 803 pass through the phase each other of bus 804 Even.Input/output (I/O) interface 805 is also connected to bus 804.
In general, following device can connect to I/O interface 805: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 806 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 807 of dynamic device etc.;Storage device 808 including such as tape, hard disk etc.;And communication device 809.Communication device 809, which can permit electronic equipment 800, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 4 shows tool There is the electronic equipment 800 of various devices, it should be understood that being not required for implementing or having all devices shown.It can be with Alternatively implement or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 809, or from storage device 808 It is mounted, or is mounted from ROM802.When the computer program is executed by processing unit 801, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned electronic equipment;It is also possible to individualism, and not It is fitted into the electronic equipment.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the electricity When sub- equipment executes, so that the electronic equipment: obtaining at least two internet protocol addresses;Send to Node evaluation equipment includes extremely The Node evaluation request of few two internet protocol addresses, wherein Node evaluation equipment is from least two internet protocol addresses, choosing It takes internet protocol address and returns;The internet protocol address that receiving node valuator device returns;Wherein, acquired Internet protocol Address indicates the fringe node in content distributing network.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the electronic equipment, so that the electronic equipment: receiving the Node evaluation including at least two internet protocol addresses and request; From at least two internet protocol addresses, internet protocol address is chosen;Return to the internet protocol address selected;Wherein, it receives To internet protocol address instruction content distributing network in fringe node.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of processing method of Transaction Information characterized by comprising
When receiving the goods purchase request of user, determining, which whether there is in temporal cache, does not verify Transaction Information;
If existing in temporal cache and not verifying Transaction Information, verified to Transaction Information is not verified;
If being handled there is no Transaction Information is not verified the goods purchase request in temporal cache.
2. the processing method of Transaction Information according to claim 1, which is characterized in that carried out to the goods purchase request Processing, comprising:
The goods purchase request is sent to first server, the first server is received and is based on the goods purchase request The first O/No. returned;
Based on first O/No., corresponding transaction payment request is sent to second server, receives the second service The first payment information that device is returned based on transaction payment request;
Transaction Information to be verified is sent to the first server, so that the first server believes the transaction to be verified Breath is verified, and the Transaction Information to be verified includes first O/No. and first payment information;
Obtain the verification result for the Transaction Information to be verified that the first server returns;
If the verification result of the Transaction Information to be verified is to be proved to be successful, transaction to be verified is sent to the second server Information is proved to be successful notice, so that the second server, which is deleted, notifies corresponding transaction to be verified with described be proved to be successful Information;
It is exited if being abnormal in the verification process of the Transaction Information to be verified, receives the second server after restart What is sent does not verify Transaction Information and is cached in temporal cache, and the Transaction Information of not verifying includes the transaction letter to be verified Breath.
3. the processing method of Transaction Information according to claim 2, which is characterized in that it is described to do not verify Transaction Information into Row verifying, comprising:
The Transaction Information of not verifying is sent to the first server, so that the first server does not verify friendship to described Easy information is verified, and the Transaction Information of not verifying includes the second O/No. and the second payment information;
Obtain the verification result for not verifying Transaction Information that the first server returns.
4. the processing method of Transaction Information according to claim 2, which is characterized in that receiving the second server base After the first payment information that transaction payment request returns, further includes:
It is stored in temporal cache using the Transaction Information to be verified as Transaction Information is not verified.
5. the processing method of Transaction Information according to claim 4, which is characterized in that getting the first server After the verification result of the Transaction Information to be verified returned, alternatively, getting described in the first server return The verification result of the verification result of Transaction Information to be verified and the Transaction Information to be verified is when being proved to be successful, further includes:
Delete the Transaction Information to be verified in the temporal cache.
6. the processing method of the Transaction Information according to any one of claim 2-5, which is characterized in that it is described will be to be verified Transaction Information is sent to first server, comprising:
Transaction Information to be verified is sent to first server, until transmission times reaches default number of retries or gets described Verification result of the first server to Transaction Information to be verified.
And/or
The verification result for obtaining the Transaction Information to be verified that the first server returns, comprising:
The verification result of Transaction Information to be verified is inquired to the first server by the way of poll.
7. the processing method of the Transaction Information according to any one of claim 2-5, which is characterized in that it is described will be to be tested Card Transaction Information is sent to before the first server, further includes:
Determining Transaction Information to be verified, there is no proofing state labels, and the proofing state label is for identifying transaction letter to be verified Breath is in proofing state;
The Transaction Information to be verified is sent to after first server, further includes:
The proofing state label of the Transaction Information to be verified is set;
After getting the first server to the verification result of the Transaction Information to be verified, further includes:
Delete the proofing state label of the Transaction Information to be verified.
8. a kind of processing unit of Transaction Information characterized by comprising
Transaction Information confirmation module is not verified, for when receiving the goods purchase request of user, determining in temporal cache to be Transaction Information is not verified in no presence;
Authentication module, for being verified to Transaction Information is not verified when in temporal cache in the presence of Transaction Information is not verified;
Goods purchase request processing module, for when in temporal cache there is no do not verify Transaction Information when, to the commodity purchase Request is bought to be handled.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Processor and memory;
The memory, for storing operational order;
The processor, for executing transaction described in any one of the claims 1-7 by calling the operational order The processing method of information.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The processing method of Transaction Information of any of claims 1-7 is realized when being executed by processor.
CN201811615600.3A 2018-12-27 2018-12-27 Transaction data processing method and device, electronic equipment and readable storage medium Active CN109741069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811615600.3A CN109741069B (en) 2018-12-27 2018-12-27 Transaction data processing method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811615600.3A CN109741069B (en) 2018-12-27 2018-12-27 Transaction data processing method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109741069A true CN109741069A (en) 2019-05-10
CN109741069B CN109741069B (en) 2020-12-18

Family

ID=66361484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811615600.3A Active CN109741069B (en) 2018-12-27 2018-12-27 Transaction data processing method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109741069B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112053028A (en) * 2020-07-24 2020-12-08 长沙市到家悠享家政服务有限公司 Order allocation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102708485A (en) * 2012-05-17 2012-10-03 东信和平智能卡股份有限公司 Things protection method of mobile phone payment card transactions and mobile phone payment card
CN103325038A (en) * 2012-03-19 2013-09-25 董建飞 System for realizing electronic payment through mobile terminals according to shopping lists provided by sale terminals and method thereof
CN105933266A (en) * 2015-08-20 2016-09-07 ***股份有限公司 Verification method and server
CN107004193A (en) * 2014-12-16 2017-08-01 Visa欧洲有限公司 Trading authorization
CN107330683A (en) * 2017-06-29 2017-11-07 广东舜联通信科技有限公司 Bank based on UTK cards withholds method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103325038A (en) * 2012-03-19 2013-09-25 董建飞 System for realizing electronic payment through mobile terminals according to shopping lists provided by sale terminals and method thereof
CN102708485A (en) * 2012-05-17 2012-10-03 东信和平智能卡股份有限公司 Things protection method of mobile phone payment card transactions and mobile phone payment card
CN107004193A (en) * 2014-12-16 2017-08-01 Visa欧洲有限公司 Trading authorization
CN105933266A (en) * 2015-08-20 2016-09-07 ***股份有限公司 Verification method and server
CN107330683A (en) * 2017-06-29 2017-11-07 广东舜联通信科技有限公司 Bank based on UTK cards withholds method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112053028A (en) * 2020-07-24 2020-12-08 长沙市到家悠享家政服务有限公司 Order allocation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109741069B (en) 2020-12-18

Similar Documents

Publication Publication Date Title
CN110443695A (en) Data processing method and its device, electronic equipment and medium
CN109299348A (en) A kind of data query method, apparatus, electronic equipment and storage medium
CN108920257B (en) Transaction processing method, device, equipment and storage medium
CN112184196B (en) Data processing method, device, server and storage medium
RU2747448C1 (en) Method, device, electronic device and terminal for confirmation of order delivery
CN110874742B (en) Payment method and device based on block chain and intelligent contract
US12020221B2 (en) Payment processing method, device and system
CN110209315A (en) The display methods of character, device, electronic equipment and storage medium in user interface
EP4358000A1 (en) Digital currency-based payment method, platform, terminal, and payment system
CN109447712A (en) A kind of consultation method, device, electronic equipment and storage medium
CN109753622A (en) static resource management method, device, storage medium and electronic equipment
CN110535659A (en) Method and apparatus for handling request of data
CN109118375A (en) It insures processing method, device, medium and electronic equipment
CN110401630A (en) Verification method, device, electronic equipment and the medium of transaction certificate
CN110533457A (en) A kind of advertisement push system, method and server
CN108898306A (en) Order allocation method, device, medium and electronic equipment
CN110336592A (en) It is applicable in the data transmission method and electronic equipment of Bluetooth card reader
CN109818994A (en) Information processing method and device for agent side
CN109741069A (en) Processing method, device, electronic equipment and the readable storage medium storing program for executing of transaction data
CN109685508A (en) Processing method, device, electronic equipment and the readable storage medium storing program for executing of transaction data
CN108512813A (en) For preventing the shielded device and method of information
CN110147368A (en) Data capture method and device for server
CN113421045A (en) Waybill information sending method and device, electronic equipment and computer readable medium
JP4499760B2 (en) Communication management apparatus and payment method using communication terminal
CN110061907A (en) Method and apparatus for getting resource, distributing resource

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
GR01 Patent grant
GR01 Patent grant