CN103455310A - Timing method and device for semaphore pend interface - Google Patents

Timing method and device for semaphore pend interface Download PDF

Info

Publication number
CN103455310A
CN103455310A CN2012101704864A CN201210170486A CN103455310A CN 103455310 A CN103455310 A CN 103455310A CN 2012101704864 A CN2012101704864 A CN 2012101704864A CN 201210170486 A CN201210170486 A CN 201210170486A CN 103455310 A CN103455310 A CN 103455310A
Authority
CN
China
Prior art keywords
semaphore
interface
hardware timer
timing
waited
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.)
Granted
Application number
CN2012101704864A
Other languages
Chinese (zh)
Other versions
CN103455310B (en
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.)
Suzhou Medical Device Industry Development Group Co ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210170486.4A priority Critical patent/CN103455310B/en
Publication of CN103455310A publication Critical patent/CN103455310A/en
Application granted granted Critical
Publication of CN103455310B publication Critical patent/CN103455310B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a timing method and a device for a semaphore pend interface. The timing method for the semaphore pend interface comprises step 1, enabling a hardware timer and setting the timing time of the hardware timer and parameters of the semaphore pend interface when the semaphore pend interface is called in a predetermined task; step 2, obtaining the semaphore through the semaphore pend interface and judging the semaphore is the normal semaphore obtained before the ending of the timing time or the interrupt semaphore obtained after the hardware timer is interrupted; step 3, closing the hardware timer under the condition that the obtained semaphore is judged to be the normal semaphore, processing the task and executing the step 1 according to the normal semaphore and directly executing the step 1 under the condition that the obtained semaphore is judged to be the interrupt semaphore. According to the technical scheme of the timing method and the device for the semaphore pend interface, the timing accuracy of the semaphore pend interface is improved.

Description

Semaphore is waited for interface timing method and device
Technical field
The present invention relates to computer realm, particularly relate to a kind of semaphore and wait for interface timing method and device.
Background technology
The semaphore that real time operating system provides waits for that (pend) interface is to realize the synchronous Critical policies of carrying out of multitask.In the prior art, general this interface has a time parameter, this time parameter has illustrated the time span of this interface wait-semaphore,, if in the time span arranged at time parameter, semaphore does not all have to arrive, this interface will return to a rreturn value that wait-semaphore is overtime, wherein, judge whether that the overtime behavior needs of wait-semaphore relies on the Clock management system of operating system itself.
Current embedded OS all adopts the method for fixed time slicing to carry out the clock of attended operation system itself, utilize central processing unit (Central ProcessingUnit, referred to as CPU) on the hardware timer cycle produce an interruption, upgrade system time in interrupt service routine, and judge whether wait timeout of semaphore.From the operation system clock administrative mechanism, for the hardware timer interrupt cycle of attended operation system clock, determined the precision of timing.For the consideration to whole cpu system performance, if the precision of the operation system clock is too high, certainly will need to shorten the interrupt cycle of hardware timer, frequent response is interrupted can bringing very large impact to system performance, therefore, the clock accuracy of embedded real-time operating system can not be very high.
Fig. 1 is that in prior art, multitasking is used semaphore to wait for the processing flow chart of interface, as shown in Figure 1, comprises following processing:
Step 1, task starts TaskEntry ();
Step 2, the semaphore called is waited for interface Pend(Mbx TimerOut) time parameter be set to the timer expiry time, wherein, Mbx means the semaphore that this task need to be waited for, TimerOut means the timer expiry time;
Step 3, whether the semaphore Mbx that judgement is obtained is overtime, if the judgment is Yes, performs step 4, otherwise, perform step 5;
Step 4, carry out business processing according to the semaphore Mbx obtained;
Step 5, end operation, and perform step 2.
Due to the restriction of the precision of the operation system clock own, the semaphore that operating system provides waits for that the precision of the time parameter of interface can not be very high.At some, sequential is required to very high occasion, for example, Long Term Evolution (Long Term Evolution, referred to as LTE) processing of communication system base station side group band, the cycle of agreement task run is 1ms, and the wait-semaphore interface time parameter precision for this task at least reaches the us level so, in the situation that semaphore has to arrive in time, does not exit the processing of this subframe, be unlikely to affect the processing of next subframe, and the clock accuracy of operating system can't meet this requirement.
Summary of the invention
The invention provides a kind of semaphore and wait for interface timing method and device, to solve the restriction due to the precision of the operation system clock own in prior art, cause semaphore to wait for the low problem of interface timing accuracy.
The invention provides a kind of semaphore and wait for the interface timing method, comprising:
Step 1, when preplanned mission call signal amount is waited for interface, enable hardware timer, and timing and the semaphore of hardware timer are waited for to the parameter of interface is arranged;
Step 2, wait for that by semaphore interface obtains semaphore, according to the value judgement semaphore of semaphore, is the normal signal amount of obtaining then at timing or the look-at-me amount of obtaining after hardware timer interrupts;
Step 3, in the situation that the semaphore that judgement is obtained is the normal signal amount, close hardware timer, carries out the task processing according to the normal signal amount, and perform step 1, in the situation that the semaphore that judgement is obtained is the look-at-me amount, directly performs step 1.
The present invention also provides a kind of semaphore to wait for the interface timing device, comprising:
The interface interchange module, wait for interface for the call signal amount;
Enable module, for when interface interchange module call signal amount is waited for interface, enable hardware timer, and timing and the semaphore of hardware timer are waited for to the parameter of interface is arranged;
The semaphore judge module, for waiting for that by semaphore interface obtains semaphore, is the normal signal amount of obtaining then at timing or the look-at-me amount of obtaining after hardware timer interrupts according to the value judgement semaphore of semaphore;
Processing module, be used in the situation that the semaphore that the judgement of semaphore judge module is obtained is the normal signal amount, close hardware timer, carry out the task processing according to the normal signal amount, and calling interface calling module, in the situation that the semaphore that the judgement of semaphore judge module is obtained is the look-at-me amount, direct calling interface calling module.
Beneficial effect of the present invention is as follows:
Wait for that by the semaphore that operating system is provided the hardware timer resource of interface and CPU is used in conjunction with, having solved the restriction due to the precision of the operation system clock own in the prior art causes semaphore to wait for the low problem of interface timing accuracy, improve semaphore and waited for interface degree of accuracy regularly, in the situation that do not increase system added burden, met some sequential has been required to very strict application scenario.
The accompanying drawing explanation
Fig. 1 is the processing flow chart of multitasking when using semaphore to wait for interface in prior art;
Fig. 2 is the process flow diagram that the semaphore of the embodiment of the present invention is waited for the interface timing method;
Fig. 3 is the process flow diagram that the semaphore of the embodiment of the present invention is waited for the detailed processing of interface timing method;
Fig. 4 is the hardware timer interrupt service routine processing flow chart of the embodiment of the present invention;
Fig. 5 is the schematic diagram of the semaphore queues of the embodiment of the present invention;
Fig. 6 is the structural representation that the semaphore of the embodiment of the present invention is waited for the interface timing device.
Embodiment
In order to solve the restriction due to the precision of the operation system clock own in prior art, cause semaphore to wait for the low problem of interface timing accuracy, under the prerequisite that does not affect the entire system performance, the invention provides a kind of semaphore and wait for interface timing method and device, be particularly useful for similar LTE system etc. sequential is required to very high application scenario.Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, does not limit the present invention.
Embodiment of the method
According to embodiments of the invention, provide a kind of semaphore to wait for the interface timing method, Fig. 2 is the process flow diagram that the semaphore of the embodiment of the present invention is waited for the interface timing method, as shown in Figure 2, according to the semaphore of the embodiment of the present invention, waits for that the interface timing method comprises following processing:
Step 201, when preplanned mission call signal amount is waited for interface, enable hardware timer, and timing and the semaphore of hardware timer are waited for to the parameter of interface is arranged; Wherein, semaphore waits for that the parameter of interface comprises: semaphore is waited for the time parameter of interface and the semaphore parameter that semaphore is waited for interface.
Preferably, before execution step 201, need to calculate preplanned mission and can be used in the maximum duration of wait-semaphore in this subtask is processed.
In step 201, the timing of hardware timer and semaphore are waited for to the parameter of interface is arranged specifically and comprise: 1, the timing of hardware timer is set to the maximum duration of preplanned mission wait-semaphore; 2, semaphore waits for that the time parameter of interface is set to permanent wait, and semaphore waits for that the semaphore parameter of interface is set to this subtask of preplanned mission and processes the semaphore needed.
Step 202, waiting for that by semaphore interface obtains semaphore (this semaphore is the semaphore that above-mentioned preplanned mission is waited for), is the normal signal amount of obtaining then at timing or the look-at-me amount of obtaining after hardware timer interrupts according to the value judgement semaphore of semaphore;
Before execution step 202, hardware timer (interrupt service routine of hardware timer) then needs to trigger interruption afterwards at timing, the value of look-at-me amount is set to be different from the value of normal signal amount, and the look-at-me amount is waited for to interface notice (post) is to preplanned mission by semaphore.
Step 203, in the situation that the semaphore that judgement is obtained is the normal signal amount, close hardware timer, carry out the task processing according to the normal signal amount, and perform step 201, in the situation that the semaphore that judgement is obtained is the look-at-me amount, exit the processing of this circulation of task, directly perform step 201.
Below in conjunction with accompanying drawing, the technique scheme real-time to the present invention is elaborated.
Fig. 3 is the process flow diagram that the semaphore of the embodiment of the present invention is waited for the detailed processing of interface timing method, as shown in Figure 3, the semaphore that the embodiment of the present invention provides the hardware timer of CPU and operating system waits for that interface is combined with, and reaches the purpose of accurate judgement semaphore wait timeout.Specifically comprise following processing:
Step 1, task starts TaskEntry (), and this task is before wait-semaphore, and at first calculating this processing can be for the maximum duration Ts of wait-semaphore;
Step 2, enable hardware timer, and the timing (TimeOut) of hardware timer is set according to this maximum duration Ts;
Step 3, the semaphore that the call operation system provides is waited for interface Pend(Mbx, forever), the time parameter of this interface is set to permanent wait (forever), and semaphore waits for that the semaphore parameter of interface is set to this subtask of preplanned mission and processes the semaphore (Mbx) needed;
Step 4, under the scheduling of operating system, CPU starts to process other multitask program, the semaphore that this task is waited for likely arrives in the time period at Ts, also likely in Ts not arrival of this semaphore in the time period, if in the Ts time period, this semaphore does not arrive, hardware timer can trigger at Ts interruption after the time so, the post semaphore is given this task, hardware timer interrupt service routine treatment scheme as shown in Figure 4, TimerIsr () is hardware timer service disruption program, and Post (Mbx) means to notify this semaphore.
The semaphore no matter this task is waited for arrives in the time period at Ts, or, in Ts not arrival of this semaphore in the time period, all this mission-enabling can be made it enter activity (running) state, the processing after this task will continue.Fig. 5 is the schematic diagram of the semaphore queues of the embodiment of the present invention, as shown in Figure 5, in semaphore queues, likely comprise: the look-at-me amount that hardware timer is overtime or normal signal amount, therefore, it is the semaphore wanted of required by task or the semaphore of overtime interrupt post on earth that task is distinguished this semaphore according to the rreturn value of semaphore, determine follow-up treatment scheme according to both of these case: if this semaphore is the semaphore that this required by task is wanted, perform step 5; If this semaphore is the semaphore of hardware timer overtime interrupt post, illustrate that this task waits for that needed semaphore is overtime, perform step 7;
Step 5, close this hardware timer, performs step 6;
Step 6, process the business task, returns to the processing that main flow is prepared the next cycle after being disposed;
Step 7, do not processed the business task, directly returns to the processing that main flow starts the next cycle.
Below take the LTE system as example, the technique scheme of the embodiment of the present invention is illustrated.
The treatment cycle of LTE baseband protocol business is 1ms, and the agreement task must could start to process after the 10th sign (symbol) symbol interrupts arriving, and task can be tolerated the longest 0.4ms of being of the time of wait-semaphore.According to the technical scheme of the embodiment of the present invention, after entering Processing tasks, at first a hardware timer is set, regularly length is set to 0.4ms, the pend semaphore interface that then the call operation system provides, waiting time is set to permanent wait.The value of judgement pend semaphore, determine that this semaphore is to derive from the semaphore that the 10th symbol symbol interrupts post, or hardware timer interrupts the timeout signal amount of psot.If during symbol symbol look-at-me amount, show that book frame signal amount arrives at the appointed time, can be processed the data of this subframe; If hardware timer timeout signal amount, show that the semaphore that required by task wants is overtime, need to exit the processing of this subframe, prepare to carry out the processing of next subframe.
In sum, technical scheme by means of the embodiment of the present invention, wait for that by the semaphore that operating system is provided the hardware timer resource of interface and CPU is used in conjunction with, having solved the restriction due to the precision of the operation system clock own in the prior art causes semaphore to wait for the low problem of interface timing accuracy, improve semaphore and waited for interface degree of accuracy regularly, in the situation that do not increase system added burden, met some sequential has been required to very strict application scenario.
Device embodiment
According to embodiments of the invention, provide a kind of semaphore to wait for the interface timing device, Fig. 6 is the structural representation that the semaphore of the embodiment of the present invention is waited for the interface timing device, as shown in Figure 6, wait for that according to the semaphore of the embodiment of the present invention interface timing device comprises: interface interchange module 60, enable module 62, semaphore judge module 64 and processing module 66 below are described in detail the modules of the embodiment of the present invention.
Interface interchange module 60, wait for interface for the call signal amount;
Enable module 62, for when interface interchange module 60 call signal amounts are waited for interface, enable hardware timer, and timing and the semaphore of hardware timer are waited for to the parameter of interface is arranged; Wherein, semaphore waits for that the parameter of interface comprises: semaphore is waited for the time parameter of interface and the semaphore parameter that semaphore is waited for interface.
Preferably, the embodiment of the present invention also comprises: computing module, process for calculating preplanned mission the maximum duration that can be used in wait-semaphore in this subtask.
Enable module 62 specifically comprises: first arranges submodule, is set to the maximum duration of preplanned mission wait-semaphore for the timing of hardware timer; Second arranges submodule, for semaphore, waits for that the time parameter of interface is set to permanent wait, and semaphore waits for that the semaphore parameter of interface is set to this subtask of preplanned mission and processes the semaphore needed.
Above-mentioned hardware timer specifically for: at timing, then trigger to interrupt afterwards, the value of look-at-me amount is set to be different from the value of normal signal amount, and the look-at-me amount is waited for to interface notifies to preplanned mission by semaphore.
Semaphore judge module 64, for waiting for that by semaphore interface obtains semaphore, is the normal signal amount of obtaining then at timing or the look-at-me amount of obtaining after hardware timer interrupts according to the value judgement semaphore of semaphore;
Processing module 66, be used in the situation that the semaphore that 64 judgements of semaphore judge module are obtained is the normal signal amount, close hardware timer, carry out the task processing according to the normal signal amount, and calling interface calling module 60, in the situation that the semaphore that 64 judgements of semaphore judge module are obtained is the look-at-me amount, direct calling interface calling module 60.
Below in conjunction with accompanying drawing, the technique scheme real-time to the present invention is elaborated.
Fig. 3 is the process flow diagram that the semaphore of the embodiment of the present invention is waited for the detailed processing of interface timing method, as shown in Figure 3, the semaphore that the embodiment of the present invention provides the hardware timer of CPU and operating system waits for that interface is combined with, and reaches the purpose of accurate judgement semaphore wait timeout.Specifically comprise following processing:
Step 1, task starts TaskEntry (), and this task is before wait-semaphore, and at first calculating this processing can be for the maximum duration Ts of wait-semaphore;
Step 2, enable hardware timer, and the timing (TimeOut) of hardware timer is set according to this maximum duration Ts;
Step 3, the semaphore that the call operation system provides is waited for interface Pend(Mbx, forever), the time parameter of this interface is set to permanent wait (forever), and semaphore waits for that the semaphore parameter of interface is set to this subtask of preplanned mission and processes the semaphore (Mbx) needed;
Step 4, under the scheduling of operating system, CPU starts to process other multitask program, the semaphore that this task is waited for likely arrives in the time period at Ts, also likely in Ts not arrival of this semaphore in the time period, if in the Ts time period, this semaphore does not arrive, hardware timer can trigger at Ts interruption after the time so, the post semaphore is given this task, hardware timer interrupt service routine treatment scheme as shown in Figure 4, TimerIsr () is hardware timer service disruption program, and Post (Mbx) means to notify this semaphore.
The semaphore no matter this task is waited for arrives in the time period at Ts, or, in Ts not arrival of this semaphore in the time period, all this mission-enabling can be made it enter activity (running) state, the processing after this task will continue.Fig. 5 is the schematic diagram of the semaphore queues of the embodiment of the present invention, as shown in Figure 5, in semaphore queues, likely comprise: the look-at-me amount that hardware timer is overtime or normal signal amount, therefore, it is the semaphore wanted of required by task or the semaphore of overtime interrupt post on earth that task is distinguished this semaphore according to the rreturn value of semaphore, determine follow-up treatment scheme according to both of these case: if this semaphore is the semaphore that this required by task is wanted, perform step 5; If this semaphore is the semaphore of hardware timer overtime interrupt post, illustrate that this task waits for that needed semaphore is overtime, perform step 7;
Step 5, close this hardware timer, performs step 6;
Step 6, process the business task, returns to the processing that main flow is prepared the next cycle after being disposed;
Step 7, do not processed the business task, directly returns to the processing that main flow starts the next cycle.
Below take the LTE system as example, the technique scheme of the embodiment of the present invention is illustrated.
The treatment cycle of LTE baseband protocol business is 1ms, and the agreement task must could start to process after the 10th sign (symbol) symbol interrupts arriving, and task can be tolerated the longest 0.4ms of being of the time of wait-semaphore.According to the technical scheme of the embodiment of the present invention, after entering Processing tasks, at first a hardware timer is set, regularly length is set to 0.4ms, the pend semaphore interface that then the call operation system provides, waiting time is set to permanent wait.The value of judgement pend semaphore, determine that this semaphore is to derive from the semaphore that the 10th symbol symbol interrupts post, or hardware timer interrupts the timeout signal amount of psot.If during symbol symbol look-at-me amount, show that book frame signal amount arrives at the appointed time, can be processed the data of this subframe; If hardware timer timeout signal amount, show that the semaphore that required by task wants is overtime, need to exit the processing of this subframe, prepare to carry out the processing of next subframe.
In sum, technical scheme by means of the embodiment of the present invention, wait for that by the semaphore that operating system is provided the hardware timer resource of interface and CPU is used in conjunction with, having solved the restriction due to the precision of the operation system clock own in the prior art causes semaphore to wait for the low problem of interface timing accuracy, improve semaphore and waited for interface degree of accuracy regularly, in the situation that do not increase system added burden, met some sequential has been required to very strict application scenario.
Although be the example purpose, the preferred embodiments of the present invention are disclosed, it is also possible those skilled in the art will recognize various improvement, increase and replacement, therefore, scope of the present invention should be not limited to above-described embodiment.

Claims (10)

1. a semaphore is waited for the interface timing method, it is characterized in that, comprising:
Step 1, when preplanned mission call signal amount is waited for interface, enable hardware timer, and timing and the described semaphore of described hardware timer are waited for to the parameter of interface is arranged;
Step 2, wait for that by described semaphore interface obtains semaphore, according to the value of described semaphore, judges that described semaphore is the normal signal amount of obtaining then at described timing or the look-at-me amount of obtaining after described hardware timer interrupts;
Step 3, in the situation that the semaphore that judgement is obtained is described normal signal amount, close described hardware timer, carry out the task processing according to described normal signal amount, and perform step 1, in the situation that the semaphore that judgement is obtained is described look-at-me amount, directly perform step 1.
2. the method for claim 1, is characterized in that, before carrying out described step 1, described method also comprises:
Calculate described preplanned mission and can be used in the maximum duration of wait-semaphore in this subtask is processed.
3. method as claimed in claim 2, is characterized in that, described semaphore waits for that the parameter of interface comprises: described semaphore is waited for the time parameter of interface and the semaphore parameter that described semaphore is waited for interface.
4. method as claimed in claim 3, is characterized in that, the timing of described hardware timer and described semaphore waited for to the parameter of interface is arranged specifically and comprise:
The timing of described hardware timer is set to the maximum duration of described preplanned mission wait-semaphore;
Described semaphore waits for that the time parameter of interface is set to permanent wait, and described semaphore waits for that the semaphore parameter of interface is set to described this subtask of preplanned mission and processes the semaphore needed.
5. the method for claim 1, is characterized in that, before carrying out described step 2, described method also comprises:
Described hardware timer then triggers and interrupts afterwards at described timing, and the value of described look-at-me amount is set to be different from the value of described normal signal amount, and described look-at-me amount is notified to described preplanned mission by described semaphore wait interface.
6. a semaphore is waited for the interface timing device, it is characterized in that, comprising:
The interface interchange module, wait for interface for the call signal amount;
Enable module, for when described interface interchange module call signal amount is waited for interface, enable hardware timer, and timing and the described semaphore of described hardware timer are waited for to the parameter of interface is arranged;
The semaphore judge module, for by described semaphore, waiting for that interface obtains semaphore, according to the value of described semaphore, judge that described semaphore is the normal signal amount of obtaining then at described timing or the look-at-me amount of obtaining after described hardware timer interrupts;
Processing module, be used in the situation that the semaphore that the judgement of described semaphore judge module is obtained is described normal signal amount, close described hardware timer, carry out the task processing according to described normal signal amount, and call described interface interchange module, in the situation that the semaphore that described semaphore judge module judgement is obtained is described look-at-me amount, directly call described interface interchange module.
7. device as claimed in claim 6, is characterized in that, described device also comprises:
Computing module, process for calculating described preplanned mission the maximum duration that can be used in wait-semaphore in this subtask.
8. device as claimed in claim 7, is characterized in that, described semaphore waits for that the parameter of interface comprises: described semaphore is waited for the time parameter of interface and the semaphore parameter that described semaphore is waited for interface.
9. device as claimed in claim 8, is characterized in that, described enable module specifically comprises:
First arranges submodule, is set to the maximum duration of described preplanned mission wait-semaphore for the timing of described hardware timer;
Second arranges submodule, waits for that for described semaphore the time parameter of interface is set to permanent wait, and described semaphore waits for that the semaphore parameter of interface is set to described this subtask of preplanned mission and processes the semaphore needed.
10. device as claimed in claim 6, it is characterized in that, described hardware timer specifically for: at described timing, then trigger to interrupt afterwards, the value of described look-at-me amount is set to be different from the value of described normal signal amount, and described look-at-me amount is notified to described preplanned mission by described semaphore wait interface.
CN201210170486.4A 2012-05-29 2012-05-29 Timing method and device for semaphore pend interface Active CN103455310B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210170486.4A CN103455310B (en) 2012-05-29 2012-05-29 Timing method and device for semaphore pend interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210170486.4A CN103455310B (en) 2012-05-29 2012-05-29 Timing method and device for semaphore pend interface

Publications (2)

Publication Number Publication Date
CN103455310A true CN103455310A (en) 2013-12-18
CN103455310B CN103455310B (en) 2017-02-08

Family

ID=49737722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210170486.4A Active CN103455310B (en) 2012-05-29 2012-05-29 Timing method and device for semaphore pend interface

Country Status (1)

Country Link
CN (1) CN103455310B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107370639A (en) * 2017-08-14 2017-11-21 苏州众天力信息科技有限公司 A kind of more scenery control methods of gateway based on trapezoidal temporal algorithm
CN109189582A (en) * 2018-07-20 2019-01-11 新华三技术有限公司合肥分公司 A kind of method and device detecting semaphore time-out reason

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5500809A (en) * 1992-08-31 1996-03-19 Sharp Kabushiki Kaisha Microcomputer system provided with mechanism for controlling operation of program
EP0267612B1 (en) * 1986-11-12 1998-08-26 Nec Corporation Timer/counter using a register block
CN1414747A (en) * 2002-05-08 2003-04-30 华为技术有限公司 Method of implementing base data message receiving
CN1635485A (en) * 2003-12-26 2005-07-06 华为技术有限公司 Time-out adaptive method in remote synchronous calling procedure
CN1755614A (en) * 2004-09-29 2006-04-05 华为技术有限公司 Timer realizing method
CN1873615A (en) * 2006-01-20 2006-12-06 华为技术有限公司 Method for servicing task of timer
CN1928817A (en) * 2006-09-30 2007-03-14 华为技术有限公司 Timer implementation method
CN101272564A (en) * 2008-04-17 2008-09-24 中兴通讯股份有限公司 Soft real-time timing device module and method for soft real-time timing device scheduling
CN101276295A (en) * 2008-03-19 2008-10-01 北京星网锐捷网络技术有限公司 Method for real-time operating system to avoid interrupt occupying excess CPU resources
CN102043667A (en) * 2010-11-25 2011-05-04 深圳市科陆电子科技股份有限公司 Task scheduling method for embedded operating system
CN102404404A (en) * 2011-09-07 2012-04-04 航天科工仿真技术有限责任公司 Distributed WEB application and remote equipment message communication method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0267612B1 (en) * 1986-11-12 1998-08-26 Nec Corporation Timer/counter using a register block
US5500809A (en) * 1992-08-31 1996-03-19 Sharp Kabushiki Kaisha Microcomputer system provided with mechanism for controlling operation of program
CN1414747A (en) * 2002-05-08 2003-04-30 华为技术有限公司 Method of implementing base data message receiving
CN1635485A (en) * 2003-12-26 2005-07-06 华为技术有限公司 Time-out adaptive method in remote synchronous calling procedure
CN1755614A (en) * 2004-09-29 2006-04-05 华为技术有限公司 Timer realizing method
CN1873615A (en) * 2006-01-20 2006-12-06 华为技术有限公司 Method for servicing task of timer
CN1928817A (en) * 2006-09-30 2007-03-14 华为技术有限公司 Timer implementation method
CN101276295A (en) * 2008-03-19 2008-10-01 北京星网锐捷网络技术有限公司 Method for real-time operating system to avoid interrupt occupying excess CPU resources
CN101272564A (en) * 2008-04-17 2008-09-24 中兴通讯股份有限公司 Soft real-time timing device module and method for soft real-time timing device scheduling
CN102043667A (en) * 2010-11-25 2011-05-04 深圳市科陆电子科技股份有限公司 Task scheduling method for embedded operating system
CN102404404A (en) * 2011-09-07 2012-04-04 航天科工仿真技术有限责任公司 Distributed WEB application and remote equipment message communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107370639A (en) * 2017-08-14 2017-11-21 苏州众天力信息科技有限公司 A kind of more scenery control methods of gateway based on trapezoidal temporal algorithm
CN109189582A (en) * 2018-07-20 2019-01-11 新华三技术有限公司合肥分公司 A kind of method and device detecting semaphore time-out reason
CN109189582B (en) * 2018-07-20 2020-09-15 新华三技术有限公司合肥分公司 Method and device for detecting reason of semaphore timeout

Also Published As

Publication number Publication date
CN103455310B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN106293919B (en) A kind of the built-in tasks dispatching device and method of time trigger
US20170329632A1 (en) Device scheduling method, task manager and storage medium
CN104536835B (en) Self-adapting task scheduling method in a kind of Hot Spare real-time control system
US20140317631A1 (en) Reservation scheduler for real-time operating systems in wireless sensor networks
CN102043667A (en) Task scheduling method for embedded operating system
CN102081555A (en) Method and device for adjusting clock interrupt cycle
CN109445939A (en) A kind of dispatching method based on the soft real-time scheduling kernel for actively selling mechanism
KR20090120970A (en) A method of interrupt scheduling
CN102799212A (en) Global clock system for multi-core multi-processor parallel system, and application method thereof
CN104679583B (en) A kind of method and device of dynamic adjustment clock interrupt
CN103455310A (en) Timing method and device for semaphore pend interface
CN109753368B (en) Real-time data sending method and system
WO2017063468A1 (en) Power consumption control method, device and computer storage medium
CN111475312B (en) Message driving method and device based on real-time operating system
CN101639791B (en) Method for improving interruption delay of embedded type real-time operation system
WO2019029721A1 (en) Task scheduling method, apparatus and device, and storage medium
KR101890046B1 (en) Concurrent network application scheduling for reduced power consumption
CA2767782C (en) Suspendable interrupts for processor idle management
CN101349975B (en) Method for implementing interrupt bottom semi-section mechanism in embedded operation system
CN104104969B (en) Video interception method and device
CN102819474A (en) Test method and device for system operation
CN109426556B (en) Process scheduling method and device
CN104050030A (en) Operating system process scheduling method
CN103455402A (en) Timer control method without accumulated error
CN111177232B (en) Data processing method, device, system and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201217

Address after: 215163 8 Jinfeng Road, science and Technology City, Suzhou high tech Zone, Jiangsu

Patentee after: Suzhou Medical Device Industry Development Co.,Ltd.

Address before: 518057 Ministry of justice, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen, Guangdong

Patentee before: ZTE Corp.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Signal waiting interface timing method and device

Effective date of registration: 20211209

Granted publication date: 20170208

Pledgee: Suzhou jinhesheng Holding Co.,Ltd.

Pledgor: Suzhou Medical Device Industry Development Co.,Ltd.

Registration number: Y2021320010540

EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20131218

Assignee: Suzhou jinhesheng Holding Co.,Ltd.

Assignor: Suzhou Medical Device Industry Development Co.,Ltd.

Contract record no.: X2021320010049

Denomination of invention: Signal waiting interface timing method and device

Granted publication date: 20170208

License type: Exclusive License

Record date: 20211209

EE01 Entry into force of recordation of patent licensing contract
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 215163 8 Jinfeng Road, science and Technology City, Suzhou high tech Zone, Jiangsu

Patentee after: Suzhou Medical Device Industry Development Group Co.,Ltd.

Address before: 215163 8 Jinfeng Road, science and Technology City, Suzhou high tech Zone, Jiangsu

Patentee before: Suzhou Medical Device Industry Development Co.,Ltd.

PM01 Change of the registration of the contract for pledge of patent right
PM01 Change of the registration of the contract for pledge of patent right

Change date: 20230801

Registration number: Y2021320010540

Pledgor after: Suzhou Medical Device Industry Development Group Co.,Ltd.

Pledgor before: Suzhou Medical Device Industry Development Co.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20230804

Granted publication date: 20170208

Pledgee: Suzhou jinhesheng Holding Co.,Ltd.

Pledgor: Suzhou Medical Device Industry Development Group Co.,Ltd.

Registration number: Y2021320010540

EM01 Change of recordation of patent licensing contract
EM01 Change of recordation of patent licensing contract

Change date: 20230824

Contract record no.: X2021320010049

Assignor after: Suzhou Medical Device Industry Development Group Co.,Ltd.

Assignor before: Suzhou Medical Device Industry Development Co.,Ltd.

EC01 Cancellation of recordation of patent licensing contract
EC01 Cancellation of recordation of patent licensing contract

Assignee: Suzhou jinhesheng Holding Co.,Ltd.

Assignor: Suzhou Medical Device Industry Development Group Co.,Ltd.

Contract record no.: X2021320010049

Date of cancellation: 20230830