Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and proxy system for setting message timeout duration

A message processing and message receiver technology, applied in the field of network communication, can solve problems affecting the efficiency of message interaction, occupying memory, increasing the time for connection pool to create connections, etc., to achieve the effect of improving interaction efficiency and setting reasonable

Active Publication Date: 2018-12-14
CHINA TELECOM CORP LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the timeout is set too long, a large number of message connections will not be released, which will occupy a large amount of memory, and the number of network connections is limited. Once the number of network connections is full, new interface messages will have to wait; if the timeout is set too short, the system pressure on the message receiver It will increase, many messages may not be processed in time, and the message sender needs to retransmit the message, and multiple retransmissions will increase the time for the connection pool to create a connection, consuming a certain amount of CPU and memory
[0004] The current general practice is to give a fixed timeout period based on experience. This method is suitable for scenarios where the busy / busy conditions of the message sender and message receiver are relatively fixed. Once the busy / busy conditions change, the fixed timeout period will no longer be Reasonable, it will affect the efficiency of message interaction

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 proxy system for setting message timeout duration
  • Method and proxy system for setting message timeout duration
  • Method and proxy system for setting message timeout duration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to solve the problem of reasonable setting of the message timeout period, the present invention proposes a dynamic setting scheme of the message timeout period, which dynamically sets the message timeout period by monitoring and according to the resource occupancy rate of the message sender and the message processing time rate of the message receiver Duration, which makes the setting of the message timeout time more reasonable, which is conducive to improving the efficiency of interface message interaction, and is not only applicable to the scene where the busy status of the message sender is relatively fixed, but also applicable to the scene where the busy status of the message sender changes. .

[0024] figure 1 A schematic flowchart of an embodiment of a method for setting a message timeout period in the present invention. like figure 1 As shown, the method of the present embodiment includes the following steps:

[0025] Step S102, monitoring the resource...

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 method of setting a message timeout length and an agent system, which relate to the field of network communication. Through monitoring and according to the resource occupancy rate of a message sender and the message handling timeliness rate of a message receiver, the message timeout length is dynamically set, the message timeout length can be set more reasonably, and the interface message interaction efficiency is improved. The method and the system of the invention are applied to a scene in which busy and idle conditions of the message sender and the message receiver are fixed, and a scene in which busy and idle conditions of the message sender and the message receiver change.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a method and an agent system capable of dynamically setting the timeout period of a message. Background technique [0002] In the field of network communication, information interaction between different systems can generally be handled through system interface messages. There are two basic ways of message communication: a synchronous way with time dependence and an asynchronous way which has nothing to do with time. The synchronous method is handled as follows: the sender first sends a message request to the receiver, and then the sender blocks its own process until it receives a response from the receiver. In order to avoid the situation of infinite waiting, the synchronization method generally sets the message timeout period, and the sender will release the waiting process after the timeout period exceeds. [0003] It is very important to set the timeout period reasonabl...

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): H04L12/58
Inventor 伍运珍王桂荣纪玉升刘智琼刘斌华竹轩池炜成俞科峰陈娜张金娟徐歆壹
Owner CHINA TELECOM CORP LTD