CN106156233A - Revised data processes the method and device of state - Google Patents

Revised data processes the method and device of state Download PDF

Info

Publication number
CN106156233A
CN106156233A CN201510203176.1A CN201510203176A CN106156233A CN 106156233 A CN106156233 A CN 106156233A CN 201510203176 A CN201510203176 A CN 201510203176A CN 106156233 A CN106156233 A CN 106156233A
Authority
CN
China
Prior art keywords
data
data processing
processed result
processing request
preset duration
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
Application number
CN201510203176.1A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510203176.1A priority Critical patent/CN106156233A/en
Publication of CN106156233A publication Critical patent/CN106156233A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof

Abstract

A kind of revised data processes the method for state, including: when not receiving the data processed result of correspondence in the first preset duration after sending data processing request, requesting party in the second preset duration to the data processed result that data processing request described in Requested Party poll is corresponding, until the data processed result returned be stopping poll time successfully;When return data processed result be successfully time, data processing state corresponding for data processing request is changed to successfully by requesting party.The application provide revised data process state method can according to accurately, final data processed result carry out the revision of data processing state.

Description

Revised data processes the method and device of state
Technical field
The application relates to Internet data transmission technical field, particularly relates to a kind of revised data and processes state Method and device.
Background technology
Along with the development of Internet technology, Internet data transmission technology is utilized to carry out data interaction process Situation be applied in numerous areas, such as: e-commerce field.
Generally, Internet data transmission technology is utilized to carry out relating to the data of more than two sides or two sides During interaction process, first requesting party sends data processing request to Requested Party, and Requested Party receives this After data processing request, correspondingly can process this data processing request and result be returned to please The side of asking.
In actual data interaction processing procedure, owing to network communication failure or the network terminal are delayed the former of machine Cause, requesting party, after sending data processing request, still fails to receive Requested Party after exceeding the process limited The result sent.Such as, due to network communication failure, some data processing request are still trapped in gateway, Some data processing request fail to return requesting party in time the most in processes.Owing to requesting party can not obtain in time The data processed result that data processing request is corresponding, i.e. requesting party are different from the data processed result of Requested Party Step, causes requesting party data interaction cannot be had according to data processed result notice to deal with relationship with requesting party in time Other association carry out next step operation.
After above-mentioned situation occurs, generally this data processing request can be configured to unsuccessfully by requesting party, Requesting party can send the last number of data processing request, actually this data processing request again to Requested Party May be successful according to result.
To sum up, existing revised data process the method for state exist cannot according to accurately, final data Result carries out the revision of data processing state.
Summary of the invention
The embodiment of the present application provides a kind of revised data to process the method and device of state, in order to solve existing skill In art exist cannot according to accurately, final data processed result carry out the revision of data processing state.
A kind of revised data that the embodiment of the present application provides processes the method for state, including:
The data processed result of correspondence is not received in the first preset duration after sending data processing request Time, requesting party in the second preset duration at the data that data processing request described in Requested Party poll is corresponding Reason result, until the data processed result returned is stopping poll time successfully;
When the data processed result returned be successfully time, requesting party is by corresponding for data processing request data process State is changed to successfully.
A kind of revised data that the embodiment of the present application provides processes the method for state, including:
The data processed result of correspondence is not received in the first preset duration after sending data processing request Time, requesting party in the second preset duration at the data that data processing request described in Requested Party poll is corresponding Reason result;
When the data processed result returned in the second preset duration is failure or the unknown, described requesting party Data processing state corresponding for data processing request is changed to failure.
A kind of revised data that the embodiment of the present application provides processes the method for state, including:
The data processed result of correspondence is not received in the first preset duration after sending data processing request Time, requesting party in the second preset duration at the data that data processing request described in Requested Party poll is corresponding Reason result;
When not receiving the data processed result of return in the second preset duration, described requesting party is by data The data processing state processing request corresponding is changed to failure.
A kind of revised data that the embodiment of the present application provides processes the method for state, including:
The data processed result of correspondence is not received in the first preset duration after sending data processing request Time, ask the data processed result that data processing request described in the Requested Party poll of direction is corresponding;
When return data processed result be unsuccessfully or unknown time, described requesting party determines that current time is with described Whether the time migration between the data processing request transmission time is more than the second preset duration;
If described shift time is not more than the second preset duration, requesting party be spaced after the 3rd Preset Time again to The data processed result that Requested Party inquiry data processing request is corresponding;
If described shift time is more than the second preset duration, requesting party is by data corresponding for data processing request Reason state is changed to failure.
A kind of revised data that the embodiment of the present application provides processes the method for state, including:
It is informed in the first preset duration after sending data processing request the data process not receiving correspondence Result or when receiving uncertain data processed result, to process request right to processing end polling data for inquiry end The data processed result answered;
When return data processed result be unsuccessfully or unknown time, described inquiry end determines that current time is with described Whether the time migration between the data processing request transmission time is more than the second preset duration;
If shift time is not more than the second preset duration, again to process after the 3rd preset duration of inquiry end interval The data processed result that end inquiry data processing request is corresponding;
If shift time is more than the second preset duration, inquiry end sends and data processing state is changed to failure Instruction is to request end.
A kind of revised data that the embodiment of the present application provides processes the device of state, including:
Query unit, does not receives correspondence in the first preset duration after sending data processing request During data processed result, requesting party in the second preset duration to data processing request described in Requested Party poll Corresponding data processed result, until the data processed result returned is stopping poll time successfully;
Revision unit, is changed to data processing state corresponding for data processing request successfully for requesting party.
A kind of revised data that the embodiment of the present application provides processes the device of state, including:
Query unit, does not receives correspondence in the first preset duration after sending data processing request During data processed result, requesting party in the second preset duration to data processing request described in Requested Party poll Corresponding data processed result;
Revision unit, for being failure or the unknown when the data processed result returned in the second preset duration Time, data processing state corresponding for data processing request is changed to failure by described requesting party.
A kind of revised data that the embodiment of the present application provides processes the device of state, including:
Query unit, does not receives correspondence in the first preset duration after sending data processing request During data processed result, requesting party in the second preset duration to data processing request described in Requested Party poll Corresponding data processed result;
Revision unit, is used for when not receiving the data processed result of return in the second preset duration, institute State requesting party and data processing state corresponding for data processing request is changed to failure.
A kind of revised data that the embodiment of the present application provides processes the device of state, including:
First query unit, it is right not receive in the first preset duration after sending data processing request During the data processed result answered, at the data that data processing request described in the Requested Party poll of request direction is corresponding Reason result;
Determine unit, for when return data processed result be unsuccessfully or unknown time, described requesting party determines Current time and described data processing request send the time or the time between Requested Party query time is inclined Whether move more than the second preset duration;
Second query unit, if being not more than the second preset duration for described shift time, requesting party is spaced the Again to the data processed result that Requested Party inquiry data processing request is corresponding after three Preset Times;
First revision unit, if for described shift time more than the second preset duration, requesting party is by data The data processing state of reason request correspondence is changed to failure.
A kind of revised data that the embodiment of the present application provides processes the device of state, including:
First query unit, does not receives in being informed in the first preset duration after sending data processing request To corresponding data processed result or when receiving uncertain data processed result, inquiry end is to processing end wheel Ask the data processed result that data processing request is corresponding;
Determine unit, for when return data processed result be unsuccessfully or unknown time, described inquiry end determines When whether the time migration between current time and described data processing request transmission time is preset more than second Long;
Second query unit, if being not more than the second preset duration for shift time, inquiry end interval the 3rd is pre- If again to processing the data processed result that end inquiry data processing request is corresponding after duration;
First revision instruction sending unit, if sending more than the second preset duration, inquiry end for shift time Data processing state is changed to the instruction of failure to request end.
At least one technical scheme above-mentioned that the embodiment of the present application uses can reach following beneficial effect: due to Data processing request side is by, actively by the way of data process Requested Party polling data result, asking Just can obtain the data processed result in different phase that the data processing request of Requested Party return is corresponding. Therefore, when shift time is not more than the second preset duration, and the data processed result that requesting party obtains is for becoming During merit, requesting party just can directly carry out the revision of data processing state.For being not more than at shift time During two preset duration return failure or the data processed result of the unknown, requesting party the most immediately according to failure or Data processing state is revised as failure by unknown data processed result, until shift time is pre-more than second If duration.The embodiment of the present application is by obtaining in time migration and the comparison of preset duration and polling procedure To the type of data processed result farthest ensure the data processed result accurately that obtains or Whole data processed result so that when revised data processes state can according to data processed result accurately or Final data processed result is carried out.
To sum up, the revised data that the embodiment of the present application provides processes the method and device of state can be according to accurately , final data processed result carry out the revision of data processing state.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes of the application Point, the schematic description and description of the application is used for explaining the application, is not intended that to the application not Work as restriction.In the accompanying drawings:
Fig. 1 processes the process schematic of the method for state for the revised data that the application first embodiment provides;
Fig. 2 processes the process schematic of the method for state for the revised data that the application the second embodiment provides;
Fig. 3 processes the procedure schematic diagram of state for the revised data that the application the 3rd embodiment provides;
Fig. 4 processes the process schematic of the method for state for the revised data that the application the 4th embodiment provides;
Fig. 5 processes the process schematic of the method for state for the revised data that the application the 5th embodiment provides;
Fig. 6 processes the structural representation of the device of state for a kind of revised data that the embodiment of the present application provides;
Fig. 7 processes the structural representation of the device of state for the another kind of revised data that the embodiment of the present application provides Figure;
Fig. 8 processes the structural representation of the device of state for the another kind of revised data that the embodiment of the present application provides Figure;
Fig. 9 processes each participation of state for the revised data under paying application scenarios that the embodiment of the present application provides The schematic diagram of side;
The method that revised data processes state under paying application scenarios that Figure 10 provides for the embodiment of the present application Sequential chart.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, specifically real below in conjunction with the application Execute example and technical scheme is clearly and completely described by corresponding accompanying drawing.Obviously, described Embodiment is only some embodiments of the present application rather than whole embodiments.Based on the enforcement in the application Example, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of the application protection.
The method that a kind of revised data that Fig. 1 provides for the application first embodiment processes state, including following Step:
S10: the data not receiving correspondence in the first preset duration after sending data processing request process Result or when receiving uncertain data processed result, requesting party in the second preset duration to Requested Party The data processed result that data processing request described in poll is corresponding, until the data processed result returned is successfully Time stop poll.
S12: when return data processed result be successfully time, requesting party is by number corresponding for data processing request It is changed to successfully according to process state.
Specifically, when return data result be successfully time, that the data processed result of this return determines that, Final, therefore, requesting party in the second preset duration to data processing request pair described in Requested Party poll The action of the data processed result answered can stop and carrying out the operation of other step.
Specifically, in polling procedure, requesting party in the second preset duration every the 3rd preset duration to quilt Requesting party inquires about the data processed result that described data processing request is corresponding, when the 3rd setting duration is less than second Long.
Specifically, the time to count point of the first preset duration and described second duration is requesting party and sends data Process the time point of request.
Specifically, uncertain data processed result includes Network Abnormal, background communication failure.
Specifically, described second preset duration is a relatively reasonable duration, the setting of the second preset duration Be the data processed result returned according to Requested Party largely upper for final data result wanted through The duration crossed.
In the application first embodiment, due to polling data result in the second preset duration so that Requesting party can obtain the different types of data processed result of the appearance in the second preset duration, works as acquisition Successfully during data processed result, requesting party can be by data processing state revision corresponding for data processing request For success.That determine that due to successful data processed result, final, therefore requesting party can directly by Data processing state corresponding to data processing request is changed to successfully.
In the application first embodiment, in the application scenarios paid by mails, data processing request can be to prop up Paying request, data processed result can be payment result, and requesting party can be Third-party payment platform, is asked Ask and can think banking system, with reference to Fig. 9 and Figure 10.Existing Third-party payment platform can be most in signatories to a treaty Bank, provide the user the function of payment gateway.Payment gateway (Payment Gateway) is bank's gold Melt the interface between network system and the Internet (Internet) network, be by bank operations by Internet The data of upper transmission are converted to one group of server apparatus of financial institution's internal data.
Specifically, Third-party payment platform includes payment system, and it is for receiving the payment request of payer, And payment request is sent to banking system.Payer is the user of Third-party payment platform, is also at electronics Business web site carries out the user done shopping.After user selectes commodity generation order, trigger and directly redirect after paying To Third-party payment platform, after user inputs payment cipher, payment request can be sent to Third-party payment and put down Platform.
General in the default time, in the i.e. first preset duration, Requested Party can return data processing request pair The data processed result answered, i.e. banking system can return the payment result that the request of payment is corresponding.But due to net Network communication or the network terminal are delayed the reason of machine, and banking system fails in the first preset duration (such as 30 seconds) The payment result returning payment result or return is uncertain result, as Network Abnormal, Background communication lose Lose.Above-mentioned phenomenon be pay request process occurs single phenomenon.
It should be noted that Third-party payment platform also includes inquiry system, when knowing that payment system does not receives To banking system for paying the payment result made of request after, inquiry system can the second preset duration to Banking system poll pays the payment result that request is corresponding.Such as, when the second preset duration is 20 minutes, Inquiry system paid, to banking system inquiry, the payment result that request is corresponding every 1 minute.
In order to ensure to obtain the ageing of payment result, inquiry system can be immediately or (several seconds very short time In) the interior payment result corresponding to banking system inquiry payment request.
Pay by mails in application scenarios, when the payment result returned be successfully time, payment system is by payment request Corresponding pay status is changed to successfully.
The method that a kind of revised data that Fig. 2 provides for the application the second embodiment processes state, including following Step:
S20: the data not receiving correspondence in the first preset duration after sending data processing request process Result or when receiving uncertain data processed result, requesting party in the second preset duration to Requested Party The data processed result that data processing request described in poll is corresponding;
S22: when the data processed result returned in the second preset duration is failure or the unknown, described Data processing state corresponding for data processing request is changed to failure by requesting party.
Specifically, the time to count point of the first preset duration and described second duration is requesting party and sends data Process the time point of request.
Specifically, described requesting party in the second preset duration to data processing request described in Requested Party poll Corresponding data processed result, including:
Described requesting party inquires about described number every the 3rd preset duration to Requested Party in the second preset duration The data processed result corresponding according to processing request.
Specifically, the data processed result of described the unknown is not for inquire described data processing request.
Specifically, described uncertain data processed result includes Network Abnormal, background communication failure.
Specifically, described requesting party is Third-party payment platform, and described Requested Party is banking system, described Data processing request is for paying request, and described data processed result is payment result.
Pay by mails in application scenarios, when the payment result returned in the second preset duration is failure or not When knowing, the pay status paying request corresponding is changed to failure by described Third-party payment platform.
Specifically, described second preset duration is a relatively reasonable duration, the setting of the second preset duration Be the data processed result returned according to Requested Party largely upper for final data result wanted through The duration crossed.
In the application the second embodiment, due to polling data result in the second preset duration, when When the data processed result returned in second preset duration is failure or the unknown, request just now can be by data The data processing state processing request corresponding is changed to failure.Due to, when occurring one in the second preset duration During secondary failed or unknown result, the data processed result of the type is not likely to be accurately, final, when The data processed result returned in second preset duration be failure or unknown time, to a certain extent it may be said that Final data result corresponding to this data processing request bright is probably failure.Therefore, in order to ensure to obtain The accuracy of data processed result and lastness, data processing state is not directly changed to lose by requesting party Lose, but when the data processed result that the second preset duration returns is failure or the unknown, just carry out data The revision of process state.The setting of the second preset duration be according to Requested Party return data processed result relatively It it is the duration of final data result process in big degree.
The method that a kind of revised data that Fig. 3 provides for the application the 3rd embodiment processes state, including following Step:
S30: the data not receiving correspondence in the first preset duration after sending data processing request process During result, requesting party in the second preset duration to the number that data processing request described in Requested Party poll is corresponding According to result;
S32: when not receiving the data processed result of return in the second preset duration, described requesting party Data processing state corresponding for data processing request is changed to failure.
In the application the 3rd embodiment, due to requesting party's polling data result in the second preset duration During do not receive the data processed result of return yet, requesting party can be by number corresponding for data processing request It is changed to failure according to process state.The number that request is corresponding is processed by the polling data in the second preset duration According to result, if being still the data processed result receiving return, it is possible to be substantially achieved at these data The data processed result of reason request correspondence is unsuccessfully.
The method that a kind of revised data that Fig. 4 provides for the application the 4th embodiment processes state, including following Step:
S40: the data not receiving correspondence in the first preset duration after sending data processing request process During result, the data processed result that data processing request described in the Requested Party poll of request direction is corresponding;
S42: when return data processed result be unsuccessfully or unknown time, described requesting party determines current time And whether the time migration between the described data processing request transmission time is more than the second preset duration;
S44: if described shift time is not more than the second preset duration, after requesting party is spaced the 3rd Preset Time Again to the data processed result that Requested Party inquiry data processing request is corresponding;
S46: if described shift time is more than the second preset duration, requesting party is corresponding by data processing request Data processing state is changed to failure;
S48: when return data processed result be successfully time, requesting party is by number corresponding for data processing request It is changed to successfully according to process state;
S49: when the data processed result returned is definite semantic failed, data are processed by requesting party please The data processing state asking corresponding is changed to failure.
Specifically, the data processed result of described the unknown is not inquire described data processing request.
Specifically, when receiving uncertain data processed result in presetting the first duration, request direction quilt Requesting party's polling data processes the data processed result that request is corresponding, described uncertain data processed result bag Include Network Abnormal, background communication failure.
Specifically, described requesting party is Third-party payment platform, and described Requested Party is banking system, described Data processing request is for paying request, and described data processed result is payment result.
Paying by mails in application scenarios, when payment result is failed or unknown, and shift time is not more than default Duration, Third-party payment platform inquires about payment result to banking system again.
Specifically, the failure of described definite semantic includes: code error, Sorry, your ticket has not enough value.
Specifically, described current time is that requesting party receives the data processed result returned by Requested Party Time.
Specifically, described second preset duration is a relatively reasonable duration, the setting of the second preset duration Be the data processed result returned according to Requested Party largely upper for final data result wanted through The duration crossed.
In the application the 4th embodiment, the type of the data processed result obtained by poll and shift time Obtain with the relation between the second preset duration data processing request corresponding accurately or final data Result, and according to accurately or final data processed result carries out the revision of data processing state.
The method that a kind of revised data that Fig. 5 provides for the application the 5th embodiment processes state, including following Step:
S50: be informed in the first preset duration after sending data processing request the data not receiving correspondence Result or when receiving uncertain data processed result, inquiry end to process that end polling data processes please Seek corresponding data processed result;
S52: when return data processed result be unsuccessfully or unknown time, described inquiry end determines current time And whether the time migration between the described data processing request transmission time is more than the second preset duration;
S54: if shift time is not more than the second preset duration, after the 3rd preset duration of inquiry end interval again To processing the data processed result that end inquiry data processing request is corresponding;
S56: if shift time sends be changed to by data processing state more than the second preset duration, inquiry end Failed instruction is to request end.
S58: when return data processed result be successfully time, inquiry end transmission by data processing state revision For successfully instruction to request end.
S59: when the data processed result returned is definite semantic failed, inquiry end sends at data Reason state is changed to the instruction of failure to request end.
Specifically, the data processed result of described the unknown is not inquire described data processing request.
Specifically, described uncertain data processed result includes Network Abnormal, background communication failure.
Specifically, described requesting party is Third-party payment platform, and described Requested Party is banking system, described Data processing request is for paying request, and described data processed result is payment result.
Paying by mails in application scenarios, inquiry end is inquiry system, and process end is banking system, and request end is Payment system.When payment result is failed or unknown, and shift time is more than preset duration, Third-party payment The pay status paying request corresponding is revised as paying unsuccessfully by the payment system in platform.
Specifically, the failure of described definite semantic includes: code error, Sorry, your ticket has not enough value.
Specifically, described current time is that requesting party receives the data processed result returned by Requested Party Time.
Specifically, described second preset duration is a relatively reasonable duration, the setting of the second preset duration Be the data processed result returned according to Requested Party largely upper for final data result wanted through The duration crossed.
In the application the 5th embodiment, the type of the data processed result obtained by poll and shift time Obtain with the relation between the second preset duration data processing request corresponding accurately or final data Result, and according to accurately or final data processed result carries out the revision of data processing state.
The method that a kind of revised data provided for the embodiment of the present application above processes state, based on same think of Road, the embodiment of the present application provides revised data and processes the device of state.
Fig. 6 is the device of a kind of revised data process state of the application, including:
Query unit 101, it is right not receive in the first preset duration after sending data processing request During the data processed result answered, requesting party processes to data described in Requested Party poll in the second preset duration The data processed result that request is corresponding, until the data processed result returned is stopping poll time successfully;
Or in the first preset duration after sending data processing request, do not receive the data of correspondence During result, requesting party is corresponding to data processing request described in Requested Party poll in the second preset duration Data processed result;
Or in the first preset duration after sending data processing request, do not receive the data of correspondence During result, requesting party is corresponding to data processing request described in Requested Party poll in the second preset duration Data processed result.
Revision unit 102, is changed to into data processing state corresponding for data processing request for requesting party Merit;
Or during for being failure or the unknown when the data processed result returned in the second preset duration, institute State requesting party and data processing state corresponding for data processing request is changed to failure;
Or it is used for when not receiving the data processed result of return in the second preset duration, described request Data processing state corresponding for data processing request is changed to failure by side.
Fig. 7 processes the device of state for the another kind of revised data that the application provides, including:
First query unit 201, does not receives in the first preset duration after sending data processing request When arriving corresponding data processed result, the number that data processing request described in the Requested Party poll of request direction is corresponding According to result;
Determine unit 202, for when return data processed result be unsuccessfully or unknown time, described requesting party Determine current time and described data processing request send the time or between Requested Party query time time Between offset whether more than the second preset duration;
Second query unit 203, if being not more than the second preset duration, between requesting party for described shift time Again to the data processed result that Requested Party inquiry data processing request is corresponding after the 3rd Preset Time;
First revision unit 204, if for described shift time more than the second preset duration, requesting party is by number It is changed to failure according to the data processing state processing request corresponding.
Described device also includes: the second revision unit 205, is successfully for working as the data processed result returned Time, data processing state corresponding for data processing request is changed to successfully by requesting party.
Fig. 8 processes the device of state for the another kind of revised data that the application provides, including:
First query unit 301, in being informed in the first preset duration after sending data processing request not When receiving the data processed result of correspondence or receive uncertain data processed result, inquiry end is to process End polling data processes the data processed result that request is corresponding;
Determine unit 302, for when return data processed result be unsuccessfully or unknown time, described inquiry end Determine that the time migration between current time and described data processing request transmission time is the most pre-more than second If duration;
Second query unit 303, if being not more than the second preset duration for shift time, inquiry end interval the Again to processing the data processed result that end inquiry data processing request is corresponding after three preset duration;
First revision instruction sending unit 304, if for shift time more than the second preset duration, inquires about end Send and data processing state is changed to the instruction of failure to request end.
Described device also includes: the second revision instruction sending unit 305, for processing knot when the data returned Fruit be successfully time, inquire about end transmission be changed to successfully instruct to request end by data processing state.
Above technical scheme based on the embodiment of the present application, it is possible to reach following beneficial effect: at data Reason requesting party is by actively by the way of data process Requested Party polling data result, and requesting party is permissible Obtain the data processed result in different phase that the data processing request of Requested Party return is corresponding.Therefore, When shift time is not more than the second preset duration, and requesting party obtain data processed result be successfully time, Requesting party just can directly carry out the revision of data processing state.Preset for being not more than second at shift time The failure returned during duration or the data processed result of the unknown, requesting party is the most immediately according to failed or unknown Data processing state is revised as failure by data processed result, during until shift time is preset more than second Long.The embodiment of the present application is by obtaining in time migration and the comparison of preset duration and polling procedure The type of data processed result farthest ensures the data processed result accurately or final obtained Data processed result so that can be according to data processed result accurately or final during revised data process state Data processed result carry out.
The revised data that the embodiment of the present application provides processes the concrete application scenarios bag of the method and device of state Include but be not limited to pay scene, also include other business scenarios on Third-party payment platform, such as withdraw deposit, fill Move back, refund etc..
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory, CD-ROM, optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/defeated Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM). Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-can be by appointing Where method or technology realize information storage.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated The information that equipment accesses.According to defining herein, computer-readable medium does not include temporary computer-readable matchmaker Body (transitory media), such as data signal and the carrier wave of modulation.
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to non-row Comprising, so that include that the process of a series of key element, method, commodity or equipment not only include of his property Those key elements, but also include other key elements being not expressly set out, or also include for this process, The key element that method, commodity or equipment are intrinsic.In the case of there is no more restriction, statement " include One ... " key element that limits, it is not excluded that including the process of described key element, method, commodity or setting Other identical element is there is also in Bei.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software and The form of the embodiment of hardware aspect.And, the application can use and wherein include calculating one or more The computer-usable storage medium of machine usable program code (include but not limited to disk memory, CD-ROM, Optical memory etc.) form of the upper computer program implemented.
The foregoing is only embodiments herein, be not limited to the application.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvement etc. made, within the scope of should be included in claims hereof.

Claims (29)

1. the method that a revised data processes state, it is characterised in that including:
The data processed result of correspondence is not received in the first preset duration after sending data processing request Time, requesting party in the second preset duration at the data that data processing request described in Requested Party poll is corresponding Reason result, until the data processed result returned is stopping poll time successfully;
When the data processed result returned be successfully time, requesting party is by corresponding for data processing request data process State is changed to successfully.
2. according to the method that claim 1 is described, it is characterised in that described requesting party presets second To the data processed result that data processing request described in Requested Party poll is corresponding in duration, including:
Described requesting party inquires about described number every the 3rd preset duration to Requested Party in the second preset duration The data processed result corresponding according to processing request.
3. according to the method that claim 1 is described, it is characterised in that described first preset duration and institute The time to count point stating the second duration is the time point sending data processing request.
4. according to the method that claim 1 is described, it is characterised in that after sending data processing request The first preset duration in when receiving uncertain data processed result, request direction Requested Party inquiry number The data processed result corresponding according to processing request, described uncertain data processed result includes Network Abnormal, Background communication failure.
5. according to the method that claim 1 is described, it is characterised in that described requesting party props up for third party Paying platform, described Requested Party is banking system, and described data processing request is for paying request, described data Result is payment result.
6. the method that a revised data processes state, it is characterised in that including:
The data processed result of correspondence is not received in the first preset duration after sending data processing request Time, requesting party in the second preset duration at the data that data processing request described in Requested Party poll is corresponding Reason result;
When the data processed result returned in the second preset duration is failure or the unknown, described requesting party Data processing state corresponding for data processing request is changed to failure.
7. according to the method that claim 6 is described, it is characterised in that described requesting party presets second To the data processed result that data processing request described in Requested Party poll is corresponding in duration, including:
Described requesting party inquires about described number every the 3rd preset duration to Requested Party in the second preset duration The data processed result corresponding according to processing request.
8. according to the method that claim 6 is described, it is characterised in that the data of described the unknown process knot Fruit is not for inquire described data processing request.
9. according to the method that claim 6 is described, it is characterised in that after sending data processing request The first preset duration in when receiving uncertain data processed result, request direction Requested Party inquiry number The data processed result corresponding according to processing request, described uncertain data processed result includes Network Abnormal, Background communication failure.
10. according to the method that claim 6 is described, it is characterised in that described requesting party props up for third party Paying platform, described Requested Party is banking system, and described data processing request is for paying request, described data Result is payment result.
The method that 11. 1 kinds of revised data process state, it is characterised in that including:
The data processed result of correspondence is not received in the first preset duration after sending data processing request Time, requesting party in the second preset duration at the data that data processing request described in Requested Party poll is corresponding Reason result;
When not receiving the data processed result of return in the second preset duration, described requesting party is by data The data processing state processing request corresponding is changed to failure.
The method that 12. 1 kinds of revised data process state, it is characterised in that including:
The data processed result of correspondence is not received in the first preset duration after sending data processing request Time, ask the data processed result that data processing request described in the Requested Party poll of direction is corresponding;
When return data processed result be unsuccessfully or unknown time, described requesting party determines that current time is with described Whether the time migration between the data processing request transmission time is more than the second preset duration;
If described shift time is not more than the second preset duration, requesting party be spaced after the 3rd Preset Time again to The data processed result that Requested Party inquiry data processing request is corresponding;
If described shift time is more than the second preset duration, requesting party is by data corresponding for data processing request Reason state is changed to failure.
13. methods according to claim 12, it is characterised in that at request direction Requested Party wheel After asking the data processed result that described data processing request is corresponding, when the data processed result returned is successfully Time, data processing state corresponding for data processing request is changed to successfully by requesting party.
14. methods according to claim 12, it is characterised in that the data of described the unknown process knot Fruit is not inquire described data processing request.
15. methods according to claim 12, it is characterised in that receive in presetting the first duration During to uncertain data processed result, request direction Requested Party polling data processes the data that request is corresponding Result, described uncertain data processed result includes Network Abnormal, background communication failure.
16. methods according to claim 12, it is characterised in that at request direction Requested Party wheel After asking the data processed result that described data processing request is corresponding, when the data processed result returned is semantic bright True failed time, data processing state corresponding for data processing request is changed to failure by requesting party.
17. according to the method described in any one in claim 12 to 16, it is characterised in that institute Stating requesting party is Third-party payment platform, and described Requested Party is banking system, and described data processing request is Paying request, described data processed result is payment result.
18. methods according to claim 17, it is characterised in that the failed bag of described definite semantic Include: code error, Sorry, your ticket has not enough value.
The method that 19. 1 kinds of revised data process state, it is characterised in that including:
It is informed in the first preset duration after sending data processing request the data process not receiving correspondence Result or when receiving uncertain data processed result, to process request right to processing end polling data for inquiry end The data processed result answered;
When return data processed result be unsuccessfully or unknown time, described inquiry end determines that current time is with described Whether the time migration between the data processing request transmission time is more than the second preset duration;
If shift time is not more than the second preset duration, again to process after the 3rd preset duration of inquiry end interval The data processed result that end inquiry data processing request is corresponding;
If shift time is more than the second preset duration, inquiry end sends and data processing state is changed to failure Instruction is to request end.
20. methods according to claim 19, it is characterised in that at inquiry end to processing end inquiry After the data processed result that data processing request is corresponding, when return data processed result be successfully time, inquire about End sends and is changed to successfully instruct to request end by data processing state.
21. methods according to claim 19, it is characterised in that the data of described the unknown process knot Fruit is not inquire described data processing request.
22. methods according to claim 19, it is characterised in that described uncertain data process Result includes Network Abnormal, background communication failure.
23. 1 kinds of revised data process the device of state, it is characterised in that including:
Query unit, does not receives correspondence in the first preset duration after sending data processing request During data processed result, requesting party in the second preset duration to data processing request described in Requested Party poll Corresponding data processed result, until the data processed result returned is stopping poll time successfully;
Revision unit, is changed to data processing state corresponding for data processing request successfully for requesting party.
24. 1 kinds of revised data process the device of state, it is characterised in that including:
Query unit, does not receives correspondence in the first preset duration after sending data processing request During data processed result, requesting party in the second preset duration to data processing request described in Requested Party poll Corresponding data processed result;
Revision unit, for being failure or the unknown when the data processed result returned in the second preset duration Time, data processing state corresponding for data processing request is changed to failure by described requesting party.
25. 1 kinds of revised data process the device of state, it is characterised in that including:
Query unit, does not receives correspondence in the first preset duration after sending data processing request During data processed result, requesting party in the second preset duration to data processing request described in Requested Party poll Corresponding data processed result;
Revision unit, is used for when not receiving the data processed result of return in the second preset duration, institute State requesting party and data processing state corresponding for data processing request is changed to failure.
26. 1 kinds of revised data process the device of state, it is characterised in that including:
First query unit, it is right not receive in the first preset duration after sending data processing request During the data processed result answered, at the data that data processing request described in the Requested Party poll of request direction is corresponding Reason result;
Determine unit, for when return data processed result be unsuccessfully or unknown time, described requesting party determines Current time and described data processing request send the time or the time between Requested Party query time is inclined Whether move more than the second preset duration;
Second query unit, if being not more than the second preset duration for described shift time, requesting party is spaced the Again to the data processed result that Requested Party inquiry data processing request is corresponding after three Preset Times;
First revision unit, if for described shift time more than the second preset duration, requesting party is by data The data processing state of reason request correspondence is changed to failure.
27. devices according to claim 26, it is characterised in that described device also includes: second Revision unit, at the data that data processing request described in the Requested Party poll of described request direction is corresponding Reason result after, when return data processed result be successfully time, requesting party is by number corresponding for data processing request It is changed to successfully according to process state.
28. 1 kinds of revised data process the device of state, it is characterised in that including:
First query unit, does not receives in being informed in the first preset duration after sending data processing request To corresponding data processed result or when receiving uncertain data processed result, inquiry end is to processing end wheel Ask the data processed result that data processing request is corresponding;
Determine unit, for when return data processed result be unsuccessfully or unknown time, described inquiry end determines When whether the time migration between current time and described data processing request transmission time is preset more than second Long;
Second query unit, if being not more than the second preset duration for shift time, inquiry end interval the 3rd is pre- If again to processing the data processed result that end inquiry data processing request is corresponding after duration;
First revision instruction sending unit, if sending more than the second preset duration, inquiry end for shift time Data processing state is changed to the instruction of failure to request end.
29. devices according to claim 28, it is characterised in that described device also includes: second Revision instruction sending unit, for processing to the data processing the process request of end polling data corresponding at inquiry end After result, when return data processed result be successfully time, inquire about end transmission data processing state is changed to Successfully instruction is to request end.
CN201510203176.1A 2015-04-24 2015-04-24 Revised data processes the method and device of state Pending CN106156233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510203176.1A CN106156233A (en) 2015-04-24 2015-04-24 Revised data processes the method and device of state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510203176.1A CN106156233A (en) 2015-04-24 2015-04-24 Revised data processes the method and device of state

Publications (1)

Publication Number Publication Date
CN106156233A true CN106156233A (en) 2016-11-23

Family

ID=57346454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510203176.1A Pending CN106156233A (en) 2015-04-24 2015-04-24 Revised data processes the method and device of state

Country Status (1)

Country Link
CN (1) CN106156233A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392722A (en) * 2017-07-27 2017-11-24 福建中金在线信息科技有限公司 Order processing method, apparatus, electronic equipment and storage medium
CN109255704A (en) * 2018-08-14 2019-01-22 阿里巴巴集团控股有限公司 Information processing method, device, server and computer readable storage medium
CN109299117A (en) * 2017-07-25 2019-02-01 北京国双科技有限公司 The treating method and apparatus of request of data, storage medium, processor
CN109727010A (en) * 2018-05-14 2019-05-07 网联清算有限公司 Service inquiry method, apparatus, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103597465A (en) * 2011-06-15 2014-02-19 微软公司 Efficient state reconciliation
CN103618590A (en) * 2013-11-20 2014-03-05 北京先进数通信息技术股份公司 Overtime control method and device of business processing process
CN103903126A (en) * 2012-12-26 2014-07-02 中国移动通信集团江苏有限公司 Method of funds quickly to account, system, telecommunication system, and third party payment system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103597465A (en) * 2011-06-15 2014-02-19 微软公司 Efficient state reconciliation
CN103903126A (en) * 2012-12-26 2014-07-02 中国移动通信集团江苏有限公司 Method of funds quickly to account, system, telecommunication system, and third party payment system
CN103618590A (en) * 2013-11-20 2014-03-05 北京先进数通信息技术股份公司 Overtime control method and device of business processing process

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299117A (en) * 2017-07-25 2019-02-01 北京国双科技有限公司 The treating method and apparatus of request of data, storage medium, processor
CN107392722A (en) * 2017-07-27 2017-11-24 福建中金在线信息科技有限公司 Order processing method, apparatus, electronic equipment and storage medium
CN107392722B (en) * 2017-07-27 2020-10-20 福建中金在线信息科技有限公司 Order processing method and device, electronic equipment and storage medium
CN109727010A (en) * 2018-05-14 2019-05-07 网联清算有限公司 Service inquiry method, apparatus, computer equipment and storage medium
CN109255704A (en) * 2018-08-14 2019-01-22 阿里巴巴集团控股有限公司 Information processing method, device, server and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109583857B (en) Method, system, device and storage medium for processing public offer task
CN105099688B (en) A kind of operating method of electronic account, the methods of exhibiting and device for paying the page
US11410166B2 (en) Systems and methods for automated decentralized multilateral transaction processing
CN104169952B (en) A kind of method of network payment, apparatus and system
CN109905875A (en) A kind of means of communication and device based on virtual-number
CN104348792A (en) Data processing method, device and system
CN106156233A (en) Revised data processes the method and device of state
CN109389383A (en) Payment processing method, device, server and the storage medium of service request
CN110276184A (en) A kind of cloud computing resources authorization method and device
CN109377236A (en) A kind of risk control method, equipment and storage medium based on fusing mechanism
CN107067240A (en) Resource allocation method and device and electric paying method
CN107276970A (en) One kind is unbinded, binding method and device
CN110020846A (en) A kind of transferred account service processing method and system
CN106484603A (en) A kind of service test method and device
CN113365239B (en) Charging method, device and system
US10708384B2 (en) Data processing method and system
CN106612263B (en) Method and equipment for processing application access request
CN106034148B (en) Rapid information interaction method, local server, remote server and system
CN110417888A (en) Flow control methods, volume control device and electronic equipment
CN105988949B (en) The method and system that terminal device, data interaction are handled
EP2472775B1 (en) A method, device and computer program product for controlling use of electronic communication services
US20230050176A1 (en) Method of processing a transaction request
US20140351084A1 (en) Registration process
CN113450085B (en) Service processing method, system, storage medium and electronic equipment
CN108230097A (en) A kind of commission source tracing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161123

RJ01 Rejection of invention patent application after publication