[go: up one dir, main page]

CN110727528A - Memory failure recovery method, apparatus, electronic device and storage medium - Google Patents

Memory failure recovery method, apparatus, electronic device and storage medium Download PDF

Info

Publication number
CN110727528A
CN110727528A CN201910780100.3A CN201910780100A CN110727528A CN 110727528 A CN110727528 A CN 110727528A CN 201910780100 A CN201910780100 A CN 201910780100A CN 110727528 A CN110727528 A CN 110727528A
Authority
CN
China
Prior art keywords
memory
failure recovery
successfully
file system
driver
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
CN201910780100.3A
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 Launch Technology Co Ltd
Original Assignee
Shenzhen Launch 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 Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN201910780100.3A priority Critical patent/CN110727528A/en
Publication of CN110727528A publication Critical patent/CN110727528A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0706Error 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 the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error 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 the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本申请涉及存储器技术领域,尤其涉及一种存储器故障恢复方法、装置、电子设备和存储介质。存储器故障恢复方法包括:卸载文件系统,其中,所述文件系统挂载有存储器;在卸载文件系统成功后,卸载存储器驱动;在卸载存储器驱动成功后,给存储器断电预设时间后上电;加载存储器驱动;加载存储器驱动成功后,挂载存储器的文件系统。本申请的技术方案,能在存储器出现故障后,使存储器快速恢复正常工作,本申请使存储器恢复正常工作的技术方案简单,存储器的用户感受不到存储器出现故障,给用户的体验较好,且不会增加硬件成本。

Figure 201910780100

The present application relates to the field of memory technologies, and in particular, to a memory failure recovery method, apparatus, electronic device, and storage medium. The memory failure recovery method includes: unloading a file system, wherein the file system is mounted with a memory; after successfully unloading the file system, unloading the memory driver; after successfully unloading the memory driver, powering off the memory for a preset time and then powering on; Load the memory driver; after successfully loading the memory driver, mount the file system of the memory. The technical solution of the present application can quickly restore the memory to normal operation after the memory fails. The technical solution of the present application to restore the memory to normal operation is simple, the user of the memory cannot feel the memory failure, and the user experience is better, and No additional hardware cost.

Figure 201910780100

Description

存储器故障恢复方法、装置、电子设备和存储介质Memory failure recovery method, apparatus, electronic device and storage medium

技术领域technical field

本申请涉及存储器技术领域,尤其涉及一种存储器故障恢复方法、装置、电子设备和存储介质。The present application relates to the field of memory technologies, and in particular, to a memory failure recovery method, apparatus, electronic device, and storage medium.

背景技术Background technique

存储器,如嵌入式存储器(Embedded Multi Media Card,eMMC)可以作为智能手机、平板电脑和移动互联网设备等众多电子设备的大容量存储设备,它越来越多地被应用于众多工业和嵌入式应用领域。Memory, such as Embedded Multi Media Card (eMMC), can be used as a mass storage device for many electronic devices such as smart phones, tablet computers and mobile Internet devices, and it is increasingly used in many industrial and embedded applications field.

如在车联网系统(Telematics BOX,TBOX)中,为了在本地保存车辆数据,保存log等数据,不可避免的也要用到eMMC。但是汽车的使用环境复杂,在使用的过程中不可避免的由于电源不稳定、静电、干扰等等原因,eMMC出现故障,从而导致无法保存数据。此时要恢复eMMC正常工作,必须重启系统。但是重启系统需要消耗较长时间,会严重影响用户体验,从而引起用户投诉。For example, in the telematics BOX (TBOX), in order to save the vehicle data locally, save the log and other data, it is inevitable to use eMMC. However, the use environment of the car is complex. During the use process, the eMMC will inevitably fail due to unstable power supply, static electricity, interference, etc., resulting in the inability to save data. To restore the eMMC to work normally, the system must be restarted. However, it takes a long time to restart the system, which will seriously affect the user experience and cause user complaints.

因此,如何提供一种能快速恢复存储器故障的方案,是本领域技术人员亟待解决的技术问题。Therefore, how to provide a solution that can quickly recover the memory failure is a technical problem to be solved urgently by those skilled in the art.

发明内容SUMMARY OF THE INVENTION

本申请提供一种存储器故障恢复方法、装置、电子设备和存储介质,旨在解决现有的存储器出现故障时不方便恢复的技术问题。The present application provides a memory failure recovery method, device, electronic device and storage medium, aiming to solve the technical problem of inconvenient recovery when a memory failure occurs in the prior art.

第一方面,本申请提供一种存储器故障恢复方法,所述存储器故障恢复方法包括:In a first aspect, the present application provides a memory failure recovery method, the memory failure recovery method comprising:

卸载文件系统,其中,所述文件系统挂载有存储器;unmounting a file system, wherein the file system is mounted with a memory;

在卸载文件系统成功后,卸载存储器驱动;After unmounting the file system successfully, unmount the memory driver;

在卸载存储器驱动成功后,给存储器断电预设时间后上电;After unloading the memory driver successfully, power off the memory for a preset time and then power on;

加载存储器驱动;load memory driver;

加载存储器驱动成功后,挂载存储器的文件系统。After the memory driver is loaded successfully, mount the file system of the memory.

优选地,在所述加载存储器驱动之前,所述存储器故障恢复方法还包括:Preferably, before the loading of the memory driver, the memory failure recovery method further includes:

判断存储器驱动是否卸载成功。Determine whether the memory driver is uninstalled successfully.

优选地,所述判断存储器驱动是否卸载成功包括:Preferably, the judging whether the memory driver is uninstalled successfully includes:

检测设备文件是否存在,若设备文件不存在,则判断存储器驱动卸载成功。Check whether the device file exists. If the device file does not exist, it is judged that the memory driver is uninstalled successfully.

优选地,在所述卸载存储器驱动之前,所述存储器故障恢复方法还包括:Preferably, before the unloading of the memory driver, the memory failure recovery method further includes:

判断文件系统是否卸载成功。Check whether the file system is unmounted successfully.

优选地,在所述挂载存储器的文件系统之前,所述存储器故障恢复方法还包括:Preferably, before the file system of the storage is mounted, the storage failure recovery method further includes:

判断存储器驱动是否加载成功。Determine whether the memory driver is loaded successfully.

优选地,所述判断存储器驱动是否加载成功包括:Preferably, the judging whether the memory driver is loaded successfully includes:

检测设备文件是否存在,若设备文件存在,则判断存储器驱动加载成功。Check whether the device file exists. If the device file exists, it is judged that the memory driver is loaded successfully.

优选地,在所述卸载文件系统中,通过调用取消挂载命令卸载文件系统。Preferably, in the unmounting of the file system, the file system is unmounted by calling an unmount command.

第二方面,本申请还提供一种存储器故障恢复装置,所述存储器故障恢复装置包括:In a second aspect, the present application further provides a memory failure recovery device, the memory failure recovery device includes:

取消挂载模块,用于卸载文件系统,其中,所述文件系统挂载有存储器;an unmounting module for unmounting a file system, wherein the file system is mounted with a memory;

卸载模块,用于在卸载文件系统成功后,卸载存储器驱动;Uninstall module, used to uninstall the memory driver after the file system is successfully uninstalled;

电控模块,用于在卸载存储器驱动成功后,给存储器断电预设时间后上电;The electronic control module is used to power on the memory after a preset time after unloading the memory driver successfully;

加载模块,用于在卸载存储器驱动成功后,加载存储器驱动;The loading module is used to load the memory driver after successfully unloading the memory driver;

挂载模块,用于加载存储器驱动成功后,挂载存储器的文件系统。The mount module is used to mount the file system of the memory after the memory driver is loaded successfully.

优选地,存储器故障恢复装置还包括:Preferably, the memory failure recovery device further includes:

第一判断模块,用于判断文件系统是否卸载成功。The first judging module is used for judging whether the unloading of the file system is successful.

优选地,存储器故障恢复装置还包括:Preferably, the memory failure recovery device further includes:

第二判断模块,用于判断存储器驱动是否卸载成功。The second judging module is used for judging whether the memory driver is uninstalled successfully.

优选地,存储器故障恢复装置还包括:Preferably, the memory failure recovery device further includes:

第三判断模块,用于判断存储器驱动是否加载成功。The third judging module is used for judging whether the memory driver is loaded successfully.

优选地,第二判断模块具体用于检测设备文件是否存在,若设备文件不存在,则判断存储器驱动卸载成功。Preferably, the second judging module is specifically configured to detect whether the device file exists, and if the device file does not exist, it is judged that the memory driver is uninstalled successfully.

优选地,第三判断模块具体用于检测设备文件是否存在,若设备文件存在,则判断存储器驱动加载成功。Preferably, the third judgment module is specifically configured to detect whether the device file exists, and if the device file exists, it is judged that the memory driver is loaded successfully.

第三方面,本申请还提供一种电子设备,所述电子设备包括:In a third aspect, the present application also provides an electronic device, the electronic device comprising:

存储器,用于存储存储器故障恢复程序;memory for storing memory failure recovery programs;

处理器,用于执行所述存储器故障恢复程序时实现本申请第一方面实施例所述的存储器故障恢复方法。The processor is configured to implement the memory failure recovery method according to the embodiment of the first aspect of the present application when executing the memory failure recovery program.

第四方面,本申请还提供一种存储介质,所述存储介质为计算机可读存储介质,所述存储介质中存储有存储器故障恢复程序,所述存储器故障恢复程序被处理器执行时实现本申请第一方面实施例所述的存储器故障恢复方法。In a fourth aspect, the present application further provides a storage medium, the storage medium is a computer-readable storage medium, and a memory failure recovery program is stored in the storage medium, and when the memory failure recovery program is executed by a processor, the present application is implemented The memory failure recovery method described in the embodiment of the first aspect.

与现有技术相比,本申请提供的技术方案,卸载文件系统,其中,所述文件系统挂载有存储器;在卸载文件系统成功后,卸载存储器驱动;在卸载存储器驱动成功后,给存储器断电预设时间后上电;加载存储器驱动;加载存储器驱动成功后,挂载存储器的文件系统,能在存储器出现故障后,使存储器快速恢复正常工作,使存储器恢复正常工作的技术方案简单,用户感受不到存储器出现故障,给用户的体验较好,且不会增加硬件成本。Compared with the prior art, the technical solution provided by the present application is to uninstall the file system, wherein the file system is mounted with a memory; after the file system is successfully uninstalled, the memory driver is uninstalled; after the memory driver is successfully uninstalled, the memory is disconnected. Power on after the preset time; load the memory driver; after the memory driver is loaded successfully, the file system of the memory is mounted, which can quickly restore the memory to normal work after the memory fails, and the technical solution for restoring the memory to normal work is simple, and the user It does not feel the failure of the memory, the user experience is better, and the hardware cost will not be increased.

附图说明Description of drawings

图1为本申请第一实施例提供的存储器故障恢复方法的流程图。FIG. 1 is a flowchart of a memory fault recovery method provided by a first embodiment of the present application.

图2为本申请第二实施例提供的存储器故障恢复方法的流程图。FIG. 2 is a flowchart of a memory fault recovery method provided by a second embodiment of the present application.

图3为本申请第三实施例提供的存储器故障恢复装置的模块示意图。FIG. 3 is a schematic block diagram of a memory fault recovery apparatus provided by a third embodiment of the present application.

图4为本申请第四实施例提供的电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,如下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,示例性地,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion, by way of example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to the explicitly listed Those steps or units listed may instead include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

需要说明的是,在本申请中涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。另外,各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。It should be noted that the descriptions involving "first", "second", etc. in this application are only for the purpose of description, and should not be construed as indicating or implying their relative importance or implying the number of indicated technical features . Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In addition, the technical solutions between the various embodiments can be combined with each other, but must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of such technical solutions does not exist. , is not within the scope of protection claimed in this application.

请参阅图1,图1为本申请第一实施例提供的一种存储器故障恢复方法,该存储器故障恢复方法可由存储器故障恢复装置来执行,该存储器故障恢复装置可通过硬件和/或软件的方式来实现,用于在存储器故障时使其恢复正常。存储器故障恢复装置可以集成在Linux系统中。该存储器故障恢复方法包括:Please refer to FIG. 1. FIG. 1 is a method for recovering from a memory failure provided by a first embodiment of the application. The method for recovering from a memory failure can be performed by a device for recovering from a memory failure, and the device for recovering from a memory failure can be implemented by means of hardware and/or software. To achieve this, it is used to restore normal memory in the event of a memory failure. The storage failure recovery device can be integrated in the Linux system. The memory failure recovery method includes:

S11:卸载文件系统,其中,所述文件系统挂载有存储器。S11: Unmount the file system, where a memory is mounted on the file system.

具体地,在所述步骤S11中,通过调用取消挂载命令(umount命令)来卸载文件系统。存储器的类型不做限定。如存储器可以为eMMC。文件系统是操作系统用于明确存储器的文件的方法和数据结构。操作系统中负责管理和存储文件信息的软件机构称为文件管理系统,简称文件系统。文件系统由三部分组成:文件系统的接口,对对象操纵和管理的软件集合,对象及属性。从系统角度来看,文件系统是对文件存储设备的空间进行组织和分配,负责文件存储并对存入的文件进行保护和检索的系统。具体地说,文件系统负责为用户建立文件,存入、读出、修改、转储文件,控制文件的存取,当用户不再使用时撤销文件等。挂载(mounting)是指由操作系统使一个存储设备上的计算机文件和目录可供用户通过计算机的文件系统访问的一个过程。卸载即执行挂载的反操作。例如,U盘在不使用时,为了保证U盘的数据安全,想把U盘拔掉,先要以软件的形式“弹出U盘”,之后再手动拔掉U盘。具体的,卸载文件系统时,可以调用umount命令卸载文件系统。Specifically, in the step S11, the file system is unmounted by calling an unmount command (umount command). The type of memory is not limited. For example, the memory can be eMMC. A file system is the method and data structure used by the operating system to identify files in memory. The software organization responsible for managing and storing file information in the operating system is called a file management system, or file system for short. The file system consists of three parts: the interface of the file system, the software collection for object manipulation and management, and the objects and attributes. From a system point of view, a file system is a system that organizes and allocates the space of file storage devices, is responsible for file storage, and protects and retrieves stored files. Specifically, the file system is responsible for creating files for users, storing, reading, modifying, and dumping files, controlling access to files, and undoing files when users no longer use them. Mounting is a process by which the operating system makes computer files and directories on a storage device available to users through the computer's file system. Unmount is the inverse of mount. For example, when the U disk is not in use, in order to ensure the data security of the U disk, if you want to unplug the U disk, you must first "eject the U disk" in the form of software, and then manually unplug the U disk. Specifically, when unmounting a file system, you can call the umount command to unmount the file system.

S12:在卸载文件系统成功后,卸载存储器驱动。S12: After the unloading of the file system is successful, the storage driver is unloaded.

可以理解,在在卸载文件系统成功后,会开启轮询(polling)模式,以卸载存储器驱动。轮询是一种中央处理器(Central Processing Unit,CPU)决策如何提供周边设备服务的方式,又称“程控输入输出”(Programmed I/O)。轮询法的概念是:由CPU定时发出询问,依序询问每一个周边设备是否需要其服务,有即给予服务,服务结束后再问下一个周边,接着不断周而复始。存储器驱动,即为存储器的驱动程序。驱动程序是一种可以使计算机和设备进行相互通信的特殊程序,相当于硬件的接口,计算机的操作系统只有通过这个接口,才能控制硬件设备的工作。在卸载文件系统成功后,才去卸载存储器驱动。It can be understood that after the unloading of the file system is successful, the polling mode will be enabled to unload the memory driver. Polling is a way for a central processing unit (Central Processing Unit, CPU) to decide how to provide services for peripheral devices, also known as "Programmed I/O". The concept of the polling method is: the CPU periodically sends out inquiries, and sequentially asks whether each peripheral device needs its service, and then provides the service, and then asks the next peripheral after the service is completed, and then repeats the cycle. The memory driver is the driver of the memory. A driver is a special program that enables a computer and a device to communicate with each other, and is equivalent to a hardware interface. Only through this interface can the computer's operating system control the work of the hardware device. After unmounting the file system successfully, unmount the storage driver.

S13:在卸载存储器驱动成功后,给存储器断电预设时间后上电。S13: After the memory driver is uninstalled successfully, the memory is powered off for a preset time and then powered on.

可以理解,在卸载存储器驱动成功后,会关闭轮询模式以给存储器断电预设时间后上电。预设时间的长短不做限定,可根据存储器的性能设置,如预设时间可以是2s。在存储器断电预设时间后,再上电,能保证存储器之后的正常工作,保证存储器驱动的成功加载。It can be understood that after the memory driver is uninstalled successfully, the polling mode will be turned off to power off the memory for a preset time and then power on. The length of the preset time is not limited, and can be set according to the performance of the memory. For example, the preset time can be 2s. After the memory is powered off for a preset time, and then powered on again, the normal operation of the memory and the successful loading of the memory driver can be ensured.

S14:加载存储器驱动。S14: Load the memory driver.

可以理解,在加载存储器驱动前,会开启轮询模式,以加载存储器驱动。加载存储器驱动,即再次安装存储器的驱动程序。在上电后,才去加载存储器驱动。It can be understood that before loading the memory driver, the polling mode will be turned on to load the memory driver. Load the memory driver, that is, install the memory driver again. After the power is turned on, the memory driver is loaded.

S14:加载存储器驱动成功后,挂载存储器的文件系统。S14: After the memory driver is loaded successfully, mount the file system of the memory.

具体地,在所述步骤S14中,通过调用挂载命令(mounting命令)来卸载文件系统。加载存储器驱动成功后,才去挂载存储器的文件系统。挂载存储器的文件系统后,存储器即可恢复正常工作。可以理解,在挂载存储器的文件系统后,会关闭轮询模式。Specifically, in the step S14, the file system is unmounted by invoking a mount command (mounting command). After the memory driver is loaded successfully, the file system of the memory is mounted. Once the storage's file system is mounted, the storage can resume normal operation. It can be understood that after the file system of the storage is mounted, the polling mode is turned off.

本实施例提供的存储器故障恢复方法,卸载文件系统,其中,所述文件系统挂载有存储器;在卸载文件系统成功后,卸载存储器驱动;在卸载存储器驱动成功后,给存储器断电预设时间后上电;加载存储器驱动;加载存储器驱动成功后,挂载存储器的文件系统,能在存储器出现故障后,使存储器快速恢复正常工作,使存储器恢复正常工作的技术方案简单,用户感受不到存储器出现故障,给用户的体验较好,且不会增加硬件成本。In the storage failure recovery method provided in this embodiment, the file system is uninstalled, wherein the file system is mounted with storage; after the file system is successfully uninstalled, the storage driver is uninstalled; after the storage driver is successfully uninstalled, the storage is powered off for a preset time. After the memory is powered on; the memory driver is loaded; after the memory driver is loaded successfully, the file system of the memory is mounted, which can quickly restore the memory to normal work after the memory fails, and the technical solution for restoring the memory to normal work is simple, and the user cannot feel the memory In case of failure, the user experience is better, and the hardware cost will not be increased.

请参阅图2,本申请第二实施例也提供了一种存储器故障恢复方法,本实施例以前述实施例为基础,提供了一种判断各步骤完成的方案,该存储器故障恢复方法包括:Referring to FIG. 2 , a second embodiment of the present application also provides a method for recovering from a memory failure. Based on the foregoing embodiments, this embodiment provides a solution for judging that each step is completed. The method for recovering from a memory failure includes:

S21:卸载文件系统,其中,所述文件系统挂载有存储器。S21: Unmount the file system, wherein the file system is mounted with a memory.

S22:判断文件系统是否卸载成功。S22: Determine whether the file system is successfully unmounted.

可设置一个get_cd函数,在存储器出现故障,存储器的文件系统卸载成功后,get_cd函数会返回0,会触发去卸载存储器驱动。若卸载文件系统成功,则进入步骤S23,若卸载文件系统失败,则继续卸载文件系统。A get_cd function can be set. When the memory fails and the file system of the memory is unloaded successfully, the get_cd function will return 0, which will trigger the unloading of the memory driver. If the unmounting of the file system is successful, proceed to step S23, and if the unmounting of the file system fails, continue to unmount the file system.

S23:在卸载文件系统成功后,卸载存储器驱动。S23: After the unloading of the file system is successful, the storage driver is unloaded.

S24:判断存储器驱动是否卸载成功。S24: Determine whether the memory driver is successfully uninstalled.

优选地,所述判断存储器驱动是否卸载成功包括:Preferably, the judging whether the memory driver is uninstalled successfully includes:

检测设备文件是否存在,若设备文件不存在,则判断存储器驱动卸载成功。Check whether the device file exists. If the device file does not exist, it is judged that the memory driver is uninstalled successfully.

设备文件是一个设备驱动程序的界面,并被存储在文件系统中,就像常规文件。设备文件通常为周边设备提供简单的接口,如存储器。若存储器驱动卸载成功后,则设备文件的/dev/mmcblk0文件不存在。即可根据检测设备文件是否存在判断存储器驱动是否卸载成功。可以理解,若存在多个存储器,则会存在多个设备文件。针对每个存储器,则检测每个存储器对应的设备文件是否存在。若卸载存储器驱动成功,则进入步骤S25。若卸载存储器驱动失败,则继续卸载存储器驱动。A device file is an interface to a device driver and is stored in the file system just like a regular file. Device files usually provide simple interfaces to peripheral devices, such as memory. If the memory driver is uninstalled successfully, the /dev/mmcblk0 file of the device file does not exist. It can be determined whether the memory driver is successfully uninstalled according to whether the detected device file exists. It can be understood that if there are multiple memories, there will be multiple device files. For each memory, it is detected whether the device file corresponding to each memory exists. If the unloading of the memory driver is successful, go to step S25. If uninstalling the memory driver fails, continue to uninstall the memory driver.

S25:在卸载存储器驱动成功后,给存储器断电预设时间后上电。S25: After the memory driver is successfully uninstalled, power off the memory for a preset time and then power on.

S26:加载存储器驱动。S26: Load the memory driver.

S27:判断存储器驱动是否加载成功。S27: Determine whether the memory driver is loaded successfully.

优选地,所述判断存储器驱动是否加载成功包括:Preferably, the judging whether the memory driver is loaded successfully includes:

检测设备文件是否存在,若设备文件存在,则判断存储器驱动加载成功。Check whether the device file exists. If the device file exists, it is judged that the memory driver is loaded successfully.

若存储器驱动加载成功后,则设备文件的/dev/mmcblk0文件存在。即可根据检测设备文件是否存在判断存储器驱动是否加载成功。若加载存储器驱动成功,则进入步骤S28,若加载存储器驱动失败,则继续加载存储器驱动。If the memory driver is loaded successfully, the /dev/mmcblk0 file of the device file exists. It can be determined whether the memory driver is loaded successfully according to whether the detected device file exists. If the loading of the memory driver is successful, proceed to step S28, and if the loading of the memory driver fails, continue to load the memory driver.

S28:加载存储器驱动成功后,挂载存储器的文件系统。S28: After the memory driver is loaded successfully, mount the file system of the memory.

本实施例提供的存储器故障恢复方法,能快速的判断各种条件是否完成,使存储器快速恢复正常工作,使存储器恢复正常工作的技术方案简单,用户感受不到存储器出现故障,给用户的体验较好,且不会增加硬件成本。The memory failure recovery method provided in this embodiment can quickly determine whether various conditions are completed, so that the memory can quickly resume normal operation, and the technical solution for restoring the memory to normal operation is simple, the user cannot feel the memory failure, and the user experience is better. Yes, without increasing hardware costs.

请参阅图3,本申请第三实施例提供了一种存储器故障恢复装置30,用于在存储器故障时使其恢复正常。存储器故障恢复装置30可以集成在Linux系统中,该存储器故障恢复装置30可实现前述实施例的存储器故障恢复方法,存储器故障恢复装置30包括:Referring to FIG. 3 , a third embodiment of the present application provides a memory failure recovery device 30 , which is used to restore the memory to normal when the memory fails. The memory failure recovery device 30 can be integrated in the Linux system, and the memory failure recovery device 30 can implement the memory failure recovery method of the foregoing embodiment, and the memory failure recovery device 30 includes:

取消挂载模块31,用于卸载文件系统,其中,所述文件系统挂载有存储器;The unmounting module 31 is used to unmount the file system, wherein the file system is mounted with a memory;

卸载模块32,用于在卸载文件系统成功后,卸载存储器驱动;The unloading module 32 is used to unload the memory driver after the unloading of the file system is successful;

电控模块33,用于在卸载存储器驱动成功后,给存储器断电预设时间后上电;The electronic control module 33 is configured to power on the memory after power off for a preset time after the unloading of the memory drive is successful;

加载模块34,用于在卸载存储器驱动成功后,加载存储器驱动;The loading module 34 is used to load the memory driver after successfully unloading the memory driver;

挂载模块35,用于加载存储器驱动成功后,挂载存储器的文件系统。The mounting module 35 is used to mount the file system of the memory after the memory driver is successfully loaded.

本实施例提供的存储器故障恢复装置30,卸载文件系统,其中,所述文件系统挂载有存储器;在卸载文件系统成功后,卸载存储器驱动;在卸载存储器驱动成功后,给存储器断电预设时间后上电;加载存储器驱动;加载存储器驱动成功后,挂载存储器的文件系统,能在存储器出现故障后,使存储器快速恢复正常工作,使存储器恢复正常工作的技术方案简单,用户感受不到存储器出现故障,给用户的体验较好,且不会增加硬件成本。The storage failure recovery device 30 provided in this embodiment uninstalls the file system, wherein the file system is mounted with storage; after the file system is successfully uninstalled, the storage driver is uninstalled; after the storage driver is successfully uninstalled, the storage is powered off and preset Power on after time; load the memory driver; after the memory driver is loaded successfully, the file system of the memory is mounted, which can quickly restore the memory to normal work after the memory fails, and the technical solution for restoring the memory to normal work is simple and the user cannot feel it. If the memory fails, the user experience is better, and the hardware cost will not be increased.

优选地,存储器故障恢复装置30还包括:Preferably, the storage failure recovery device 30 further includes:

第一判断模块,用于判断文件系统是否卸载成功。The first judging module is used for judging whether the unloading of the file system is successful.

优选地,存储器故障恢复装置30还包括:Preferably, the storage failure recovery device 30 further includes:

第二判断模块,用于判断存储器驱动是否卸载成功。The second judging module is used for judging whether the memory driver is uninstalled successfully.

优选地,存储器故障恢复装置30还包括:Preferably, the storage failure recovery device 30 further includes:

第三判断模块,用于判断存储器驱动是否加载成功。The third judging module is used for judging whether the memory driver is loaded successfully.

优选地,第二判断模块具体用于检测设备文件是否存在,若设备文件不存在,则判断存储器驱动卸载成功。Preferably, the second judging module is specifically configured to detect whether the device file exists, and if the device file does not exist, it is judged that the memory driver is uninstalled successfully.

优选地,第三判断模块具体用于检测设备文件是否存在,若设备文件存在,则判断存储器驱动加载成功。Preferably, the third judgment module is specifically configured to detect whether the device file exists, and if the device file exists, it is judged that the memory driver is loaded successfully.

上述产品可执行本申请任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above product can execute the method provided by any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.

请参阅图4,本申请第四实施例还提供了一种电子设备及存储介质,其均具有本申请前述实施例提供的一种存储器故障恢复方法具有的对应效果。Referring to FIG. 4 , the fourth embodiment of the present application further provides an electronic device and a storage medium, both of which have the corresponding effects of the memory failure recovery method provided by the foregoing embodiments of the present application.

本申请实施例提供的一种电子设备,包括存储器41和处理器42,存储器41中存储有存储器故障恢复程序,处理器42执行存储器41中存储的存储器故障恢复程序时实现如下步骤:An electronic device provided by this embodiment of the present application includes a memory 41 and a processor 42, the memory 41 stores a memory failure recovery program, and the processor 42 implements the following steps when executing the memory failure recovery program stored in the memory 41:

卸载文件系统,其中,所述文件系统挂载有存储器;unmounting a file system, wherein the file system is mounted with a memory;

在卸载文件系统成功后,卸载存储器驱动;After unmounting the file system successfully, unmount the memory driver;

在卸载存储器驱动成功后,加载存储器驱动;After unloading the memory driver successfully, load the memory driver;

加载存储器驱动成功后,挂载存储器的文件系统。After the memory driver is loaded successfully, mount the file system of the memory.

优选地,电子设备的处理器执行存储器中存储的存储器故障恢复程序时还实现如下步骤:在卸载存储器驱动成功后,所述加载存储器驱动前,给存储器断电预设时间后上电。Preferably, the processor of the electronic device further implements the following steps when executing the memory failure recovery program stored in the memory: after the memory driver is successfully unloaded and before the memory driver is loaded, the memory is powered off for a preset time and then powered on.

优选地,电子设备的处理器执行存储器中存储的存储器故障恢复程序时还实现如下步骤:判断文件系统是否卸载成功。Preferably, when the processor of the electronic device executes the memory failure recovery program stored in the memory, the following steps are further implemented: judging whether the file system is successfully uninstalled.

优选地,电子设备的处理器执行存储器中存储的存储器故障恢复程序时还实现如下步骤:判断存储器驱动是否卸载成功。Preferably, when the processor of the electronic device executes the memory failure recovery program stored in the memory, the following steps are further implemented: judging whether the memory driver is successfully uninstalled.

优选地,电子设备的处理器执行存储器中存储的存储器故障恢复程序时还实现如下步骤:判断存储器驱动是否加载成功。Preferably, when the processor of the electronic device executes the memory failure recovery program stored in the memory, the following steps are further implemented: judging whether the memory driver is loaded successfully.

优选地,处理器执行存储器中存储的存储器故障恢复程序:判断存储器驱动是否卸载成功时,具体实现如下步骤:Preferably, the processor executes the memory failure recovery program stored in the memory: when judging whether the memory driver is successfully uninstalled, the specific steps are as follows:

检测设备文件是否存在,若设备文件不存在,则判断存储器驱动卸载成功。Check whether the device file exists. If the device file does not exist, it is judged that the memory driver is uninstalled successfully.

优选地,处理器执行存储器中存储的存储器故障恢复程序:判断存储器驱动是否加载成功时,具体实现如下步骤:Preferably, the processor executes the memory failure recovery program stored in the memory: when judging whether the memory driver is loaded successfully, the following steps are specifically implemented:

检测设备文件是否存在,若设备文件存在,则判断存储器驱动加载成功。Check whether the device file exists. If the device file exists, it is judged that the memory driver is loaded successfully.

本申请实施例提供的一种存储介质,存储介质为计算机可读存储介质,计算机可读存储介质中存储有存储器故障恢复程序,存储器故障恢复程序被处理器执行时具体实现如下步骤:A storage medium provided by an embodiment of the present application is a computer-readable storage medium, where a memory failure recovery program is stored in the computer-readable storage medium, and when the memory failure recovery program is executed by a processor, the following steps are specifically implemented:

卸载文件系统,其中,所述文件系统挂载有存储器;unmounting a file system, wherein the file system is mounted with a memory;

在卸载文件系统成功后,卸载存储器驱动;After unmounting the file system successfully, unmount the memory driver;

在卸载存储器驱动成功后,加载存储器驱动;After unloading the memory driver successfully, load the memory driver;

加载存储器驱动成功后,挂载存储器的文件系统。After the memory driver is loaded successfully, mount the file system of the memory.

优选地,计算机可读存储介质中存储的存储器故障恢复程序被处理器执行时具体还实现如下步骤:Preferably, when the memory failure recovery program stored in the computer-readable storage medium is executed by the processor, the following steps are specifically implemented:

在卸载存储器驱动成功后,所述加载存储器驱动前,给存储器断电预设时间后上电。After the memory driver is successfully unloaded and before the memory driver is loaded, the memory is powered off for a preset time and then powered on.

优选地,计算机可读存储介质中存储的存储器故障恢复程序被处理器执行时具体实现如下步骤:Preferably, when the memory failure recovery program stored in the computer-readable storage medium is executed by the processor, the following steps are specifically implemented:

判断文件系统是否卸载成功。Check whether the file system is unmounted successfully.

优选地,计算机可读存储介质中存储的存储器故障恢复程序被处理器执行时具体实现如下步骤:Preferably, when the memory failure recovery program stored in the computer-readable storage medium is executed by the processor, the following steps are specifically implemented:

判断存储器驱动是否卸载成功。Determine whether the memory driver is uninstalled successfully.

优选地,计算机可读存储介质中存储的存储器故障恢复程序被处理器执行时具体实现如下步骤:Preferably, when the memory failure recovery program stored in the computer-readable storage medium is executed by the processor, the following steps are specifically implemented:

判断存储器驱动是否加载成功。Determine whether the memory driver is loaded successfully.

优选地,计算机可读存储介质中存储的存储器故障恢复程序被处理器执行时具体实现如下步骤:Preferably, when the memory failure recovery program stored in the computer-readable storage medium is executed by the processor, the following steps are specifically implemented:

检测设备文件是否存在,若设备文件不存在,则判断存储器驱动卸载成功。Check whether the device file exists. If the device file does not exist, it is judged that the memory driver is uninstalled successfully.

优选地,计算机可读存储介质中存储的存储器故障恢复程序被处理器执行时具体实现如下步骤:Preferably, when the memory failure recovery program stored in the computer-readable storage medium is executed by the processor, the following steps are specifically implemented:

检测设备文件是否存在,若设备文件存在,则判断存储器驱动加载成功。Check whether the device file exists. If the device file exists, it is judged that the memory driver is loaded successfully.

本申请所涉及的计算机可读存储介质包括随机存储器(Random Access Memory,RAM)、内存、只读存储器(Read-Only Memory,ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、紧凑型光盘只读储存器(Compact Disc Read-Only Memory,CD-ROM)、或技术领域内所公知的任意其它形式的存储介质。The computer-readable storage medium involved in this application includes random access memory (Random Access Memory, RAM), memory, read-only memory (Read-Only Memory, ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, Hard disk, removable disk, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), or any other form of storage medium known in the technical field.

本申请实施例提供的一种存储器故障恢复方法、装置、电子设备及存储介质中相关部分的说明请参见本申请前述实施例提供的一种存储器故障恢复方法中对应部分的详细说明,在此不再赘述。另外,本申请实施例提供的上述技术方案中与现有技术中对应技术方案实现原理一致的部分并未详细说明,以免过多赘述。For the description of the relevant parts of the method, device, electronic device, and storage medium provided by the embodiments of the present application, please refer to the detailed description of the corresponding parts of the method for restoring memory provided by the foregoing embodiments of the present application. Repeat. In addition, parts of the above technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail, so as to avoid redundant descriptions.

以上仅为本申请的优选实施例,并非因此限制本申请的保护范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields , are similarly included in the protection scope of this application.

Claims (10)

1.一种存储器故障恢复方法,其特征在于,所述存储器故障恢复方法包括:1. A storage failure recovery method, wherein the storage failure recovery method comprises: 卸载文件系统,其中,所述文件系统挂载有存储器;unmounting a file system, wherein the file system is mounted with a memory; 在卸载文件系统成功后,卸载存储器驱动;After unmounting the file system successfully, unmount the memory driver; 在卸载存储器驱动成功后,给存储器断电预设时间后上电;After unloading the memory driver successfully, power off the memory for a preset time and then power on; 加载存储器驱动;load memory driver; 加载存储器驱动成功后,挂载存储器的文件系统。After the memory driver is loaded successfully, mount the file system of the memory. 2.如权利要求1所述的存储器故障恢复方法,其特征在于:在所述加载存储器驱动之前,所述存储器故障恢复方法还包括:2. The memory failure recovery method according to claim 1, wherein before the loading of the memory driver, the memory failure recovery method further comprises: 判断存储器驱动是否卸载成功。Determine whether the memory driver is uninstalled successfully. 3.如权利要求2所述的存储器故障恢复方法,其特征在于:所述判断存储器驱动是否卸载成功包括:3. The memory failure recovery method according to claim 2, wherein the judging whether the memory driver is uninstalled successfully comprises: 检测设备文件是否存在,若设备文件不存在,则判断存储器驱动卸载成功。Check whether the device file exists. If the device file does not exist, it is judged that the memory driver is uninstalled successfully. 4.如权利要求1所述的存储器故障恢复方法,其特征在于,在所述卸载存储器驱动之前,所述存储器故障恢复方法还包括:4. The memory failure recovery method according to claim 1, wherein before the unloading the memory driver, the memory failure recovery method further comprises: 判断文件系统是否卸载成功。Check whether the file system is unmounted successfully. 5.如权利要求1所述的存储器故障恢复方法,其特征在于,在所述挂载存储器的文件系统之前,所述存储器故障恢复方法还包括:5. The storage failure recovery method according to claim 1, wherein before the file system of the storage is mounted, the storage failure recovery method further comprises: 判断存储器驱动是否加载成功。Determine whether the memory driver is loaded successfully. 6.如权利要求5所述的存储器故障恢复方法,其特征在于,所述判断存储器驱动是否加载成功包括:6. The memory failure recovery method according to claim 5, wherein the judging whether the memory driver is loaded successfully comprises: 检测设备文件是否存在,若设备文件存在,则判断存储器驱动加载成功。Check whether the device file exists. If the device file exists, it is judged that the memory driver is loaded successfully. 7.如权利要求1所述的存储器故障恢复方法,其特征在于,在所述卸载文件系统中,通过调用取消挂载命令卸载文件系统。7 . The method for recovering from a memory failure according to claim 1 , wherein, in the unmounting of the file system, the file system is unmounted by invoking an unmount command. 8 . 8.一种存储器故障恢复装置,其特征在于,所述存储器故障恢复装置包括:8. A storage failure recovery device, wherein the storage failure recovery device comprises: 取消挂载模块,用于卸载文件系统,其中,所述文件系统挂载有存储器;an unmounting module for unmounting a file system, wherein the file system is mounted with a memory; 卸载模块,用于在卸载文件系统成功后,卸载存储器驱动;Uninstall module, used to uninstall the memory driver after the file system is successfully uninstalled; 电控模块,用于在卸载存储器驱动成功后,给存储器断电预设时间后上电;The electronic control module is used to power on the memory after a preset time after unloading the memory driver successfully; 加载模块,用于在卸载存储器驱动成功后,加载存储器驱动;The loading module is used to load the memory driver after successfully unloading the memory driver; 挂载模块,用于加载存储器驱动成功后,挂载存储器的文件系统。The mount module is used to mount the file system of the memory after the memory driver is loaded successfully. 9.一种电子设备,其特征在于,所述电子设备包括:9. An electronic device, characterized in that the electronic device comprises: 存储器,用于存储存储器故障恢复程序;memory for storing memory failure recovery programs; 处理器,用于执行所述存储器故障恢复程序时实现如权利要求1至7任一项所述的存储器故障恢复方法。The processor is configured to implement the memory failure recovery method according to any one of claims 1 to 7 when executing the memory failure recovery program. 10.一种存储介质,所述存储介质为计算机可读存储介质,其特征在于,所述存储介质中存储有存储器故障恢复程序,所述存储器故障恢复程序被处理器执行时实现如权利要求1至7任一项所述的存储器故障恢复方法。10. A storage medium, wherein the storage medium is a computer-readable storage medium, wherein a memory failure recovery program is stored in the storage medium, and when the memory failure recovery program is executed by a processor, the implementation of claim 1 The memory failure recovery method described in any one of to 7.
CN201910780100.3A 2019-08-22 2019-08-22 Memory failure recovery method, apparatus, electronic device and storage medium Pending CN110727528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910780100.3A CN110727528A (en) 2019-08-22 2019-08-22 Memory failure recovery method, apparatus, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910780100.3A CN110727528A (en) 2019-08-22 2019-08-22 Memory failure recovery method, apparatus, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN110727528A true CN110727528A (en) 2020-01-24

Family

ID=69217163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910780100.3A Pending CN110727528A (en) 2019-08-22 2019-08-22 Memory failure recovery method, apparatus, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN110727528A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857303A (en) * 2020-06-30 2020-10-30 浪潮电子信息产业股份有限公司 A kind of FPGA reset method, apparatus, system and electronic equipment
CN114237961A (en) * 2021-12-20 2022-03-25 深信服科技股份有限公司 Hardware fault isolation method and device and server
CN115871553A (en) * 2021-09-28 2023-03-31 惠州华阳通用智慧车载系统开发有限公司 Sound effect simulating device and control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838137A (en) * 2006-04-26 2006-09-27 南京大学 Read-write access control method for plug-in memory device
US20090292957A1 (en) * 2008-05-21 2009-11-26 International Business Machines Corporation System for repeated unmount attempts of distributed file systems
CN103959247A (en) * 2011-10-03 2014-07-30 思科技术公司 Security in virtualized computer programs
CN108920480A (en) * 2018-04-17 2018-11-30 Oppo广东移动通信有限公司 A kind of processing method and equipment, computer storage medium of file system exception
CN109032826A (en) * 2018-06-22 2018-12-18 北京蜂盒科技有限公司 WiFi fault recovery method, device, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838137A (en) * 2006-04-26 2006-09-27 南京大学 Read-write access control method for plug-in memory device
US20090292957A1 (en) * 2008-05-21 2009-11-26 International Business Machines Corporation System for repeated unmount attempts of distributed file systems
CN103959247A (en) * 2011-10-03 2014-07-30 思科技术公司 Security in virtualized computer programs
CN108920480A (en) * 2018-04-17 2018-11-30 Oppo广东移动通信有限公司 A kind of processing method and equipment, computer storage medium of file system exception
CN109032826A (en) * 2018-06-22 2018-12-18 北京蜂盒科技有限公司 WiFi fault recovery method, device, storage medium and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857303A (en) * 2020-06-30 2020-10-30 浪潮电子信息产业股份有限公司 A kind of FPGA reset method, apparatus, system and electronic equipment
CN115871553A (en) * 2021-09-28 2023-03-31 惠州华阳通用智慧车载系统开发有限公司 Sound effect simulating device and control method
CN114237961A (en) * 2021-12-20 2022-03-25 深信服科技股份有限公司 Hardware fault isolation method and device and server
CN114237961B (en) * 2021-12-20 2025-05-02 深信服科技股份有限公司 Hardware fault isolation method, device and server

Similar Documents

Publication Publication Date Title
CN102385535B (en) Handling errors during device bootup from a non-volatile memory
EP2649517B1 (en) Fast computer startup
US8417992B2 (en) Method, system and article of manufacture for system recovery
US9454387B2 (en) Method and system for installing portable executable applications
US11144328B2 (en) System method to update failover process by running basic input/output (BIOS) system boot code from non-volatile memory express device (NVME)
JP5911504B2 (en) Software image upgrade based on streaming technology
US11704198B2 (en) Method and apparatus for providing recovery from a computing device boot up error
CN103514065B (en) Tool automatically detects and recovers electronic installation and the method for function
CN105068891B (en) Method and terminal for repairing eMMC file
CN110727528A (en) Memory failure recovery method, apparatus, electronic device and storage medium
US20030229819A1 (en) Method and apparatus for data backup and recovery
JP7355876B2 (en) Program startup method, equipment, and storage medium
US8504869B2 (en) Kernel swapping systems and methods for recovering a network device
CN112099819A (en) Data processing method, data processing device and vehicle-mounted terminal
CN115576743A (en) Operating system recovery method and device, computer equipment and storage medium
CN115509578A (en) System upgrading method and device, electronic equipment and storage medium
WO2025242189A1 (en) Memory read/write-based embedded system upgrade method and apparatus
WO2026001164A1 (en) Stack file system, system management method, controller, chip device, and vehicle
CN113641556A (en) System, method, device, processor and computer readable storage medium for guaranteeing stable operation of automobile instrument
US7818557B2 (en) Method for re-imaging a computer system
CN1299209C (en) FPGA logic program downloading device
CN117850886A (en) Starting method and device of linux system, terminal equipment and storage medium
CN111258617B (en) Electronic equipment
CN1797337B (en) Method for installing software of computer automatically
US10592329B2 (en) Method and electronic device for continuing executing procedure being aborted from physical address where error occurs

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
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20241129