Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Response timeout processing method, server and client response timeout processing system

A timeout processing and server technology, applied in transmission systems, electrical components, etc., can solve problems such as unsuitable for large-scale promotion, system error reporting, and long time-consuming manual elimination

Active Publication Date: 2020-08-11
SUNING COM CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when a timeout abnormal event occurs, the server generally adopts manual elimination or automatic rollback mechanism to handle the exception. Since manual elimination takes a long time and is not accurate, it affects the user experience, so it is not suitable for large-scale promotion , for the automatic rollback mechanism, although it is efficient and timely, the server cannot monitor and identify the processing results, that is, it cannot judge whether the processing results are being processed or completed. Since the processing results that are being processed cannot be rolled back, if the server If you insist on rolling it back, it will cause the system to report an error

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Response timeout processing method, server and client response timeout processing system
  • Response timeout processing method, server and client response timeout processing system
  • Response timeout processing method, server and client response timeout processing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0057] figure 1 It is the response timeout processing method in Embodiment 1 of the present invention. see figure 1 , this embodiment provides a response timeout processing method, including:

[0058] Step S1, the server receives the business request sent by the client, and at the same time sets the progress identification character in the processing process of the business request; Step S2, the server feeds back the request receipt to the client, and when the request receipt is a response timeout, it queries the progress identification character Judging whether the current business request is completed; step S3, if the current business request processing has been completed, then perform a rollback operation on the business request, if the current business request processing is not completed, then change the progress identification character; After the execution is completed, check whether the progress identification character has changed. If the check result is yes, perfo...

Embodiment 2

[0067] see figure 1 and image 3 , this embodiment provides a server response timeout processing system, including:

[0068] The server setting unit 1 is used to set the progress identification character in the processing process of the service request when the server receives the service request sent by the client;

[0069] The server judging unit 2, the server feeds back the request receipt to the client, and when judging that the request receipt is a response timeout, judges whether the current service request is completed by querying the progress identification character;

[0070] The server execution unit 3 is configured to perform a rollback operation on the business request if the processing of the current business request has been completed according to the judgment result, and change the progress identification character if the processing of the current business request is not completed;

[0071] The server checking unit 4 is used to check whether the progress iden...

Embodiment 3

[0078] see figure 1 and Figure 4 , this embodiment provides a client response timeout processing system, including:

[0079] The client setting unit 6 is used to set the progress identification character in the processing process of the service request when the client sends the service request to the server;

[0080] The client judging unit 7, the client receives the request receipt fed back by the server, and when judging that the request receipt is a response timeout, it is used to judge whether the current service request is completed by querying the progress identification character;

[0081] The client execution unit 8 is configured to perform a rollback operation on the business request if the processing of the current business request has been completed according to the judgment result, and change the progress identification character if the processing of the current business request has not been completed;

[0082] The client checking unit 9 is configured to check ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a response timeout processing method, a server and a client terminal response timeout processing system, which can start a rollback mechanism in a timely, efficient and accurate manner to handle exceptions and improve user experience. The method includes: the server receives the business request sent by the client, and at the same time sets the progress identification character in the processing process of the business request; Whether the business request is completed; if the current business request processing is completed, perform a rollback operation on the business request; if the current business request processing is not completed, change the progress identification character; after the processing process of the business request is completed, check the progress identification character Whether there is a change, when the check result is yes, the business request will be rolled back, and the progress identification character will be deleted at the same time, if the check result is otherwise, the progress identification character will be deleted directly.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a response timeout processing method, a server and a client terminal response timeout processing system. Background technique [0002] In a client-server system, the client depends on the server to provide the required services. When the system interacts normally, such as figure 2 As shown, the client sends request A to the server, and the server responds immediately after receiving request A and returns the processing result to the client. However, in actual application scenarios, when the system is affected by factors such as network delay or network interruption, the server Request A may be delayed or not received, and the corresponding server will respond with a delay or fail to respond. At this time, because the client does not receive the processing result receipt from the server within the preset time, the client will start the fusing mechanism by itself. Pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/146H04L67/51H04L67/133H04L67/01
Inventor 张明叶国华司孝波周毅
Owner SUNING COM CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products