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

Memory failure recovery method and device, electronic equipment 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
file system
failure recovery
successfully
unloaded
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; 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/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; 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/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/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

The present application relates to the field of memory technologies, and in particular, to a method and an apparatus for recovering a memory failure, an electronic device, and a storage medium. The memory failure recovery method comprises the following steps: unloading a file system, wherein the file system is mounted with a memory; after the file system is unloaded successfully, unloading the memory drive; powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully; loading a memory driver; and after the memory driver is loaded successfully, mounting the file system of the memory. The technical scheme of this application can make the memory resume normal work fast after the memory breaks down, and this application makes the memory resume normal work's technical scheme simple, and the user of memory can not experience the memory and break down, gives user's experience better, and can not increase the hardware cost.

Description

Memory failure recovery method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of memory technologies, and in particular, to a method and an apparatus for recovering a memory failure, an electronic device, and a storage medium.
Background
Memories, such as Embedded Multi Media cards (eMMC), are used as mass storage devices for numerous electronic devices, such as smart phones, tablet computers, and mobile internet devices, and are increasingly used in numerous industrial and Embedded applications.
For example, in a car networking system (Telematics BOX, TBOX), eMMC is inevitably used in order to locally store vehicle data, log, and other data. However, the use environment of the automobile is complex, and the eMMC inevitably fails during use due to unstable power supply, static electricity, interference, and the like, so that data cannot be stored. At this time, to restore eMMC to normal operation, the system must be restarted. But restarting the system takes a long time and can seriously affect the user experience, thereby causing user complaints.
Therefore, how to provide a scheme capable of rapidly recovering a memory failure is a technical problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application provides a method and a device for restoring a memory fault, electronic equipment and a storage medium, and aims to solve the technical problem that the existing memory is inconvenient to restore when the memory fails.
In a first aspect, the present application provides a method for recovering from a memory failure, including:
unloading a file system, wherein the file system is mounted with a memory;
after the file system is unloaded successfully, unloading the memory drive;
powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully;
loading a memory driver;
and after the memory driver is loaded successfully, mounting the file system of the memory.
Preferably, before the loading the memory driver, the memory failure recovery method further comprises:
and judging whether the memory drive is unloaded successfully.
Preferably, the determining whether the memory drive is successfully unloaded comprises:
and detecting whether the equipment file exists, and if the equipment file does not exist, judging that the unloading of the memory drive is successful.
Preferably, before the unloading the memory drive, the memory failure recovery method further comprises:
and judging whether the file system is unloaded successfully.
Preferably, before the mounting the file system of the memory, the memory failure recovery method further includes:
and judging whether the memory driver is loaded successfully or not.
Preferably, the determining whether the memory driver is successfully loaded comprises:
and detecting whether the equipment file exists, and if so, judging that the loading of the memory driver is successful.
Preferably, in the uninstalling of the file system, the file system is uninstalled by calling an uninstall command.
In a second aspect, the present application further provides a memory failure recovery apparatus, including:
the device comprises a mount canceling module, a memory and a storage module, wherein the mount canceling module is used for unloading a file system, and the file system is mounted with the memory;
the unloading module is used for unloading the memory drive after the file system is unloaded successfully;
the electronic control module is used for powering on the memory after powering off the memory for a preset time after the memory is successfully unloaded;
the loading module is used for loading the memory driver after the memory driver is successfully unloaded;
and the mounting module is used for mounting the file system of the memory after the memory drive is successfully loaded.
Preferably, the memory failure recovery apparatus further includes:
the first judging module is used for judging whether the file system is unloaded successfully.
Preferably, the memory failure recovery apparatus further includes:
and the second judgment module is used for judging whether the memory drive is unloaded successfully.
Preferably, the memory failure recovery apparatus further includes:
and the third judging module is used for judging whether the memory driver is loaded successfully or not.
Preferably, the second determining module is specifically configured to detect whether the device file exists, and if the device file does not exist, determine that the unloading of the memory drive is successful.
Preferably, the third determining module is specifically configured to detect whether the device file exists, and if the device file exists, determine that the memory driver is successfully loaded.
In a third aspect, the present application further provides an electronic device, including:
a memory for storing a memory failure recovery program;
and the processor is used for implementing the memory failure recovery method in the embodiment of the first aspect of the application when executing the memory failure recovery program.
In a fourth aspect, the present application further provides a storage medium, where the storage medium is a computer-readable storage medium, and a memory failure recovery program is stored in the storage medium, where the memory failure recovery program, when executed by a processor, implements the memory failure recovery method according to the embodiment of the first aspect of the present application.
Compared with the prior art, the technical scheme provided by the application is that the file system is unloaded, wherein the file system is mounted with the memory; after the file system is unloaded successfully, unloading the memory drive; powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully; loading a memory driver; after the memory drive is loaded successfully, the file system of the memory is mounted, so that the memory can be quickly restored to normal work after the memory fails, the technical scheme for restoring the memory to normal work is simple, a user cannot feel that the memory fails, the user experience is good, and the hardware cost cannot be increased.
Drawings
Fig. 1 is a flowchart of a method for recovering from a memory failure according to a first embodiment of the present application.
Fig. 2 is a flowchart of a method for recovering from a memory failure according to a second embodiment of the present application.
Fig. 3 is a block diagram of a memory failure recovery apparatus according to a third embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a memory failure recovery method according to a first embodiment of the present application, where the memory failure recovery method can be executed by a memory failure recovery device, and the memory failure recovery device can be implemented in a hardware and/or software manner and is used to recover from a memory failure. The memory failure recovery apparatus may be integrated in a Linux system. The memory failure recovery method comprises the following steps:
s11: and unloading the file system, wherein the file system is mounted with a memory.
Specifically, in the step S11, the file system is unloaded by calling a cancel mount command (umount command). The type of memory is not limited. Such as the memory may be eMMC. A file system is a method and data structure used by an operating system to clarify files of a memory. The software mechanism in the operating system that is responsible for managing and storing file information is called a file management system, referred to as a file system for short. The file system consists of three parts: file system interface, software assembly for manipulating and managing objects, objects and properties. From a system perspective, a file system is a system that organizes and allocates space of a file storage device, is responsible for file storage, and protects and retrieves stored files. In particular, the file system is responsible for creating files for users, storing, reading, modifying, dumping files, controlling access to files, revoking files when a user is no longer in use, and the like. Mount (mounting) refers to a process by which a computer's files and directories on a storage device are made available to a user through the computer's file system by an operating system. Unloading is the reverse operation of mounting. For example, when the usb disk is not used, in order to ensure the data security of the usb disk, the usb disk is pulled out, and the usb disk is first "popped out" in the form of software, and then manually pulled out. Specifically, when the file system is unloaded, the umount command may be called to unload the file system.
S12: after the file system is successfully unloaded, the memory driver is unloaded.
It will be appreciated that after the file system is successfully unloaded, a polling (polling) mode is initiated to unload the memory drive. Polling is a way for a Central Processing Unit (CPU) to decide how to provide services for peripheral devices, and is also called Programmed input/output (Programmed I/O). The concept of the polling method is: the CPU sends out inquiry at regular time to inquire each peripheral equipment whether it needs its service or not in sequence, if so, the peripheral equipment gives service, and after the service is over, the peripheral equipment asks the next peripheral equipment, and then the process is repeated. The memory driver is a 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 through which an operating system of the computer can control the operation of the hardware device. The memory drive is not unloaded until the file system is unloaded successfully.
S13: and powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully.
It will be appreciated that after the memory drive is successfully unloaded, the polling mode is turned off to power down the memory for a preset time and then powered up. 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 2 s. After the power of the memory is cut off for the preset time, the power is supplied again, so that the normal work of the memory can be ensured, and the successful loading of the memory drive is ensured.
S14: the memory driver is loaded.
It will be appreciated that prior to loading the memory driver, a polling mode may be initiated to load the memory driver. The memory driver is loaded, i.e. the driver for the memory is installed again. After power up, the memory driver is unloaded.
S14: and after the memory driver is loaded successfully, mounting the file system of the memory.
Specifically, in the step S14, the file system is unloaded by calling a mount command (mounting command). And after the memory driver is loaded successfully, the file system of the memory is not mounted. After the file system of the memory is mounted, the memory can recover normal operation. It will be appreciated that the polling mode will be turned off after the file system of the memory is mounted.
The memory failure recovery method provided by the embodiment unloads a file system, wherein the file system is mounted with a memory; after the file system is unloaded successfully, unloading the memory drive; powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully; loading a memory driver; after the memory drive is loaded successfully, the file system of the memory is mounted, so that the memory can be quickly restored to normal work after the memory fails, the technical scheme for restoring the memory to normal work is simple, a user cannot feel that the memory fails, the user experience is good, and the hardware cost cannot be increased.
Referring to fig. 2, a second embodiment of the present application also provides a method for recovering a memory failure, and based on the foregoing embodiments, this embodiment provides a solution for determining completion of each step, where the method for recovering a memory failure includes:
s21: and unloading the file system, wherein the file system is mounted with a memory.
S22: and judging whether the file system is unloaded successfully.
A get _ cd function may be set, and when the storage fails and the file system of the storage is unloaded successfully, the get _ cd function returns 0, which triggers unloading of the storage drive. If the unloading of the file system is successful, the process proceeds to step S23, and if the unloading of the file system fails, the unloading of the file system continues.
S23: after the file system is successfully unloaded, the memory driver is unloaded.
S24: and judging whether the memory drive is unloaded successfully.
Preferably, the determining whether the memory drive is successfully unloaded comprises:
and detecting whether the equipment file exists, and if the equipment file does not exist, judging that the unloading of the memory drive is successful.
The device file is an interface to the device driver and is stored in the file system as a regular file. Device files typically provide a simple interface, such as memory, to peripheral devices. If the memory driver is unloaded successfully, the/dev/mmcblk 0 file of the device file does not exist. Whether the memory drive is unloaded successfully can be judged according to whether the detection equipment file exists. It will be appreciated that if there is more than one memory, then there will be more than one device file. And for each memory, detecting whether a device file corresponding to each memory exists. If the unloading of the memory drive is successful, the flow proceeds to step S25. And if the unloading of the memory drive fails, continuing to unload the memory drive.
S25: and powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully.
S26: the memory driver is loaded.
S27: and judging whether the memory driver is loaded successfully or not.
Preferably, the determining whether the memory driver is successfully loaded comprises:
and detecting whether the equipment file exists, and if so, judging that the loading of the memory driver is successful.
If the memory driver loading is successful, then the/dev/mmcblk 0 file for the device file exists. Whether the memory driver is loaded successfully can be judged according to whether the detection equipment file exists. If the loading of the memory driver is successful, the process proceeds to step S28, and if the loading of the memory driver fails, the loading of the memory driver is continued.
S28: and after the memory driver is loaded successfully, mounting the file system of the memory.
The method for restoring the memory failure provided by the embodiment can quickly judge whether various conditions are finished or not, so that the memory can quickly restore normal work, the technical scheme for restoring the memory to normal work is simple, a user cannot feel that the memory fails, the experience for the user is better, and the hardware cost cannot be increased.
Referring to fig. 3, a third embodiment of the present application provides a memory failure recovery apparatus 30 for recovering a memory failure from normal operation. The memory failure recovery apparatus 30 may be integrated in a Linux system, the memory failure recovery apparatus 30 may implement the memory failure recovery method of the foregoing embodiment, and the memory failure recovery apparatus 30 includes:
a mount cancel module 31, configured to unload a file system, where the file system is mounted with a memory;
an unloading module 32, configured to unload the memory driver after the file system is successfully unloaded;
the electronic control module 33 is used for powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully;
a loading module 34, configured to load the memory driver after the memory driver is successfully unloaded;
and the mounting module 35 is configured to mount the file system of the memory after the memory driver is successfully loaded.
The memory failure recovery apparatus 30 provided in this embodiment unloads the file system, where the file system is mounted with the memory; after the file system is unloaded successfully, unloading the memory drive; powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully; loading a memory driver; after the memory drive is loaded successfully, the file system of the memory is mounted, so that the memory can be quickly restored to normal work after the memory fails, the technical scheme for restoring the memory to normal work is simple, a user cannot feel that the memory fails, the user experience is good, and the hardware cost cannot be increased.
Preferably, the memory failure recovery apparatus 30 further includes:
the first judging module is used for judging whether the file system is unloaded successfully.
Preferably, the memory failure recovery apparatus 30 further includes:
and the second judgment module is used for judging whether the memory drive is unloaded successfully.
Preferably, the memory failure recovery apparatus 30 further includes:
and the third judging module is used for judging whether the memory driver is loaded successfully or not.
Preferably, the second determining module is specifically configured to detect whether the device file exists, and if the device file does not exist, determine that the unloading of the memory drive is successful.
Preferably, the third determining module is specifically configured to detect whether the device file exists, and if the device file exists, determine that the memory driver is successfully loaded.
The product can execute the method provided by any embodiment of the application, and has the corresponding functional module and the beneficial effect of the execution method.
Referring to fig. 4, a fourth embodiment of the present application further provides an electronic device and a storage medium, which both have the corresponding effects of the method for recovering from a memory failure provided in the foregoing embodiments of the present application.
An electronic device provided in an embodiment of the present application includes a memory 41 and a processor 42, where 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:
unloading a file system, wherein the file system is mounted with a memory;
after the file system is unloaded successfully, unloading the memory drive;
after the memory driver is unloaded successfully, loading the memory driver;
and after the memory driver is loaded successfully, mounting 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: and after the memory drive is unloaded successfully and before the memory drive is loaded, powering on the memory after the power is off for a preset time.
Preferably, the processor of the electronic device further implements the following steps when executing the memory failure recovery program stored in the memory: and judging whether the file system is unloaded successfully.
Preferably, the processor of the electronic device further implements the following steps when executing the memory failure recovery program stored in the memory: and judging whether the memory drive is unloaded successfully.
Preferably, the processor of the electronic device further implements the following steps when executing the memory failure recovery program stored in the memory: and judging whether the memory driver is loaded successfully or not.
Preferably, the processor executes a memory failure recovery program stored in the memory: when judging whether the memory drive is unloaded successfully, the method concretely comprises the following steps:
and detecting whether the equipment file exists, and if the equipment file does not exist, judging that the unloading of the memory drive is successful.
Preferably, the processor executes a memory failure recovery program stored in the memory: when judging whether the memory driver is loaded successfully, the following steps are specifically realized:
and detecting whether the equipment file exists, and if so, judging that the loading of the memory driver is successful.
A storage medium provided in an embodiment of the present application is a computer-readable storage medium, in which a memory failure recovery program is stored, and when the memory failure recovery program is executed by a processor, the following steps are specifically implemented:
unloading a file system, wherein the file system is mounted with a memory;
after the file system is unloaded successfully, unloading the memory drive;
after the memory driver is unloaded successfully, loading the memory driver;
and after the memory driver is loaded successfully, mounting the file system of the memory.
Preferably, the memory failure recovery program stored in the computer readable storage medium, when executed by the processor, further implements the following steps:
and after the memory drive is unloaded successfully and before the memory drive is loaded, powering on the memory after the power is off for a preset time.
Preferably, the memory failure recovery program stored in the computer readable storage medium, when executed by the processor, implements the steps of:
and judging whether the file system is unloaded successfully.
Preferably, the memory failure recovery program stored in the computer readable storage medium, when executed by the processor, implements the steps of:
and judging whether the memory drive is unloaded successfully.
Preferably, the memory failure recovery program stored in the computer readable storage medium, when executed by the processor, implements the steps of:
and judging whether the memory driver is loaded successfully or not.
Preferably, the memory failure recovery program stored in the computer readable storage medium, when executed by the processor, implements the steps of:
and detecting whether the equipment file exists, and if the equipment file does not exist, judging that the unloading of the memory drive is successful.
Preferably, the memory failure recovery program stored in the computer readable storage medium, when executed by the processor, implements the steps of:
and detecting whether the equipment file exists, and if so, judging that the loading of the memory driver is successful.
The computer-readable storage medium includes Random Access Memory (RAM), Memory, Read-Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, Compact disk Read-Only Memory (CD-ROM), or any other form of storage medium known in the art.
For a description of a relevant part in a memory failure recovery method, a device, an electronic device, and a storage medium provided in an embodiment of the present application, reference is made to detailed descriptions of a corresponding part in a memory failure recovery method provided in an foregoing embodiment of the present application, and details are not repeated herein. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (10)

1. A memory failure recovery method, comprising:
unloading a file system, wherein the file system is mounted with a memory;
after the file system is unloaded successfully, unloading the memory drive;
powering on the memory after powering off the memory for a preset time after the memory drive is unloaded successfully;
loading a memory driver;
and after the memory driver is loaded successfully, mounting the file system of the memory.
2. The memory failure recovery method of claim 1, wherein: prior to the loading of the memory driver, the memory failure recovery method further comprises:
and judging whether the memory drive is unloaded successfully.
3. The memory failure recovery method of claim 2, wherein: the determining whether the memory drive is successfully unloaded comprises:
and detecting whether the equipment file exists, and if the equipment file does not exist, judging that the unloading of the memory drive is successful.
4. The memory failure recovery method of claim 1, wherein prior to the offloading of the memory drive, the memory failure recovery method further comprises:
and judging whether the file system is unloaded successfully.
5. The memory failure recovery method of claim 1, wherein prior to said mounting the file system of the memory, the memory failure recovery method further comprises:
and judging whether the memory driver is loaded successfully or not.
6. The memory crash recovery method of claim 5, wherein the determining whether the memory driver was loaded successfully comprises:
and detecting whether the equipment file exists, and if so, judging that the loading of the memory driver is successful.
7. The memory failure recovery method of claim 1, wherein in the unmount file system, the unmount command is invoked to unmount the file system.
8. A memory failure recovery apparatus, comprising:
the device comprises a mount canceling module, a memory and a storage module, wherein the mount canceling module is used for unloading a file system, and the file system is mounted with the memory;
the unloading module is used for unloading the memory drive after the file system is unloaded successfully;
the electronic control module is used for powering on the memory after powering off the memory for a preset time after the memory is successfully unloaded;
the loading module is used for loading the memory driver after the memory driver is successfully unloaded;
and the mounting module is used for mounting the file system of the memory after the memory drive is successfully loaded.
9. An electronic device, characterized in that the electronic device comprises:
a memory for storing a memory failure recovery program;
a processor for implementing the memory failure recovery method of any one of claims 1 to 7 when executing the memory failure recovery program.
10. A storage medium which is a computer-readable storage medium, characterized in that a memory failure recovery program is stored in the storage medium, and when executed by a processor, the memory failure recovery program implements the memory failure recovery method according to any one of claims 1 to 7.
CN201910780100.3A 2019-08-22 2019-08-22 Memory failure recovery method and device, electronic equipment 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 and device, electronic equipment 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 and device, electronic equipment 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 and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110727528A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857303A (en) * 2020-06-30 2020-10-30 浪潮电子信息产业股份有限公司 FPGA (field programmable Gate array) resetting method, device and system and electronic equipment

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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857303A (en) * 2020-06-30 2020-10-30 浪潮电子信息产业股份有限公司 FPGA (field programmable Gate array) resetting method, device and system and electronic equipment

Similar Documents

Publication Publication Date Title
US8970884B2 (en) Image forming apparatus
US9081639B2 (en) System and method for remotely re-imaging a computer system
NZ520786A (en) Method of booting a computer system using a memory image of the post boot content of the system RAM memory
US7337359B2 (en) System and method for recovering a device state
US20030046605A1 (en) Data protection system and method regarding the same
US7308547B2 (en) Apparatus and method for control of write filter
US11704198B2 (en) Method and apparatus for providing recovery from a computing device boot up error
WO2012031567A1 (en) Fault tolerance method and device for file system
US7818557B2 (en) Method for re-imaging a computer system
CN110727528A (en) Memory failure recovery method and device, electronic equipment and storage medium
CN113032183A (en) System management method, device, computer equipment and storage medium
CN111611049A (en) Memory snapshot creating method and device based on open-source architecture cloud environment
KR100697086B1 (en) Mobile communication terminal enable to backup and its operating method
CN1797337B (en) Method for installing software of computer automatically
KR20040029089A (en) Device for use in a network environment
US20230111120A1 (en) Alternate operating systems
CN106547589A (en) A kind of upgrade-system and upgrade method
CN113641556B (en) System, method, device, processor and computer readable storage medium for ensuring stable operation of automobile instrument
WO2005124540A1 (en) Method and apparatus for booting a computer system
US9081727B2 (en) Method, apparatus and computer program for loading files during a boot-up process
CN106599046B (en) Writing method and device of distributed file system
CN100392593C (en) Method for protecting hard disk last partition
CN117076180B (en) Information processing method, device, equipment and computer readable storage medium
CN102681862A (en) Novel application software convenient installing method
CN111198723B (en) Process injection method, terminal equipment and computer readable storage medium

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