A method and system for responding to a request from a requesting end

A request-end and entry-point technology, applied in the direction of transmission system, multi-channel program device, program control design, etc., can solve the problems of poor user experience, long time, high cost, etc., to improve user experience, reduce response cycle, The effect of keeping the data consistent

Active Publication Date: 2020-02-04
北京思特奇信息技术股份有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to various reasons, the server’s response to the request from the requester may timeout. At this time, the requester thinks that the server’s response has failed and takes other processing, but the actual server’s response is successful, but it takes a long time. This situation will cause the requester to Inconsistency with the data on the server side, the server’s response cycle is long, and the requester cannot be responded to in a timely manner, the user experience is poor, and the cost is high due to the need for subsequent differential processing
The above problems will be more serious for real-time transaction process

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
  • A method and system for responding to a request from a requesting end
  • A method and system for responding to a request from a requesting end
  • A method and system for responding to a request from a requesting end

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0050]Example 1: Set an entry point corresponding to a timeout point and a timeout point in the response program in sequence according to the business characteristics; receive the request and the preset duration sent by the requesting end; respond to the request, capture the current time of a timeout point and the corresponding The current time of the entry point corresponding to a timeout point, calculate the difference between the current time of the timeout point and the current time of the entry point, and use the difference as the program execution time of the currently executed program, wherein the one timeout point is the current time of the currently executed program Execute the program exit point, and the entry point corresponding to a timeout point is the currently executed program entry point; calculate the difference between the preset duration and the program execution time of the currently executed program at a timeout point, as the current remaining duration; dete...

example 3

[0061] Example 3: Set entry point 1 corresponding to timeout point 1, timeout point 1, entry point 2 corresponding to timeout point 2, and timeout point 2 in the response program in sequence according to business characteristics, and set from entry point 1 to timeout point 1 The standard execution time of the program to be executed between the two, set the standard execution time of the program to be executed between the entry point two and the timeout point two; receive the request and the preset time from the requesting end; respond to the request, capture the timeout respectively Point-current time and entry point-current time, calculate the difference between timeout point-current time and entry point-current time, and use the difference as the program execution time-consuming of the currently executed program, wherein the timeout point One is the exit point of the currently executed program, the entry point one is the entry point of the currently executed program; at the t...

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 relates to a method and system for responding to a request from a requesting end. The method includes: setting the timeout point and the entry point corresponding to the timeout point in the response program according to the business characteristics; receiving the request and the preset duration sent by the requesting end; responding to the request, respectively capturing the current time of the timeout point and the timeout point corresponding to the timeout point The current time at the entry point, calculate the difference and use it as the program execution time of the currently executed program; at the timeout point, calculate the difference between the preset duration and the total program execution time of the current accumulated execution program as the current remaining duration; determine whether the current remaining duration is If it is greater than zero, if yes, continue to respond until the response result corresponding to the request is obtained, and send the response result to the requesting end; otherwise, execute the failure command. The invention realizes reducing the response cycle, keeping the data of the requesting end and the server end consistent, and improving user experience.

Description

technical field [0001] The invention belongs to the field of computer applications, in particular to a method and system for responding to a request from a requesting end. Background technique [0002] With the development of the Internet era, the number of users has increased, and users have higher and higher requirements for the systems they use. Various network applications emerge in an endless stream, and there are more and more interactions between various applications. Large-scale applications such as telecommunications, internal It is also deployed in layers, from the network layer to the capability exposure layer to the service center layer to the data layer, and responds to various requests through real-time service calls between applications or between layers. Due to various reasons, the server’s response to the request from the requester may timeout. At this time, the requester thinks that the server’s response has failed and takes other processing, but the actual...

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/08G06F9/48
CPCG06F9/4843H04L67/62
Inventor 朱建光
Owner 北京思特奇信息技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products