CN109542599A - A kind of embedded OS thread monitoring method - Google Patents

A kind of embedded OS thread monitoring method Download PDF

Info

Publication number
CN109542599A
CN109542599A CN201811326126.2A CN201811326126A CN109542599A CN 109542599 A CN109542599 A CN 109542599A CN 201811326126 A CN201811326126 A CN 201811326126A CN 109542599 A CN109542599 A CN 109542599A
Authority
CN
China
Prior art keywords
monitoring
thread
time
interface
node
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.)
Withdrawn
Application number
CN201811326126.2A
Other languages
Chinese (zh)
Inventor
马文力
张翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
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 Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN201811326126.2A priority Critical patent/CN109542599A/en
Publication of CN109542599A publication Critical patent/CN109542599A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4831Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority
    • G06F9/4837Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority time dependent
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a kind of embedded OS threads to monitor method, the method is implemented by thread monitoring system, the monitoring system includes monitoring initialization interface, monitoring addition interface, supervision timer reseting interface and a monitoring thread, and the method includes carrying out the initialization of the starting of monitoring thread and resource in embedded OS initial phase calling monitoring initialization interface and set system highest scheduling priority for the monitoring thread;After monitoring thread starting, if some worker thread needs to add monitoring protection, the registration of new worker thread monitoring is carried out;After the completion of monitoring addition, supervision timer reseting interface is called to carry out the operation of supervision timer cycle reset;If worker thread occurs, time-out is abnormal, and the abnormality processing function saved when monitoring registration is called to carry out abnormality processing, and the present invention enables to the monitoring time-out time being arranged in cycle period and each worker thread in monitoring thread mutually to decouple, do not restricted.

Description

A kind of embedded OS thread monitoring method
Technical field
The present invention relates to embedded OS field, especially a kind of embedded OS thread monitors method.
Background technique
Under normal circumstances, all system can be protected using house dog in embedded systems, prevented because software vulnerability is led Cause system is in a kind of abnormal endless loop state.And in the multi-thread software using operating system, it is ensured that per thread is all It works normally, mostly uses a highest priority thread to monitor the operating condition of other worker threads, the work of monitoring is added Thread needs to notify monitoring thread periodically before the time-out time of setting.In the monitoring thread of highest priority In, each cycle period carries out hardware watchdog and feeds dog reset operation, prevents monitoring thread itself to be operating abnormally, and monitor line Journey is being more than that certain time carries out system software reset when not receiving the notice of some worker thread.But in this processing side There are some problems in formula:
(1), since monitoring thread does not only need to detect that whether each monitored thread surpasses in each cycle period When, it is also necessary to hardware watchdog is resetted within each period, therefore monitors thread detection cycle and monitored active line Coupling is big between the time-out time of journey registration, setting time-out time and monitoring period meeting when multiple worker threads are added and monitored It is relatively difficult.
(2), monitoring that the period of thread is smaller, the frequency for detecting time-out is higher, and thread abnormality detection real-time is also higher, but Thread is also higher to the occupancy of CPU simultaneously, therefore detecting is in contradictory relation, period setting between real-time and CPU usage It is too small largely to occupy CPU, it is poor to will lead to detection real-time when excessive.
Summary of the invention
It is a primary object of the present invention to overcome drawbacks described above in the prior art, a kind of embedded OS line is proposed Journey supervises vision method, so that the monitoring time-out time being arranged in the cycle period and each worker thread in monitoring thread mutually decouples, It is not restricted.
To achieve the goals above, The technical solution adopted by the invention is as follows:
A kind of embedded OS thread monitoring method, the method is implemented by thread monitoring system, The monitoring system includes monitoring initialization interface, monitoring addition interface, supervision timer reseting interface and a monitoring line Journey,
Thread monitoring method the following steps are included:
Step 1: in embedded OS initial phase, monitoring initialization interface is called, the monitoring initialization connects Mouth carries out the starting of monitoring thread and the initialization of resource and sets system highest scheduling priority for the monitoring thread;
Step 2: after monitoring thread starting, if some worker thread needs to add monitoring protection, monitoring is called to add Interface is carried out new using these three parameters of abnormality processing function after monitoring register name, monitoring time-out time and generation time-out The registration of worker thread monitoring, monitoring system can return to one handle of worker thread after the completion of registration;
Step 3: after the completion of monitoring addition, worker thread will be added before the arrival of the time-out time of registration using monitoring The handle that added-time returns calls supervision timer reseting interface to carry out the operation of supervision timer cycle reset, and cycle reset is supervised Time interval depending on timer is less than time-out time when monitoring is registered;
Step 4: in the monitoring thread of system highest scheduling priority, each cycle period first can be to embedded system Hardware watchdog carries out reset operation in system, then safeguards the supervision timer of each worker thread for having added monitoring and inspection Whether the timer alreadys exceed the time-out time being arranged when thread registration, thinks that time-out occurs for the worker thread if being more than It is abnormal, it calls the worker thread monitoring the abnormality processing function progress abnormality processing saved when registration, has added prison when all Depending on worker thread all check and finish after, monitoring thread can be according to the value of monitoring thread cycle control variable come one timing of suspend mode Between, the initial value of the monitoring thread cycle control variable is arranged when monitoring initialization, in each new monitoring addition Monitoring system will use the original value of period control variable and the new value for adding the time-out time being arranged in monitoring asks most grand duke Approximate number updates monitoring thread cycle control variable with the value of the greatest common divisor obtained again, monitors system in monitoring adding procedure System is limited according to minimum value of the CPU performance to monitoring thread cycle control variable.
Further, the monitoring system further includes that monitoring removes interface, if the work of the registered monitoring in step 2 Thread is wanted to stop monitoring protection, then the monitoring is called to remove the removal that interface is monitored.
Further, the monitoring system further includes monitoring information output interface, if the registered monitoring in step 2 Worker thread is wanted to check monitored state information, then monitoring information output interface is called to carry out checking for thread monitored state.
Further, for the monitoring addition interface in the step 2 during monitoring addition, monitoring system can dynamic Apply for that the new node of a chain type thread monitoring control data structure goes described three parameter of storage worker thread, and initial Change remaining field in the data structure new node, the node is added to chain type thread monitoring control data structure after the completion End, the first address of the node is finally returned into worker thread, as the chain type thread monitor control data structure in The handle of the node is searched, to complete one addition newly monitored of worker thread.
Further, supervision timer reseting interface resets in operating process in supervision timer in the step 3, prison Viewing system will use the handle and find the worker thread pair for having added monitoring from chain type thread monitoring control data structure The node answered, and by supervision timer field unset therein.
Further, during monitoring removal, monitoring system will use the handle and monitor control number from chain type thread According to the corresponding node of the worker thread for having added monitoring is found in structure, which is monitored into control data knot from chain type thread It is removed in structure, and the memory source of the node is discharged.
Further, during monitoring information output, monitoring system can traverse entire chain type thread monitoring control data Structure, in a tabular form by the monitoring register name in the worker thread corresponding node of all registered monitoring, supervision timer List output is carried out with time-out time field.
Further, each node of the chain type thread monitoring control data structure includes following field: monitoring registration Title, time-out time, abnormality processing function, supervision timer, timer last maintenance time and chained list next node pointer, The worker thread of each registered monitoring corresponds to a node, wherein monitoring register name field, time-out time field And abnormality processing function field is three parameters for saving worker thread when monitoring registration, supervision timer word Section is that monitoring thread is used to judge whether worker thread occurs time-out use, and timer last maintenance time field is monitoring thread For calculating supervision timer current value and safeguarding supervision timer, chained list next node pointer field is monitoring system For traversing chain type thread monitoring control data structure.
Compared with prior art, the present invention its remarkable advantage is: (1) each monitored worker thread monitoring system An independent supervision timer can be distributed, so that the monitoring being arranged in the cycle period and each worker thread in monitoring thread is super When the time mutually decouple, do not restricted;
(2) monitor that thread cycle control variable removes the cycle period of control monitoring thread using one, in each new monitoring Monitoring system will use the original value of the period control variable when addition and the new value for adding the time-out time being arranged in monitoring is asked Greatest common divisor updates monitoring thread cycle control variable, such monitoring system energy with the value of the greatest common divisor obtained again The cycle period of adjustment monitoring thread, optimization are gone according to newly added monitoring in the case where guaranteeing to monitor each precision of timer Contradictory relation between CPU usage and detection real-time so that monitoring thread under conditions of monitoring accuracy is controllable as far as possible Few occupancy cpu resource;(3) thread monitoring method permission worker thread registers the independent overtime abnormality processing letter of oneself Number, when time-out exception occurs for worker thread, monitoring thread can call the worker thread monitoring the exception saved when registration Reason function carries out abnormality processing and makes each registered worker thread when time-out exception occurs, oneself independent place can be used Reason means, to keep monitoring system abnormality processing more flexible;
(4) monitoring system there is a set of complete monitoring initialization, monitoring addition, supervision timer to reset, monitoring remove with And it is registered monitoring information output interface, thus be easier to using.
Detailed description of the invention
Fig. 1 is that thread of the present invention monitors operational flowchart.
Fig. 2 is thread monitoring system architecture diagram of the present invention.
Fig. 3 is monitoring thread work flow chart.
Specific embodiment
With reference to the accompanying drawings of the specification, the present invention is further illustrated.
A kind of embedded OS thread monitoring method, the method is implemented by thread monitoring system, The monitoring system includes monitoring initialization interface, monitoring addition interface, supervision timer reseting interface and a monitoring line Journey.As shown in Figure 1:
In embedded OS initial phase, uses the hardware watchdog minimal reset time as parameter, call prison Depending on initialization interface, the starting of monitoring thread and the initialization of resource are carried out.In the process, the monitoring initialization interface is first The thread that can first call the thread creation interface of embedded OS to create a highest scheduling priority is used as monitoring thread, Then can call operation system semaphore creation interface create a semaphore, as embedded OS multi-thread environment The access lock of lower chain type thread monitoring control data structure, finally using the value of house dog minimal reset time parameter as initial value It is assigned to monitoring thread cycle control variable, so far monitoring initialization finishes.
After monitoring initialization, if some worker thread needs to add monitoring protection, monitoring addition interface is called Using monitoring register name, monitoring time-out time and abnormality processing function these three parameters after time-out occur newly is worked The registration of thread monitoring, monitoring system can return to one handle of worker thread after the completion of registration.In the process, the monitoring Addition interface uses one chain type thread monitoring control data structure of dynamic memory application interface application of operating system first Described three parameter when new node goes storage worker thread monitoring to register, and initialize its in the data structure new node Remaining field, including be 0 by supervision timer field initialization and be current by timer last maintenance time field initialization The node is added to the end of chain type thread monitoring control data structure by system time after the completion.Due to the chain type thread Monitoring control data structure is the public write access resource of multithreading, therefore is called before node is added to the data structure The semaphore of operating system obtains interface and obtains the chain type thread monitoring control data structure access created in monitoring initialization Lock could operate the end that the node is added to the data structure after successfully getting the access lock.In the node After being successfully joined the data structure, chained list next node pointer in the node that maintenance chained list insertion operation is related in the process The value of field.Then it is asked most using the value for the time-out time being arranged in the original value of period control variable and new addition monitoring Big common divisor updates monitoring thread cycle control variable with the value of the greatest common divisor obtained, then according to cpu performance to prison again Minimum value depending on thread cycle control variable is limited, to prevent period control variable too small after operation.Next it provides and obtains The thread monitoring control data structure access lock got, the thread that the data structure is operated so that other are in need use.Finally The first address of the node is returned into worker thread, is monitored in control data structure as the chain type thread and searches the node Handle, to complete one addition newly monitored of worker thread.
After the completion of monitoring addition, worker thread will be completed before the arrival of the time-out time of registration using monitoring addition The handle returned afterwards calls supervision timer reseting interface to carry out the operation of supervision timer cycle reset, and cycle reset monitors The time interval of timer is less than time-out time when monitoring registration.In the process, the supervision timer reseting interface is first The thread monitoring control data structure access lock is first obtained to have added after successfully getting access lock using in monitoring It is found from chain type thread monitoring control data structure at the handle of rear return corresponding with the worker thread for having added monitoring Node finally provide access lock described above and by supervision timer field unset therein.
After monitoring system initialization finishes, monitoring thread just be will start, and start loop cycle.As shown in Fig. 3, In each cycle period, calling hardware watchdog interface carries out dog feeding operation to hardware watchdog first, then call operation System semaphore obtain interface carry out it is described monitoring control data structure access lock acquisition, when successfully get access lock after from The first node of chain type thread monitoring control data structure begins stepping through entire chained list, and to the software timer of each node and determines When device last maintenance time field safeguarded that the concrete operations of maintenance are as follows: 1) call operation system obtain system time connect Mouth obtains current time;2) value that timer last maintenance time field in node is subtracted using current time value obtains timing Device safeguards increment, and then incremental value and the original value of software timer field in node add up, and finally uses after adding up It is worth software timer field in more new node;3) using timer last maintenance time field in current time value more new node. When the supervision timer field of each node safeguards completion, then judge whether the current value of the field is more than to save in node Time-out time field value, if it exceeds worker thread is then called to save abnormality processing letter in node when registering monitoring Number carries out the overtime abnormality processing of the worker thread, if be not above, will continue to next section in traversal control block chained list Point.After chain type thread monitors that all nodes in control data structure all traverse, then it can provide the data structure and visit Ask lock, finally according to the value of monitoring thread cycle control variable, call operation system thread suspend mode interface is by one section of thread suspend mode Time, to guarantee to allow the lower task of other priority to be run.It can thus be seen that the cycle period of monitoring thread It is to be controlled by the thread block time, blocking time is smaller, and cycle period is smaller, while the precision for the software timer safeguarded Also higher, but thread is also higher to the occupancy of CPU.In order between balance monitoring precision of timer and monitoring thread CPU occupancy Contradictory relation, control variable using one in systems dynamically to regulate and control the cycle period of monitoring thread, initial value is It is arranged when monitoring initialization, which is slightly less than the maintenance period of system hardware house dog, in each new monitoring addition, system It will use the time-out time being arranged in the value and new monitoring and seek greatest common divisor, update thread cycle control again with the new value obtained Variable, so that software timer control errors are in certain tolerance interval.For example, the worst error to make software timer Control then uses blocking time value of the value of thread cycle control variable * 1/4 as monitoring thread within time-out time * 1/4 ?.In addition system is limited according to minimum value of the cpu performance to thread cycle control variable in monitoring adding procedure, to protect Card monitoring period is unlikely to too small after calculating update and largely occupies CPU.
If the worker thread of registered monitoring is wanted to stop monitoring protection, calls the monitoring to remove interface and monitored Removal.In the process, the monitoring removes interface and obtains the thread monitoring control data structure access lock first, at Function gets to will use the handle after access lock and monitor in control data structure from chain type thread and finds and added monitoring The corresponding node of worker thread, which is monitored in control data structure from chain type thread and is removed, and call operation system Memory realizing interface discharges the memory source of the node, and finally still call operation system semaphore is given to outgoing interface Access lock out.
If the worker thread of registered monitoring is wanted to check monitored state information, monitoring information output interface is called to carry out Thread monitored state checks that in the process, the monitoring information output interface can traverse entire chain type thread monitoring control Data structure, it is in a tabular form that the monitoring register name in the worker thread corresponding node of all registered monitoring, monitoring is fixed When device and time-out time field carry out list output.
As shown in Fig. 2, thread monitoring system is divided into three levels from top to bottom, that is, monitor service abstraction layer, monitoring core Layer, system hardware level of abstraction.Upper-layer functionality realizes the service for needing to provide using lower layer.Monitoring service abstraction layer is to needing to add The worker thread of monitoring provides monitoring initialization, monitoring is added, supervision timer resets, monitoring removes and monitoring information is exported and connect Mouthful.Monitoring core layer monitors that control data structure and monitoring thread provide service for monitoring service abstraction layer using chain type thread, And thread creation and the suspend mode of system hardware level of abstraction are used, semaphore creation is obtained and provided, and memory application and is released It puts, the current time in system obtains and hardware watchdog these interfaces.If the monitoring system need in different hardware or It is realized in operating system, then only needs to realize corresponding system hardware level of abstraction.
Basic principles and main features and advantage of the invention have been shown and described above.The technical staff of the industry should Understand, the present invention is not limited to the above embodiments, and the above embodiments and description only describe originals of the invention Reason, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes and improvements It all fall within the protetion scope of the claimed invention.The claimed scope of the invention is by appended claims and its equivalent circle It is fixed.

Claims (8)

1. a kind of embedded OS thread monitors method, the method is implemented by thread monitoring system, institute Monitoring system is stated to include monitoring initialization interface, monitor addition interface, supervision timer reseting interface and a monitoring thread,
Thread monitoring method the following steps are included:
Step 1: in embedded OS initial phase, calling monitoring initialization interface, the monitoring initialization interface into The starting of row monitoring thread and the initialization of resource simultaneously set system highest scheduling priority for the monitoring thread;
Step 2: after monitoring thread starting, if some worker thread needs to add monitoring protection, monitoring addition interface is called Using monitoring register name, monitoring time-out time and abnormality processing function these three parameters after time-out occur newly is worked The registration of thread monitoring, monitoring system can return to one handle of worker thread after the completion of registration;
Step 3: after the completion of monitoring addition, worker thread will be before the arrival of the time-out time of registration, when being added using monitoring The handle of return calls supervision timer reseting interface to carry out the operation of supervision timer cycle reset, and cycle reset monitoring is fixed When device time interval be less than monitoring registration when time-out time;
Step 4: in the monitoring thread of system highest scheduling priority, each cycle period first can be in embedded system Hardware watchdog carries out reset operation, then safeguards the supervision timer of each worker thread for having added monitoring and checks that this is fixed When device time-out time for being arranged when whether alreading exceed thread registration, it is different to think that time-out occurs for the worker thread if being more than Often, it calls the worker thread monitoring the abnormality processing function progress abnormality processing saved when registration, has added monitoring when all Worker thread all check and finish after, monitoring thread can be according to the value of monitoring thread cycle control variable come one timing of suspend mode Between, the initial value of the monitoring thread cycle control variable is arranged when monitoring initialization, in each new monitoring addition Monitoring system will use the original value of period control variable and the new value for adding the time-out time being arranged in monitoring asks most grand duke Approximate number updates monitoring thread cycle control variable with the value of the greatest common divisor obtained again, monitors system in monitoring adding procedure System is limited according to minimum value of the cpu performance to monitoring thread cycle control variable.
2. the method according to claim 1, wherein the monitoring system further includes that monitoring removes interface, if step The worker thread of registered monitoring in rapid two is wanted to stop monitoring protection, then the monitoring is called to remove what interface was monitored It removes.
3. according to the method described in claim 2, it is characterized in that, the monitoring system further include monitoring information output interface, If the worker thread of the registered monitoring in step 2 is wanted to check monitored state information, call monitoring information output interface into Line journey monitored state is checked.
4. according to the method described in claim 3, it is characterized in that, the monitoring addition interface in the step 2 is added in monitoring During, monitoring system can dynamically apply for that the new node of a chain type thread monitoring control data structure removes storage worker thread Described three parameter, and initialize remaining field in the data structure new node, be after the completion added to the node The end of chain type thread monitoring control data structure, finally returns to worker thread for the first address of the node, as the chain The handle of the node is searched in formula thread monitoring control data structure, to complete one addition newly monitored of worker thread.
5. according to the method described in claim 4, it is characterized in that, supervision timer reseting interface is monitoring in the step 3 During timer reset operation, monitoring system will use the handle and find from chain type thread monitoring control data structure The corresponding node of worker thread of monitoring is added, and by supervision timer field unset therein.
6. according to the method described in claim 5, it is characterized in that, monitoring that monitoring system will use described during removal Handle is monitored from chain type thread finds the corresponding node of worker thread for having added monitoring in control data structure, by the node It monitors in control data structure and removes from chain type thread, and the memory source of the node is discharged.
7. according to the method described in claim 6, it is characterized in that, monitoring system can traverse during monitoring information output Entire chain type thread monitoring control data structure, in a tabular form will be in the worker thread corresponding node of all registered monitoring Monitor that register name, supervision timer and time-out time field carry out list output.
8. according to the described in any item methods of claim 4-7, which is characterized in that the chain type thread monitoring control data structure Each node include following field: monitoring register name, time-out time, abnormality processing function, supervision timer, on timer The worker thread of secondary maintenance time and chained list next node pointer, each registered monitoring corresponds to a node, Middle monitoring register name field, time-out time field and abnormality processing function field are to infuse for saving worker thread in monitoring Three parameters when volume, supervision timer field are that monitoring thread is used to judge whether worker thread occurs time-out use, Timer last maintenance time field monitoring thread is used to calculate supervision timer current value and safeguard that supervision timer is used, Chained list next node pointer field is that monitoring system is used to traverse chain type thread monitoring control data structure.
CN201811326126.2A 2018-11-08 2018-11-08 A kind of embedded OS thread monitoring method Withdrawn CN109542599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811326126.2A CN109542599A (en) 2018-11-08 2018-11-08 A kind of embedded OS thread monitoring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811326126.2A CN109542599A (en) 2018-11-08 2018-11-08 A kind of embedded OS thread monitoring method

Publications (1)

Publication Number Publication Date
CN109542599A true CN109542599A (en) 2019-03-29

Family

ID=65845224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811326126.2A Withdrawn CN109542599A (en) 2018-11-08 2018-11-08 A kind of embedded OS thread monitoring method

Country Status (1)

Country Link
CN (1) CN109542599A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569131A (en) * 2019-08-22 2019-12-13 北京华捷艾米科技有限公司 semaphore management system and semaphore management method
CN111857846A (en) * 2020-06-22 2020-10-30 珠海格力电器股份有限公司 Embedded system control method and device, storage medium and embedded controller
CN112469065A (en) * 2020-12-23 2021-03-09 北京春笛网络信息技术服务有限公司 Keep-alive detection method for 5G short message all-in-one machine
CN115061799A (en) * 2022-06-30 2022-09-16 天津津航计算技术研究所 Task scheduling method without operating system
CN115756797A (en) * 2022-11-25 2023-03-07 广州力麒智能科技有限公司 Queuing system scheduling detection method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110569131A (en) * 2019-08-22 2019-12-13 北京华捷艾米科技有限公司 semaphore management system and semaphore management method
CN110569131B (en) * 2019-08-22 2022-03-15 北京华捷艾米科技有限公司 Semaphore management system and semaphore management method
CN111857846A (en) * 2020-06-22 2020-10-30 珠海格力电器股份有限公司 Embedded system control method and device, storage medium and embedded controller
CN112469065A (en) * 2020-12-23 2021-03-09 北京春笛网络信息技术服务有限公司 Keep-alive detection method for 5G short message all-in-one machine
CN115061799A (en) * 2022-06-30 2022-09-16 天津津航计算技术研究所 Task scheduling method without operating system
CN115756797A (en) * 2022-11-25 2023-03-07 广州力麒智能科技有限公司 Queuing system scheduling detection method and device
CN115756797B (en) * 2022-11-25 2023-06-20 广州力麒智能科技有限公司 Queuing system scheduling detection method and device

Similar Documents

Publication Publication Date Title
CN109542599A (en) A kind of embedded OS thread monitoring method
US7165190B1 (en) Method and mechanism for managing traces within a computer system
US6434591B1 (en) Thread control system and method in a computer system
CN103455368B (en) A kind of deadlock detection method, node and system
US9519532B2 (en) Handling system interrupts with long-running recovery actions
US8220001B2 (en) Adaptive cluster timer manager
US9811150B2 (en) System and method for controlling idle state exits to manage DI/DT issues
CN103440173A (en) Scheduling method and related devices of multi-core processors
US11675622B2 (en) Leader election with lifetime term
US9424104B2 (en) High performance locks
US9870314B1 (en) Update testing by build introspection
JPWO2009150815A1 (en) Multiprocessor system
RU2134446C1 (en) Method for controlling primitive program overflow by messages in multiprocessor control system (versions)
US7003610B2 (en) System and method for handling shared resource writes arriving via non-maskable interrupts (NMI) in single thread non-mission critical systems with limited memory space
US9141439B2 (en) System and method for reporting a synchronization event in a runtime system of a computer system
CN103631695A (en) Time monitoring method and device
US20230409391A1 (en) Thread priority adjusting method, terminal, and computer-readable storage medium
US20150169375A1 (en) Method for the management of task execution in a computer system
US20080163175A1 (en) Lock suitability analysis system and method
US7698705B1 (en) Method and system for managing CPU time consumption
Li et al. Parastack: Efficient hang detection for MPI programs at large scale
EP2610752A1 (en) Parallel computer, job information acquisition program for parallel computer, job information acquisition method for parallel computer, computation device and computation management device
JP2014059846A (en) Program abnormality detection device and program thereof
CN112596915A (en) Distributed lock scheduling method, device, equipment and medium
US8984518B2 (en) Apparatus and method for executing components based on thread pool

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190329