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

Event handling method and device based on time wheel timer

An event processing and time technology, applied in the field of communications, can solve problems affecting system capacity, reducing processing performance, increasing system load, etc., to achieve the effect of increasing capacity, reducing system overhead, and reducing the number of timers

Active Publication Date: 2014-03-26
DATANG MOBILE COMM EQUIP CO LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Then for implementation, a large amount of timer overhead will seriously affect system capacity, increase system load, and reduce processing performance.

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
  • Event handling method and device based on time wheel timer
  • Event handling method and device based on time wheel timer
  • Event handling method and device based on time wheel timer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] In order to effectively reduce billing overhead, in the embodiment of the present invention, CTF adopts TimeWheel Timers (TWT) to set a multi-level precision time linked list, and gradually migrates timing events from a low-precision time linked list to a high-precision time linked list. On the time linked list, the recursion of time is completed, and when the time arrives, the timing event will be popped from the time linked list for timeout processing.

[0057] Further, since the time corresponding to each time linked list is the same, time events do not need to be sorted when inserted into the time linked list, but only need to be inserted at the end of the linked list. Effectively reduces the system load and overhead. Increased timing capacity.

[0058] Preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0059] refer to figure 2 As shown, in the embodiment of the present invention, the...

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 the field of communications and discloses an event handling method and device based on a time wheel timer. The event handing method and device are used for effectively reducing system overheads. The method includes the steps that each time event is listed into a time chain table corresponding to a current time component, with the lowest precision, contained in a corresponding time threshold value; circulated timing is carried out through a timer with the highest precision; every time the timer is overtime, whether overtime time chain tables exist or not will be judged, overtime time events recorded in an overtime time chain table will be popped up to be handled, each time chain table which is not overtime continues being listed in a time chain table corresponding a time component, of the next precision level, contained in a time threshold of the time chain table, monitoring continues being carried out through the timer, in this way, operation of a whole time wheel can be promoted just through one timer with the highest precision, the overtime conditions of each time event can be respectively monitored, and therefore system overheads are effectively reduced, and the capacity of a system corresponding to the time events is increased.

Description

technical field [0001] The invention relates to the communication field, in particular to an event processing method and device based on a time wheel timer. Background technique [0002] In the current Evolved Packet Core (EPC) charging scenario, with 50,000 users per processing unit, each user counts an average of 1.2 bearers, and each bearer is calculated as a rate group. Then, the time threshold charging needs to start 120,000 counters at the same time. If the time threshold is calculated as 5 minutes, an average of 1000 timers time out per second. This magnitude of timer overhead will have a huge impact on the system. [0003] In the current charging trigger function (Charging Trigger Function, CTF) implementation, there are mainly two types of implementations for time threshold timers, one is implemented through pure hardware, and the other is implemented through software design. [0004] The pure hardware implementation is to use the corresponding hardware timing cl...

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
IPC IPC(8): G06F9/46
Inventor 张郑锟张峰
Owner DATANG MOBILE COMM EQUIP CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More