[go: up one dir, main page]

CN118427015A - Operating system automatic restoration method, device, computer equipment and storage medium - Google Patents

Operating system automatic restoration method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN118427015A
CN118427015A CN202410642956.5A CN202410642956A CN118427015A CN 118427015 A CN118427015 A CN 118427015A CN 202410642956 A CN202410642956 A CN 202410642956A CN 118427015 A CN118427015 A CN 118427015A
Authority
CN
China
Prior art keywords
operating system
automatic
restoration
count value
restoring
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.)
Pending
Application number
CN202410642956.5A
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.)
SHENZHEN NORCO INTELLIGENT TECHNOLOGY CO LTD
Original Assignee
SHENZHEN NORCO INTELLIGENT TECHNOLOGY 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 SHENZHEN NORCO INTELLIGENT TECHNOLOGY CO LTD filed Critical SHENZHEN NORCO INTELLIGENT TECHNOLOGY CO LTD
Priority to CN202410642956.5A priority Critical patent/CN118427015A/en
Publication of CN118427015A publication Critical patent/CN118427015A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Retry When Errors Occur (AREA)

Abstract

The invention relates to the field of system control, and discloses an automatic restoration method and device for an operating system, computer equipment and a storage medium. The method comprises the following steps: in the starting process of the operating system, determining the state of an automatic system restoration function; if the automatic system restoration function is in an on state, acquiring an automatic system restoration count value, and accumulating the automatic system restoration count value; if the automatic system restoration count value is larger than a first preset value, performing system restoration operation; and when the operating system is normally closed or restarted, automatically resetting the system to zero in the count value, and then closing or restarting. The operation system can automatically perform the restoration operation without manual operation, and can adapt to more scenes.

Description

操作系统自动还原方法、装置、计算机设备及存储介质Operating system automatic restoration method, device, computer equipment and storage medium

技术领域Technical Field

本发明涉及系统控制领域,尤其涉及一种操作系统自动还原方法、装置、计算机设备及存储介质。The present invention relates to the field of system control, and in particular to an operating system automatic restoration method, device, computer equipment and storage medium.

背景技术Background technique

BIOS(Basic Input/Output System)即基本输入输出系统,在计算机系统中它的作用非常大,是绝对的核心之一,可以说它是计算机硬件与软件之间的桥梁或者接口,它能够为计算机提供最底层的硬件控制程序。所以主板的性能如何很大程度取决于主板上的BIOS。BIOS (Basic Input/Output System) is a basic input/output system. It plays a very important role in the computer system and is one of the core components. It can be said that it is a bridge or interface between computer hardware and software. It can provide the lowest-level hardware control program for the computer. Therefore, the performance of the motherboard depends largely on the BIOS on the motherboard.

WDT(Watchdog timer)又叫看门狗,是一个定时器电路,一般有一个输入一个输出,正常工作的时候每隔一段时间输入一个信号进行喂狗给WDT清零,如果超过规定的时间不喂狗(一般在程序跑飞时),WDT定时超过,然后给出一个复位信号到主板端进行复位,系统复位重新运行。WDT (Watchdog timer), also known as watchdog, is a timer circuit, which generally has one input and one output. When working normally, a signal is input at regular intervals to feed the dog and clear the WDT. If the dog is not fed within the specified time (generally when the program runs wild), the WDT timing is exceeded, and then a reset signal is given to the motherboard to reset it, and the system is reset and runs again.

操作系统都有安装、备份、还原等方法,其中安装的方法有很多种,比如使用系统光盘、网络、U盘、外部软件引导安装等方法进行安装。备份的方法也有很多种,比如系统自带的备份功能、Clonezilla软件、U盘里面安装的PE备份工具等方法进行备份。还原的方法也有很多种,比如系统自带的还原功能、Clonezilla软件、一键GHOST等方法进行还原。Operating systems have methods for installation, backup, and restoration. There are many ways to install, such as using a system CD, network, USB flash drive, external software boot installation, etc. There are also many ways to backup, such as the system's own backup function, Clonezilla software, PE backup tools installed in USB flash drives, etc. There are also many ways to restore, such as the system's own restore function, Clonezilla software, one-click GHOST, etc.

在工控等领域中有的设备在上电开机过程中是处于无人值守的状态下进行的,不同用户的环境下运行的系统设置驱动等都是不一样的,在用户搭建好系统运行所需的环境之后通常需要进行备份。如果没有备份的话重新搭建环境会浪费很多的时间,如果备份了系统则需要专业人士手动去逐步操作才能还原操作系统。In the field of industrial control, some equipment is unattended during the power-on process. The system settings and drivers running in different user environments are different. After the user has built the environment required for the system to run, a backup is usually required. If there is no backup, rebuilding the environment will waste a lot of time. If the system is backed up, professionals need to manually operate step by step to restore the operating system.

发明内容Summary of the invention

第一方面,本申请提供一种操作系统自动还原方法,包括:In a first aspect, the present application provides a method for automatically restoring an operating system, comprising:

操作系统启动过程中,确定系统自动还原功能的状态;During the operating system startup process, determine the status of the system automatic restore function;

若所述系统自动还原功能为开启状态,则获取系统自动还原计数值,并将所述系统自动还原计数值进行累加计算;If the system automatic restoration function is turned on, the system automatic restoration count value is obtained, and the system automatic restoration count value is accumulated and calculated;

若所述系统自动还原计数值大于第一预设值,则进行系统还原操作;If the system automatic restoration count value is greater than a first preset value, a system restoration operation is performed;

当所述操作系统为正常关闭或重启时,则将所述系统自动还原计数值归零后进行关闭或重启。When the operating system is shut down or restarted normally, the system automatically restores the count value to zero before shutting down or restarting.

进一步的,所述方法还包括:Furthermore, the method further comprises:

所述操作系统启动完成后,开启看门狗程序,并根据所述系统自动还原计数值,设定看门狗时间;After the operating system is started, the watchdog program is started, and the watchdog time is set according to the automatic restoration count value of the system;

在所述看门狗时间的倒计时结束前,若所述看门狗程序的看门狗状态没有被复位,则确定所述操作系统处于非正常状态,跳过将所述系统自动还原计数值归零的操作,重启所述操作系统。Before the countdown of the watchdog time ends, if the watchdog state of the watchdog program is not reset, it is determined that the operating system is in an abnormal state, the operation of automatically restoring the system count value to zero is skipped, and the operating system is restarted.

进一步的,所述方法还包括:Furthermore, the method further comprises:

若所述系统自动还原计数值不大于所述第一预设值,则正常启动所述操作系统。If the system automatic restoration count value is not greater than the first preset value, the operating system is started normally.

进一步的,所述看门狗时间随所述系统自动还原计数值的增大而延长。Furthermore, the watchdog time is extended as the system automatically restores the count value.

进一步的,所述操作系统启动过程中,确定系统自动还原功能的状态,包括:Furthermore, during the startup of the operating system, determining the state of the system automatic restoration function includes:

当进入基本输入输出系统时,读取所述系统自动还原功能的标志位,通过所述标志位的值,确定所述系统自动还原功能是否为开启状态。When entering the basic input and output system, the flag bit of the system automatic restoration function is read, and whether the system automatic restoration function is in the on state is determined according to the value of the flag bit.

进一步的,所述第一预设值为3至8之间任意数值。Furthermore, the first preset value is any value between 3 and 8.

进一步的,所述若所述系统自动还原计数值大于第一预设值,则进行系统还原操作,包括:Furthermore, if the system automatic restoration count value is greater than a first preset value, a system restoration operation is performed, including:

将所述操作系统的分区隐藏,并进入系统还原分区调用系统还原程序和存储的备份操作系统,将所述操作系统进行系统还原。The partition of the operating system is hidden, and the system restore partition is entered to call the system restore program and the stored backup operating system to restore the operating system.

第二方面,本申请还提供一种操作系统自动还原装置,包括:In a second aspect, the present application further provides an operating system automatic restoration device, comprising:

自检模块,用于操作系统启动过程中,确定系统自动还原功能的状态;A self-check module is used to determine the status of the system's automatic restore function during the operating system startup process;

启动模块,用于若所述系统自动还原功能为开启状态,则获取系统自动还原计数值,并将所述系统自动还原计数值进行累加计算;A startup module, used for obtaining a system automatic restoration count value if the system automatic restoration function is turned on, and accumulating the system automatic restoration count value;

还原模块,用于若所述系统自动还原计数值大于第一预设值,则进行系统还原操作,否则正常启动所述操作系统;A restoration module, configured to perform a system restoration operation if the system automatic restoration count value is greater than a first preset value, and to normally start the operating system otherwise;

重启模块,用于当所述操作系统为正常关闭或重启,则将所述系统自动还原计数值归零后进行关闭或重启。The restart module is used to reset the system automatic restoration count value to zero before shutting down or restarting the operating system when the operating system is shut down or restarted normally.

第三方面,本申请提供一种计算机设备,包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行所述的操作系统自动还原方法。In a third aspect, the present application provides a computer device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program runs on the processor, the method for automatically restoring the operating system is executed.

第四方面,本申请提供一种可读存储介质,其存储有计算机程序,所述计算机程序在处理器上运行时执行所述的操作系统自动还原方法。In a fourth aspect, the present application provides a readable storage medium storing a computer program, which executes the operating system automatic restoration method when running on a processor.

本发明公开了一种操作系统自动还原方法、装置、计算机设备及存储介质。所述方法包括:包括:操作系统启动过程中,确定系统自动还原功能的状态;若所述系统自动还原功能为开启状态,则获取系统自动还原计数值,将所述系统自动还原计数值进行累加计算;若所述系统自动还原计数值大于第一预设值,则进行系统还原操作;当所述操作系统为正常关闭或重启,则将所述系统自动还原计数值归零后进行关闭或重启。使得操作系统可以自动进行还原操作,不需要人手动操作,可以适配更多的场景,整个流程全自动,无需人员监控,当处于无人值守或者无法操控的情况下,都可以在操作系统出现问题时及时进行相应还原操作,确保了电子设备的稳定性。The present invention discloses an operating system automatic restoration method, device, computer equipment and storage medium. The method comprises: during the startup of the operating system, determining the state of the system automatic restoration function; if the system automatic restoration function is in the on state, obtaining the system automatic restoration count value, and accumulating the system automatic restoration count value; if the system automatic restoration count value is greater than a first preset value, performing a system restoration operation; when the operating system is normally shut down or restarted, the system automatic restoration count value is reset to zero and then shut down or restart. The operating system can automatically perform a restoration operation without manual operation, and can be adapted to more scenarios. The entire process is fully automatic and does not require human monitoring. When it is unattended or uncontrollable, the corresponding restoration operation can be performed in time when there is a problem with the operating system, ensuring the stability of the electronic device.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对本发明保护范围的限定。在各个附图中,类似的构成部分采用类似的编号。In order to more clearly illustrate the technical solution of the present invention, the following will briefly introduce the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope of protection of the present invention. In each of the drawings, similar components are numbered similarly.

图1示出了本申请实施例一种操作系统自动还原方法流程示意图;FIG1 shows a schematic flow chart of an automatic operating system restoration method according to an embodiment of the present application;

图2示出了本申请实施例一种看门狗监控流程示意图;FIG2 shows a schematic diagram of a watchdog monitoring process according to an embodiment of the present application;

图3示出了本申请实施例又一种操作系统自动还原方法流程示意图;FIG3 shows a schematic flow chart of another method for automatically restoring an operating system according to an embodiment of the present application;

图4示出了本申请实施例一种操作系统自动还原装置结构示意图。FIG4 shows a schematic structural diagram of an automatic operating system restoration device according to an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The components of the embodiments of the present invention generally described and shown in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

在下文中,可在本发明的各种实施例中使用的术语“包括”、“具有”及其同源词仅意在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。Hereinafter, the terms "including", "having" and their cognates, which may be used in various embodiments of the present invention, are intended only to indicate specific features, numbers, steps, operations, elements, components or combinations of the foregoing items, and should not be understood as first excluding the existence of one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing items or adding the possibility of one or more features, numbers, steps, operations, elements, components or combinations of the foregoing items.

此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。Furthermore, the terms “first”, “second”, “third”, etc. are merely used for distinguishing descriptions and are not to be understood as indicating or implying relative importance.

除非另有限定,否则在这里使用的所有术语(包括技术术语和科学术语)具有与本发明的各种实施例所属领域普通技术人员通常理解的含义相同的含义。所述术语(诸如在一般使用的词典中限定的术语)将被解释为具有与在相关技术领域中的语境含义相同的含义并且将不被解释为具有理想化的含义或过于正式的含义,除非在本发明的各种实施例中被清楚地限定。Unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meanings as those generally understood by those skilled in the art to which the various embodiments of the present invention belong. The terms (such as those defined in generally used dictionaries) will be interpreted as having the same meanings as the contextual meanings in the relevant technical field and will not be interpreted as having idealized meanings or overly formal meanings unless clearly defined in the various embodiments of the present invention.

本申请的技术方案通过设定一个系统自动还原计数值,以判断当前的系统是否处于需要进行还原操作的状态,并且利用看门狗的效果,从而进行还原或重启的操作,并且根据重启时的状态,来对系统自动还原计数值进行对应的累加或归零操作,从而使得系统拥有自动还原的功能,以保障系统本身的稳定性。The technical solution of the present application sets a system automatic restoration count value to determine whether the current system is in a state where a restoration operation is required, and utilizes the effect of a watchdog to perform a restoration or restart operation, and performs corresponding accumulation or zeroing operations on the system automatic restoration count value according to the state at the time of restart, thereby enabling the system to have an automatic restoration function to ensure the stability of the system itself.

接下来以具体实施例说明本申请的技术方案。Next, the technical solution of the present application is described with specific embodiments.

实施例1Example 1

本实施例的技术方案应用于操作系统的自动还原过程中,其可以应用于一般的个人电脑、智能终端或者其他具有操作系统的电子设备中,其中对于操作系统本身不进行限定,可以是常见的linux、win、安卓等操作系统,也可以是更简单的如ecos等单片机系统,这些系统在运作时,因为人为或环境因素往往会出现一些故障,本实施例通过对这些操作系统进行监控,实现对这些操作系统是否需要还原进行判断,并提供自动进行操作系统还原的技术手段。The technical solution of this embodiment is applied to the automatic restoration process of the operating system, and can be applied to general personal computers, smart terminals or other electronic devices with an operating system, wherein the operating system itself is not limited, and it can be a common operating system such as Linux, Win, Android, etc., or a simpler single-chip microcomputer system such as Ecos. When these systems are in operation, some failures often occur due to human or environmental factors. This embodiment monitors these operating systems to determine whether these operating systems need to be restored, and provides technical means for automatically restoring the operating system.

如图1所示,本实施例的操作系统自动还原方法包括:As shown in FIG1 , the operating system automatic restoration method of this embodiment includes:

步骤S100,操作系统启动过程中,确定系统自动还原功能的状态。Step S100, during the operating system startup process, determining the state of the system automatic restoration function.

为了确保操作系统可以进行自动还原,本实施例会设置一个系统自动还原功能,该功能可以通过一个标志位以确定其开启或关闭状态,该值设定在BIOS(基本输入输出系统)中,当操作系统启动时,会首先进入BIOS,此时,可以直接在BIOS中都读取到该系统自动还原功能的状态,确定该功能处于开启状态还是关闭状态。In order to ensure that the operating system can be automatically restored, this embodiment will set a system automatic restore function. This function can determine its on or off status through a flag bit. The value is set in the BIOS (basic input and output system). When the operating system starts, it will first enter the BIOS. At this time, the status of the system automatic restore function can be directly read in the BIOS to determine whether the function is on or off.

其中,该系统自动还原功能的开启关闭状态可以由操作人员手动设置,或者配置文件等方式进行配置。The on/off status of the automatic restore function of the system can be manually set by an operator, or configured by means of a configuration file, etc.

步骤S200,若所述系统自动还原功能为开启状态,则获取系统自动还原计数值,并将所述系统自动还原计数值进行累加计算。Step S200: If the system automatic restoration function is turned on, the system automatic restoration count value is obtained, and the system automatic restoration count value is accumulated and calculated.

如果该系统自动还原功能的状态为开启状态,则表示需要进行系统自动还原条件的监控,本实施例中,为此设置了一个系统自动还原计数值,该值每当系统启动时,且该系统自动还原功能为开启状态,就会累加1。If the status of the system automatic restoration function is on, it means that the system automatic restoration conditions need to be monitored. In this embodiment, a system automatic restoration count value is set for this purpose. This value is accumulated by 1 every time the system is started and the system automatic restoration function is on.

该系统自动还原计数值为记录系统非正常重启次数的数值,可以理解的是,若系统存在问题,必然会频繁重启,则该值会迅速累加,若系统没有问题,则系统不会频繁重启,那么这个值会在正常重启或关闭系统时进行清零操作,以保证不会错误还原。The system automatic recovery count value is a value that records the number of abnormal system restarts. It can be understood that if there is a problem with the system, it will inevitably restart frequently, and the value will accumulate rapidly. If there is no problem with the system, the system will not restart frequently, then this value will be cleared when the system is restarted normally or shut down to ensure that there is no incorrect restoration.

换而言之,若系统自动还原功能为关闭状态,则不需要获取系统自动还原计数值,则也不需要进行累加操作,此时的操作系统会直接启动。In other words, if the system automatic restore function is turned off, there is no need to obtain the system automatic restore count value, and there is no need to perform the accumulation operation. At this time, the operating system will start directly.

在进入BIOS后,还会顺序经历PEI(可扩展固件接口预初始化)阶段和DXE(执行驱动环境)阶段,对上述系统自动还原功能的判断可以在上述两个阶段中进行,例如在PEI阶段进行一次判断,然后确定要不要对系统自动还原计数值进行累加操作,以及确定后续是否要直接启动操作系统。同样的,也可以在DXE阶段进行判断,确定该功能是否打开。After entering the BIOS, the system will also go through the PEI (Extensible Firmware Interface Pre-Initialization) stage and the DXE (Driver Execution Environment) stage in sequence. The judgment of the above-mentioned system automatic recovery function can be performed in the above two stages. For example, a judgment is performed in the PEI stage, and then it is determined whether to accumulate the system automatic recovery count value and whether to directly start the operating system later. Similarly, a judgment can also be performed in the DXE stage to determine whether the function is turned on.

也可以分别在这两个阶段中进行两次判断操作,例如在PEI阶段确定系统自动还原功能是否开启,并进行系统自动还原计数值的累加,再进入DXE阶段后,再次判断系统自动还原功能是否开启,以确定是否直接开启操作系统。It is also possible to perform two judgment operations in these two stages respectively. For example, in the PEI stage, determine whether the system automatic restore function is turned on, and accumulate the system automatic restore count value. After entering the DXE stage, determine whether the system automatic restore function is turned on again to determine whether to directly start the operating system.

步骤S300,若所述系统自动还原计数值大于第一预设值,则进行系统还原操作。Step S300: If the system automatic restoration count value is greater than a first preset value, a system restoration operation is performed.

本实施例中获取系统自动还原计数值,进行累加后,还会对该值进行大小的判断,其主要和第一预设值进行比较。如果大于第一预设值,则直接进行操作系统的系统还原操作,若比第一预设值小,则启动操作系统。In this embodiment, the system automatic restoration count value is obtained, accumulated, and the value is judged, mainly compared with the first preset value. If it is greater than the first preset value, the system restoration operation of the operating system is directly performed, and if it is less than the first preset value, the operating system is started.

具体而言,第一预设值可以设置为任意整数,例如将第一预设值设置为3,则当系统自动还原计数值大于3的时候,会进行系统还原操作。其中该第一预设值可以设置为包括3至8中的数值。如3、4、5、等整数。Specifically, the first preset value can be set to any integer, for example, the first preset value is set to 3, and when the system automatic restoration count value is greater than 3, the system restoration operation will be performed. The first preset value can be set to a value including 3 to 8, such as 3, 4, 5, and other integers.

其中,对于每个操作系统而言,都会存在备份数据,在平时正常工作时,会将这些备份数据保存在一个隔离的存储空间中,当执行系统还原操作时,将所述操作系统的分区隐藏,并进入系统还原分区调用系统还原程序和存储的备份操作系统,将所述操作系统进行系统还原。Among them, for each operating system, there will be backup data. During normal operation, these backup data will be saved in an isolated storage space. When the system restore operation is performed, the partition of the operating system will be hidden, and the system restore partition will be entered to call the system restore program and the stored backup operating system to restore the operating system.

即系统还原程序和备份操作系统平时被隐藏起来,不会因为操作系统的错误而被影响,而当需要进行系统还原操作时,就会在启动操作系统前,激活隐藏分区里的系统还原程序,以及备份操作系统,这样就可以将当前出错的操作系统还原至备份操作系统的状态,实现系统还原操作。That is, the system restore program and the backup operating system are usually hidden and will not be affected by operating system errors. When a system restore operation is needed, the system restore program and the backup operating system in the hidden partition will be activated before starting the operating system. In this way, the current erroneous operating system can be restored to the state of the backup operating system, thereby realizing the system restore operation.

此外,针对不同次数的重启,本实施例还可以通过一些提示方式,以告知用户当前机器处于异常状态,例如通过灯光或者蜂鸣器的警报声来告知用户。In addition, for different times of restart, this embodiment can also use some prompting methods to inform the user that the current machine is in an abnormal state, such as notifying the user through the alarm sound of a light or a buzzer.

实际情况中可能存在还差一次系统重启就会触发系统还原,但是设备是封闭型设备,对操作人员来讲没有可操控的控制面板,则可以通过设定的LED等进行不同颜色的闪亮,提示用于当前重启次数,从而提示用于当前设备处于何种异常状态。有些时候,设备明显处于异常状态,且可能就差一次非正常重启就可以进行还原操作,而因为还没有满足条件而迟迟不能重启,此时这种提示可以让用户进行一些外部干扰,使得设备强制进入非正常重启,从而使得设备被“手动”进行系统还原操作。In actual situations, there may be only one system restart left before the system restore is triggered. However, the device is a closed device and there is no control panel for the operator to operate. In this case, the set LED can flash in different colors to indicate the current number of restarts, thereby indicating what abnormal state the device is in. Sometimes, the device is obviously in an abnormal state and may only need an abnormal restart to perform the restore operation, but it cannot be restarted because the conditions have not been met. At this time, this prompt can allow the user to perform some external interference to force the device to enter an abnormal restart, so that the device is "manually" restored.

步骤S400,当所述操作系统为正常关闭或重启,则将所述系统自动还原计数值归零后进行关闭或重启。Step S400, when the operating system is shut down or restarted normally, the system automatic restoration count value is reset to zero and then shut down or restarted.

其中,系统会由关闭和重启的操作,通过正常的程序关闭或重启,或者操作人员手动关机或重启,都是正常的关闭重启操作,此时,再进行关闭或重启操作前,会将系统自动还原计数值归零,然后再执行对应的操作,这样系统自动还原计数值就不会因为正常的关闭或重启而累加了。Among them, the system will be shut down and restarted through normal procedures, or manually shut down or restarted by the operator. These are all normal shutdown and restart operations. At this time, before the shutdown or restart operation, the system automatic restoration count value will be reset to zero, and then the corresponding operation will be performed. In this way, the system automatic restoration count value will not be accumulated due to normal shutdown or restart.

如图2所示,本实施例提供了看门狗程序监控操作系统的流程,包括:As shown in FIG. 2 , this embodiment provides a process of a watchdog program monitoring an operating system, including:

步骤S500,所述操作系统启动后,开启看门狗程序,并根据所述系统自动还原计数值,设定看门狗时间。Step S500, after the operating system is started, the watchdog program is started, and the watchdog time is set according to the automatic restoration count value of the system.

而当操作系统正常启动后,则会开启看门狗程序,看门狗程序是一种监控程序,通过设定看门狗时间,并根据该看门狗时间定期对看门狗程序中的看门狗状态进行复位操作,以确定操作系统是不是处于正常运行的状态。When the operating system starts normally, the watchdog program will be started. The watchdog program is a monitoring program. By setting the watchdog time and regularly resetting the watchdog state in the watchdog program according to the watchdog time, it can be determined whether the operating system is in a normal operating state.

例如设定看门狗时间为1秒,则需要在1秒的时间周期进行一次“喂狗”的操作,该操作就是对看门狗状态进行复位操作,看门狗程序内会存在一个倒计时的计时器,每次执行“喂狗”的操作,都会使该计时器复位然后重新计算,只要该在倒计时结束前都能接收到复位信号,就表示每次“喂狗”的操作都正常进行,也就是表示操作系统运作正常。For example, if the watchdog time is set to 1 second, a "feed the dog" operation is required in a 1-second period. This operation is to reset the watchdog status. There is a countdown timer in the watchdog program. Each time the "feed the dog" operation is performed, the timer will be reset and recalculated. As long as the reset signal is received before the countdown ends, it means that each "feed the dog" operation is carried out normally, which means that the operating system is operating normally.

其中,看门狗时间需要根据系统自动还原计数值来设定。Among them, the watchdog time needs to be set according to the system's automatic restoration count value.

如前所述,该系统自动还原计数值表示操作系统非正常重启的次数,因此次数越多,数值越大,则表示该操作系统越不稳定,但是在一些场景中,操作系统虽然会出问题,但是在经过几次重启后,可能操作系统就因为一些其他的自我恢复机制解决了问题,但是在此期间,操作系统可能有些迟缓,因此需要根据当前的系统自动还原计数值,适当的延长看门狗时间,即看门狗时间随所述系统自动还原计数值的增大而延长。As mentioned above, the system automatic recovery count value indicates the number of abnormal restarts of the operating system. Therefore, the more times and the larger the value, the more unstable the operating system is. However, in some scenarios, although the operating system may have problems, after several restarts, the operating system may solve the problem due to some other self-recovery mechanisms. However, during this period, the operating system may be a little sluggish. Therefore, it is necessary to appropriately extend the watchdog time according to the current system automatic recovery count value, that is, the watchdog time is extended as the system automatic recovery count value increases.

具体而言,当系统自动还原计数值为1时,表示没有经历过非正常重启,这里的1只是正常启动时加的1,所以此时的看门狗时间可以是一个默认时间,如果系统自动还原计数值为2时,则表示经过了一次非正常重启,此时的看门狗时间可以是原本默认时间的两倍,以此类推,若是3则可以是3倍。Specifically, when the system automatic recovery count value is 1, it means that there has been no abnormal restart. The 1 here is just 1 added during normal startup, so the watchdog time at this time can be a default time. If the system automatic recovery count value is 2, it means that an abnormal restart has occurred. The watchdog time at this time can be twice the original default time, and so on. If it is 3, it can be 3 times.

此外,看门狗时间也可以是一个基础时间乘以2的幂次方的形式,如基础时间为1秒的话,当系统自动还原计数值为1时,看门狗时间就是2的1次方秒,系统自动还原计数值为2时,看门狗时间就是2的2次方秒,以此类推确定具体的时间,其中单位除了秒外也可以是微秒等,具体数值、单位和实际的计算方式只要符合看门狗时间于系统自动还原计数值成正相关即可。In addition, the watchdog time can also be in the form of a base time multiplied by a power of 2. For example, if the base time is 1 second, when the system automatically restores the count value to 1, the watchdog time is 2 to the 1st power seconds. When the system automatically restores the count value to 2, the watchdog time is 2 to the 2nd power seconds. And so on to determine the specific time. The unit can be microseconds in addition to seconds. The specific value, unit and actual calculation method can be satisfied as long as the watchdog time is positively correlated with the system automatically restored count value.

步骤S600,若所述看门狗时间的倒计时结束前,所述看门狗程序的看门狗状态没有被复位,则确定所述操作系统处于非正常状态,跳过将所述系统自动还原计数值归零的操作,重启所述操作系统。Step S600, if the watchdog state of the watchdog program is not reset before the countdown of the watchdog time ends, it is determined that the operating system is in an abnormal state, the operation of automatically restoring the system count value to zero is skipped, and the operating system is restarted.

如果在所述看门狗时间倒计时结束前,所述看门狗程序没有重置看门狗状态,则表示操作系统出了问题,没有及时进行复位,此时看门狗程序就会发出重启系统的指令,进行系统重启操作。If the watchdog program does not reset the watchdog state before the watchdog time countdown ends, it means that there is a problem with the operating system and it is not reset in time. At this time, the watchdog program will issue an instruction to restart the system and perform a system restart operation.

可以理解,由于看门狗程序引起的重启为非正常重启,一般正常重启为人手工操作或者一些任务计划程序计划的重启,而看门狗程序的重启是因为没有接收到定时的复位信号,以此判断操作系统出现了问题需要重启解决,因此为非正常重启。It can be understood that the restart caused by the watchdog program is an abnormal restart. Generally, a normal restart is a manual operation or a restart planned by some task scheduler. The restart of the watchdog program is because it does not receive the scheduled reset signal. It judges that there is a problem with the operating system and needs to be restarted to solve it. Therefore, it is an abnormal restart.

若是正常重启,则在完成重启前,会将系统自动还原计数值归0,以确保该数值不会累加。If it is a normal restart, the system will automatically restore the count value to 0 before completing the restart to ensure that the value does not accumulate.

而非正常重启则会跳过上述归0操作,则系统自动还原计数值会在重启完成后,在上述步骤S100里进行累加,从而完成一次非正常重启的记录。An abnormal restart will skip the above reset operation, and the system automatically restores the count value after the restart is completed, and accumulates it in the above step S100, thereby completing the record of an abnormal restart.

如图3所示,因此结合整个步骤流程可知,当操作系统所在的设备启动时,在最初进入BIOS的阶段,就会判断确定当前的操作系统是否需要进行还原操作,若需要还原,则根本不会进入操作系统,可以直接在最开始就进行系统还原操作,若不需要还原,则可以直接进入系统,并且借助了看门狗程序的特点,对操作系统进行监控,确定了需要系统还原的条件,只要满足条件就可以自动进行系统还原。As shown in Figure 3, combined with the entire step flow, it can be seen that when the device where the operating system is located is started, at the initial stage of entering the BIOS, it will determine whether the current operating system needs to be restored. If it needs to be restored, the operating system will not be entered at all, and the system restore operation can be performed directly at the beginning. If it does not need to be restored, the system can be entered directly, and with the help of the characteristics of the watchdog program, the operating system is monitored to determine the conditions for system restoration. As long as the conditions are met, the system can be automatically restored.

本实施例的方案可以适用于多种应用场景中,例如常见的家用机等,也可以用于一些没有人机交互界面的设备中,确保这些设备在无人操控或无人值守的情况下,也可以进行自我修正,自动还原,以确保设备运行的稳定性。而且本实施例的方法可以通过纯软件的方式实现,不需要对主板结构进行重新设计,针对严重的系统崩溃等问题都可以解决,只要存在备份系统,就可以自动实现重启和还原的操作。并且本申请通过分区隔离的方式,将操作系统分区和备份的分区,确保两者在实际运行时可以互不干扰,确保了备份文件的安全。The solution of this embodiment can be applied to a variety of application scenarios, such as common household machines, etc., and can also be used in some devices without human-machine interaction interfaces, to ensure that these devices can also perform self-correction and automatic restoration in the case of no one operating or unattended, so as to ensure the stability of the device operation. Moreover, the method of this embodiment can be implemented in a pure software manner, without the need to redesign the mainboard structure, and can solve problems such as serious system crashes. As long as there is a backup system, the restart and restore operations can be automatically implemented. In addition, this application uses partition isolation to separate the operating system partition and the backup partition, ensuring that the two do not interfere with each other during actual operation, thereby ensuring the safety of the backup files.

实施例2Example 2

如图4所示,本实施例提供一种操作系统自动还原装置,包括:As shown in FIG4 , this embodiment provides an operating system automatic restoration device, including:

自检模块10,用于操作系统启动过程中,确定系统自动还原功能的状态;The self-check module 10 is used to determine the status of the system automatic restoration function during the operating system startup process;

启动模块20,用于若所述系统自动还原功能为开启状态,则获取系统自动还原计数值,并将所述系统自动还原计数值进行累加计算;The startup module 20 is used to obtain the system automatic restoration count value if the system automatic restoration function is turned on, and to accumulate the system automatic restoration count value;

还原模块30,用于若所述系统自动还原计数值大于第一预设值,则进行系统还原操作,否则正常启动所述操作系统;The restoration module 30 is used to perform a system restoration operation if the system automatic restoration count value is greater than a first preset value, and to start the operating system normally otherwise;

重启模块40,用于当所述操作系统为正常关闭或重启,则将所述系统自动还原计数值归零后进行关闭或重启。The restart module 40 is used to reset the system automatic restoration count value to zero before shutting down or restarting the operating system when the operating system is shut down or restarted normally.

本申请提供一种计算机设备,包括处理器和存储器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行所述的操作系统自动还原方法。The present application provides a computer device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is run on the processor, the method for automatically restoring an operating system is executed.

该计算机设备可以是常见的家用机,也可以是工业上实用的工控机。可以是需要操作人员手动操作的计算机设备,也可以是没有交互界面,操作人员无法介入操作的封闭式计算机设备。The computer device may be a common home computer or an industrial computer, a computer device that requires manual operation by an operator, or a closed computer device that has no interactive interface and cannot be operated by an operator.

本申请提供一种可读存储介质,其存储有计算机程序,所述计算机程序在处理器上运行时执行所述的操作系统自动还原方法。The present application provides a readable storage medium storing a computer program, wherein the computer program executes the operating system automatic restoration method when running on a processor.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和结构图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,结构图和/或流程图中的每个方框、以及结构图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and structure diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in an alternative implementation, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the structure diagram and/or the flow diagram, and the combination of boxes in the structure diagram and/or the flow diagram, can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

另外,在本发明各个实施例中的各功能模块或单元可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或更多个模块集成形成一个独立的部分。In addition, the functional modules or units in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是智能手机、个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims (10)

1. An automatic operating system restoration method, comprising:
in the starting process of the operating system, determining the state of an automatic system restoration function;
if the automatic system restoration function is in an on state, acquiring an automatic system restoration count value, and accumulating the automatic system restoration count value;
if the automatic system restoration count value is larger than a first preset value, performing system restoration operation;
And when the operating system is normally closed or restarted, automatically resetting the system to zero and then closing or restarting the system.
2. The operating system automatic restoration method according to claim 1, further comprising:
After the starting of the operating system is completed, starting a watchdog program, automatically restoring a count value according to the system, and setting watchdog time;
and before the countdown of the watchdog time is finished, if the watchdog state of the watchdog program is not reset, determining that the operating system is in an abnormal state, skipping the operation of resetting the automatic system reset count value to zero, and restarting the operating system.
3. The operating system automatic restoration method according to claim 1, further comprising:
If the automatic system reduction count value is not greater than the first preset value, the operating system is started normally.
4. The operating system automatic restoration method according to claim 2, wherein the watchdog time is prolonged as the system automatic restoration count value increases.
5. The method for automatically restoring an operating system according to claim 1, wherein determining the state of the automatic restoring function of the system during the operating system start-up process comprises:
When the basic input/output system is entered, the flag bit of the automatic system restoration function is read, and whether the automatic system restoration function is in an on state is determined by the value of the flag bit.
6. The method for automatically restoring an operating system according to claim 1, wherein the first preset value is any value between 3 and 8.
7. The method for automatically restoring an operating system according to claim 1, wherein if the automatic restoring count value of the system is greater than a first preset value, performing a system restoring operation, comprises:
And hiding the partition of the operating system, entering a system restoration partition to call a system restoration program and a stored backup operating system, and carrying out system restoration on the operating system.
8. An operating system automatic restoration device, characterized by comprising:
the self-checking module is used for determining the state of the automatic system restoration function in the starting process of the operating system;
The starting module is used for acquiring the automatic system restoration count value if the automatic system restoration function is in an on state, and carrying out accumulated calculation on the automatic system restoration count value;
the system comprises a restoring module, a restoring module and a restoring module, wherein the restoring module is used for carrying out system restoring operation if the automatic restoring count value of the system is larger than a first preset value, otherwise, normally starting the operating system;
And the restarting module is used for closing or restarting the system after the automatic restoration count value of the system returns to zero when the operating system is normally closed or restarted.
9. A computer device comprising a processor and a memory, the memory storing a computer program that, when run on the processor, performs the operating system auto-restore method of any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the operating system auto-restore method of any one of claims 1 to 7.
CN202410642956.5A 2024-05-23 2024-05-23 Operating system automatic restoration method, device, computer equipment and storage medium Pending CN118427015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410642956.5A CN118427015A (en) 2024-05-23 2024-05-23 Operating system automatic restoration method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410642956.5A CN118427015A (en) 2024-05-23 2024-05-23 Operating system automatic restoration method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118427015A true CN118427015A (en) 2024-08-02

Family

ID=92331308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410642956.5A Pending CN118427015A (en) 2024-05-23 2024-05-23 Operating system automatic restoration method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118427015A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153724A1 (en) * 2003-01-30 2004-08-05 Microsoft Corporation Operating system update and boot failure recovery
US20050050385A1 (en) * 2003-08-26 2005-03-03 Chih-Wei Chen Server crash recovery reboot auto activation method and system
US20090224605A1 (en) * 2006-11-14 2009-09-10 Kt Corporation Uninterruptible power supply watchdog system and auto recovery method using the system
CN103455387A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system)
CN104598827A (en) * 2015-01-12 2015-05-06 中国人民解放军信息工程大学 Design method of restarting counter of hardware assisted operating system
CN104850472A (en) * 2015-05-18 2015-08-19 西安诺瓦电子科技有限公司 Method and device for restoring backup of system application software
WO2017219834A1 (en) * 2016-06-20 2017-12-28 中兴通讯股份有限公司 Monitoring method and device, and watchdog system
CN104572332B (en) * 2015-02-09 2018-08-21 华为技术有限公司 The method and apparatus of processing system collapse
WO2020015203A1 (en) * 2018-07-20 2020-01-23 华为技术有限公司 System recovery method and device
CN110928726A (en) * 2019-10-08 2020-03-27 众通乐行网络科技(深圳)有限公司 Embedded system self-recovery method and system based on watchdog and PXE
CN110968457A (en) * 2019-10-28 2020-04-07 湖南麒麟信安科技有限公司 Backup restoration method, system and medium for Linux operating system
WO2022037014A1 (en) * 2020-08-21 2022-02-24 苏州浪潮智能科技有限公司 Boot restoration method for arm server, and related apparatus
CN115509821A (en) * 2022-10-14 2022-12-23 深圳市灰度科技有限公司 System exception handling method, device, equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040153724A1 (en) * 2003-01-30 2004-08-05 Microsoft Corporation Operating system update and boot failure recovery
US20050050385A1 (en) * 2003-08-26 2005-03-03 Chih-Wei Chen Server crash recovery reboot auto activation method and system
US20090224605A1 (en) * 2006-11-14 2009-09-10 Kt Corporation Uninterruptible power supply watchdog system and auto recovery method using the system
CN103455387A (en) * 2012-05-30 2013-12-18 深圳市祈飞科技有限公司 Method and system for backing up and restoring operation system in UEFI (united extensible firmware interface) BIOS (basic input /output system)
CN104598827A (en) * 2015-01-12 2015-05-06 中国人民解放军信息工程大学 Design method of restarting counter of hardware assisted operating system
CN104572332B (en) * 2015-02-09 2018-08-21 华为技术有限公司 The method and apparatus of processing system collapse
CN104850472A (en) * 2015-05-18 2015-08-19 西安诺瓦电子科技有限公司 Method and device for restoring backup of system application software
WO2017219834A1 (en) * 2016-06-20 2017-12-28 中兴通讯股份有限公司 Monitoring method and device, and watchdog system
WO2020015203A1 (en) * 2018-07-20 2020-01-23 华为技术有限公司 System recovery method and device
CN112437914A (en) * 2018-07-20 2021-03-02 华为技术有限公司 System recovery method and device
CN110928726A (en) * 2019-10-08 2020-03-27 众通乐行网络科技(深圳)有限公司 Embedded system self-recovery method and system based on watchdog and PXE
CN110968457A (en) * 2019-10-28 2020-04-07 湖南麒麟信安科技有限公司 Backup restoration method, system and medium for Linux operating system
WO2022037014A1 (en) * 2020-08-21 2022-02-24 苏州浪潮智能科技有限公司 Boot restoration method for arm server, and related apparatus
CN115509821A (en) * 2022-10-14 2022-12-23 深圳市灰度科技有限公司 System exception handling method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
汪培;胡文倩;李彬雅;丁兵;李汪彪;苏伟达;吴允平;: "无人值守嵌入式设备的看门狗监控系统", 电子器件, no. 06, 20 December 2013 (2013-12-20) *

Similar Documents

Publication Publication Date Title
US20090271660A1 (en) Motherboard, a method for recovering the bios thereof and a method for booting a computer
CN110908847A (en) Abnormity recovery method, system, electronic equipment and storage medium
US7506209B2 (en) Computer shutoff condition monitoring method, information processing apparatus, program and computer readable information recording medium
CN113641537A (en) A server startup system, method and medium
CN103713916A (en) Automatic application program running method and automatic application program running system in Windows embedded system
CN118427015A (en) Operating system automatic restoration method, device, computer equipment and storage medium
CN1856772A (en) System and method to filter processors by health during early firmware for split recovery architecture
CN111427721B (en) Abnormality recovery method and device
CN112395121A (en) Drive loading processing method and device, storage medium and computer equipment
CN100445982C (en) Computer restoration system and method with multiple restoration points
JP5148662B2 (en) Electronic device and control program thereof
CN104834574B (en) A kind of method and device solving system partitioning damage
CN100394392C (en) Automatic starting control method and system for computer program recovery mode
US10592329B2 (en) Method and electronic device for continuing executing procedure being aborted from physical address where error occurs
CN116028128B (en) Disk partition storage method, operating system automatic recovery method and storage medium
CN119227088B (en) Equipment processing method, product, server and medium
JP7363617B2 (en) Communication devices, information processing methods, and systems
JP6232877B2 (en) Information processing apparatus, information processing method, and program
TWI750783B (en) Bios recovery system and method
CN108664357B (en) An embedded device system repair method and system based on startup information statistics
JP7001236B2 (en) Information processing equipment, fault monitoring method, and fault monitoring computer program
CN112346786B (en) Debugging information recording method applied to startup stage and operation stage after startup
CN112486742B (en) Method for remotely checking starting state of server and server
JP5822870B2 (en) Information processing device
CN119311287A (en) A fault-tolerant upgrade method, device, equipment and medium based on dual working partitions

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