CN101158913A - Method and system for checking tasks endless loop - Google Patents

Method and system for checking tasks endless loop Download PDF

Info

Publication number
CN101158913A
CN101158913A CNA2007101703998A CN200710170399A CN101158913A CN 101158913 A CN101158913 A CN 101158913A CN A2007101703998 A CNA2007101703998 A CN A2007101703998A CN 200710170399 A CN200710170399 A CN 200710170399A CN 101158913 A CN101158913 A CN 101158913A
Authority
CN
China
Prior art keywords
task
endless loop
priority
detection
detects
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
CNA2007101703998A
Other languages
Chinese (zh)
Other versions
CN100543686C (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.)
Huawei Technologies Co Ltd
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies 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 Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CNB2007101703998A priority Critical patent/CN100543686C/en
Publication of CN101158913A publication Critical patent/CN101158913A/en
Application granted granted Critical
Publication of CN100543686C publication Critical patent/CN100543686C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for detection task closed loop, which comprises: in a system of a priority level-based task dispatch strategy, a closed loop detection task with the least priority level shall be preset; when the system clock is interrupted, detect whether the duration of the closed loop detection task for non-operation is greater than the preset threshold value, so as to decide that the task closed loop occurs in the system. The invention also discloses a system detecting the task closed loop. The invention ensures that in the system of the priority level-based dispatch strategy, the situation of missed detection on the low priority level task closed loop won't happen, and the detection of the task closed loop doesn't rely on the task dispatch strategy of the system.

Description

A kind of method and system that detect task closed loop
Technical field
The present invention relates to software technology field, be specifically related to a kind of method and system that detect task closed loop.
Background technology
Along with the continuous expansion in software application field and the continuous enhancing of function, the processing power of CPU (central processing unit) (CPU, Central Processing Unit) is more and more stronger, and the software code amount is increasing, realizes also becoming increasingly complex.Real-time and the handling capacity of while in order to improve system, software systems generally all adopt the multitask design.
Now the task scheduling of operating system is normally based on the task scheduling of priority, and common scheduling strategy is divided into: priority non-preemptive scheduling, based on the scheduling of preemptive priority formula and the non-preemptive priority formula scheduling based on round-robin of round-robin.But no matter which kind of scheduling strategy, task scheduling generally all is to interrupt (for example the every 10ms of system clock produces an interrupt request, and triggering system is carried out corresponding Interrupt Service Routine) by clock to realize.When producing each clock interruption, system is according to the operation task of next clock period of task scheduling strategy decision.If the operation task of next clock period changes, then carry out task and switch; This task transfer sequence is also referred to as the task switching track.The tabulation that the task switching track generally is made up of a plurality of task ID.
Because software is realized complicated, task is more, is easy to generate task closed loop, and promptly the task execution route enters an infinite loop, and does not initiatively discharge CPU in this circulating path, thereby makes the system service Disability.Realize emphasis though task management is the design of operating system, regrettably operating system does not provide the detection and the disposal route of task closed loop.
The method of existing a kind of detection and Processing tasks endless loop is to interrupt detecting the task run duration by clock and detect endless loop, and carry out the processing of endless loop.Surpass predetermined threshold value if clock interrupts detecting the task continuous running time, think that then endless loop appears in this task, produce then and interrupt writing down the inter-related task information of this task, and handle accordingly.
The concrete steps of this method are:
When clock interrupts, write down current task identification that is moving (ID) and corresponding operation duration, if task switches with the operation duration zero clearing of this task; Surpass predetermined threshold value if clock detects discovery task continuous running time when interrupting, then think this task generation endless loop, carry out following processing; Otherwise be left intact; Obtain endless loop task control block message, register information, stack information etc. by task ID, obtain task call stack information by register information; Write down then so that carry out positioning problems; Resetting system after the locating information record is finished is so that recover fault.
As seen, in this technical scheme, when task switched, with the operation duration zero clearing of this task, promptly therefore this scheme dependence task scheduling strategy existed omission to survey for preemptive priority formula dispatching system.Specifically, if endless loop appears in low priority task, and high-priority task is normally moved, at this moment, because low priority task is when high-priority task is switched, clock interrupts the operation duration zero clearing with low priority task, even therefore low priority task has entered endless loop, also can't detect, thereby the situation that the endless loop omission of low priority task is surveyed occur.
Summary of the invention
The embodiment of the invention provides a kind of method that detects task closed loop, in the system based on the priority scheduling strategy, avoids the omission of low priority task endless loop to survey, and makes the detection of task closed loop not rely on the task scheduling strategy of system.
The embodiment of the invention also provides a kind of system that detects task closed loop, in the system based on the priority scheduling strategy, avoids the omission of low priority task endless loop to survey, and makes the detection of task closed loop not rely on the task scheduling strategy of system.
For achieving the above object, the technical scheme of the embodiment of the invention is achieved in that
A kind of method that detects task closed loop comprises:
In the system based on the priority tasks scheduling strategy, the endless loop that sets in advance lowest priority detects task;
When the clock of this system interrupted, whether the duration that detects the described endless loop detection of off-duty task was to judge that then task closed loop appears in this system greater than pre-set threshold.
A kind of system that detects task closed loop comprises that clock, endless loop detect task execution module and detection module,
Described clock is used to the system based on the priority scheduling strategy to produce clock interrupt signal;
Described endless loop detects task execution module, and minimum endless loop detects task based on system's medium priority of priority scheduling strategy to be used to move this;
Described detection module, be used for when described clock generating look-at-me, whether the duration that detects the described endless loop detection of described endless loop detection task execution module off-duty task is to judge that then task closed loop appears in this system based on the priority scheduling strategy greater than preset threshold value.
Compared with prior art, the technical scheme that the embodiment of the invention provided, in the system based on the priority tasks scheduling strategy, the endless loop that sets in advance lowest priority detects task; When the clock of this system interrupted, whether the duration that detects off-duty endless loop detection task was to judge that then task closed loop appears in this system greater than pre-set threshold.Because in system based on the priority tasks scheduling strategy, in case the endless loop task occurs, then the task of lowest priority must be less than scheduling, therefore embodiment of the invention utilization is lower than the off-duty duration of endless loop detection task of all task priorities of system, come detection system whether endless loop takes place, thereby, the situation of having avoided the low priority task endless loop omission of system to survey.
Simultaneously, because clock interrupts not being subjected to the influence of task run state and system call strategy, thereby make the detection of task closed loop in the embodiment of the invention not be subjected to the influence of task scheduling strategy in the system.
Description of drawings
Fig. 1 is the method flow diagram that detects task closed loop in the embodiment of the invention;
Fig. 2 is the system construction drawing that detects task closed loop in the embodiment of the invention.
Embodiment
The present invention is described in detail below in conjunction with drawings and the specific embodiments.
At present, in the system based on priority non-preemptive scheduling strategy, carry out task after the task run of current priority finishes and switch, the task of switching is the task that ready priority is higher than current task priority.In the non-preemptive priority formula scheduling strategy system based on round-robin, as long as it is ready that priority is higher than the task of current task priority, then when task scheduling, when for example clock interrupted producing, system switched to the operation of this ready higher priority task.In the preemptive priority formula dispatching system based on round-robin, in the current task operational process, high-priority task can be seized, and during other Mission Ready identical with current task priority, time operation in turn to equate between the suitable task of priority, their operation has equal opportunities.
Therefore, for task scheduling strategy based on priority, when endless loop occurring in the system, normally priority is higher than current task priority (priority non-preemptive scheduling strategy and non-preemptive priority formula scheduling based on round-robin) or the task of identical with current task priority (based on the preemptive priority formula scheduling of round-robin) can obtain scheduling, but priority is lower than the task of current task priority can not get scheduling, can't move.Therefore, the embodiment of the invention provides a kind of The above results of utilizing to carry out the method that task closed loop detects.
The method of the detection task closed loop that the embodiment of the invention provides, in the system based on the priority tasks scheduling strategy, the endless loop that sets in advance lowest priority detects task; When the clock of this system interrupted, whether the duration that detects the damned cycle detection task of off-duty was to judge that then task closed loop appears in this system greater than pre-set threshold.
Below by three embodiment the method for detection task closed loop provided by the invention is elaborated.
Embodiment one:
The endless loop detection task that present embodiment utilizes global counter and this global counter is carried out zero clearing judges that whether the off-duty endless loop detects the duration of task greater than preset threshold value.
Fig. 1 is the method flow diagram that detects task closed loop in the embodiment of the invention.As shown in Figure 1, this method may further comprise the steps:
Step 100: in system based on the priority tasks scheduling strategy, default global counter C, initial value is 0; The endless loop of default system's lowest priority detects task TL, and endless loop detects the every execution of task TL and once just global counter C carried out clear operation.
In the practical application, TL carries out reducing to global counter C.
Step 101: when the clock of this system interrupts, execution adds the M operation to global counter, and whether the value that detects global counter C is greater than predetermined counter threshold N, if the value that detects global counter C judges then that greater than predetermined counter threshold N task closed loop appears in this system.
In this step, the duration threshold value of this counter threshold N correspondence is N ÷ M * clock period.If preset threshold value is the duration threshold k, then its corresponding counter threshold is K ÷ clock period * M.
Which the task of further determining generation endless loop in the system if desired is, then also needs execution in step 102.
Step 102: when carrying out task scheduling in this system, if switching has taken place task, then the task switching track of further register system for example can switch record in the hook in the task that operating system provides; When N value and M value meet the following conditions, occur in the system of endless loop in judgement, the task that the priority in the switching track that can set the tasks except that TL is minimum is endless loop task TD, execution in step 103 then.
In this step, the task number of the middle record of task switching track is L.When carrying out the switching of L+1 subtask, task record after the switching will cover task record the earliest, i.e. the 1st record, when carrying out the switching of L+2 subtask, task record after this switches will cover the 2nd record, by that analogy, after L task record when the earliest all covered once, this task switching track refreshed once.Switching to the time that the 2L subtask is switched from the L+1 subtask, promptly is that the task switching track refreshes duration once.Generally, in order to improve the accuracy of detection of endless loop task, L should be more than or equal to the task number of system's maximum.Its value can be tested according to system's actual conditions, is set at test effect empirical value preferably then.
In this step, counter threshold N and M value need satisfy following condition:
Counter threshold N and M value make counter C value from 0 duration (N ÷ M * clock period) that is increased to counter threshold N, the task switching track that can guarantee system refreshes once at least, and makes this duration continue 100% time span greater than system CPU occupancy rate under the normal condition.
It is long more that system's endless loop task detects duration, and task switching track refreshing frequency is many more in this time period, so the task closed loop accuracy of detection is high more.In the practical application, can test, set N and M with the empirical value that the task closed loop accuracy of detection is higher according to system's actual conditions.
System's endless loop task detects duration need continue 100% time span greater than system CPU occupancy rate under the normal condition, be because some system may continue for 100% time owing to CPU usage takes place some design defect, but the following duration of normal condition is not long, can recover automatically, task closed loop do not occur in the system this moment.In order to reduce the possibility of erroneous judgement, system's endless loop task detects duration need continue 100% time span greater than system CPU occupancy rate under the normal condition.Certainly, in system reasonable in design, it is little that CPU usage continues 100% possibility under the normal condition, continues 100% time span so can not consider CPU usage.
In this step,, the task that number of run is maximum in these tasks is defined as taking place the task of endless loop when the priority except that TL is minimum in the task switching track task has when a plurality of.
Step 103: carry out fault processing: the task stack information (comprising: task control block message, task register information, task stack information, task call stack information) of record TD according to task ID.Locate the concrete reason that endless loop produces according to task call stack and stack information.Locating information is carried out record, and recovery system then is so that carry out fault recovery.
The concrete process of carrying out of this step is same as the prior art, does not therefore repeat them here.
System time when embodiment two and embodiment three utilize the endless loop of lowest priority to detect task run, and the system time of clock when interrupting detect the off-duty endless loop and whether detect the duration of task greater than preset threshold value.Wherein system time can be system's absolute time or system's relative time.
Embodiment two:
System's absolute time when present embodiment utilizes the endless loop of lowest priority to detect task run detects the off-duty endless loop and whether detects the duration of task greater than preset threshold value.
Concrete steps comprise:
At first in the system based on the priority tasks scheduling strategy, the endless loop of default system's lowest priority detects task TL, and the system's absolute time when the every execution of task TL once just moves it is carried out record.
When this system's generation clock interrupts, operation clock interruption routine, whether the difference when this clock interruption routine detects current system's absolute time and the last operation of endless loop detection task TL between system's absolute time of record is to judge that then task closed loop appears in this system greater than preset threshold value.
When needs determine that further which the task of generation endless loop is, also need to carry out following steps:
When this system carried out task scheduling, if switching has taken place task, then the task switching track of further register system for example can switch record in the hook in the task that operating system provides; When can guaranteeing this task switching track, preset threshold value refreshes at least once, and when continuing 100% time span greater than system CPU occupancy rate under the normal condition, occur in the system of endless loop in judgement, can setting the tasks, the minimum task of priority except that TL is endless loop task TD in the switching track, and execution in step 103 then.
Generally, in order to improve the accuracy of detection of endless loop task, L should be more than or equal to the task number of system's maximum.Its value can be tested according to system's actual conditions, is set at test effect empirical value preferably then.
Embodiment three:
Most systems can provide system power on after time of operation, i.e. system's relative time, present embodiment is elaborated to technical scheme provided by the invention with the counter time corresponding of clock being interrupted the count example as system's relative time.Specifically, the value of this counter detected the off-duty endless loop and whether detects the duration of task greater than preset threshold value when the value of this counter and clock interrupted when present embodiment utilized the endless loop of lowest priority to detect task run.
Concrete steps comprise:
At first in the system based on the priority tasks scheduling strategy, the endless loop of default system's lowest priority detects task TL, and the Counter Value of when the every execution of task TL once just moves it clock interruption of this system being counted carries out record.
When this system's generation clock interrupts, operation clock interruption routine, whether the clock interruption routine detects difference between the Counter Value that writes down when counter currency that the clock to this system interrupts counting detects the last operation of task TL with endless loop greater than the counter threshold that calculates according to predetermined threshold value, is to judge that then task closed loop appears in this system.
Wherein, calculate counter threshold according to predetermined threshold value and obtain counter threshold by the predetermined threshold value ÷ clock period when clock being interrupted counting when adding 1 operation.When clock being interrupted counting when adding the M operation, calculate counter threshold according to predetermined threshold value predetermined threshold value ÷ clock period * M value is obtained counter threshold.
The method of the task of further definite generation endless loop is identical with embodiment two in the present embodiment, does not repeat them here.
Fig. 2 is the system construction drawing that detects task closed loop in the embodiment of the invention.As shown in Figure 2, this system comprises that clock, endless loop detect task execution module and detection module.
Wherein, clock is used to the system based on the priority scheduling strategy to produce clock interrupt signal.
Endless loop detects the endless loop detection task that task execution module is used for the executive system lowest priority.
Detection module is used for when the clock generating look-at-me, and whether the duration that detects endless loop detection task execution module off-duty endless loop detection task is then to judge this system's generation task closed loop based on the priority scheduling strategy greater than preset threshold value.
When this system uses the method for embodiment one to detect system based on the priority scheduling strategy whether endless loop to occur, further comprise global counter, be used for when the clock generating look-at-me, carrying out add operation.Endless loop detects task execution module global counter is carried out zero clearing.Whether detection module detects the value of global counter greater than the counter threshold that calculates according to predetermined threshold value.
When this system uses the method detection system of embodiment two whether endless loop to occur, the system's absolute time when endless loop detects task execution module record endless loop detection task run; Whether the difference between system's absolute time of system's absolute time that the detection module detection is current and endless loop detection task execution module record is greater than preset threshold value.
When this system uses the method detection of embodiment three whether endless loop to occur, further comprise counter, be used for counting when clock produces when interrupting.Counter Value when endless loop detects task execution module record endless loop detection task run.Whether detection module detects difference between the Counter Value that current Counter Value and endless loop detect the task execution module record greater than the counter threshold that calculates according to predetermined threshold value.
Above-described system also can further comprise logging modle and determination module.Logging modle is used for this system based on the priority scheduling strategy when carrying out task scheduling, writes down its task switching track.Determination module, be used for detection module detect endless loop appears and after, the task number that writes down in the task switching track is not less than this all task numbers based on the priority scheduling policy system, and when preset threshold value makes the task switching track refresh one time at least, judge that the minimum task of priority except that endless loop detection task is the endless loop task in the task switching track.
Determination module can also be further in the task switching track the minimum task of priority except that endless loop detection task have when a plurality of, judge that the maximum task of number of run is the endless loop task in the task that the priority except that endless loop detection task is minimum in the task switching track.
By the above as can be seen, the technical scheme that the embodiment of the invention provided, in the system based on the priority tasks scheduling strategy, the endless loop that sets in advance lowest priority detects task; When the clock of this system interrupted, whether the duration that detects off-duty endless loop detection task was to judge that then task closed loop appears in this system greater than pre-set threshold.Because in system based on the priority tasks scheduling strategy, in case the endless loop task occurs, then the task of lowest priority must be less than scheduling, therefore the embodiment of the invention utilizes priority to be lower than the operation duration of the endless loop detection task of all task priorities of system, come detection system whether endless loop takes place, thereby avoided detecting owing to endless loop in the existing system task scheduling of dependence operating system, and the situation that the low priority task endless loop omission that causes is surveyed.
Simultaneously, because clock interrupts not being subjected to the influence of task run state and system call strategy, thereby make the detection of task closed loop in the embodiment of the invention not be subjected to the influence of task scheduling strategy in the system.
The technical scheme that the embodiment of the invention provides, the further task switching track of register system when clock interrupts, wherein Ji Lu task number is not less than the number of these all tasks of system, and preset threshold value can make the task switching track refresh at least once, judges that then the task that the priority except that endless loop detection task is minimum in the task switching track is the endless loop task.The embodiment of the invention is by utilizing the task switching track and to the setting of parameter, determining fast the task of endless loop to occur in the system, thereby help the quick location of the system failure.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a method that detects task closed loop is characterized in that, this method comprises:
In the system based on the priority tasks scheduling strategy, the endless loop that sets in advance lowest priority detects task;
When the clock of this system interrupted, whether the duration that detects the described endless loop detection of off-duty task was to judge that then task closed loop appears in this system greater than pre-set threshold.
2. the method for claim 1 is characterized in that, whether the duration that described detection off-duty endless loop detects task comprises greater than pre-set threshold:
When the clock of this system interrupts, default global counter C execution is added the M operation, wherein said M is a positive integer;
When the endless loop of operation lowest priority detects task, to described global counter C zero clearing;
When the clock of this system interrupted, whether the value that detects described global counter C was greater than the counter threshold that calculates according to described pre-set threshold.
3. method as claimed in claim 2 is characterized in that, the described counter threshold that obtains according to pre-set threshold is:
Described pre-set threshold divided by the clock period, be multiply by M again, obtain counter threshold.
4. the method for claim 1 is characterized in that, whether the duration that described detection off-duty endless loop detects task comprises greater than pre-set threshold:
When moving described endless loop and detecting task, the register system time;
When the clock of this system interrupted, whether the difference between the system time of detection current system time and described record was greater than described pre-set threshold.
5. method as claimed in claim 4 is characterized in that, described system time is system's absolute time or system's relative time.
6. as each described method in the claim 1 to 5, it is characterized in that this method further comprises: when carrying out task scheduling, write down the task switching track of this system in this system;
This method further comprises: the number that is not less than these all tasks of system in described task switching track when the task number that writes down, and when described threshold value makes described task switching track refresh one time at least, judge that then the minimum task of priority except that described endless loop detection task is the endless loop task in the described task switching track.
7. method as claimed in claim 6, it is characterized in that, this method further comprises: when the minimum task of priority except that described endless loop detection task in the described task switching track has when a plurality of, judge that the maximum task of number of run is the endless loop task in the task that the priority except that described endless loop detection task is minimum in the described task switching track.
8. a system that detects task closed loop is characterized in that, this system comprises that clock, endless loop detect task execution module and detection module,
Described clock is used to the system based on the priority scheduling strategy to produce clock interrupt signal;
Described endless loop detects task execution module, and minimum endless loop detects task based on system's medium priority of priority scheduling strategy to be used to move this;
Described detection module, be used for when described clock generating look-at-me, whether the duration that detects the described endless loop detection of described endless loop detection task execution module off-duty task is to judge that then task closed loop appears in this system based on the priority scheduling strategy greater than preset threshold value.
9. system as claimed in claim 8 is characterized in that this system further comprises global counter, is used for carrying out add operation when described clock generating look-at-me;
Described endless loop detects task execution module described global counter is carried out zero clearing;
Whether described detection module detects the value of described global counter greater than the counter threshold that calculates according to described preset threshold value.
10. system as claimed in claim 8 is characterized in that, described endless loop detects task execution module and writes down the system time of described endless loop when detecting task run;
Whether the difference between the system time of described detection module detection current system time and described endless loop detection task execution module record is greater than described preset threshold value.
11. as claim 8,9 or 10 described systems, it is characterized in that this system further comprises logging modle and determination module,
Described logging modle is used for writing down its task switching track when this system based on the priority scheduling strategy carries out task scheduling;
Described determination module, be used for described detection module detect endless loop appears and after, the task number that writes down in described task switching track is not less than this all task numbers based on the priority scheduling policy system, and when described threshold value makes described task switching track refresh one time at least, judge that the minimum task of priority except that described endless loop detection task is the endless loop task in the described task switching track.
12. system as claimed in claim 11, it is characterized in that, described determination module is further used for having when a plurality of when the minimum task of priority except that described endless loop detection task in the task switching track, judges that the maximum task of number of run is the endless loop task in the task that the priority except that described endless loop detection task is minimum in the described task switching track.
CNB2007101703998A 2007-11-15 2007-11-15 A kind of method and system that detect task closed loop Expired - Fee Related CN100543686C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101703998A CN100543686C (en) 2007-11-15 2007-11-15 A kind of method and system that detect task closed loop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101703998A CN100543686C (en) 2007-11-15 2007-11-15 A kind of method and system that detect task closed loop

Publications (2)

Publication Number Publication Date
CN101158913A true CN101158913A (en) 2008-04-09
CN100543686C CN100543686C (en) 2009-09-23

Family

ID=39307022

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101703998A Expired - Fee Related CN100543686C (en) 2007-11-15 2007-11-15 A kind of method and system that detect task closed loop

Country Status (1)

Country Link
CN (1) CN100543686C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937371A (en) * 2010-08-27 2011-01-05 北京星网锐捷网络技术有限公司 Method and device for monitoring task execution state in embedded system
CN102141947A (en) * 2011-03-30 2011-08-03 东方通信股份有限公司 Method and system for processing abnormal task in computer application system adopting embedded operating system
CN102622300A (en) * 2012-04-18 2012-08-01 迈普通信技术股份有限公司 Infinite loop or similar infinite loop detection method in multitask system
CN104794016A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal crash testing and processing method and system
CN105427695A (en) * 2015-11-03 2016-03-23 中国农业大学 Automatic evaluation method and system for programming type examination question
CN111400087A (en) * 2020-02-26 2020-07-10 深圳震有科技股份有限公司 Control method of operating system, terminal and storage medium
CN112905244A (en) * 2020-12-22 2021-06-04 金卡智能集团股份有限公司 Instrument control method, device and equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853191B (en) * 2010-06-23 2013-02-20 迈普通信技术股份有限公司 Method for detecting task endless loop in operating system and operating system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937371A (en) * 2010-08-27 2011-01-05 北京星网锐捷网络技术有限公司 Method and device for monitoring task execution state in embedded system
CN102141947A (en) * 2011-03-30 2011-08-03 东方通信股份有限公司 Method and system for processing abnormal task in computer application system adopting embedded operating system
CN102141947B (en) * 2011-03-30 2013-04-24 东方通信股份有限公司 Method and system for processing abnormal task in computer application system adopting embedded operating system
CN102622300A (en) * 2012-04-18 2012-08-01 迈普通信技术股份有限公司 Infinite loop or similar infinite loop detection method in multitask system
CN102622300B (en) * 2012-04-18 2015-03-25 迈普通信技术股份有限公司 Infinite loop or similar infinite loop detection method in multitask system
CN104794016A (en) * 2015-04-23 2015-07-22 惠州Tcl移动通信有限公司 Mobile terminal crash testing and processing method and system
CN105427695A (en) * 2015-11-03 2016-03-23 中国农业大学 Automatic evaluation method and system for programming type examination question
CN111400087A (en) * 2020-02-26 2020-07-10 深圳震有科技股份有限公司 Control method of operating system, terminal and storage medium
CN111400087B (en) * 2020-02-26 2023-08-11 深圳震有科技股份有限公司 Control method of operating system, terminal and storage medium
CN112905244A (en) * 2020-12-22 2021-06-04 金卡智能集团股份有限公司 Instrument control method, device and equipment

Also Published As

Publication number Publication date
CN100543686C (en) 2009-09-23

Similar Documents

Publication Publication Date Title
CN100543686C (en) A kind of method and system that detect task closed loop
Li et al. Exploit failure prediction for adaptive fault-tolerance in cluster computing
CN102402329B (en) For parametrization and the method identifying circumference gesture in touch sensitive surface
EP2911060B1 (en) Method and device for determining resource leakage and for predicting resource usage state
CN102779075A (en) Method, device and system for scheduling in multiprocessor nuclear system
CN106713396B (en) Server scheduling method and system
CN106528318B (en) Thread dead loop detection method and device
CN102339029B (en) Method for realizing timing protection of embedded operating system
CN101853191B (en) Method for detecting task endless loop in operating system and operating system
CN109885456A (en) A kind of polymorphic type event of failure prediction technique and device based on system log cluster
CN109739659B (en) Message consumption method and system of distributed message queue
CN105378668A (en) Operating system-managed interrupt steering in multiprocessor systems
CN104346307A (en) System and Method for Direct Memory Access Transfers
CN103164321A (en) Occupancy rate measuring method and device of central processing unit
CN102609313B (en) Multi-core system resource delay recycle lock realizing method and multi-core system resource delay recycle lock realizing system
CN101309184B (en) Method and apparatus detecting failure of micro-engine
CN101561778A (en) Method for detecting task closed loop of multi-task operating system
CN101299719B (en) Detection processing method for data flow, central processing unit and switch
CN103631695A (en) Time monitoring method and device
CN104094558A (en) Multi-threaded packet processing
Li et al. Fault-driven re-scheduling for improving system-level fault resilience
Leng et al. Co-scheduling aperiodic real-time tasks with end-to-end firm and soft deadlines in two-stage systems
CN101604270A (en) ARINC429 communication redundancy method based on vxworks operating system
CN103154919A (en) Exception control in a multiprocessor system
CN100557576C (en) The method and apparatus that operating system failure detects

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: 20090923

Termination date: 20131115