CN109495452A - Response timeout processing method, server and client end response timeout treatment system - Google Patents

Response timeout processing method, server and client end response timeout treatment system Download PDF

Info

Publication number
CN109495452A
CN109495452A CN201811245297.2A CN201811245297A CN109495452A CN 109495452 A CN109495452 A CN 109495452A CN 201811245297 A CN201811245297 A CN 201811245297A CN 109495452 A CN109495452 A CN 109495452A
Authority
CN
China
Prior art keywords
service request
progress
server
client
character
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
CN201811245297.2A
Other languages
Chinese (zh)
Other versions
CN109495452B (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.)
Suningcom Group Co Ltd
Original Assignee
Suningcom Group 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 Suningcom Group Co Ltd filed Critical Suningcom Group Co Ltd
Priority to CN201811245297.2A priority Critical patent/CN109495452B/en
Publication of CN109495452A publication Critical patent/CN109495452A/en
Priority to PCT/CN2019/106515 priority patent/WO2020082942A1/en
Priority to CA3158476A priority patent/CA3158476C/en
Application granted granted Critical
Publication of CN109495452B publication Critical patent/CN109495452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)
  • Retry When Errors Occur (AREA)

Abstract

The present invention discloses a kind of response timeout processing method, server and client end response timeout treatment system, can in time, efficiently, accurately the processing of starting rollback mechanism it is abnormal, improve user experience.This method comprises: server receives the service request that client is sent, while progress is set in the treatment progress of service request and identifies character;Server requests receipt to client feedback, and when requesting receipt is response timeout, identifies character by inquiry progress and judges whether current service request is completed;If current service request processing is completed, rolling back action is executed to service request, if current service request processing does not complete, changes progress mark character;After the treatment progress of service request is finished, whether inspection progress mark character is changed, and being when inspection result is then to execute rolling back action to service request, while deleting progress mark character, when inspection result is otherwise directly to delete progress to identify character.

Description

Response timeout processing method, server and client end response timeout treatment system
Technical field
The present invention relates to computer application technology more particularly to a kind of response timeout processing methods, server and visitor Family end response timeout processing system.
Background technique
In client-server system, client reliance server provides required service, and system normally interacts When, as shown in Fig. 2, user end to server sends request A, server makes an immediate response after receiving request A and ties processing Fruit receipt, when system is influenced by factors such as network delays or network interruption, is serviced to client, but in practical application scene Device, which may postpone to receive not receive perhaps, requests the corresponding server of A that can be delayed corresponding or not respond, at this point, due to Client does not receive the processing result receipt of server within a preset time, and client can voluntarily start fusing mechanism, prompts to use Family time-out is abnormal, while carrying out rolling back action in time for request A, so that user can initiate weight to request A in the client Operation is completed in examination.
For the prior art when overtime anomalous event occurs, server generally takes artificial exclusion or automatic rollback mechanism Processing is abnormal, due to manually excluding to take a long time and accuracy is bad, affects the usage experience of user, therefore be not suitable for big face Product is promoted, and for automatic rollback mechanism, although having the characteristics that efficient timely, server can not supervise processing result Identification is surveyed, i.e., can not judge that processing result is to handle or completion processing, since the processing result that is handling can not be into Row rolling back action, if server is insisted on rollback, it will and cause system to report an error.
Summary of the invention
The purpose of the present invention is to provide a kind of response timeout processing method, server and client end response timeout treatment systems System can timely, efficiently, accurately start rollback mechanism processing exception, improve user experience.
To achieve the goals above, an aspect of of the present present invention provides a kind of response timeout processing method, comprising:
Step S1, server receives the service request that client is sent, while being arranged in the treatment progress of service request Progress identifies character;
Step S2, server request receipt to client feedback, and when requesting receipt is response timeout, by inquiring institute It states progress mark character and judges whether current service request is completed;
Step S3 executes rolling back action to the service request, if current industry if current service request processing is completed Business request processing does not complete, then changes the progress mark character;
Step S4 checks whether the progress mark character becomes after the treatment progress of service request is finished More, when inspection result be rolling back action then to be executed to the service request, while deleting progress mark character, work as inspection As a result character is identified otherwise directly to delete the progress;
Step S5, return step S1 send service request to server again by client, until asking in step S2 Until asking receipt response to have not timed out.
Preferably, in step sl, the method that progress identifies character is set in the treatment progress of service request are as follows:
In service request treatment progress, by redis cache in setnx method be arranged progress identify character.
Preferably, in step s 2, server requests receipt to client feedback, and is response timeout in request receipt When, include: by inquiring the method that the progress mark character judges whether current service request is completed
Identifier of the server based on current service request inquires the progress identifier word in current service request treatment progress Symbol;
If currently processed process is not finished and query result exists, exports current service request processing and do not complete, otherwise Output current service request processing is completed.
Optionally, the progress mark character is state value.
Optionally, the service request is non-idempotent service request.
Illustratively, the identifier of the service request is business serial number or service order number.
Compared with prior art, response timeout processing method provided by the invention has the advantages that
In response timeout processing method provided by the invention, server receive client transmission service request after, Progress is set first in the treatment progress of service request and identifies character, to pass through identification progress identifier word in down-stream Symbol is to judge whether current service request handles completion, and detailed process is as follows, when client does not receive service within a preset time The request receipt of device feedback, then it is assumed that the request receipt response timeout can be reported an error at this time by client to user and from trend Server sends call instruction, enables the server to inquire the progress mark being previously arranged in service request according to call instruction Character learning symbol, and judge whether current service request is completed based on progress mark character, if judging result is current service request Processing is completed, then directly can execute rolling back action to completed service request, if current service request processing does not complete, Temporarily rolling back action is not executed to the service request, operation only is changed to above-mentioned progress mark character, until above-mentioned business After request treatment progress is finished, identify whether character changes by verification progress, when result, which is, is, then explanation should Service request was previously not carried out rolling back action, at this time only need to the service request execute rolling back action, while delete into Scale character learning symbol, when result be it is no when, then illustrate that the service request had previously executed rolling back action, need to only delete at this time this into Scale character learning symbol can be without repeating to execute rolling back action to the service request, and end user is by client again to service Device sends service request, executes aforesaid operations until the request receipt response of user has not timed out.
As it can be seen that the present invention identifies character by the way that progress is arranged in the treatment progress of service request, and identified based on progress Character judges the processing progress of current service request, and to realize, when current service request processing is completed, server can be held automatically Row rolling back action, and in the untreated completion of current service request, current service request is not held first in order to avoid system reports an error Row rolling back action is only taken to the measure that changes of progress mark character, make its after treatment progress is finished according into The change verification result selectivity of scale character learning symbol carries out rolling back action to the service request for being not carried out rolling back action, thus Effectively avoid service request is carried out the defect that rolling back action bring system reports an error before treatment progress terminates, and ensure that Rolling back action starts the accuracy on opportunity and the stability of system;In addition, being compared in the prior art by manually solving The treatment mechanism of response timeout is also had the characteristics that fast and efficiently using timeout treatment method provided by the invention.
Another aspect of the present invention provides a kind of server response timeout processing system, is applied to described in above-mentioned technical proposal Response timeout processing method in, the system comprises:
Server setting unit, server receive client send service request, for the processing in service request into Progress is set in journey and identifies character;
Server judging unit, server requests receipt to client feedback, and is judging to request receipt for response timeout When, judge whether current service request is completed by inquiring the progress mark character;
Server execution unit, for being completed if current service request is handled, to the business according to judging result Request executes rolling back action, if current service request processing does not complete, changes the progress mark character;
Server inspection unit after being finished for the treatment progress in service request, checks the progress identifier word Whether symbol changes, and being when inspection result is then to execute rolling back action to the service request, while deleting the progress mark Character learning symbol, when inspection result is otherwise directly to delete the progress to identify character;
Server retries unit, for sending service request to server again by client.
Preferably, the server judging unit includes:
Server enquiry module, for by identifier of the server based on current service request, inquiry current business to be asked The progress in treatment progress is asked to identify character;
Server judgment module, for currently processed process be not finished and query result exist, then export current business Request processing does not complete, and otherwise exports current service request processing and is completed.
Compared with prior art, the beneficial effect of server response timeout processing system provided by the invention and above-mentioned technology The beneficial effect for the response timeout processing method that scheme provides is identical, and this will not be repeated here.
The third aspect of the present invention provides a kind of client end response timeout treatment system, is applied to described in above-mentioned technical proposal Response timeout processing method in, the system comprises:
Client setting unit, user end to server send service request when, for the processing in service request into Progress is set in journey and identifies character;
Client judging unit, client receives the request receipt of server feedback, and is judging to request receipt for response When overtime, for judging whether current service request is completed by inquiring the progress mark character;
Client executing unit, for being completed if current service request is handled, to the business according to judging result Request executes rolling back action, if current service request processing does not complete, changes the progress mark character;
Client inspection unit after being finished for the treatment progress in service request, checks the progress identifier word Whether symbol changes, and being when inspection result is then to execute rolling back action to the service request, while deleting the progress mark Character learning symbol, when inspection result is otherwise directly to delete the progress to identify character;
Client retries unit, for sending service request to server again by client.
Preferably, the client judging unit includes:
Client query module, for by identifier of the client based on current service request, inquiry current business to be asked The progress in treatment progress is asked to identify character;
Client judgment module, for currently processed process be not finished and query result exist, then export current business Request processing does not complete, and otherwise exports current service request processing and is completed.
Compared with prior art, the beneficial effect of client end response timeout treatment system provided by the invention and above-mentioned technology The beneficial effect for the response timeout processing method that scheme provides is identical, and this will not be repeated here.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow diagram of response timeout processing method in the embodiment of the present invention one;
Fig. 2 is the principle exemplary diagram of response timeout in the embodiment of the present invention one;
Fig. 3 is the structural block diagram of server response timeout processing system in the embodiment of the present invention two;
Fig. 4 is the structural block diagram of client end response timeout treatment system in the embodiment of the present invention three.
Appended drawing reference:
1- server setting unit, 2- server judging unit;
3- server execution unit, 4- server inspection unit;
5- server retries unit, 21- server enquiry module;
22- server judgment module, 6- client setting unit;
7- client judging unit, 8- client executing unit;
9- client inspection unit, 10- client retry unit;
71- client query module, 72- client judgment module.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, implement below in conjunction with the present invention Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described.Obviously, described embodiment Only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field Art personnel all other embodiment obtained without creative labor belongs to the model that the present invention protects It encloses.
Embodiment one
Fig. 1 is response timeout processing method in the embodiment of the present invention one.Referring to Fig. 1, the present embodiment provides a kind of responses Timeout treatment method, comprising:
Step S1, server receives the service request that client is sent, while being arranged in the treatment progress of service request Progress identifies character;Step S2, server request receipt to client feedback, and when requesting receipt is response timeout, pass through Inquiry progress mark character judges whether current service request is completed;Step S3 is right if current service request processing is completed Service request executes rolling back action, if current service request processing does not complete, changes progress mark character;Step S4, in industry After the treatment progress of business request is finished, whether inspection progress mark character is changed, and being when inspection result is then to industry Business request executes rolling back action, while deleting progress mark character, when inspection result is otherwise directly to delete progress to identify character; Step S5, return step S1 send service request to server again by client, until the request receipt in step S2 is rung Until should having not timed out.
In response timeout processing method provided in this embodiment, server is in the service request for receiving client transmission Afterwards, progress is set first in the treatment progress of service request and identifies character, to pass through identification progress mark in down-stream Character learning symbol is to judge whether current service request handles completion, and detailed process is as follows, when client does not receive within a preset time The request receipt of server feedback, then it is assumed that the request receipt response timeout can be reported an error simultaneously certainly by client to user at this time Trend server send call instruction, enable the server to according to call instruction inquire previously be arranged in service request into Scale character learning symbol, and judge whether current service request is completed based on progress mark character, if judging result is current business Request processing is completed, then directly can execute rolling back action to completed service request, if current service request processing is not complete At, then it is temporary rolling back action not to be executed to the service request, operation only is changed to above-mentioned progress mark character, until above-mentioned After service request treatment progress is finished, identifies whether character changes by verification progress, when result, which is, is, then say The bright service request was previously not carried out rolling back action, only need to execute rolling back action to the service request at this time, delete simultaneously Except progress identifies character, when result is no, then illustrates that the service request had previously executed rolling back action, only need to delete at this time The progress identify character can without repeat to the service request execute rolling back action, end user by client again to Server sends service request, executes aforesaid operations until the request receipt response of user has not timed out.
As it can be seen that the present embodiment identifies character by the way that progress is arranged in the treatment progress of service request, and it is based on progress mark Character learning symbol judges the processing progress of current service request, and to realize, when current service request processing is completed, server can be automatic Rolling back action is executed, and in the untreated completion of current service request, in order to avoid system reports an error first not to current service request Rolling back action is executed, the measure changed to progress mark character is only taken, makes its basis after treatment progress is finished The change verification result selectivity of progress mark character carries out rolling back action to the service request for being not carried out rolling back action, from And effectively avoid service request and be carried out the defect that rolling back action bring system reports an error before treatment progress terminates, guarantee The accuracy on rolling back action starting opportunity and the stability of system;In addition, being compared in the prior art by manually solving The certainly treatment mechanism of response timeout is also had the characteristics that fast and efficiently using response timeout processing method provided in this embodiment.
It is understood that the service request in above-described embodiment refers to non-idempotent service request, in order to make this field skill Art personnel can better understand response timeout processing method, and the present embodiment carries out as described below so that order locks certificate as an example:
When user chooses commodity in shopping cart, can the suitable discount coupon of simultaneous selection carry out order submission, take at this time Business device can handle to service request while be requested back to client feedback immediately after the service request for receiving order submission It holds, wherein service request processing includes calling commodity stocks resource and promotional offer resource respectively to selected commodity and selected excellent Favour certificate is locked, but whether user does not know server when client receives the response timeout of request receipt Selected commodity and the locking of selected discount coupon are finished, if insisting on executing rollback to it in the case where above-mentioned lock operation does not finish Operation, it will lead to the unstability of server, and in order to guarantee the shopping experience of user, it can not be one-side in order to true Above-mentioned lock operation is protected to be finished and leave the server excessive execution time for, it is this to be brought by sacrificing period of reservation of number The method of response timeout processing will reduce the shopping experience of user, it is clear that also unreasonable.Therefore how to be completed in lock operation Executing rolling back action as early as possible afterwards becomes the present embodiment critical issue to be solved, and the present embodiment passes through in lock operation process Middle setting progress identifies character, and the processing progress of Current lock operation is judged based on progress mark character, is locked with realizing currently Rolling back action can be executed automatically by determining server when operation processing is completed, and when Current lock operates untreated completion, in order to It avoids system from reporting an error first not operate execution rolling back action to Current lock, only take and arrange to what progress mark character changed Apply, make its after lock operation is finished according to progress identify character change verify result selectivity to be not carried out return The lock operation of rolling operation carries out rolling back action, is carried out back before treatment progress terminates to effectively avoid lock operation The defect that rolling operation bring system reports an error.
Illustratively, in above-described embodiment step S1, progress is set in the treatment progress of service request and identifies character Method are as follows: in service request treatment progress, by redis cache in setnx method be arranged progress identify character.It is optional Ground, above-mentioned progress mark character is state value.
Further, in above-described embodiment step S2, server requests receipt to client feedback, and is in request receipt When response timeout, include: by inquiring the method that the progress mark character judges whether current service request is completed
Identifier of the server based on current service request inquires the progress identifier word in current service request treatment progress Symbol;If currently processed process is not finished and query result exists, exports current service request processing and do not complete, otherwise output is worked as Preceding service request processing is completed.Illustratively, the identifier of service request is business serial number or service order number.
Embodiment two
Fig. 1 and Fig. 3 are please referred to, the present embodiment provides a kind of server response timeout processing systems, comprising:
Server setting unit 1, when server receives the service request that client is sent, at the place of service request Progress is set in reason process and identifies character;
Server judging unit 2, server requests receipt to client feedback, and is judging to request receipt for response timeout When, judge whether current service request is completed by inquiring the progress mark character;
Server execution unit 3, for being completed if current service request is handled, to the industry according to judging result Business request executes rolling back action, if current service request processing does not complete, changes the progress mark character;
Server inspection unit 4 after being finished for the treatment progress in service request, checks the progress identifier word Whether symbol changes, and being when inspection result is then to execute rolling back action to the service request, while deleting the progress mark Character learning symbol, when inspection result is otherwise directly to delete the progress to identify character;
Server retries unit, for sending service request to server again by client.
Preferably, server judging unit 2 includes:
Server enquiry module 21, for inquiring current business by identifier of the server based on current service request The progress in treatment progress is requested to identify character;
Server judgment module 22, for currently processed process be not finished and query result exist, then export current industry Business request processing does not complete, and otherwise exports current service request processing and is completed.
Compared with prior art, the beneficial effect of server response timeout processing system provided in an embodiment of the present invention with it is upper The beneficial effect for stating the response timeout processing method of the offer of embodiment one is identical, and this will not be repeated here.
Embodiment three
Fig. 1 and Fig. 4 are please referred to, the present embodiment provides a kind of client end response timeout treatment systems, comprising:
Client setting unit 6, user end to server send service request when, for the processing in service request into Progress is set in journey and identifies character;
Client judging unit 7, client receives the request receipt of server feedback, and is judging to request receipt for response When overtime, for judging whether current service request is completed by inquiring the progress mark character;
Client executing unit 8, for being completed if current service request is handled, to the industry according to judging result Business request executes rolling back action, if current service request processing does not complete, changes the progress mark character;
Client inspection unit 9 after being finished for the treatment progress in service request, checks the progress identifier word Whether symbol changes, and being when inspection result is then to execute rolling back action to the service request, while deleting the progress mark Character learning symbol, when inspection result is otherwise directly to delete the progress to identify character;
Client retries unit 10, for sending service request to server again by client.
Preferably, client judging unit 7 includes:
Client query module 71, for inquiring current business by identifier of the client based on current service request The progress in treatment progress is requested to identify character;
Client judgment module 72, for currently processed process be not finished and query result exist, then export current industry Business request processing does not complete, and otherwise exports current service request processing and is completed.
Compared with prior art, the beneficial effect of client end response timeout treatment system provided in an embodiment of the present invention with it is upper The beneficial effect for stating the response timeout processing method of the offer of embodiment one is identical, and this will not be repeated here.
It will appreciated by the skilled person that realizing that all or part of the steps in foregoing invention method is can to lead to Program is crossed to instruct relevant hardware and complete, above procedure can store in computer-readable storage medium, the program When being executed, each step including above-described embodiment method, and the storage medium may is that ROM/RAM, magnetic disk, CD, Storage card etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of response timeout processing method characterized by comprising
Step S1, server receives the service request that client is sent, while progress is arranged in the treatment progress of service request Identify character;
Step S2, server request receipt to client feedback, and when requesting receipt is response timeout, by inquire it is described into Scale character learning symbol judges whether current service request is completed;
Step S3 executes rolling back action to the service request, if current business is asked if current service request processing is completed It asks processing not complete, then changes the progress mark character;
Step S4 checks whether the progress mark character changes after the treatment progress of service request is finished, when Inspection result is to be then to service request execution rolling back action, while deleting the progress mark character, works as inspection result Character is identified otherwise directly to delete the progress;
Step S5, return step S1 send service request to server again by client, until the request in step S2 is returned It holds until response has not timed out.
2. the method according to claim 1, wherein in step sl, being set in the treatment progress of service request The method for setting progress mark character are as follows:
In service request treatment progress, by redis cache in setnx method be arranged progress identify character.
3. the method according to claim 1, wherein in step s 2, server is requested back to client feedback It holds, and when requesting receipt is response timeout, judges whether current service request is completed by inquiring the progress mark character Method include:
Identifier of the server based on current service request, the progress inquired in current service request treatment progress identify character;
If currently processed process is not finished and query result exists, exports current service request processing and do not complete, otherwise export Current service request processing is completed.
4. method according to claim 1-3, which is characterized in that the progress mark character is state value.
5. method according to claim 1-3, which is characterized in that the service request is that non-idempotent service is asked It asks.
6. according to the method described in claim 3, it is characterized in that, the identifier of the service request be business serial number or Service order number.
7. a kind of server response timeout processing system characterized by comprising
Server setting unit, when server receives the service request that client is sent, for the treatment progress in service request Middle setting progress identifies character;
Server judging unit, server request receipt to client feedback, and when judging to request receipt as response timeout, lead to It crosses and inquires progress mark character and judge whether current service request is completed;
Server execution unit, for being completed if current service request is handled, to the service request according to judging result Rolling back action is executed, if current service request processing does not complete, changes the progress mark character;
Server inspection unit after being finished for the treatment progress in service request, checks that the progress mark character is No to change, being when inspection result is then to execute rolling back action to the service request, while deleting the progress identifier word Symbol, when inspection result is otherwise directly to delete the progress to identify character;
Server retries unit, for sending service request to server again by client.
8. system according to claim 1, which is characterized in that the server judging unit includes:
Server enquiry module, for inquiring at current service request by identifier of the server based on current service request Progress in reason process identifies character;
Server judgment module, for currently processed process be not finished and query result exist, then export current service request Processing does not complete, and otherwise exports current service request processing and is completed.
9. a kind of client end response timeout treatment system characterized by comprising
Client setting unit, when user end to server sends service request, in the treatment progress of service request Setting progress identifies character;
Client judging unit, client receives the request receipt of server feedback, and is judging to request receipt for response timeout When, for judging whether current service request is completed by inquiring the progress mark character;
Client executing unit, for being completed if current service request is handled, to the service request according to judging result Rolling back action is executed, if current service request processing does not complete, changes the progress mark character;
Client inspection unit after being finished for the treatment progress in service request, checks that the progress mark character is No to change, being when inspection result is then to execute rolling back action to the service request, while deleting the progress identifier word Symbol, when inspection result is otherwise directly to delete the progress to identify character;
Client retries unit, for sending service request to server again by client.
10. system according to claim 9, which is characterized in that the client judging unit includes:
Client query module, for inquiring at current service request by identifier of the client based on current service request Progress in reason process identifies character;
Client judgment module, for currently processed process be not finished and query result exist, then export current service request Processing does not complete, and otherwise exports current service request processing and is completed.
CN201811245297.2A 2018-10-24 2018-10-24 Response timeout processing method, server and client response timeout processing system Active CN109495452B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201811245297.2A CN109495452B (en) 2018-10-24 2018-10-24 Response timeout processing method, server and client response timeout processing system
PCT/CN2019/106515 WO2020082942A1 (en) 2018-10-24 2019-09-18 Response timeout processing method, server, and client response timeout processing system
CA3158476A CA3158476C (en) 2018-10-24 2019-09-18 Method for processing response timeout, and systems for server and client to process response timeout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811245297.2A CN109495452B (en) 2018-10-24 2018-10-24 Response timeout processing method, server and client response timeout processing system

Publications (2)

Publication Number Publication Date
CN109495452A true CN109495452A (en) 2019-03-19
CN109495452B CN109495452B (en) 2020-08-11

Family

ID=65691544

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811245297.2A Active CN109495452B (en) 2018-10-24 2018-10-24 Response timeout processing method, server and client response timeout processing system

Country Status (3)

Country Link
CN (1) CN109495452B (en)
CA (1) CA3158476C (en)
WO (1) WO2020082942A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275764A (en) * 2019-05-15 2019-09-24 阿里巴巴集团控股有限公司 Call timeout treatment method, apparatus and system
CN110391880A (en) * 2019-08-23 2019-10-29 聚好看科技股份有限公司 Access request processing method and equipment based on terminal-server framework
CN110417910A (en) * 2019-08-07 2019-11-05 北京达佳互联信息技术有限公司 Sending method, device, server and the storage medium of notification message
WO2020082942A1 (en) * 2018-10-24 2020-04-30 苏宁云计算有限公司 Response timeout processing method, server, and client response timeout processing system
CN111818489A (en) * 2019-04-11 2020-10-23 中国移动通信集团山东有限公司 Service fulfillment time prediction method and service fulfillment monitoring system
CN111899021A (en) * 2020-08-04 2020-11-06 武汉众邦银行股份有限公司 Method for realizing automatic receipt of super network bank account service
CN112565286A (en) * 2020-12-17 2021-03-26 金蝶软件(中国)有限公司 Task response method, device, equipment and storage medium based on RPC access
CN114430396A (en) * 2022-04-06 2022-05-03 中国光大银行股份有限公司 Transaction frequency control method, device, storage medium and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351110B (en) * 2020-11-27 2022-10-21 杭州安恒信息技术股份有限公司 ID distribution method and device based on zookeeper

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040255296A1 (en) * 2003-06-10 2004-12-16 Schmidt Darren R. Time-bounded program execution
US20130179400A1 (en) * 2012-01-09 2013-07-11 Morgan Stanley Intelligent data publishing framework for common data updates in large scale networks of heterogeneous computer systems
CN103312549A (en) * 2013-06-26 2013-09-18 华为技术有限公司 Transaction management method, device and system
CN105868029A (en) * 2015-12-11 2016-08-17 鼎点视讯科技有限公司 Consistency fault-tolerance processing method and system
CN106570027A (en) * 2015-10-10 2017-04-19 阿里巴巴集团控股有限公司 Transactional task processing method and device
CN106844014A (en) * 2015-12-07 2017-06-13 阿里巴巴集团控股有限公司 The implementation method and device of the anti-suspension of distributed transaction
CN107257363A (en) * 2017-05-27 2017-10-17 北京思特奇信息技术股份有限公司 A kind of method and system of respond request end request
CN108038141A (en) * 2017-11-27 2018-05-15 国云科技股份有限公司 Ensure the method for data consistency under micro services framework HTTP interactive modes
CN108073684A (en) * 2017-11-16 2018-05-25 深圳市买买提信息科技有限公司 A kind of data processing method, server and computer readable storage medium
CN108205440A (en) * 2017-12-25 2018-06-26 国云科技股份有限公司 A kind of task flow framework implementation method for supporting rollback

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110679A (en) * 2007-08-21 2008-01-23 华为技术有限公司 Charging process protection method, system and business control point of on-line accounting system
US9417906B2 (en) * 2010-04-01 2016-08-16 Red Hat, Inc. Transaction participant registration with caveats
CN103019651B (en) * 2012-08-02 2016-06-29 青岛海信传媒网络技术有限公司 The method for parallel processing of complex task and device
CN105989133B (en) * 2015-02-25 2019-10-01 阿里巴巴集团控股有限公司 Transaction methods and device
CN108153598B (en) * 2017-12-25 2021-06-25 东软集团股份有限公司 Data consistency method and device based on micro-service architecture
CN109495452B (en) * 2018-10-24 2020-08-11 苏宁易购集团股份有限公司 Response timeout processing method, server and client response timeout processing system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040255296A1 (en) * 2003-06-10 2004-12-16 Schmidt Darren R. Time-bounded program execution
US20130179400A1 (en) * 2012-01-09 2013-07-11 Morgan Stanley Intelligent data publishing framework for common data updates in large scale networks of heterogeneous computer systems
CN103312549A (en) * 2013-06-26 2013-09-18 华为技术有限公司 Transaction management method, device and system
CN106570027A (en) * 2015-10-10 2017-04-19 阿里巴巴集团控股有限公司 Transactional task processing method and device
CN106844014A (en) * 2015-12-07 2017-06-13 阿里巴巴集团控股有限公司 The implementation method and device of the anti-suspension of distributed transaction
CN105868029A (en) * 2015-12-11 2016-08-17 鼎点视讯科技有限公司 Consistency fault-tolerance processing method and system
CN107257363A (en) * 2017-05-27 2017-10-17 北京思特奇信息技术股份有限公司 A kind of method and system of respond request end request
CN108073684A (en) * 2017-11-16 2018-05-25 深圳市买买提信息科技有限公司 A kind of data processing method, server and computer readable storage medium
CN108038141A (en) * 2017-11-27 2018-05-15 国云科技股份有限公司 Ensure the method for data consistency under micro services framework HTTP interactive modes
CN108205440A (en) * 2017-12-25 2018-06-26 国云科技股份有限公司 A kind of task flow framework implementation method for supporting rollback

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐小龙等: "面向移动计算环境的混合式数据同步机制", 《通信学报》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020082942A1 (en) * 2018-10-24 2020-04-30 苏宁云计算有限公司 Response timeout processing method, server, and client response timeout processing system
CN111818489A (en) * 2019-04-11 2020-10-23 中国移动通信集团山东有限公司 Service fulfillment time prediction method and service fulfillment monitoring system
CN111818489B (en) * 2019-04-11 2023-04-25 中国移动通信集团山东有限公司 Service opening time prediction method and service opening monitoring system
CN110275764A (en) * 2019-05-15 2019-09-24 阿里巴巴集团控股有限公司 Call timeout treatment method, apparatus and system
CN110275764B (en) * 2019-05-15 2024-03-19 创新先进技术有限公司 Method, device and system for processing call timeout
CN110417910A (en) * 2019-08-07 2019-11-05 北京达佳互联信息技术有限公司 Sending method, device, server and the storage medium of notification message
CN110391880A (en) * 2019-08-23 2019-10-29 聚好看科技股份有限公司 Access request processing method and equipment based on terminal-server framework
CN111899021A (en) * 2020-08-04 2020-11-06 武汉众邦银行股份有限公司 Method for realizing automatic receipt of super network bank account service
CN112565286A (en) * 2020-12-17 2021-03-26 金蝶软件(中国)有限公司 Task response method, device, equipment and storage medium based on RPC access
CN114430396A (en) * 2022-04-06 2022-05-03 中国光大银行股份有限公司 Transaction frequency control method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN109495452B (en) 2020-08-11
CA3158476A1 (en) 2020-04-30
WO2020082942A1 (en) 2020-04-30
CA3158476C (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN109495452A (en) Response timeout processing method, server and client end response timeout treatment system
CN110866709B (en) Method and device for merging orders
CN109815256A (en) A kind of data processing method, device, electronic equipment and storage medium
CN109074538A (en) Digital employee is created in the tissue
CN107045676B (en) Logistics circulation message processing method and device
CN111199379A (en) Examination and approval method, examination and approval device and storage medium of workflow engine
JP2020098556A (en) Method and apparatus for verifying annotation processing task for actual use using annotation processing task for verification
CN104615486B (en) For searching for the multi-task scheduling of Extension Software Platform and executing methods, devices and systems
CN110706800A (en) Automatic management method and device for equipment maintenance, computer equipment and storage medium
CN105528725A (en) Account product transaction processing method and system and transaction server
US20050096774A1 (en) System and method for integrating transactional and real-time manufacturing data
CN102750472B (en) A kind of method for authenticating, Apparatus and system
CN110689246A (en) Medical equipment maintenance management method and device, computer equipment and storage medium
CN110991901A (en) Task allocation method, computer storage medium and electronic device
TWI807185B (en) Transaction risk identification method and device
CN109272125A (en) A kind of frequent power failure discriminance analysis processing method and system
US6772028B1 (en) Method for processing order changes in a manufacturing system
CN107239328A (en) Method for allocating tasks and device
CN114039878A (en) Network request processing method and device, electronic equipment and storage medium
CN113935659B (en) Distributed form dispatching method, system, equipment and medium for credit approval work order
CN110766356A (en) Intelligent tool management method and system
CN114254943A (en) Object detection method, device, electronic equipment and storage medium
CN109784713A (en) Form method, settlement method and the device of clearing task queue
CN115269161B (en) Abnormal process reverse rollback method and system
CN117421255B (en) Automatic inspection method, device and equipment for interface and storage medium

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Response timeout processing method, server and client response timeout processing system

Effective date of registration: 20231220

Granted publication date: 20200811

Pledgee: Bank of China Limited Nanjing Gulou Branch

Pledgor: SUNING.COM Co.,Ltd.

Registration number: Y2023980071946

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20200811

Pledgee: Bank of China Limited Nanjing Gulou Branch

Pledgor: SUNING.COM Co.,Ltd.

Registration number: Y2023980071946