Movatterモバイル変換


[0]ホーム

URL:


CN105528276B - Module support layer fault handling method based on partition operating system health monitoring - Google Patents

Module support layer fault handling method based on partition operating system health monitoring
Download PDF

Info

Publication number
CN105528276B
CN105528276BCN201510906487.4ACN201510906487ACN105528276BCN 105528276 BCN105528276 BCN 105528276BCN 201510906487 ACN201510906487 ACN 201510906487ACN 105528276 BCN105528276 BCN 105528276B
Authority
CN
China
Prior art keywords
message
failure
support layer
module support
fault
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.)
Active
Application number
CN201510906487.4A
Other languages
Chinese (zh)
Other versions
CN105528276A (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.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVICfiledCriticalXian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201510906487.4ApriorityCriticalpatent/CN105528276B/en
Publication of CN105528276ApublicationCriticalpatent/CN105528276A/en
Application grantedgrantedCritical
Publication of CN105528276BpublicationCriticalpatent/CN105528276B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention belongs to computer system software professional skill field, it is related to the module support layer fault handling method based on partition operating system health monitoring.This method mainly includes the following steps that:1, module support layer is built;2, module support layer initializes;3, direct fault location;4, judge whether the health monitoring of operating system initializes to finish;5, the institutional framework of fault message is built;6, failure logging;7, troubleshooting;Troubleshooting in module support layer, fault log and User Defined processing can be realized by using the method for the present invention.

Description

Module support layer fault handling method based on partition operating system health monitoring
Technical field
The invention belongs to computer software application fields, and in particular to a kind of mould based on partition operating system health monitoringBlock support layer fault handling method.
Background technology
In the process of running, there may be various types of mistakes and events for application program and operating system for computer systemBarrier, legacy operating system can only simple judgement according to input and return value etc. carried out when finding mistake method it is simple,Act fixed processing behavior, often can not according at that time system mode and specific details on faults carry out it is configurable, haveIt targetedly handles and restores.Accordingly, the realization requirement to health monitoring system is proposed in ARINC653:With sectoring functionEmbedded real-time operating system need health monitoring mechanism to provide failure response, processing, the security functions such as recovery.Operation systemSystem will not only be supplied to the ability that user is directed to certain failure unrestricted choice processing action, but also need to support User Defined eventHinder processing action.
Embedded real-time operating system with sectoring function is layered structure, by module support layer, kernel operating systemLayer, partition operating system layer and application layer composition.Basis of the module support layer as operating system, establish hardware itOn, including each device board grade drives, running environment is provided for kernel operating system, shields hardware differences.
Modern embedded OS with sectoring function is made of many levels, under different system modes, respectivelyDifferent types of failure may all occur for the function of a different levels, and the health monitoring function of this type operating system allows for sending outThe failure occurred in existing different conditions, level, and different processing methods can be called to carry out failure according to the setting of userProcessing and recovery.
Module support layer is established on hardware layer, is mainly made of various types of hardware driver and basic running environment,Unified interface and running environment are provided for operating system, shields the difference of hardware.
Traditional operating system health monitoring covers all kinds of of kernel operating system, partition operating system and application programThe discovery and processing of failure, but it is not directed to the issuable failure of module support layer, this programme devises a kind of module supportLayer fault handling method solves the processing of module support layer failure as the supplement of legacy operating system health monitoring systemProblem.
Invention content
In order to solve the problems in background technology, the present invention proposes one kind and can realize in block supports layer at failureThe module support layer troubleshooting side based on partition operating system health monitoring of reason, fault log and User Defined processingMethod.
The specific technical solution of the present invention is:
The present invention proposes a kind of module support layer fault handling method based on partition operating system health monitoring, specialSign is, includes the following steps:
1) module support layer is built;The module support layer is between hardware and operating system;The module support layerThe independence of operating system and hardware is provided;The module support layer has the function of that itself carries out health monitoring;
2) module support layer initializes, calling module support layer health monitoring, while generating fault log;
3) direct fault location;
Module support layer provides the interface of injection failure, and when driver breaks down, grouting socket injection is specifiedFault message makes the dependencies of the intervention of module support layer health monitoring and taking over fault processing;Failure judgement information it is effectiveProperty, if effectively carrying out step 4), if in vain, returning to mistake;
4) judge whether the health monitoring of operating system initializes to finish, if completing, by the fault message in step 3)It transfers to operating system health monitoring to handle, if not completing, carries out step 5)
5) institutional framework of fault message is built;The institutional framework of the fault message includes that the type of failure, text are saidIt is bright;
6) failure logging;
The institutional framework of fault message is recorded in fault log using cycle index mode;
7) troubleshooting;
7.1) judge whether user has mounted self-defined processing action, if so, user's voluntarily handling failure information;If noIt is then to carry out step 7.2)
7.2) give tacit consent to troubleshooting;The acquiescence troubleshooting includes restarting or stopping or ignore failure.
Above-mentioned steps 6) in cycle index mode specifically include failure message record and failure message reading;
The specific method of the record of the failure message is:
A) creation module support layer failure message record space, the next blank position of direction or position indicator pointer, covering markKnow and event count, position indicator pointer are directed toward the space beginning of failure message record;The position indicator pointer be can covering position pointer;
B) it checks fault message before recording fault message and records the validity in space;
C) failure message is stored in the space of position indicator pointer direction, increase event count;
D) judge whether position indicator pointer has arrived the end in failure message record space, if so, position indicator pointer is directed toward failureCovering marking is arranged in the beginning in Message Record space;If it is not, position indicator pointer is directed toward next blank position.
The reading specific method of the failure message is:
E) judge m odel validity;
F) covering marking is checked, if not covering:
If necessary to reading message offset in the range of having recorded, read and returned in message according to deviation postHold;If being shifted out recording interval, any content is not returned;
If having covered:
Offset if necessary to the message of reading is more than position indicator pointer at a distance from the space beginning of failure message record, readsAnd the failure message of return position pointer n position backward, n are failure message space maximum number of messages and read the difference deviated;
Offset if necessary to the message of reading is recorded no more than position indicator pointer and failure message at a distance from the beginning of space, is readIt takes and the failure message of return position pointer n position forward, n is the offset for the message that needs are read.
The advantage of the invention is that:
1, method of the invention is established in the module support layer of the embedded real-time operating system with sectoring functionThe health monitoring mechanism for having the functions such as troubleshooting, log recording and self-defined troubleshooting action, realizes to operation systemThe flexible processing for the various failures of module support layer of uniting.
Description of the drawings
Fig. 1 is module support layer troubleshooting process figure;
Fig. 2 is failure message recording process flow chart;
Fig. 3 is failure message reading process.
Specific implementation mode
As shown in Figure 1, the present invention proposes at a kind of module support layer failure based on partition operating system health monitoringReason method, includes the following steps:
1) module support layer is built;Module support layer is between hardware and operating system;The module support layer providesThe independence of operating system and hardware;Module support layer has the function of that itself carries out health monitoring;
2) module support layer initializes, calling module support layer health monitoring, while generating fault log;
3) direct fault location;
Module support layer provides the interface of injection failure, and when driver breaks down, grouting socket injection is specifiedFault message makes the dependencies of the intervention of module support layer health monitoring and taking over fault processing;Failure judgement information it is effectiveProperty, if effectively carrying out step 4), if in vain, returning to mistake;
Operating system module support layer identification code operational process in generate failure when can calling module support layer direct fault location connectMouth injects corresponding failure, including failure code, self-defined failure message and message-length.
4) judge whether the health monitoring of operating system initializes to finish, if completing, by the fault message in step 3)It transfers to operating system health monitoring to handle, if not completing, carries out step 5)
5) institutional framework of fault message is built;The institutional framework of the fault message includes that the type of failure, text are saidIt is bright;
6) failure logging;The institutional framework of fault message is recorded in fault log using cycle index mode;
Cycle index mode specifically includes the reading of the record and failure message of failure message;
As shown in Fig. 2, the specific method of the record of failure message is:
A) creation module support layer failure message record space, the next blank position of direction or position indicator pointer, covering markKnow and event count, position indicator pointer are directed toward the space beginning of failure message record;The position indicator pointer be can covering position pointer;
B) it checks fault message before recording fault message and records the validity in space;
C) failure message is stored in the space of position indicator pointer direction, increase event count;
D) judge whether position indicator pointer has arrived the end in failure message record space, if so, position indicator pointer is directed toward failureCovering marking is arranged in the beginning in Message Record space;If it is not, position indicator pointer is directed toward next blank position.
As shown in figure 3, the reading specific method of failure message is:
E) judge m odel validity;
F) covering marking is checked, if not covering:
If necessary to reading message offset in the range of having recorded, read and returned in message according to deviation postHold;If being shifted out recording interval, any content is not returned;
If having covered:
Offset if necessary to the message of reading is more than position indicator pointer at a distance from the space beginning of failure message record, readsAnd the failure message of return position pointer n position backward, n are failure message space maximum number of messages and read the difference deviated;
Offset if necessary to the message of reading is recorded no more than position indicator pointer and failure message at a distance from the beginning of space, is readIt takes and the failure message of return position pointer n position forward, n is the offset for the message that needs are read.
7) troubleshooting;
7.1) judge whether user has mounted self-defined processing action, if so, user's voluntarily handling failure information;If noIt is then to carry out step 7.2)
7.2) give tacit consent to troubleshooting;The acquiescence troubleshooting includes restarting or stopping or ignore failure.
Specifically:
A, failure code, the legitimacy of self-defined failure message and message-length parameter are checked;
If B, operating system health monitoring has initialized, the monitoring of implant operation system health,
Processing is taken over by operating system health monitoring;
If C, operating system health monitoring no initializtion, fault message, filling is organized to use
In the information recording unit of record fault log;
D, calling module support layer acquiescence troubleshooting action.
Module support layer gives tacit consent to the flow that troubleshooting acts:
D1, event of failure validity is checked;
If D2, user have mounted the display hook of fault message, call;
D3, fault message is recorded to module support layer fault log record;
If D4, user have mounted self-defined troubleshooting action, call.The parameter of transmission is the event of standard health monitoringHinder event information structure;
If D5, user do not provide self-defined troubleshooting action, executed according to the prior configuration of user three kinds followingOne of processing:
A. operating system is restarted;
B. stopping is handled, into wait state;
C. without processing, ignore failure.

Claims (1)

CN201510906487.4A2015-12-092015-12-09Module support layer fault handling method based on partition operating system health monitoringActiveCN105528276B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510906487.4ACN105528276B (en)2015-12-092015-12-09Module support layer fault handling method based on partition operating system health monitoring

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510906487.4ACN105528276B (en)2015-12-092015-12-09Module support layer fault handling method based on partition operating system health monitoring

Publications (2)

Publication NumberPublication Date
CN105528276A CN105528276A (en)2016-04-27
CN105528276Btrue CN105528276B (en)2018-08-21

Family

ID=55770519

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510906487.4AActiveCN105528276B (en)2015-12-092015-12-09Module support layer fault handling method based on partition operating system health monitoring

Country Status (1)

CountryLink
CN (1)CN105528276B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108255591B (en)*2017-12-072021-10-15中国航空工业集团公司西安航空计算技术研究所Unified exception handling method for partition operating system
CN110941503A (en)*2019-11-202020-03-31中国航空工业集团公司西安航空计算技术研究所Fault processing method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102262579A (en)*2011-08-052011-11-30浪潮(北京)电子信息产业有限公司Computer monitoring method and system
CN102364448A (en)*2011-09-192012-02-29浪潮电子信息产业股份有限公司 A Fault Tolerance Method for Computer Fault Management System

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20030033463A1 (en)*2001-08-102003-02-13Garnett Paul J.Computer system storage

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102262579A (en)*2011-08-052011-11-30浪潮(北京)电子信息产业有限公司Computer monitoring method and system
CN102364448A (en)*2011-09-192012-02-29浪潮电子信息产业股份有限公司 A Fault Tolerance Method for Computer Fault Management System

Also Published As

Publication numberPublication date
CN105528276A (en)2016-04-27

Similar Documents

PublicationPublication DateTitle
CN105659215B (en) A kind of fault processing method, related device and computer
CN107491336A (en)A kind of automobile electrically-controlled module updating system and method
CN102096625A (en)Monitoring and tracking application usage
CN103995769A (en) Method for collecting error state information of electronic device
CN102662785A (en)Method and device for acquiring kernel error messages of Android system
CN100388140C (en)Display device for train driving information and method thereof
US10893113B2 (en)Generating push notifications
CN105528276B (en)Module support layer fault handling method based on partition operating system health monitoring
CN109582536B (en)Application program non-response reporting method and device and computer equipment
CN107272669B (en)A kind of airborne Fault Management System
CN108984377A (en)A kind of statistics BIOS logs in method, system and the medium of log
CN110941503A (en)Fault processing method and device and electronic equipment
CN111159690B (en) Remote monitoring method, system and storage medium based on embedded Linux system
CN107294826B (en)CAN network-based TBOX parameter calibration method and device
CN102262583A (en)Embedded system debugging information processing method and system
CN106201805A (en)For the method and apparatus detecting server failure
CN104516736A (en)Development platform of after-sale diagnosis system
CN102880548B (en)AADL (Architecture Analysis and Design Language) reliability model generation method based on behavior description
CN112632088B (en)Agricultural machinery equipment monitoring method and system and computer readable storage medium
JP6655497B2 (en) Operation management device, operation management method, and operation management system
CN117093441B (en) Performance monitoring method and device for electronic equipment
CN105700915A (en)Method and device integrating watchdog function and monitoring software programming function
CN109062839A (en)A kind of method, apparatus and computer readable storage medium detecting HBA card
CN101782858B (en) System boot method for network device
CN105159810A (en)Method and device for testing BIOS of computer system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp