Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for monitoring computer operating system in starting process

A technology for monitoring the computer and the startup process, applied in the direction of response errors, etc., can solve the problems of increasing system costs, entering the system soft restart, and startup failure, and achieving the effect of simplifying difficulty, simple implementation, and small dependence.

Inactive Publication Date: 2015-04-08
长园深瑞继保自动化有限公司
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method can not only solve the problem of "feeding the dog" of the system during startup, but also enable the watchdog to monitor the system startup, but it must add a peripheral (i.e. the hardware watchdog) , which will undoubtedly increase the cost of the system; at the same time, for the soft reset of the system, the reset may only be the CPU rather than the peripherals, causing the soft restart of the system to enter the original problem: the "Hello" cannot be reset during the startup process. dog" causes the startup to fail

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for monitoring computer operating system in starting process
  • Method for monitoring computer operating system in starting process

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] like figure 1 Shown, the method for monitoring computer operating system in the start-up process of the present invention is to adopt to start the hardware timer in the start-up process, realize the reset of our hardware watchdog in the interrupt service function of the hardware timer (read and write certain Hardware registers or IO ports), while interrupts are generally prohibited during traditional OS startup. Therefore, the difficulty and the key of realization are: how to start the hardware timer in the system startup process without destroying the startup process of the whole OS of the system. First, we restructure our interrupt management module. Interrupts are divided into real-time interrupts and common interrupts (such as figure 2 As shown), the ordinary interrupt is the interrupt module of the traditional OS, and the real-time interrupt is the emergency processing interrupt, which can interrupt the ordinary interrupt. The entire interrupt management module ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for monitoring a computer operating system in the system starting process without increasing hardware cost or influencing system starting time. The method comprises the following steps of (1) after the system is powered on and started, opening real-tine interruption, and pre-loading an interruption module code of the system and a dog feeding scheme code in the system starting process as an emergency loading part into the system; (2) executing the dog feeding scheme code in the emergency loading part, and completing dog feeding by periodically triggering the real-tine interruption with an appointed timer by means of the opened real-time interruption; (3) appointing a counter in a dog feeding function to judge whether system start is overtime or not, and if the system start is overtime, not feeding dog and reloading by using a hardware watchdog rest system; (4) after the start is completed, relieving the appointed timer in a system task, and submitting a hardware watchdog to software of the system for arrangement. The method can solve the problem that the system start fails because the dog cannot be fed in the system starting process.

Description

technical field [0001] The invention relates to a monitoring method for a computer operating system, in particular to a monitoring method for an embedded computer operating system during startup. Background technique [0002] Usually, in a microcomputer system composed of a single-chip microcomputer, the work of the single-chip microcomputer is often interfered by an external electromagnetic field, causing the program to run away and fall into an endless loop. The normal operation of the program is interrupted, and the system controlled by the single-chip microcomputer cannot Continuing to work will cause the entire system to stagnate and produce unpredictable consequences. Therefore, out of consideration for real-time monitoring of the operating status of the single-chip microcomputer, a chip specially used to monitor the running status of the single-chip microcomputer program has been produced, commonly known as the "watchman". Dog" (English name watchdog). [0003] Watch...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
Inventor 陈远生罗侍田罗来峰张前福孔德深林超范东凯朱海兵
Owner 长园深瑞继保自动化有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products