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

Management method of timer

A management method and timer technology, applied in the telecommunications field, can solve the problem that the processing method and performance of the timer are not suitable for the OCS system, and achieve the effect of fast search and support for search

Active Publication Date: 2011-01-26
SHENZHEN TIANYUAN DIC INFORMATION TECH CO LTD
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The processing method and performance of the above timers are not suitable for the existing OCS system

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Such as figure 1 and figure 2 as shown, figure 1 It is a schematic diagram of the storage structure of the timer information belonging to the same time period in the memory in a preferred embodiment of the timer management method of the present invention, figure 2 It is a schematic diagram of the storage structure of the timer information of all time periods in the memory. In this preferred embodiment, a real-time timer management method is proposed. The timer management method is implemented based on the Hash algorithm and the semaphore mechanism, and can support the session mechanism of the existing OCS system.

[0022] Since the real-time processing requirements of the OCS system require the accuracy of the timer to reach the millisecond level, the time period of the timer is divided according to the millisecond level, and the timers with the same timeout are classified into the same time period. Elements related to timer storage are mutexes, flags, and timer in...

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 a management method of a timer, comprising the steps of: dividing the time periods of the timer according to millisecond; and respectively storing a mutex lock, a flag bit and timer information associated with each time period in a memory. For each time period, the mutex lock is stored in the form of semaphore numerical value; the flag bit is stored in the form of unsigned short integer numerical value; the timer information is stored in the form of 16 continuous memory blocks, each of which can be used for storing the timer information of the timer in the belonged time period; and each bit of the flag bits orderly corresponds to one of the 16 memory blocks, respectively, so as to mark the use condition of the timer information in each memory block. According to the invention, the millisecond real-time timer is realized and has the advantages of: (1) satisfying the millisecond response mechanism of a real-time transaction system, (2) having multi-clue high-throughput bearing capability, and (3) supporting fast search.

Description

technical field [0001] The invention relates to the field of telecommunication, in particular to a timer management method. Background technique [0002] Computer systems often need to provide time stamps for processors and peripherals, or count external events, which are divided into internal timing and external timing: internal timing is the time reference or timing relationship of the computer itself, and each operation of the computer follows strict The time beat is executed; external timing is a timing relationship required by the external device itself when it realizes a certain function. For a real-time system that requires multiple threads and high concurrent processing capabilities, it is necessary to use a software timer (Timer), which uses the internal timing mechanism (crystal oscillator) of the CPU to use software programming to execute a program cyclically. In some systems that require a large number of timers, such as communication systems, it is necessary to...

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): G06F9/48
Inventor 杨海蒋述庭汪东升
Owner SHENZHEN TIANYUAN DIC INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products