Management module of timer

A technology for managing modules and timers, applied in the field of communications, can solve the problems of a large number of timers, occupy a large memory space, and take a long time for timers, and overcome the problems of large memory space, small memory space, and overflow checking. short time effect

Inactive Publication Date: 2012-10-24
SUZHOU YUNCHU NETWORK TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Due to the large number of timers required by software QoS, it will inevitably occupy more memory space
In addition, the timer required by software QoS generally adopts a single-time-wheel management method. In the single-time-wheel timer management operation, the timer overflow check takes a long time; In addition to implementing linear search, there is no way to distinguish whether the event in the current slot should be processed now or in a future cycle
[0008] In the process of realizing the present invention, the inventors found that there are at least defects in the prior art such as large memory space occupation, long overflow check time, and difficulty in determining the processing timing of the current active event.

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
  • Management module of timer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The preferred embodiments of the present invention will be described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, but not to limit the present invention.

[0033] According to an embodiment of the present invention, a timer management module is provided. In this embodiment, the emergency procedure for handling events decreases sequentially from front to back, and includes a multi-level time wheel that includes time units that increase sequentially from front to back; The end of the next-stage time wheel adjacent to the previous-stage time wheel.

[0034] Here, the timer management module, considering the large number of timers for software QoS and the particularity that most of the timing time is relatively short (for example, less than 1s), sets a multi-level time wheel, which can reduce the amount of memory occupied. According 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 discloses a management module of a timer. The management module is typically applied to quality of service (QoS) software, timing overflow management of network data stream and the like. The management module comprises a multistage timing wheel in which the degrees of emergency of processed events are sequentially reduced from front to back and time units are sequentially increased from front to back, and the starting end of a back stage timing wheel is connected with the tail end of a front stage timing wheel adjacent to the back stage timing wheel. The management module of the timer has the advantages that the defects of large occupied internal storage space, long overflow check time and difficulty in determining the processing timing of the current active event in the prior art are overcome, so that small occupied internal storage space, short overflow check time, high expansibility and proneness to determining the processing timing of the current active event are achieved.

Description

technical field [0001] The present invention relates to the field of communication technologies, and in particular, to a timer management module. Background technique [0002] Quality of Service (QoS) is a network security mechanism and a technology used to solve problems such as network delay and congestion. Under normal circumstances, if the network is only used for a specific application system with no time limit, QoS is not required, such as Web application, or E-mail settings. However, for critical applications and multimedia applications, for example, when the network is overloaded or congested, QoS can ensure that important traffic is not delayed or discarded, while ensuring the efficient operation of the network. [0003] It can be seen that QoS is an important function of network equipment (Internet Protocol, referred to as IP, Chinese referred to as "Network Association", that is, a protocol designed for communication between computer networks) for interconnection...

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/06H04L12/56
Inventor 刘德明马骏
Owner SUZHOU YUNCHU NETWORK TECH
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