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

Method and system for responding request from request side

It is a request-end and entry-point technology, which is applied in transmission system, program startup/switching, program control design, etc. It can solve problems such as poor user experience, long time consumption, and high cost, so as to improve user experience, maintain data consistency, The effect of reducing the response cycle

Active Publication Date: 2017-10-17
北京思特奇信息技术股份有限公司
View PDF3 Cites 7 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
  • Method and system for responding request from request side
  • Method and system for responding request from request side
  • Method and system for responding request from request side

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 turn in the response program according to the business characteristics; receive the request sent by the requester and the preset duration; respond to the request, capture the current time of a timeout point and the corresponding time. 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 program execution time. Execution program exit point, the entry point corresponding to a timeout point is the currently executed program entry point; at a timeout point, the difference between the preset duration and the program execution time of the currently executed program is calculated as the current remaining duration; Judgment Whether the cu...

example 3

[0061] Example 3: Set the entry point 1 corresponding to the timeout point 1, the timeout point 1, the entry point 2 corresponding to the timeout point 2, the timeout point 2 in sequence in the response program according to the business characteristics, and set one of the entry point 1 to the timeout point 1 The standard execution duration of the program to be executed between the entry point 2 and the timeout point 2 is set. Point 1 current time and entry point 1 current time, calculate the difference between timeout point 1 current time and entry point 1 current time, and use the difference as the program execution time-consuming 1 of the currently executed program, wherein the timeout point One is the exit point of the currently executed program, and the first entry point is the entry point of the currently executed program; at the timeout point one, the difference between the preset duration and the program execution time of the currently executed program is calculated as 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 a request from a request side. The method comprises the steps that a timeout point and an entry point corresponding to the timeout point are set in a response program according to service characteristics; the request sent by the request side and the preset time are received; the request is responded, the current time of the timeout point and the current time of the entry point corresponding to the timeout point are captured separately, and a difference is calculated and serves as the program execution time of a current executed program; a difference between the preset time and the current accumulated total program execution time is calculated at the timeout point to serve as the current remaining time; and whether the current remaining time is larger than zero or not is judged, if yes, responding continues until a response result corresponding to the request is obtained, and the response result is sent to the request side, and if not, a failure instruction is executed. According to the method and system, the response cycle is shortened, data of the request side and data of a server side keep consistent, and the user experience is improved.

Description

technical field [0001] The invention belongs to the field of computer application, and in particular relates to a method and system for responding to a request of a requester. Background technique [0002] With the development of the network era, the number of users increases, 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 responses to various requests are completed through real-time service calls between applications or between layers. Due to various reasons, the server's response to the requester's request may time out. At this time, the requester thinks that the server's response has failed and takes other actions, but the a...

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 Applications(China)
IPC IPC(8): H04L29/08G06F9/48
CPCG06F9/4843H04L67/62
Inventor 朱建光
Owner 北京思特奇信息技术股份有限公司
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