CN102103520A - Method and device for realizing timers - Google Patents

Method and device for realizing timers Download PDF

Info

Publication number
CN102103520A
CN102103520A CN2010105875707A CN201010587570A CN102103520A CN 102103520 A CN102103520 A CN 102103520A CN 2010105875707 A CN2010105875707 A CN 2010105875707A CN 201010587570 A CN201010587570 A CN 201010587570A CN 102103520 A CN102103520 A CN 102103520A
Authority
CN
China
Prior art keywords
timer
task
chain meter
processing
expiration time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2010105875707A
Other languages
Chinese (zh)
Inventor
梁志宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Golden HighWay Industry Development Co Ltd
Original Assignee
Shenzhen Golden HighWay Industry Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Golden HighWay Industry Development Co Ltd filed Critical Shenzhen Golden HighWay Industry Development Co Ltd
Priority to CN2010105875707A priority Critical patent/CN102103520A/en
Publication of CN102103520A publication Critical patent/CN102103520A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for realizing timers. The method comprises the following steps: a timer processing task unit sequences all timers to generate a timer chained list; a timer interruption unit judges whether counting in fixed time reaches a preset interruption value, if so, interruption process is carried out and an activation signal is sent to the timer processing task unit; and the timer processing task unit receives the activation signal and processes a timer task according to the sequence of each timer in the timer chained list. The embodiment of the invention also provides a corresponding device. By adopting the technical scheme of the invention, due timer tasks can be processed in turn according to the sequence without causing a large amount of interruption, so that the execution of other tasks is uninfluenced; and the due status of the timer tasks is checked according to the sequence, and not all timer tasks require checking, so that time needed by checking can be shortened and the stability and reliability of an operating system can be enhanced.

Description

A kind of implementation method of timer and device
Technical field
The present invention relates to the timer technical field, be specifically related to a kind of implementation method and device of timer.
Background technology
Embedded system is used the every field that has been deep in our life at present, and mobile phone, set-top box, MP4 player, switch, router etc. can be summed up as embedded device.In these embedded devices, some equipment needs powerful, real-time operating system.The VxWorks that U.S. Wind RiverSystem company (being WRS company) releases is the outstanding person in this type operating system just.VxWorks is a real time operating system, and its application example comprises famous mars exploration car, Patriot Missile etc.Since VxWorks 5.4 has entered China since more than ten years, presented the characteristic of, applied range many, civil nature, increasing embedded device then adopt the VxWorks realization towards framework.
In VxWorks applied software development process, often can use timer." house dog " timer (Watchdog Timer) that VxWorks provides can connect a particular time interval and a C invoked procedure.WatchDog Timer interrupts based on system clock, and the function that is connected to WatchDog Timer operates in the system clock interrupt service routine equally.If operating system is (as interruption or the interior nuclear state before system clock interrupts) for various reasons, the function that can not carry out immediately leaves in the formation of tExcTask task, and then the function in the formation will be with the priority operation (being generally 0) of tExc-Task task.Operating system is equally applicable to be connected to the user function of WatchDog Timer to the various restrictions of interrupt service routine, as not using printf, semTake etc.
Though the timing mechanism that WatchDog Timer provides is simple and easy to usefulness, under some occasions, directly use WatchDog Timer to go wrong.For example need medium access control (the MediaAccess Control that safeguards in the switch, may reach several thousand when mac) address table is maximum, may reach several ten thousand when needing the conversational list safeguarded maximum in the router, these list items have the different time-to-live according to different states, this list item is reclaimed or discharge if certain list item no longer is used in a period of time with regard to needs.
If create a WatchDog Timer for each list item, when overdue timer is a lot of sometime, suppose to have 300, system will carry out Interrupt Process 300 times so, and other task and interruption all can not be carried out during this period, have influenced system stability.Remove to check these list items if use the WatchDog Timer cycle to wake certain task up, when the bigger hypothesis of list item quantity has 1000, this task all will be these 1000 list item complete inspections one time when timer expired at every turn, and the overdue list item of possibility has only several, and efficient is low-down.
Summary of the invention
The embodiment of the invention provides a kind of implementation method and device of timer, can handle overdue task of timer timely in order successively, whether can reduce expires to task of timer is checked the required time, thereby can improve the stability and the reliability of operating system.
A kind of implementation method of timer comprises:
The timer processing task sorts each timer to generate a timer chain meter;
Timer interrupts judging whether timer counter reaches default interrupting value, if, then enter Interrupt Process, send an activation signal to described timer processing task;
Described timer processing task is carried out task of timer according to the ordering of each timer in the described timer chain meter and is handled after receiving described activation signal.
A kind of implement device of timer comprises: timer processing TU task unit and timer interrupt location, and described timer processing TU task unit comprises sequencing unit and processing unit;
Described timer interrupt location is used to judge whether timer counter reaches default interrupting value, if, then enter Interrupt Process, send an activation signal to described timer processing TU task unit.
Described sequencing unit is used for each timer ordering to generate a timer chain meter;
Described processing unit is used to receive the activation signal that described timer interrupt location sends, and carries out task of timer according to the ordering of each timer in the described timer chain meter and handles.
The implementation method of the timer that the embodiment of the invention provides, employing is sorted each timer to generate a timer chain meter by the timer processing task, after receiving the activation signal that timer interrupts sending, carry out the technical scheme that task of timer is handled according to the ordering of each timer in the timer chain meter, can handle overdue task of timer successively by ordering timely, can not produce a large amount of interruptions, thereby not influence other task executions; By ordering whether task of timer expired and to check, needn't check whole task of timer, can reduce the required time of checking, thereby can improve the stability and the reliability of operating system.
Description of drawings
Fig. 1 is the process flow diagram of the implementation method of the timer that provides of the embodiment of the invention;
Fig. 2 is the synoptic diagram of the implement device of the timer that provides of the embodiment of the invention;
Fig. 3 is the synoptic diagram of the timer chain meter state one of embodiment of the invention method;
Fig. 4 is the synoptic diagram of the timer chain meter state two of embodiment of the invention method;
Fig. 5 is the synoptic diagram of the timer chain meter state three of embodiment of the invention method;
Fig. 6 is the synoptic diagram of the timer chain meter state four of embodiment of the invention method;
Fig. 7 is the synoptic diagram of the timer chain meter state five of embodiment of the invention method;
Fig. 8 is the synoptic diagram of the timer chain meter state six of embodiment of the invention method;
Fig. 9 is the synoptic diagram of the timer chain meter state seven of embodiment of the invention method;
Figure 10 is the synoptic diagram of the timer chain meter state eight of embodiment of the invention method;
Figure 11 is the synoptic diagram of the timer chain meter state nine of embodiment of the invention method.
Embodiment
A kind of implementation method and device of the timer that provides is provided the embodiment of the invention, below is elaborated respectively.
Embodiment one,
Please refer to Fig. 1, present embodiment provides a kind of implementation method of timer, comprises step:
101, the timer processing task sorts each timer to generate a timer chain meter.
In this step, at first create a timer processing task, prepare to carry out timer processing, the corresponding semaphore X of this task, this task is stopped up by semaphore X at ordinary times, and so-called semaphore just is equivalent to a sign; Obstruction is exactly to refer to just there is not semaphore when timer is less than the time, and task can not be performed, and timer is after semaphore is activated during to the time, and task could be carried out, and improves system effectiveness with this.
The timer processing task of this establishment with each timer according to predetermined rule compositor, and the timer chain meter of generation that is connected to each other, to prepare after semaphore X is activated, handling overdue task of timer successively according to the ordering of timer in this timer chain meter.
Described herein timer can be a software timer.
102, timer interrupts judging whether timer counter reaches default interrupting value, if, then enter Interrupt Process, send an activation signal to described timer processing task.
Timer is set interrupts (being WatchDog Timer), when timer counter during to default interrupting value, cause that timer interrupts, system enters Interrupt Process, otherwise timer continues to count.It is fixed that this interrupting value comes according to reality, is set at 1 second usually and gets final product, if some special occasions needs the Millisecond timer, by sysClkRateSet system clock tick number is made as 1000 and gets final product.
In Interrupt Process, timer interrupt enable semaphore X, that is, timer interrupts sending an activation signal to the timer Processing tasks, handles to be carried out task of timer by the timer processing task; Timer interrupts restarting subsequently, withdraws from Interrupt Process.
103, the timer processing task is carried out task of timer according to the ordering of each timer in the timer chain meter and is handled after receiving activation signal.
The timer processing task detects all semaphores of corresponding various tasks in real time, when finding that semaphore X is activated, promptly, the timer processing task is after receiving activation signal, the task of timer processing task call semaphore X correspondence is handled overdue task of timer, and this task is stopped up by semaphore X after finishing dealing with, in other words, stopping to carry out task of timer exactly handles.
In one embodiment, step 101 can specifically comprise:
101a, timer chain meter head of generation.This timer chain meter head can comprise: point to first timer in the described timer chain meter first pointer, point to second pointer and the chained list expiration time of last timer in the described timer chain meter, described chained list expiration time equals the expiration time of described last timer.
101b, with the expiration time of timer as sort by, each each timer is connected to described timer chain meter head generates timer chain meter afterwards, wherein, the timer that expiration time is identical, is connected in the timer chain meter as sort by with the precedence called.
Each timer in the timer chain meter can comprise: point to the last pointer of a timer, the following pointer that points to next timer, the function pointer of function that points to the task of timer correspondence and the expiration time and the deletion time of this timer, the expiration time that the described deletion time equals this timer deducts the expiration time of a timer.
In one embodiment, step 103 specifically can comprise:
The timer processing task judges whether to reach the expiration time of first timer in the described timer chain meter after receiving activation signal, if, then handle this task of timer, and this timer taken out from described timer chain meter, otherwise, stop to carry out task of timer and handle.
Thereby, when first timer in chained list expires, handle this task of timer, and this timer taken out from timer chain meter; So second timer originally becomes first new timer, then the timer processing task is judging once more whether first new timer expires, thereby handles or stop; Till undue timer finally became first timer, the timer processing task stops to carry out task of timer to be handled, and receives new activation signal by the time.
In one embodiment, also comprise after the step 101: be priority of timer processing task setting.The timer processing task is carried out task of timer according to the priority of setting and is handled.Generally speaking, the setting range of priority is 1-100, and the priority of this task can be provided with higherly, so just can in time handle overdue timer, if low excessively, some overdue timer just may be delayed processing.
Adopt the present embodiment method, can handle overdue task of timer successively by ordering timely, can not produce a large amount of interruptions, thereby not influence other task executions; By ordering whether task of timer expired and to check, needn't check whole task of timer, can reduce the required time of checking, thereby can improve the stability and the reliability of operating system.
Below, how timer processing task in the preferred implementation is generated timer chain meter and how to carry out the task of timer processing according to the ordering in this timer chain meter, be further described in detail.
The corresponding structure of each timer, this structure has two pointer members, a member next points to next timer, another member prev points to a timer, this structure also has a function pointer member func, when expiring, carries out by timer the function (this task of timer) of this pointed, this structure also has a member time to represent when this timer expires, this structure also has a member delta, represent that when delta is 0 timer expires, can carry out this task of timer and this timer is deleted from timer chain meter.
It is the header structure of timer (being linked list head) that a structure is arranged in addition, this structure has two pointer members, a member fwd points to first timer, and another member bwd points to last timer, and this structure also has a member time to represent last timer time then.
Timer is stored in the timer chain meter, and when application program was created a timer, it will add a node in timer chain meter.Suppose now to create a timer T, t1 expires after second, the process that node adds is such: (1) is if first timer is sky, then first timer and last timer with timer chain meter all points to this node T, and the time of timer chain meter head and the delta of T are made as t1.(2) if first timer is not sky and the t1 time more than or equal to the timer chain meter head, just T is put into the last of timer chain meter, the delta of T is made as the time that t1 deducts the timer chain meter head, and the time of timer chain meter head is made as t1.(3) not meeting the two kinds of situations in front just handles by this situation, begin to add up one by one delta from first timer, accumulated value has surpassed t1 when supposing to be added to certain node P, at this moment T is inserted into before the P, the delta of P is made as accumulated value deducts t1, the delta of T is made as the original delta of P and deducts the current delta of P.The change procedure of chained list when adding timer with real example below.
When the most initial, it all is empty that the timer chain meter head points to the timer pointer, as shown in Figure 3.
At first add a timer A, expire after 1 second, by top step (1) operation, timer chain meter becomes as shown in Figure 4.
Then add a timer B, expire after 2 seconds, by top step (2) operation, timer chain meter becomes as shown in Figure 5.
Then add a timer C, expire after 4 seconds, by top step (2) operation, timer chain meter becomes as shown in Figure 6.
Then add a timer D, expire after 2 seconds, by top step (3) operation, timer chain meter becomes as shown in Figure 7.
The task of timer processing procedure is as follows: (1) checks first timer, if first timer is blocked in semaphore X there for empty just end inspection, if first timer does not just subtract 1 with the time of timer chain meter head for empty, the delta of first timer is subtracted 1.(2) begin to check from first timer, if the delta of first timer 0 just finishes to check and is blocked in semaphore X there, if being 0 this timer of expression, the delta of first timer expired, so first timer is extractd from timer chain meter, carry out the function of first timer correspondence, jump to step (2) after executing and continue to carry out.Situation about carrying out below with the real example task of timer.
Suppose that the current moment is any one time between 0 second to 1 second, suppose that current timer has A, B, C, four of D, timer chain meter is as shown in Figure 7.
When time is up 1 second the time, timer down trigger timer processing task, this task is at first looked for first timer, and at this moment first timer is A, becomes 3 so the time of timer chain meter head subtracts 1, and the delta of A subtracts 1 and has become 0.The delta of A is that 0 expression has expired, and just A is extractd from timer chain meter, carries out the function of A correspondence.Extract after the A, first timer of timer chain meter has become B, as shown in Figure 8.Task continues to check first timer, and the delta of B is that 1 expression is also not yet due, so the task termination inspection is blocked in semaphore X there.
When time is up 2 seconds the time, timer down trigger timer processing task, this task is at first looked for first timer, and at this moment first timer is B, becomes 2 so the time of timer chain meter head subtracts 1, and the delta of B subtracts 1 and has become 0.The delta of B is that 0 expression has expired, and just will extract in the B timer chain meter, carries out the function of B correspondence.Extract after the B, first timer of timer chain meter has become D, as shown in Figure 9.Task continues to check first timer, and the delta of D is that 0 expression has expired, so D is extractd from timer chain meter, carries out the function of D correspondence.Extract after the D, first timer of timer chain meter has become C, as shown in figure 10.Task continues to check first timer, and the delta of C is that 2 expressions are also not yet due, so the task termination inspection is blocked in semaphore X there.
When time is up 3 seconds the time, timer down trigger timer processing task, this task is at first looked for first timer, at this moment first timer is C, so the time of timer chain meter head subtracts 1 and becomes 1, the delta of C subtracts 1 and has become 1, and the timer timer chain meter as shown in figure 11.The delta of C is that 1 expression is also not yet due, so the task termination inspection is blocked in semaphore X there.
When time is up 4 seconds the time, timer down trigger timer processing task, this task is at first looked for first timer, and at this moment first timer is C, becomes 0 so the time of timer chain meter head subtracts 1, and the delta of C subtracts 1 and has become 0.The delta of C is that 0 expression has expired, and just C is extractd from timer chain meter, carries out the function of C correspondence.Extract after the C, timer chain meter has become as shown in Figure 3.Task continues to check first timer, because first timer is empty, so the task termination inspection is blocked in semaphore X there.
When time is up 5 seconds the time, timer down trigger timer processing task, this task is at first looked for first timer, and at this moment first timer is empty, so the task termination inspection is blocked in semaphore X there.
Embodiment two,
Please refer to Fig. 2, the embodiment of the invention provides a kind of implement device of timer, comprising: timer processing TU task unit 201 and timer interrupt location 202, described timer processing TU task unit comprises sequencing unit 201a and processing unit 201b.
Described timer interrupt location 202 is used to judge whether timer counter reaches default interrupting value, if, then enter Interrupt Process, send an activation signal to described timer processing TU task unit.
Described sequencing unit 201a is used for each timer ordering to generate a timer chain meter;
Described processing unit 201b is used to receive the activation signal that described timer interrupt location sends, and carries out task of timer according to the ordering of each timer in the described timer chain meter and handles.
In one embodiment, described sequencing unit 201a, specifically be used to generate a timer chain meter head, with the expiration time of timer as sort by, each each timer is connected to described timer chain meter head generates timer chain meter afterwards, wherein, the timer that expiration time is identical, is connected in the timer chain meter as sort by with the precedence called.
In one embodiment, described processing unit 201b, specifically be used for judging whether reaching the expiration time of first timer of described timer chain meter, if, then handle this task of timer, and this timer taken out from described timer chain meter, otherwise, stop to carry out task of timer and handle.
In one embodiment, timer processing TU task unit 201 comprises that also priority is provided with unit 201c, and this priority is provided with unit 201c, is used to priority of timer processing task setting.
Adopt the present embodiment device, can handle overdue task of timer successively by ordering timely, can not produce a large amount of interruptions, thereby not influence other task executions; By ordering whether task of timer expired and to check, needn't check whole task of timer, can reduce the required time of checking, thereby can improve the stability and the reliability of operating system.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, and storage medium can comprise: ROM (read-only memory), random-access memory, disk or CD etc.
More than the implementation method and the device of the timer that the embodiment of the invention provided is described in detail; having used specific case herein sets forth principle of the present invention and embodiment; the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; should not be construed as limitation of the present invention; within the spirit and principles in the present invention all; any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the implementation method of a timer is characterized in that, comprising:
The timer processing task sorts each timer to generate a timer chain meter;
Timer interrupts judging whether timer counter reaches default interrupting value, if, then enter Interrupt Process, send an activation signal to described timer processing task;
Described timer processing task is carried out task of timer according to the ordering of each timer in the described timer chain meter and is handled after receiving described activation signal.
2. method according to claim 1 is characterized in that, described timer processing task comprises each timer ordering to generate a timer chain meter:
Generate a timer chain meter head;
With the expiration time of timer as sort by, each each timer is connected to described timer chain meter head generates timer chain meter afterwards, wherein, the timer that expiration time is identical, is connected in the timer chain meter as sort by with the precedence called.
3. method according to claim 2 is characterized in that:
Described timer chain meter head comprises: point to first timer in the described timer chain meter first pointer, point to second pointer and the chained list expiration time of last timer in the described timer chain meter, described chained list expiration time equals the expiration time of described last timer;
Described timer comprises: point to the last pointer of a timer, the following pointer that points to next timer, the function pointer of function that points to the task of timer correspondence and the expiration time and the deletion time of this timer, the expiration time that the described deletion time equals this timer deducts the expiration time of a timer.
4. method according to claim 3 is characterized in that, described ordering according to each timer in the described timer chain meter is carried out the task of timer processing and comprised:
Judge whether to reach the expiration time of first timer in the described timer chain meter, if, then handle this task of timer, and this timer is taken out from described timer chain meter, otherwise, stop to carry out task of timer and handle.
5. according to each described method in the claim 1 to 4, it is characterized in that, also comprise after timer processing task of described establishment: be priority of described timer processing task setting.
6. according to each described method in the claim 1 to 4, it is characterized in that described ordering according to each timer in the described timer chain meter is carried out also comprising after the task of timer processing:
Described timer interrupts restarting, and withdraws from Interrupt Process.
7. the implement device of a timer is characterized in that, comprising: timer processing TU task unit and timer interrupt location, and described timer processing TU task unit comprises sequencing unit and processing unit;
Described timer interrupt location is used to judge whether timer counter reaches default interrupting value, if, then enter Interrupt Process, send an activation signal to described timer processing TU task unit.
Described sequencing unit is used for each timer ordering to generate a timer chain meter;
Described processing unit is used to receive the activation signal that described timer interrupt location sends, and carries out task of timer according to the ordering of each timer in the described timer chain meter and handles.
8. device according to claim 7 is characterized in that:
Described sequencing unit, specifically be used to generate a timer chain meter head, with the expiration time of timer as sort by, each each timer is connected to described timer chain meter head generates timer chain meter afterwards, wherein, the timer that expiration time is identical, is connected in the timer chain meter as sort by with the precedence called.
9. device according to claim 7 is characterized in that:
Described processing unit specifically is used for judging whether reaching the expiration time of first timer of described timer chain meter, if, then handle this task of timer, and this timer taken out from described timer chain meter, otherwise, stop to carry out task of timer and handle.
10. according to claim 7,8 or 9 described devices, it is characterized in that: described timer processing TU task unit comprises that also priority is provided with the unit;
Described priority is provided with the unit, is used to priority of described timer processing task setting.
CN2010105875707A 2010-12-14 2010-12-14 Method and device for realizing timers Pending CN102103520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105875707A CN102103520A (en) 2010-12-14 2010-12-14 Method and device for realizing timers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105875707A CN102103520A (en) 2010-12-14 2010-12-14 Method and device for realizing timers

Publications (1)

Publication Number Publication Date
CN102103520A true CN102103520A (en) 2011-06-22

Family

ID=44156310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105875707A Pending CN102103520A (en) 2010-12-14 2010-12-14 Method and device for realizing timers

Country Status (1)

Country Link
CN (1) CN102103520A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034480A (en) * 2011-09-30 2013-04-10 重庆重邮信科通信技术有限公司 Embedded system timer realizing method
CN103034493A (en) * 2012-12-10 2013-04-10 上海斐讯数据通信技术有限公司 Timer node management method and system
CN103116523A (en) * 2013-02-27 2013-05-22 北京经纬恒润科技有限公司 Alarm detection and response method and alarm detection and response device
CN103530179A (en) * 2013-09-30 2014-01-22 大唐移动通信设备有限公司 Method and device for processing timed task
CN103559085A (en) * 2013-10-21 2014-02-05 福建升腾资讯有限公司 Interrupt and critical event management operation method in embedded system
CN104268020A (en) * 2014-09-28 2015-01-07 天津凯发电气股份有限公司 Universal timer based on embedded operating system and working method of universal timer
CN104834347A (en) * 2015-04-29 2015-08-12 杭州东信捷峻科技有限公司 Implementation method for dynamic time duration timer in favor of low power consumption and free of accumulated error
CN106484510A (en) * 2016-09-27 2017-03-08 上海斐讯数据通信技术有限公司 A kind of time management method based on linux kernel timer
CN109617640A (en) * 2018-11-30 2019-04-12 电子科技大学 A kind of 485 bus ad hoc network timing methods
CN110908429A (en) * 2018-09-18 2020-03-24 阿里巴巴集团控股有限公司 Timer operation method and device
CN112199170A (en) * 2020-09-07 2021-01-08 广州致远电子有限公司 Timing processing method, device and equipment of real-time operating system and storage medium
CN113835851A (en) * 2021-08-19 2021-12-24 威胜信息技术股份有限公司 Method for implementing real-time operating system timer

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060107264A1 (en) * 2004-11-18 2006-05-18 Hamilton Sundstrand Corporation Operating system and architecture for embedded system
US7207045B2 (en) * 2000-12-21 2007-04-17 Airbus France Real time multi-task process and operating system
CN101840353A (en) * 2010-05-14 2010-09-22 陈冬岩 Dynamic timing method for real-time embedded operating system
CN101859260A (en) * 2010-05-14 2010-10-13 中国科学院计算技术研究所 Timer management device and management method for operating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7207045B2 (en) * 2000-12-21 2007-04-17 Airbus France Real time multi-task process and operating system
US20060107264A1 (en) * 2004-11-18 2006-05-18 Hamilton Sundstrand Corporation Operating system and architecture for embedded system
CN101840353A (en) * 2010-05-14 2010-09-22 陈冬岩 Dynamic timing method for real-time embedded operating system
CN101859260A (en) * 2010-05-14 2010-10-13 中国科学院计算技术研究所 Timer management device and management method for operating system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034480A (en) * 2011-09-30 2013-04-10 重庆重邮信科通信技术有限公司 Embedded system timer realizing method
CN103034480B (en) * 2011-09-30 2016-01-20 重庆重邮信科通信技术有限公司 A kind of embedded system timer implementation method
CN103034493B (en) * 2012-12-10 2015-11-18 上海斐讯数据通信技术有限公司 A kind of management method of timer Node and system
CN103034493A (en) * 2012-12-10 2013-04-10 上海斐讯数据通信技术有限公司 Timer node management method and system
CN103116523A (en) * 2013-02-27 2013-05-22 北京经纬恒润科技有限公司 Alarm detection and response method and alarm detection and response device
CN103530179A (en) * 2013-09-30 2014-01-22 大唐移动通信设备有限公司 Method and device for processing timed task
CN103559085A (en) * 2013-10-21 2014-02-05 福建升腾资讯有限公司 Interrupt and critical event management operation method in embedded system
CN103559085B (en) * 2013-10-21 2016-10-05 福建星网锐捷通讯股份有限公司 A kind of embedded system is carried out interrupt and the method for criticality incident management operation
CN104268020A (en) * 2014-09-28 2015-01-07 天津凯发电气股份有限公司 Universal timer based on embedded operating system and working method of universal timer
CN104834347A (en) * 2015-04-29 2015-08-12 杭州东信捷峻科技有限公司 Implementation method for dynamic time duration timer in favor of low power consumption and free of accumulated error
CN104834347B (en) * 2015-04-29 2017-08-25 杭州东信捷峻科技有限公司 Be conducive to the dynamic duration timer realization method without cumulative errors of low-power consumption
CN106484510A (en) * 2016-09-27 2017-03-08 上海斐讯数据通信技术有限公司 A kind of time management method based on linux kernel timer
CN110908429A (en) * 2018-09-18 2020-03-24 阿里巴巴集团控股有限公司 Timer operation method and device
CN110908429B (en) * 2018-09-18 2023-12-05 阿里巴巴集团控股有限公司 Timer operation method and device
CN109617640A (en) * 2018-11-30 2019-04-12 电子科技大学 A kind of 485 bus ad hoc network timing methods
CN112199170A (en) * 2020-09-07 2021-01-08 广州致远电子有限公司 Timing processing method, device and equipment of real-time operating system and storage medium
CN113835851A (en) * 2021-08-19 2021-12-24 威胜信息技术股份有限公司 Method for implementing real-time operating system timer

Similar Documents

Publication Publication Date Title
CN102103520A (en) Method and device for realizing timers
US8522211B2 (en) Computer program testing
CN100481021C (en) Method, system, and apparatus for identifying unresponsive portions of a computer program
US20170091013A1 (en) Pcie error reporting and throttling
US20120246652A1 (en) Processor Management Via Thread Status
CN108762911A (en) Timing task management method, apparatus, computer equipment and storage medium
CN106803790B (en) A kind of upgrade control method and device of group system
CN101140550A (en) Built-in real-time system interrupt handling device and method thereof
CN107645502B (en) Message detection method and device
CN109144873B (en) Linux kernel processing method and device
CN100538645C (en) The method and the computing equipment that are used for computer program
CN106997313B (en) Signal processing method and system of application program and terminal equipment
CN102339029B (en) Method for realizing timing protection of embedded operating system
CN113835863A (en) Data communication method and software platform thereof
CN109992388B (en) Multi-task management system for safety-level equipment software of nuclear power plant
CN115328720B (en) SoC (System on chip) verification method, device, equipment and storage medium
CN103810053A (en) Method for processing endless loop of game server
JP2008102778A (en) Information processor, control method of information processor and program
CN106933681B (en) It is a kind of multipair as blocking method and its system
CN106658688B (en) System and method for realizing GSM module control in single chip microcomputer
CN115426763A (en) Method and system for controlling timing energy change of pulse power supply of synchrotron
EP2120120B1 (en) Method for modelling and executing a production rule in a discrete manufacturing scenario
CN112667425B (en) Method and device for processing port oscillation
CN110286890A (en) Call method, system, medium and the device of isomery language application
CN108965425A (en) Device exception information method for pushing and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong province Shenzhen city Nanshan District high tech Zone Xinjiu Tao Wei new software park 8 Building 7 floor

Applicant after: Shenzhen Jinhongwei Technology Co.,Ltd.

Address before: 518057 Guangdong province Shenzhen city Nanshan District high tech Zone Xinjiu Tao Wei new software park 8 Building 7 floor

Applicant before: Shenzhen Golden Highway Industry Development Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN GOLDEN HIGHWAY INDUSTRIAL DEVELOPMENT CO., LTD. TO: SHENZHEN GOLDEN HIGHWAY TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110622