CN101276295A - Method for real-time operating system to avoid interrupt occupying excess CPU resources - Google Patents

Method for real-time operating system to avoid interrupt occupying excess CPU resources Download PDF

Info

Publication number
CN101276295A
CN101276295A CNA2008101022089A CN200810102208A CN101276295A CN 101276295 A CN101276295 A CN 101276295A CN A2008101022089 A CNA2008101022089 A CN A2008101022089A CN 200810102208 A CN200810102208 A CN 200810102208A CN 101276295 A CN101276295 A CN 101276295A
Authority
CN
China
Prior art keywords
interruption
interrupt
type
cpu
produced
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
CNA2008101022089A
Other languages
Chinese (zh)
Other versions
CN101276295B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2008101022089A priority Critical patent/CN101276295B/en
Publication of CN101276295A publication Critical patent/CN101276295A/en
Application granted granted Critical
Publication of CN101276295B publication Critical patent/CN101276295B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention provides a method for avoiding frequent interruption to occupy excess CPU resources in a real-time operation system, the method includes: a threshold is provided for each type interruption respectively, the threshold is a maximum ratio of the interruption time generated by the CPU allowance the type interruption to the whole interruption time; when the interrupt of the type is coming, CPU judges the ratio of the interruption time generated by the type interruption to the whole interruption time achieving the threshold set corresponding to the type interruption or not, if yes, shielding the type interruption; if not, continuous executing the interruption process. The invention leaves from the whole global of occupying condition of CPU resource, planning the CPU occupation of the interruption, and actively processing interruption and inhibition, effectively inhibiting frequent interruption, avoiding the excess occupation of CPU resource, achieving the effect of balancing utilization of system CPU resource.

Description

Avoid the frequent method of interrupting taking excess CPU resources of real time operating system
Technical field
The present invention relates to the real time operating system of computer realm, relate in particular to a kind of in real time operating system, interrupt according to its frequent degree of calculating for frequent generation type, carry out the active break shielding, sell cpu resource, make that other tasks are moved, avoid the frequent method of interrupting taking excess CPU resources of real time operating system.
Background technology
Real time operating system (Real Time Operating System, RTOS) in, real-time two words just representative have strict requirement to the response time.Real time operating system is valued in real time, requires to finish certain operation in official hour, mainly is used in the Industry Control.General number of tasks is fixed in the real time operating system, and will guarantee to finish specific function in the certain hour restriction.Usually, real time operating system must have following feature:
1) multitask
2) thread priority is arranged
3) multiple interrupt levels
Interrupt (Interrupt), be meant the term of execution of computing machine, any extraordinary or unexpected incident in need of immediate treatment takes place in the system, make central processing unit (Central ProcessingUnit, CPU) temporarily interrupt the current program of carrying out, then remove to carry out corresponding interrupt service routine.Returning originally behind the pending interrupt service routine that finishes again, the place of being interrupted continues to carry out or dispatch the process that new task is carried out.
Interrupt service routine, after referring to interrupt producing, computing machine need stop current program, then the service routine of carrying out corresponding with this interruption.
Scene protection, after referring to interrupt producing, the situation that present procedure is carried out need be noted, so that Interrupt Process can continue down after finishing.
More than three terms can assist understanding with following analogy: such as, I am seeing a novel at present, this moment come individual phone, I need write down the number of pages of seeing at present earlier so, go then to answer the call.After having connect phone, then the number of pages of original record continues to look down again.
In this metaphor, see that novel is exactly I (CPU) current program of carrying out, phone has come representative to produce an interruption, and this step of answering the call is just represented my in commission disconnected service routine.And I need write down the number of pages of seeing at present before answering the call, and scene protection is just named in the action of this record.If what this moment, phone came is very frequent, and I can connect to suppose each phone, so I (CPU), just not freely remove to see novel (carrying out current task).
Time window is meant one section Fixed Time Interval that is used to write down the cpu resource situation.
Timer mechanism: can automatically perform certain operation later in the default time.A popular metaphor is a time bomb.Bomb (timer) blast automatically after the experience certain hour (carrying out this operation of blast).
The implication that keeps the scene intact is exactly that interrupt this moment such as CPU is in task of processing now, and priority of interrupt is higher than task, therefore will transfer handling interrupt, after Interrupt Process finishes, can know original task executions point, handles so that continue.So just need before Interrupt Process, carry out scene protection.
In traditional operating system model, the general flow of Interrupt Process as shown in Figure 1, Fig. 1 is conventional Interrupt Process process flow diagram.The shortcoming of this flow process is, in some system environments (as network equipments such as switches, when under attack, have a large amount of messages and deliver to CPU, and the quite frequent receiving literary composition of generation interrupts), the generation of interruption is very frequent, causes other tasks almost to can not get the chance of moving.If these tasks are the relevant tasks of user interface, just may cause very bad user experience under so such situation.And in original procedural model, real time operating system itself does not provide a kind of mechanism to avoid the generation of this situation.
At this problem, existing solution is the number of times that interrupts generation by artificial constraint, makes dynamic adjustment but this method can't take situation according to the cpu resource of current system, and adaptability is not strong.
Summary of the invention
(1) technical matters that will solve
In view of this, fundamental purpose of the present invention is to provide a kind of frequent method of interrupting taking excess CPU resources of real time operating system of avoiding, and interrupts with frequently generation type of effective inhibition, avoids too much occupied of cpu resource.
(2) technical scheme
For achieving the above object, the invention provides a kind of frequent method of interrupting taking excess CPU resources of real time operating system of avoiding, this method comprises:
A threshold value is set in every type of interruption respectively, and this threshold value is that CPU allows the type to interrupt the maximum ratio that accounts for whole break periods break period that produces;
Next interim when certain type of interrupt, CPU judges that whether the ratio that accounts for described whole break periods break period that the type interrupts having produced reaches the threshold value that sets corresponding to the type interruption, if reach, then shields the type and interrupts; If do not reach, then continue to carry out the Interrupt Process flow process.
Preferably; described certain type of interrupt is arrived for receiving certain interrupt request; and carry out the disconnected and scene protection in the Central Shanxi Plain that is over, described execution Interrupt Process flow process is: CPU carries out the interrupt service routine corresponding with this interrupt request, carries out then and recovers on-the-spot and open the interruption flow process.
Preferably, described certain type of interrupt is arrived for receiving certain interrupt request, and carry out be over that the Central Shanxi Plain is disconnected, scene protection and corresponding interrupt service routine, described execution Interrupt Process flow process is: CPU carries out the scene of recovery and opens the interruption flow process.
Preferably, when a threshold value is set in every type of interruption respectively, further comprise: the historical cpu resource occupied information database that set up to interrupt is used to preserve the break period that all types of interruptions have produced and whole break periods that all types of interruption produced;
Coming temporarily when certain type of interrupt, further comprise: CPU reads the type and interrupts the break period produced and whole break periods that all types of interruption produced from described cpu resource occupied information database, and calculates the ratio that accounts for break period that the type interrupts having produced whole break periods that all types of interruption produces.
Preferably, described continuation is carried out the Interrupt Process flow process and further comprised: the CPU record this time interrupts the lasting time, this time is added to the break period that the type interruption has produced in the described cpu resource occupied information database, and upgrades whole break periods that all types of interruption produced in the described cpu resource occupied information database.
Preferably, when a threshold value is set in every type of interruption respectively, further comprise: the historical cpu resource occupied information database that set up to interrupt is used to preserve break period that all types of interruptions have produced and whole break periods that should all types of interruption produced in the time period in this time period;
Coming temporarily when certain type of interrupt, further comprise: CPU read the type and interrupt the break period produced and whole break periods that should all types of interruption produced in the time period in this time period from described cpu resource occupied information database, and calculated the type interrupt the ratio that accounts for whole break periods that all types of interruption produced in this time period break period that produced in this time period.
Preferably, described continuation is carried out the Interrupt Process flow process and further comprised: the CPU record this time interrupts the lasting time, this time is added to the type in the described cpu resource occupied information database interrupts break period of in this time period, having produced, and upgrade in the described cpu resource occupied information database should all types of interruption be produced in the time period whole break periods.
Preferably, the described time period is from receiving interrupt request this time period before the set time section, or a residing set time section when receiving interrupt request.
Preferably, when described shielding the type is interrupted, also comprise: enable timer; Described method further comprises: after timer arrives the predefined time, and the shielding that cancellation is interrupted the type.
(3) beneficial effect
From technique scheme as can be seen, the present invention has following beneficial effect:
This frequent method of interrupting taking excess CPU resources of real time operating system of avoiding provided by the invention, maximum characteristics are exactly the overall situation from the system CPU occupation condition, the CPU that plans interruption takies, and initiatively interrupt suppressing, can suppress frequently generation type effectively interrupts, avoid too much occupied of cpu resource, reached the effect that the system CPU equilibrium of stock utilizes.
Such as before not implementing this improvement, interrupting under the frequent situation about taking place, the cpu resource of possibility 99% all is interrupted and takies, and carry out after the active break inhibition, determine in the flow process and interrupt having taken after 75% time of time in the past window, so just carry out interrupt mask, so just can vacate cpu resource and use for other tasks, so can reach the effect of balance.
Simultaneously, 75% this numerical value is adjustable herein, can adjust according to the user experience and the needs of reality.
Description of drawings
Fig. 1 is conventional Interrupt Process process flow diagram;
Fig. 2 is the frequent method flow diagram that interrupts taking excess CPU resources of real time operating system of avoiding provided by the invention;
Fig. 3 is for avoiding the frequent method flow diagram that interrupts taking excess CPU resources of real time operating system according to the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
Introduce solution thinking of the present invention below:
At first, set up the information database that cpu resource takies situation based on every type of interrupt, therefrom stopping pregnancy life to interrupt service routine carry out to finish, and in time corresponding position of window during this period of time, is labeled as and takies.After interrupt service routine disposes, CPU occupied information database according to this interruption, according to as above record break period shared this time window ratio, judge whether this interruption takies too much cpu resource in nearest certain time window of setting.When the ratio of the cpu resource that takies when this interruption surpassed default threshold values, shielding the type was interrupted, and starts timer, removes interrupt mask by timer mechanism.
In addition, as the expansion of technical scheme provided by the invention, some frequent flip-over type can also be interrupted being classified as a class, be that unit sets up unified cpu resource and takies the situation information database with the class.This class interrupts just can carrying out the unified planning of cpu resource like this.
As shown in Figure 2, Fig. 2 is the frequent method flow diagram that interrupts taking excess CPU resources of real time operating system of avoiding provided by the invention, and this method comprises:
Step 201: a threshold value is set in every type of interruption respectively, and this threshold value is that CPU allows the type to interrupt the maximum ratio that accounts for whole break periods break period that produces;
Step 202: next interim when certain type of interrupt, CPU judges whether the ratio that accounts for described whole break periods break period that the type interrupts having produced reaches the threshold value that sets corresponding to the type interruption, if reach, then execution in step 203; If do not reach, then execution in step 204.
Step 203; Shielding the type is interrupted, and recovers on-the-spot, closes and interrupts;
Step 204: continue to carry out the Interrupt Process flow process.
For technical scheme shown in Figure 2, below divide two kinds of situations to be elaborated:
Situation 1: in the above-mentioned steps 201, when a threshold value is set in every type of interruption respectively, may further include: the historical cpu resource occupied information database that set up to interrupt is used to preserve the break period that all types of interruptions have produced and whole break periods that all types of interruption produced.
At this moment, coming temporarily when certain type of interrupt, CPU further reads the type and interrupts the break period produced and whole break periods that all types of interruption produced from described cpu resource occupied information database, and calculates the ratio that accounts for break period that the type interrupts having produced whole break periods that all types of interruption produces.CPU judges that whether the type interrupts having produced in this time period the ratio that accounts for whole break periods in this time period break period reaches the threshold value that sets corresponding to the type interruption, if reach, then shields the type and interrupts, and start timer; If do not reach, then continue to carry out the Interrupt Process flow process.After timer arrives the predefined time, the shielding that cancellation is interrupted the type.
Alternatively, the historical cpu resource occupied information database that interrupts is also preserved the ratio that accounts for break period that all types of interruptions have produced whole break periods that all types of interruption produces, coming temporarily when certain type of interrupt, CPU can directly read the ratio that accounts for break period that the type interruption produced whole break periods that all types of interruption produces from described cpu resource occupied information database.
After continuing to carry out the Interrupt Process flow process, CPU further record this time interrupts the lasting time, this time is added to the break period that the type interruption has produced in the described cpu resource occupied information database, and upgrades whole break periods that all types of interruption produced in the described cpu resource occupied information database.
Situation 2: in the above-mentioned steps 201, interrupting corresponding threshold with every type further is set at CPU and allows the type to interrupt the maximum ratio that accounts for whole break periods in this time period break period that produces in section sometime, then: when certain type of interrupt is come interim, CPU judges whether the type interrupts having produced in this time period the ratio that accounts for whole break periods in this time period break period reaches the threshold value that sets corresponding to the type interruption, if reach, then shield the type and interrupt, and start timer; If do not reach, then continue to carry out the Interrupt Process flow process.After timer arrives the predefined time, the shielding that cancellation is interrupted the type.
At this moment, when a threshold value is set in every type of interruption respectively, may further include: the historical cpu resource occupied information database that set up to interrupt is used to preserve break period that all types of interruptions have produced and whole break periods that should all types of interruption produced in the time period in this time period.
Coming temporarily when certain type of interrupt, CPU further read the type and interrupt the break period produced and whole break periods that should all types of interruption produced in the time period in this time period from described cpu resource occupied information database, and calculated the type interrupt the ratio that accounts for whole break periods that all types of interruption produced in this time period break period that produced in this time period.
Alternatively, the historical cpu resource occupied information database that interrupts is also preserved the ratio that accounts for whole break periods that all types of interruption produced in this time period break period that all types of interruptions have produced in this time period, coming temporarily when certain type of interrupt, CPU can directly read the ratio that accounts for whole break periods that all types of interruption produced in this time period break period that the type interruption has produced in this time period from described cpu resource occupied information database.
After continuing to carry out the Interrupt Process flow process, CPU further record this time interrupts the lasting time, this time is added to the type in the described cpu resource occupied information database interrupts break period of in this time period, having produced, and upgrade in the described cpu resource occupied information database should all types of interruption be produced in the time period whole break periods.
In said circumstances 1 and situation 2, described certain type of interrupt arrives can further include following two kinds of situations:
When described certain type of interrupt arriving received certain interrupt request for CPU, continuation described in the step 204 is carried out the Interrupt Process flow process and is: CPU carried out the interrupt service routine corresponding with this interrupt request, carried out the recovery scene then and opened the interruption flow process.
When described certain type of interrupt is arrived for CPU receives certain interrupt request, and carry out be over that the Central Shanxi Plain is disconnected, scene protection and corresponding interrupt service routine, continue described in the step 204 to carry out the Interrupt Process flow process and be: CPU carries out the scene of recovery and opens the interruption flow process.
In addition, for situation 2, promptly in above-mentioned steps 201, interrupt corresponding threshold when further being set at CPU and allowing the type interrupts producing in section sometime break period to account for the maximum ratio of whole break periods in this time period with every type, described section sometime is from receiving this section period of interrupt request before the set time section, or fixing a period of time.
Particularly, described section sometime is from receiving this section period of interrupt request before a set time section, suppose set time Duan Weiyi hour, receive interrupt request as 11:30, then this time period is meant 10:30~11:30, surpass threshold value when judging, then shield the type and interrupt, start timer, timing can rule of thumb be worth to be chosen, as 10 minutes, promptly untie shielding to 11:40.Alternatively, described section sometime can be a period of time of fixing also, as 11:00~12:00, interrupt type has surpassed threshold value under this interrupt request that 11:30 receives, and then shields the type and interrupts, and starts timer, timing was made as 30 minutes, promptly untied shielding to 12:00.
Based on the frequent method flow diagram that interrupts taking excess CPU resources of real time operating system of avoiding provided by the invention shown in Figure 2, Fig. 3 shows according to the embodiment of the invention and avoids the frequent method flow diagram that interrupts taking excess CPU resources of real time operating system, and this method may further comprise the steps:
Step 301: determine that there is requirement in real time in current system and may produces frequent interruption as the literary composition interruption of receiving telegraph.
Step 302: in the receiving literary composition Interrupt Process of system software, increase the database information that this interruption takies cpu resource, only need to preserve a nearest time window.
Step 303: calculate this interruption recently to the situation that takies of cpu resource in time window, if the ratio that takies surpasses the threshold values that the user sets, shielding receiving literary composition interrupts so.This moment system's literary composition of no longer receiving telegraph.Start timer simultaneously, be set in certain hour,, remove shielding afterwards as 10ms.
Step 304: the time of 10ms this moment just can not produce the interruption of receiving literary composition.This 10ms just can free out like this, uses for other tasks.
Step 305:10ms one arrives, and timer can be removed shielding, can produce the receiving literary composition this moment again and interrupt.
To 305, can reach the effect that the balance CPU resource is used by as above step 301.
Above-mentioned specific embodiment comes down to that situation 2 according to technical scheme shown in Figure 2 is described.In actual applications, the present invention also can be described according to the situation 1 of technical scheme shown in Figure 2.At this moment, the technical scheme that is adopted is consistent with technical scheme provided by the invention, should be included within protection scope of the present invention.
Although the present invention explains in conjunction with specific embodiments, those skilled in the art obviously can also find out many selections, modifications and changes on the basis of above explanation.Therefore, all these are selected, and modifications and changes all should be included within subsidiary claims scope required for protection.

Claims (9)

1, a kind of frequent method of interrupting taking excess CPU resources of real time operating system of avoiding is characterized in that this method comprises:
A threshold value is set in every type of interruption respectively, and this threshold value is that CPU allows the type to interrupt the maximum ratio that accounts for whole break periods break period that produces;
Next interim when certain type of interrupt, CPU judges that whether the ratio that accounts for described whole break periods break period that the type interrupts having produced reaches the threshold value that sets corresponding to the type interruption, if reach, then shields the type and interrupts; If do not reach, then continue to carry out the Interrupt Process flow process.
2, the frequent method of interrupting taking excess CPU resources of real time operating system of avoiding according to claim 1; it is characterized in that; described certain type of interrupt is arrived for receiving certain interrupt request; and carry out the disconnected and scene protection in the Central Shanxi Plain that is over; described execution Interrupt Process flow process is: CPU carries out the interrupt service routine corresponding with this interrupt request, carries out then and recovers on-the-spot and open the interruption flow process.
3, the frequent method of interrupting taking excess CPU resources of real time operating system of avoiding according to claim 1; it is characterized in that; described certain type of interrupt is arrived for receiving certain interrupt request; and carry out be over that the Central Shanxi Plain is disconnected, scene protection and corresponding interrupt service routine, described execution Interrupt Process flow process is: CPU carries out and recovers on-the-spot and open the interruption flow process.
4, according to each described frequent method of interrupting taking excess CPU resources of real time operating system of avoiding in the claim 1 to 3, it is characterized in that,
When a threshold value is set in every type of interruption respectively, further comprise: the historical cpu resource occupied information database that set up to interrupt is used to preserve the break period that all types of interruptions have produced and whole break periods that all types of interruption produced;
Coming temporarily when certain type of interrupt, further comprise: CPU reads the type and interrupts the break period produced and whole break periods that all types of interruption produced from described cpu resource occupied information database, and calculates the ratio that accounts for break period that the type interrupts having produced whole break periods that all types of interruption produces.
5, the frequent method of interrupting taking excess CPU resources of real time operating system of avoiding according to claim 4 is characterized in that described continuation is carried out the Interrupt Process flow process and further comprised:
The CPU record this time interrupts the lasting time, this time is added to the break period that the type interruption has produced in the described cpu resource occupied information database, and upgrades whole break periods that all types of interruption produced in the described cpu resource occupied information database.
6, according to each described frequent method of interrupting taking excess CPU resources of real time operating system of avoiding in the claim 1 to 3, it is characterized in that,
When a threshold value is set in every type of interruption respectively, further comprise: the historical cpu resource occupied information database that set up to interrupt is used to preserve break period that all types of interruptions have produced and whole break periods that should all types of interruption produced in the time period in this time period;
Coming temporarily when certain type of interrupt, further comprise: CPU read the type and interrupt the break period produced and whole break periods that should all types of interruption produced in the time period in this time period from described cpu resource occupied information database, and calculated the type interrupt the ratio that accounts for whole break periods that all types of interruption produced in this time period break period that produced in this time period.
7, the frequent method of interrupting taking excess CPU resources of real time operating system of avoiding according to claim 6 is characterized in that described continuation is carried out the Interrupt Process flow process and further comprised:
The CPU record this time interrupts the lasting time, this time is added to the type in the described cpu resource occupied information database interrupts break period of in this time period, having produced, and upgrade in the described cpu resource occupied information database should all types of interruption be produced in the time period whole break periods.
8, the frequent method of interrupting taking excess CPU resources of real time operating system of avoiding according to claim 7, it is characterized in that, the described time period is from receiving interrupt request this time period before the set time section, or a residing set time section when receiving interrupt request.
9, according to each described frequent method of interrupting taking excess CPU resources of real time operating system of avoiding in the claim 1 to 8, it is characterized in that, when described shielding the type is interrupted, also comprise: enable timer; Described method further comprises: after timer arrives the predefined time, and the shielding that cancellation is interrupted the type.
CN2008101022089A 2008-03-19 2008-03-19 Method for real-time operating system to avoid interrupt occupying excess CPU resources Expired - Fee Related CN101276295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101022089A CN101276295B (en) 2008-03-19 2008-03-19 Method for real-time operating system to avoid interrupt occupying excess CPU resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101022089A CN101276295B (en) 2008-03-19 2008-03-19 Method for real-time operating system to avoid interrupt occupying excess CPU resources

Publications (2)

Publication Number Publication Date
CN101276295A true CN101276295A (en) 2008-10-01
CN101276295B CN101276295B (en) 2011-04-06

Family

ID=39995760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101022089A Expired - Fee Related CN101276295B (en) 2008-03-19 2008-03-19 Method for real-time operating system to avoid interrupt occupying excess CPU resources

Country Status (1)

Country Link
CN (1) CN101276295B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937364A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Interrupt synthesizing method and device
CN102135912A (en) * 2011-04-02 2011-07-27 大唐移动通信设备有限公司 Interruption jitter processing method and equipment
CN103064815A (en) * 2012-12-29 2013-04-24 广东志成冠军集团有限公司 Method for controlling multiple controller area network (CAN) interfaces through single program initiation (SPI) bus
CN103455310A (en) * 2012-05-29 2013-12-18 中兴通讯股份有限公司 Timing method and device for semaphore pend interface
WO2016082523A1 (en) * 2014-11-28 2016-06-02 华为技术有限公司 Apparatus and method for handling fault
CN107544838A (en) * 2016-06-24 2018-01-05 中兴通讯股份有限公司 A kind of interruption processing method and device
CN108549578A (en) * 2017-12-25 2018-09-18 贵阳忆芯科技有限公司 A kind of interruption polyplant and its method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937364A (en) * 2009-06-30 2011-01-05 华为技术有限公司 Interrupt synthesizing method and device
CN102135912A (en) * 2011-04-02 2011-07-27 大唐移动通信设备有限公司 Interruption jitter processing method and equipment
CN103455310A (en) * 2012-05-29 2013-12-18 中兴通讯股份有限公司 Timing method and device for semaphore pend interface
CN103455310B (en) * 2012-05-29 2017-02-08 中兴通讯股份有限公司 Timing method and device for semaphore pend interface
CN103064815A (en) * 2012-12-29 2013-04-24 广东志成冠军集团有限公司 Method for controlling multiple controller area network (CAN) interfaces through single program initiation (SPI) bus
CN103064815B (en) * 2012-12-29 2015-09-02 广东志成冠军集团有限公司 A kind of single spi bus controls the control method of many CAN interface
WO2016082523A1 (en) * 2014-11-28 2016-06-02 华为技术有限公司 Apparatus and method for handling fault
CN107544838A (en) * 2016-06-24 2018-01-05 中兴通讯股份有限公司 A kind of interruption processing method and device
CN107544838B (en) * 2016-06-24 2024-02-23 中兴通讯股份有限公司 Interrupt processing method and device
CN108549578A (en) * 2017-12-25 2018-09-18 贵阳忆芯科技有限公司 A kind of interruption polyplant and its method

Also Published As

Publication number Publication date
CN101276295B (en) 2011-04-06

Similar Documents

Publication Publication Date Title
CN101276295B (en) Method for real-time operating system to avoid interrupt occupying excess CPU resources
US9513950B2 (en) Dynamic resource configuration based on context
Koren et al. Skip-over: Algorithms and complexity for overloaded systems that allow skips
CA2279950C (en) Predictive bursty real-time traffic control for telecommunications switching systems
US9836418B2 (en) System and method for deterministic time partitioning of asynchronous tasks in a computing environment
CN102081679B (en) Computer performance data acquisition method and device
US8813082B2 (en) Thread priority based on object creation rates
CN109347757B (en) Message congestion control method, system, device and storage medium
JP2005229641A (en) Method and apparatus for processing communication in communication processing equipment having a plurality of agents
CN105939225A (en) Method and device for executing service
KR20110103257A (en) Virtual machine monitor and scheduling method of virtual machine monitor
CN104536835B (en) Self-adapting task scheduling method in a kind of Hot Spare real-time control system
US20080195785A1 (en) Interrupt Control
CA2585295A1 (en) System and method for synchronous processing of media data on an asynchronous processor
CN101169737A (en) Task switching control method and computer system
US8769233B2 (en) Adjusting the amount of memory allocated to a call stack
CN105718320B (en) Clock task processing method, device and equipment
CN110557432B (en) Cache pool balance optimization method, system, terminal and storage medium
CN111666167A (en) Input event reading processing optimization method, nonvolatile memory and terminal equipment
Agung et al. Preemptive parallel job scheduling for heterogeneous systems supporting urgent computing
US9436505B2 (en) Power management for host with devices assigned to virtual machines
JPWO2016027452A1 (en) Analysis control device, analysis control method, and recording medium
Kalogeraki et al. Dynamic migration algorithms for distributed object systems
CN103793274A (en) Increment time slice adjustment framework and method in CREDIT scheduler
CN112532634B (en) Capacity expansion and capacity reduction method and device for server in audio and video conference 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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110406

Termination date: 20140319