Method for dispatching timer under IP network environment
A technology of network environment and scheduling method, which is applied in the field of efficient timer scheduling, can solve the problems of high cost and high CPU resource consumption of timers, and achieve the effect of reducing CPU cost and improving usage efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0028] Provides a timer scheduling method, which is suitable for timeout processing of resources such as network message information and network sessions in the current IP network environment, and uses limited hardware resources (hardware timers, memory, etc.) to achieve timer scheduling The algorithm achieves the same time complexity O(1) timer scheduling method as the FIFO (First In First Out) queue.
[0029] The organization method of the timer is very important, and the efficiency can be greatly improved through a good organization method. Analyze the organization method of the timer from the application environment. First, analyze the characteristics of the IP network environment. The application environment is that the current IP network environment is a TCP / IP 4-layer model. The function of each layer is described as follows:
[0030] Application Layer: The application layer in the TCP / IP group combines the functions of the OSI application layer, presentation layer, an...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 