Soft real-time timing device module and method for soft real-time timing device scheduling

A timer and soft real-time technology, applied in the direction of multi-program device, selection device, radio/inductive link selection arrangement, etc., can solve the problem of not being able to directly meet the requirements of the mobile phone platform and portability, and the timer function interface is not the same , timer usage, etc., to achieve the effect of rich input parameters, convenient programming and use, and less system resource occupation

Inactive Publication Date: 2008-09-24
ZTE CORP
View PDF0 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Various operating systems used in the field of mobile phones provide a set of timer function interfaces, use hardware clock interrupts to execute user entity functions in interrupt context or thread context, Realize timer execution and scheduling; however, the timer function interfaces provided by each operating system are not the same, which cannot directly meet the requirements of the mobile phone platform and portability, and cannot meet the many needs of upper-level users of the mobile phone platform, such as the large amount of timer usage , Occupying less system resources, rich function interface input parameters, convenient programming and use, and the ability to pause and continue the operation of the timer

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
  • Soft real-time timing device module and method for soft real-time timing device scheduling
  • Soft real-time timing device module and method for soft real-time timing device scheduling
  • Soft real-time timing device module and method for soft real-time timing device scheduling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0038] like figure 1 As shown, the soft real-time timer module of the present invention includes an initialization unit, an interrupt unit, a scheduling unit and a management unit,

[0039] Among them, if the timer provided by the mobile phone operating system is used directly, the system timer needs to be set as a periodic timer with the smallest unit, and the soft real-time timer interrupt control is executed inside the system timer.

[0040] An initialization unit, which is used to initialize the global variables of the soft real-time timer, initialize the interrupt unit and initialize the scheduling unit;

[0041] Among them, the global variables of the soft real-time timer include counting semaphores.

[0042] Initializing the interrupt unit refers to connecting the interrupt unit with the interrupt number of the hardware clock.

[0043...

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 method for dispatching a soft real-time timer and a module thereof, which comprises a dispatching unit, an interrupting unit, an initializing unit and a management unit. The dispatching unit is used for controlling a timer dispatching thread of a set up soft real-time timer, and the inside of the dispatching unit is an unlimited circulation body always obtaining counting semaphores; the interrupting unit is used for controlling the interrupting of the timer and releasing the counting semaphores; wherein, the dispatching unit is synchronous with the interrupting unit through a counting semaphore; the initializing unit is used for initializing overall variation of the timer so as to connect the interrupting unit and interrupting signals of a hardware clock and to initialize the dispatching unit; the overall variation comprises the counting semaphores; the management unit is a front desk window for users to control the timer, and users set up various soft real-time timers through the management unit and then set various operation instruments for the timer. By applying the invention, through an information mechanism, when the timer sends out appointed information to a senior user at time, the portability of a cell phone platform and various demands of the senior user on the cell phone platform can be met.

Description

technical field [0001] The invention relates to the field of mobile phones, in particular to a method for scheduling a soft real-time timer in a mobile phone platform architecture and a soft real-time timer module. Background technique [0002] Various operating systems used in the field of mobile phones provide a set of timer function interfaces, which use hardware clock interrupts to execute user entity functions in interrupt contexts or thread contexts to implement timer execution and scheduling; however, the timers provided by each operating system The function interfaces are not the same, and cannot directly meet the requirements of the mobile phone platform and portability, let alone meet the many needs of the upper-level users of the mobile platform, such as a large amount of timer usage, less system resource occupation, rich function interface input parameters, and convenient programming. And the timer can be paused and continued to operate. Therefore, there is curr...

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): H04Q7/32G06F9/46
Inventor 何海建
Owner ZTE CORP
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