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

Timer scheduling method

A scheduling method and timer technology, applied in multi-programming devices, digital transmission systems, electrical components, etc., can solve problems such as increased possibility, decreased timing accuracy of timers, system crashes, etc., to reduce excessive CPU consumption. possibility, avoid timing accuracy degradation, prevent system crash effect

Inactive Publication Date: 2006-10-25
HUAWEI TECH CO LTD
View PDF0 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the shortcoming of above-mentioned method is: the timeout processing of system is too much in one scheduling period, causes the central processing unit (CPU, Central Processing Unit) to be occupied for a long time and causes the timing accuracy of timer to decline, thereby affects the normal task scheduling of system, This further affects the timely processing of other services in the system. In particular, with the evolution of the modern communication system to the next-generation network, the maximum number of calls processed by the communication system per second is several times or even dozens of times that of the previous one. The possibility that the internal system needs to deal with a large number of timeout timers is also increasing synchronously
In this case, the above shortcomings will be more prominent, and it is possible that the timeout processing time of a certain timer scheduling is too long, resulting in the failure of other business processing, which is unacceptable in real-time communication systems and may cause system breakdown

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
  • Timer scheduling method
  • Timer scheduling method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Although there may be a large number of timers in the system, the accuracy of these timers, that is, the timing duration, may be different. Moreover, timers with very high precision, such as timers with a level of 10 milliseconds, account for a very small proportion. In modern communication systems, most of the timers are call-related timers, and their precision series is usually 1 second or 100 milliseconds, that is, it is not necessary to scan these timers in every timer scheduling cycle . For example: For a timer with an accuracy of 1 second, it only needs to be scanned once every 1 second.

[0021] In view of the above situation, the core idea of ​​the timer scheduling method proposed by the present invention is: in each timer scheduling cycle, scan all timers whose accuracy is less than two timer scheduling cycles, and perform overtime on all overtime timers Processing; within n timer scheduling cycles, scan all the same type of timers with the same precision gre...

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

This invention discloses a method for dispatching timers, which scans all timers with their accuracy smaller than the dispatch periods of two timers in each dispatch period and carries out overtime process to all overtime timers to scan all timers of the same kind with the accuracy greater than or equal to two dispatch periods and the same accuracy in n periods and carries out overtime process to the overtime timers in each period, in which, n is the integer greater than 1 and smaller than or equal to the entropy of the accuracy of the timer and its dispatch period, which carries out scan and overtime process to timers with the accuracy greater than or equal to the dispatch periods of two timers to reduce the possibility of processing large numbers of overtime timers in each dispatch period of a timer so as to reduce the cost of CPU.

Description

technical field [0001] The invention relates to the field of timers, in particular to a timer scheduling method. Background technique [0002] Timers are widely used in modern communication systems. The timer has three states: idle state, waiting for timeout state and timeout running state. The working process of the timer is: when the timer is started, it enters the waiting time-out state from the idle state; when the timer times out, it enters the time-out running state from the waiting time-out state; Timeout processing. Usually, the system periodically scans timers, and when a timer is found to be timed out, it performs timeout processing on it. This process is called timer scheduling, and the cycle of scanning timers is called a timer scheduling period. [0003] The existing timer scheduling methods are as follows: [0004] 1. Round robin timer scheduling method. This method scans all the timers once in each timer scheduling cycle, and if any timer times out, execu...

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): H04L12/24G06F9/46
Inventor 谢汝林蔡辉涵
Owner HUAWEI TECH 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