[go: up one dir, main page]

CN111984195A - Method and device for improving stability of embedded Linux system - Google Patents

Method and device for improving stability of embedded Linux system Download PDF

Info

Publication number
CN111984195A
CN111984195A CN202010838731.9A CN202010838731A CN111984195A CN 111984195 A CN111984195 A CN 111984195A CN 202010838731 A CN202010838731 A CN 202010838731A CN 111984195 A CN111984195 A CN 111984195A
Authority
CN
China
Prior art keywords
partition
write
read
data
storage medium
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
CN202010838731.9A
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.)
Guangzhou Bonsoninfo System Co ltd
Original Assignee
Guangzhou Bonsoninfo System 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 Guangzhou Bonsoninfo System Co ltd filed Critical Guangzhou Bonsoninfo System Co ltd
Priority to CN202010838731.9A priority Critical patent/CN111984195A/en
Publication of CN111984195A publication Critical patent/CN111984195A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1471Saving, restoring, recovering or retrying involving logging of persistent data for recovery
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0622Securing storage systems in relation to access
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

本申请实施例公开了一种提高嵌入式Linux系统稳定性的方法及装置。本申请实施例提供的技术方案,通过设置系统检测脚本来对运行期间的嵌入式Linux系统进行异常情况检测,如果出现异常情况,则对出现异常的分区进行格式化处理并进行数据恢复,通过上述操作能够大大减少嵌入式Liunx系统出现宕机的情况,大大提升了系统的可靠性,从而减少维护成本。本申请实施例的方案不但能够降低维护成本,并且由于采用软件检测实施也不会增加相应的硬件成本。

Figure 202010838731

The embodiments of the present application disclose a method and device for improving the stability of an embedded Linux system. In the technical solution provided by the embodiments of the present application, a system detection script is set to perform abnormality detection on the embedded Linux system during operation, and if an abnormality occurs, the abnormal partition is formatted and data is recovered. The operation can greatly reduce the downtime of the embedded Linux system, greatly improve the reliability of the system, and reduce maintenance costs. The solutions of the embodiments of the present application can not only reduce maintenance costs, but also do not increase corresponding hardware costs due to the use of software detection and implementation.

Figure 202010838731

Description

一种提高嵌入式Linux系统稳定性的方法及装置A method and device for improving the stability of an embedded Linux system

技术领域technical field

本申请实施例涉及Linux系统的数据存储管理技术领域,尤其涉及一种提高嵌入式Linux系统稳定性的方法及装置。The embodiments of the present application relate to the technical field of data storage management of Linux systems, and in particular, to a method and device for improving the stability of an embedded Linux system.

背景技术Background technique

目前,基于Linux的嵌入式系统,在很多行业都有它的身影,其存储介质一般选择使用FLASH这样的闪存介质。FLASH的特性有别于内存,内存是掉电易失性的存储介质,而FLASH是掉电可以保存的存储介质,在嵌入式Linux的系统中,FLASH通常用来保存用户的数据库、日志等数据,这些数据需要经常刷新读写FLASH。At present, Linux-based embedded systems have its presence in many industries, and its storage medium generally chooses to use a flash memory medium such as FLASH. The characteristics of FLASH are different from those of memory. Memory is a volatile storage medium after power failure, while FLASH is a storage medium that can be saved after power failure. In embedded Linux systems, FLASH is usually used to store user data such as databases and logs. , these data need to be frequently refreshed to read and write FLASH.

在很多行业中,嵌入式系统要求的稳定性比较高,特别是工业领域,嵌入式设备运行在无人值守的环境中,环境比较恶劣,这就要求嵌入式系统能够稳定运行,不能出现宕机的情况。In many industries, embedded systems require relatively high stability, especially in the industrial field, where embedded devices run in unattended environments and the environment is relatively harsh, which requires embedded systems to run stably without downtime. Case.

FLASH是有寿命的,使用不适当,FLASH的坏块或者损坏就会出现,进而会造成在FLASH上跑的嵌入式Linux系统的宕机情况,原因在于:1、突然掉电;2、用户的数据库、日志等数据频繁读写。FLASH has a lifespan. If used improperly, bad blocks or damages of FLASH will appear, which will cause the downtime of the embedded Linux system running on FLASH. The reasons are: 1. Sudden power failure; 2. User's Data such as databases and logs are frequently read and written.

基于此问题,一般的做法就是:1、增加硬件器件,在突然掉电的时候可以给嵌入式设备供电,检测到掉电的情况通知到软件进行及时的数据保存并准备关机,但是这样做会增加嵌入式设备的成本。2、尽量减少数据库、日志等数据的读写频率,避免对FLASH造成过多的擦除读写进而导致嵌入式系统宕机的情况出现,但是这样做导致数据不及时刷新,会造成数据丢失的风险。3、如果出现宕机情况,需要人工到嵌入式设备的现场进行干预,进行嵌入式设备的更换或者重新烧写嵌入式系统的出厂固件,使其恢复正常运行,但是这样会增加人力物力,维护成本比较高。Based on this problem, the general approach is: 1. Add hardware devices, which can supply power to embedded devices when a power failure occurs suddenly, and notify the software to save data in time and prepare to shut down when a power failure is detected. Increase the cost of embedded devices. 2. Minimize the frequency of reading and writing data such as databases and logs, and avoid excessive erasing and reading of FLASH, which will lead to the downtime of the embedded system. However, doing so will cause the data to not be refreshed in time, which will cause data loss. risk. 3. If there is a downtime, it is necessary to manually intervene at the site of the embedded device, replace the embedded device or re-program the factory firmware of the embedded system to restore normal operation, but this will increase manpower and material resources, maintenance The cost is relatively high.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种提高嵌入式Linux系统稳定性的方法及装置,能够提高嵌入式Linux系统运行的稳定性。The embodiments of the present application provide a method and device for improving the stability of an embedded Linux system, which can improve the running stability of the embedded Linux system.

在第一方面,本申请实施例提供了一种提高嵌入式Linux系统稳定性的方法,包括:In a first aspect, an embodiment of the present application provides a method for improving the stability of an embedded Linux system, including:

将系统检测脚本存储于根文件系统分区,所述根文件系统分区被配置为只读模式;闪存存储介质包括根文件系统分区和数据读写分区;The system detection script is stored in the root file system partition, and the root file system partition is configured as a read-only mode; the flash memory storage medium includes a root file system partition and a data read-write partition;

每隔第一预设时间通过所述系统检测脚本将内存存储介质处的读写数据拷贝至所述数据读写分区;Copy the read-write data at the memory storage medium to the data read-write partition through the system detection script every first preset time;

通过系统检测脚本对闪存存储介质处的数据读写分区进行检测以判断是否存在异常信息,如果否,则继续检测,如果是,则执行分区修复操作。The system detection script is used to detect the data read/write partition of the flash storage medium to determine whether there is abnormal information. If not, continue the detection, and if so, execute the partition repair operation.

进一步的,在所述每隔第一预设时间通过所述系统检测脚本将内存存储介质处的读写数据拷贝至数据读写分区之后,还包括:Further, after the read-write data at the memory storage medium is copied to the data read-write partition through the system detection script every first preset time, it also includes:

当检测到嵌入式Linux系统开机时,通过所述系统检测脚本将相应的读写数据从数据读写分区拷贝至内存存储介质处。When it is detected that the embedded Linux system is powered on, the corresponding read-write data is copied from the data read-write partition to the memory storage medium through the system detection script.

进一步的,在所述每隔第一预设时间通过所述系统检测脚本将内存存储介质处的读写数据拷贝至数据读写分区之后,还包括:Further, after the read-write data at the memory storage medium is copied to the data read-write partition through the system detection script every first preset time, it also includes:

当检测到嵌入式Linux系统关机时,通过所述系统检测脚本将相应读写数据从内存存储介质拷贝至数据读写分区处。When it is detected that the embedded Linux system is shut down, the corresponding read-write data is copied from the memory storage medium to the data read-write partition through the system detection script.

进一步的,在所述将系统检测脚本存储于根文件系统分区之前,还包括:Further, before the system detection script is stored in the root file system partition, the method further includes:

将闪存存储介质划分为多个分区,所述分区包括引导加载分区、Linux内核分区、根文件系统分区、用户文件系统分区和数据读写分区;所述引导加载分区用于存储引导加载程序,所述内核分区用于存储Linux内核,所述用户文件系统分区用于存储相应的应用程序,所述根文件系统用于存储根文件系统,所述数据读写分区用于备份用户读写数据。The flash memory storage medium is divided into multiple partitions, and the partitions include a boot loader partition, a Linux kernel partition, a root file system partition, a user file system partition, and a data read/write partition; the boot loader partition is used to store the boot loader, so The kernel partition is used to store the Linux kernel, the user file system partition is used to store corresponding application programs, the root file system is used to store the root file system, and the data read and write partition is used to back up user read and write data.

进一步的,在所述将闪存存储介质划分为多个分区之后,还包括:Further, after dividing the flash memory storage medium into multiple partitions, the method further includes:

配置所述引导加载分区、Linux内核分区和根文件系统分区为只读模式;Configure the boot loading partition, the Linux kernel partition and the root file system partition as read-only mode;

配置用户文件系统分区和数据读写分区为读写模式。Configure the user file system partition and data read/write partition to read/write mode.

进一步的,所述通过系统检测脚本对闪存存储介质处的数据读写分区进行检测以判断是否存在异常信息,包括:Further, the system detection script is used to detect the data read/write partition at the flash memory storage medium to determine whether there is abnormal information, including:

每隔第二预设时间通过系统检测脚本对闪存存储介质处的数据读写分区进行检测以判断是否存在异常信息。The data read/write partition of the flash memory storage medium is detected by the system detection script every second preset time to determine whether there is abnormal information.

进一步的,所述执行分区修复操作包括:Further, the performing a partition repair operation includes:

对出现异常的分区进行格式化处理;Format the abnormal partition;

将内存存储介质处的读写数据转移至数据读写分区;Transfer the read and write data in the memory storage medium to the data read and write partition;

控制系统重启运行。The control system restarts operation.

在第二方面,本申请实施例提供了一种提高嵌入式Linux系统稳定性的装置,包括:In a second aspect, an embodiment of the present application provides a device for improving the stability of an embedded Linux system, including:

存储模块:用于将系统检测脚本存储于根文件系统分区,所述根文件系统分区被配置为只读模式;闪存存储介质包括根文件系统分区和数据读写分区;Storage module: used to store the system detection script in the root file system partition, and the root file system partition is configured as a read-only mode; the flash memory storage medium includes the root file system partition and the data read-write partition;

数据转移模块:用于每隔第一预设时间通过所述系统检测脚本将内存存储介质处的读写数据拷贝至数据读写分区;Data transfer module: used to copy the read-write data at the memory storage medium to the data read-write partition through the system detection script every first preset time;

检测模块:用于通过系统检测脚本对闪存存储介质处的数据读写分区进行检测以判断是否存在异常信息,如果否,则继续检测,如果是,则执行分区修复操作。Detection module: It is used to detect the data read/write partition at the flash storage medium through the system detection script to determine whether there is abnormal information. If not, continue the detection, and if so, execute the partition repair operation.

进一步的,在所述数据转移模块之后,还包括:Further, after the data transfer module, it also includes:

开机转移模块:当检测到嵌入式Linux系统开机时,用于通过所述系统检测脚本将相应的读写数据从数据读写分区拷贝至内存存储介质处。Boot transfer module: when it is detected that the embedded Linux system is powered on, it is used to copy the corresponding read and write data from the data read and write partition to the memory storage medium through the system detection script.

进一步的,在所述数据转移模块之后,还包括:Further, after the data transfer module, it also includes:

关机转移模块:当检测到嵌入式Linux系统关机时,用于通过所述系统检测脚本将相应读写数据从内存存储介质拷贝至数据读写分区处。Shutdown transfer module: when it is detected that the embedded Linux system is shut down, it is used to copy the corresponding read and write data from the memory storage medium to the data read and write partition through the system detection script.

本申请实施例通过设置系统检测脚本来对运行期间的嵌入式Linux系统进行异常情况检测,如果出现异常情况,则对出现异常的分区进行格式化处理并进行数据恢复,通过上述操作能够大大减少嵌入式Liunx系统出现宕机的情况,大大提升了系统的可靠性,从而减少维护成本。本申请实施例的方案不但能够降低维护成本,并且由于采用软件检测实施也不会增加相应的硬件成本。In the embodiment of the present application, a system detection script is set to perform abnormality detection on the embedded Linux system during operation. If an abnormality occurs, the abnormal partition is formatted and data is recovered. Through the above operations, the embedded Linux system can be greatly reduced. The downtime of the Linux system greatly improves the reliability of the system, thereby reducing maintenance costs. The solutions of the embodiments of the present application can not only reduce maintenance costs, but also do not increase corresponding hardware costs due to the use of software detection and implementation.

附图说明Description of drawings

图1是本申请实施例提供的一种提高嵌入式Linux系统稳定性的方法的流程图;1 is a flowchart of a method for improving the stability of an embedded Linux system provided by an embodiment of the present application;

图2是本申请实施例提供的嵌入式Liunx系统的结构显示框图;2 is a block diagram showing the structure of an embedded Linux system provided by an embodiment of the present application;

图3是本申请实施例提供的一种提高嵌入式Linux系统稳定性的装置的结构示意图。FIG. 3 is a schematic structural diagram of an apparatus for improving the stability of an embedded Linux system provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案和优点更加清楚,下面结合附图对本申请具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。In order to make the objectives, technical solutions and advantages of the present application clearer, the specific embodiments of the present application will be further described in detail below with reference to the accompanying drawings. 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. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all of the contents related to the present application. Before discussing the exemplary embodiments in greater detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts various operations (or steps) as a sequential process, many of the operations may be performed in parallel, concurrently, or concurrently. Additionally, the order of operations can be rearranged. The process may be terminated when its operation is complete, but may also have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, subroutines, and the like.

FLASH是有寿命的,使用不适当,FLASH的坏块或者损坏就会出现,进而会造成在FLASH上跑的嵌入式Linux系统的宕机情况,原因在于:1、突然掉电;2、用户的数据库、日志等数据频繁读写。如果出现宕机情况,需要人工到嵌入式设备的现场进行干预,进行嵌入式设备的更换或者重新烧写嵌入式系统的出厂固件,使其恢复正常运行,但是这样会增加人力物力,维护成本比较高。基于此,本申请实施例通过设置系统检测脚本来对运行期间的嵌入式Linux系统进行异常情况检测,如果出现异常情况,则对出现异常的分区进行格式化处理并进行数据恢复,通过上述操作能够大大减少嵌入式Liunx系统出现宕机的情况,大大提升了系统的可靠性,从而减少维护成本。本申请实施例的方案不但能够降低维护成本,并且由于采用软件检测实施也不会增加相应的硬件成本。FLASH has a lifespan. If used improperly, bad blocks or damages of FLASH will appear, which will cause the downtime of the embedded Linux system running on FLASH. The reasons are: 1. Sudden power failure; 2. User's Data such as databases and logs are frequently read and written. If there is a downtime, it is necessary to manually intervene at the site of the embedded device, replace the embedded device or re-program the factory firmware of the embedded system to restore normal operation, but this will increase manpower and material resources and compare maintenance costs. high. Based on this, in the embodiment of the present application, a system detection script is set to perform abnormality detection on the embedded Linux system during operation. If an abnormality occurs, the abnormal partition is formatted and data is recovered. Through the above operations, it is possible to It greatly reduces the downtime of the embedded Linux system, greatly improves the reliability of the system, and reduces maintenance costs. The solutions of the embodiments of the present application can not only reduce maintenance costs, but also do not increase corresponding hardware costs due to the use of software detection and implementation.

图1给出了本申请实施例提供的一种提高嵌入式Linux系统稳定性的方法的流程图,本实施例中提供的提高嵌入式Linux系统稳定性的方法可以由提高嵌入式Linux系统稳定性的设备执行,该提高嵌入式Linux系统稳定性的设备可以通过软件的方式实现,该提高嵌入式Linux系统稳定性的设备可以是两个或多个物理实体构成,也可以是一个物理实体构成。一般而言,该提高嵌入式Linux系统稳定性的设备可以是电脑,手机,平板或嵌入式设备等。1 shows a flowchart of a method for improving the stability of an embedded Linux system provided by an embodiment of the present application. The method for improving the stability of an embedded Linux system provided in this embodiment The device for improving the stability of the embedded Linux system can be implemented by software, and the device for improving the stability of the embedded Linux system can be composed of two or more physical entities, or can be composed of one physical entity. Generally speaking, the device for improving the stability of the embedded Linux system may be a computer, a mobile phone, a tablet or an embedded device.

下述以嵌入式设备为执行提高嵌入式Linux系统稳定性的方法的设备为例,进行描述。参照图1,该提高嵌入式Linux系统稳定性的方法具体包括:The following description takes an embedded device as an example for executing the method for improving the stability of an embedded Linux system. 1, the method for improving the stability of the embedded Linux system specifically includes:

S101:将系统检测脚本存储于根文件系统分区,所述根文件系统分区被配置为只读模式;闪存存储介质包括根文件系统分区和数据读写分区。S101: Store the system detection script in a root file system partition, where the root file system partition is configured in a read-only mode; the flash memory storage medium includes a root file system partition and a data read-write partition.

本步骤主要是将系统监测脚本存储于根文件系统分区,并把根文件系统RootFS分区设置成只读模式,保证此分区在出厂烧录程序后不会被改,且能够正常运行最后的用户文件系统AppFS分区和用户频繁读写AppRW分区。由于根文件系统设置为只读模式,所以在整个系统运行过程中,其对应的分区不能够被写入任何信息,且根文件系统分区内的程序以及相应参数不能够被更改,保证了整个系统运作的稳定性。本申请实施例中,闪存存储介质也即是flash,内存存储介质也即是内存,内存主要是用于存放当前正在使用的(即执行中)的数据和程序,内存断电会丢数据。Flash是掉电保存的,内存是掉电易失的,防止突然掉电需要定时把内存数据拷贝到flash。This step is mainly to store the system monitoring script in the root file system partition, and set the root file system RootFS partition to read-only mode to ensure that this partition will not be changed after the factory programming program, and can run the final user file normally. The system AppFS partition and users frequently read and write the AppRW partition. Since the root file system is set to read-only mode, during the operation of the entire system, no information can be written to its corresponding partition, and the programs and corresponding parameters in the root file system partition cannot be changed, ensuring that the entire system is operational stability. In the embodiments of the present application, the flash memory storage medium is also flash, and the memory storage medium is also memory. The memory is mainly used to store data and programs currently in use (ie, in execution), and data will be lost when the memory is powered off. Flash is saved when power off, and memory is volatile when power off. To prevent sudden power failure, it is necessary to copy the memory data to flash regularly.

S102:每隔第一预设时间通过所述系统检测脚本将内存存储介质处的读写数据拷贝至所述数据读写分区。S102: Copy the read/write data in the memory storage medium to the data read/write partition through the system detection script every first preset time.

现有的方案中出现宕机的一个可能就是用户的数据库以及日志等数据的频繁读写,当数据读写过于频繁时,会对器件产生一定的影响,进而影响整个存储区域的稳定性。因此,在本申请实施例中每隔第一预设时间进行一次数据的转移,将频繁读写数据定时从内存转移至Flash中来进行数据的保存。One of the possible downtimes in the existing solution is the frequent reading and writing of data such as the user's database and logs. When the data is read and written too frequently, it will have a certain impact on the device, thereby affecting the stability of the entire storage area. Therefore, in the embodiment of the present application, the data is transferred every first preset time, and the frequently read and written data is periodically transferred from the memory to the Flash to save the data.

更为优选的,在所述每隔第一预设时间通过所述系统检测脚本将内存存储介质处的读写数据拷贝至数据读写分区之后,还包括:More preferably, after the read-write data at the memory storage medium is copied to the data read-write partition through the system detection script every first preset time, the method further includes:

当检测到嵌入式Linux系统开机时,通过所述系统检测脚本将相应的读写数据从数据读写分区拷贝至内存存储介质处。当检测到嵌入式Linux系统关机时,通过所述系统检测脚本将相应读写数据从内存存储介质拷贝至数据读写分区处。When it is detected that the embedded Linux system is powered on, the corresponding read-write data is copied from the data read-write partition to the memory storage medium through the system detection script. When it is detected that the embedded Linux system is shut down, the corresponding read-write data is copied from the memory storage medium to the data read-write partition through the system detection script.

也即是每次关机的时候,检测脚本会及时地把频繁读写数据从内存搬运至AppRW分区。每次开机的时候,检测脚本会及时地把频繁读写数据从AppRW分区搬运至内存。这样可以最大限制地减少Flash的擦除读写次数,进而有效地预防了嵌入式Linux系统的崩溃导致宕机的情况出现,减少数据丢失的风险。通过上述数据转移方式的设置,使得能够在降低数据频繁写入频率的同时,能够最大限度的保证数据的完整性,降低数据丢失风险。That is, every time the machine is shut down, the detection script will promptly move the frequently read and written data from the memory to the AppRW partition. Every time the machine is powered on, the detection script will promptly transfer frequently read and write data from the AppRW partition to the memory. In this way, the number of times of erasing and reading the Flash can be reduced to the greatest extent, thereby effectively preventing the crash of the embedded Linux system from causing downtime and reducing the risk of data loss. Through the setting of the above data transfer mode, the data integrity can be guaranteed to the maximum extent and the risk of data loss can be reduced while reducing the frequency of frequent data writing.

S103:通过系统检测脚本对闪存存储介质处的数据读写分区进行检测以判断是否存在异常信息,如果否,则继续检测,如果是,则执行分区修复操作。S103: Detect the data read/write partition in the flash memory storage medium by the system detection script to determine whether there is abnormal information, if not, continue the detection, and if so, perform a partition repair operation.

除了数据频繁写入会影响Linux系统稳定性之外,在Linux系统运行的过程中也会产生异常情况,进而产生宕机的情况。在嵌入式Linux系统运行期间,系统检测脚本会定时检测系统的异常情况,如果出现异常信息(宕机前的征兆),检测脚本会对损坏的分区进行重新的擦除格式化并且恢复,这样就保证了嵌入式Linux系统不会出现宕机的情况,大大提升了系统的可靠性。整个过程中因为检测脚本在只读的RootFS分区,所以它是能够正常运行的,上述异常情况并不能够影响检测脚本的运行情况。In addition to the frequent writing of data, which will affect the stability of the Linux system, abnormal conditions may also occur during the operation of the Linux system, resulting in downtime. During the running of the embedded Linux system, the system detection script will regularly detect the abnormal situation of the system. If abnormal information (signs before the downtime) occurs, the detection script will re-erase, format and restore the damaged partition. It ensures that the embedded Linux system will not crash, and greatly improves the reliability of the system. During the whole process, because the detection script is in the read-only RootFS partition, it can run normally, and the above abnormal conditions cannot affect the operation of the detection script.

更为优选的,所述通过系统检测脚本对闪存存储介质处的数据读写分区进行检测以判断是否存在异常信息,包括:More preferably, the system detection script is used to detect the data read/write partition at the flash memory storage medium to determine whether there is abnormal information, including:

每隔第二预设时间通过系统检测脚本对闪存存储介质处的数据读写分区进行检测以判断是否存在异常信息。The data read/write partition of the flash memory storage medium is detected by the system detection script every second preset time to determine whether there is abnormal information.

通过定时对Flash中数据读写分区进行异常检测进而及时发现是否会存在宕机的可能,然后对其进行数据清除以及恢复。The abnormal detection of data read and write partitions in Flash is carried out regularly to find out whether there is a possibility of downtime in time, and then data is cleared and restored.

更为优选的,所述执行分区修复操作包括:More preferably, the performing a partition repair operation includes:

对出现异常的分区进行格式化处理;Format the abnormal partition;

将内存存储介质处的读写数据转移至数据读写分区;Transfer the read and write data in the memory storage medium to the data read and write partition;

控制系统重启运行。The control system restarts operation.

分区异常信息可以通过内核实时信息获取得知分区是否正常,如果出现异常,则对整个分区进行格式化处理,重新按照相应的机制使用。本申请实施例的方案在格式化处理完之后,系统进行重启,重启前会把内存中的数据拷贝到数据读写分区,这样系统重新开机之后,程序恢复正常运行并且数据也不会丢失。The abnormal information of the partition can be obtained through the real-time information of the kernel to know whether the partition is normal. If there is an abnormality, the entire partition is formatted and used again according to the corresponding mechanism. In the solution of the embodiment of the present application, after the formatting process is completed, the system is restarted, and the data in the memory is copied to the data read-write partition before restarting, so that after the system is restarted, the program resumes normal operation and the data is not lost.

采用本申请实施例的处理方法,在不会增加硬件的成本的同时,实现的难度一般,提高了开发的效率。经过这样的处理后,能够容易有效预防嵌入式Linux系统宕机的出现的问题,保证系统的稳定性,从而减少维护成本。By using the processing method of the embodiment of the present application, the cost of hardware is not increased, and the difficulty of implementation is general, and the development efficiency is improved. After such processing, the problem of downtime of the embedded Linux system can be easily and effectively prevented, the stability of the system can be ensured, and the maintenance cost can be reduced.

更为优选的,图2是本申请实施例提供的嵌入式Liunx系统的结构显示框图,如图2所示,在所述将系统检测脚本存储于根文件系统分区之前,还包括:More preferably, FIG. 2 is a block diagram showing the structure of an embedded Linux system provided by an embodiment of the present application. As shown in FIG. 2 , before the system detection script is stored in the root file system partition, it also includes:

将闪存存储介质划分为多个分区,所述分区包括引导加载分区、Linux内核分区、根文件系统分区、用户文件系统分区和数据读写分区;所述引导加载分区用于存储引导加载程序,所述内核分区用于存储Linux内核,所述用户文件系统分区用于存储相应的应用程序,所述根文件系统用于存储根文件系统,所述数据读写分区用于备份用户读写数据。将Flash划分为多个分区来进行信息的存储,每个分区有不同的功能;且不同的分区设置不同的读写模式,通过设置不同的读写模式来保证系统的稳定性。The flash memory storage medium is divided into multiple partitions, and the partitions include a boot loader partition, a Linux kernel partition, a root file system partition, a user file system partition, and a data read/write partition; the boot loader partition is used to store the boot loader, so The kernel partition is used to store the Linux kernel, the user file system partition is used to store corresponding application programs, the root file system is used to store the root file system, and the data read and write partition is used to back up user read and write data. The Flash is divided into multiple partitions for information storage, and each partition has different functions; and different partitions are set with different read and write modes to ensure the stability of the system by setting different read and write modes.

更为优选的,在所述将闪存存储介质划分为多个分区之后,还包括:More preferably, after dividing the flash memory storage medium into multiple partitions, the method further includes:

配置所述引导加载分区、Linux内核分区和根文件系统分区为只读模式;Configure the boot loading partition, the Linux kernel partition and the root file system partition as read-only mode;

配置用户文件系统分区和数据读写分区为读写模式。用户文件系统分区与数据读写分区为应用层内容,故而可以将其设置为读写模式,以实现对内存处的数据来进行数据备份。Configure the user file system partition and data read/write partition to read/write mode. The user file system partition and data read/write partition are application layer content, so they can be set to read/write mode to realize data backup of the data in the memory.

具体的,本申请实施例的引导加载分区的引导加载程序是系统加电后运行的第一段软件代码。PC机中的引导加载程序由BIOS(其本质就是一段固件程序)和位于硬盘MBR中的OSBootLoader(比如,LILO和GRUB等)一起组成。BIOS在完成硬件检测和资源分配后,将硬盘MBR中的BootLoader读到系统的RAM中,然后将控制权交给OSBootLoader。BootLoader的主要运行任务就是将内核映象从硬盘上读到RAM中,然后跳转到内核的入口点去运行,也即开始启动操作系统。而在嵌入式系统中,通常并没有像BIOS那样的固件程序(有的嵌入式CPU也会内嵌一段短小的启动程序),因此整个系统的加载启动任务就完全由BootLoader来完成。比如在一个基于ARM7TDMIcore的嵌入式系统中,系统在上电或复位时通常都从地址0x00000000处开始执行,而在这个地址处安排的通常就是系统的BootLoader程序。Specifically, the boot loader of the boot loader partition in the embodiment of the present application is the first piece of software code that runs after the system is powered on. The boot loader in the PC consists of the BIOS (which is essentially a firmware program) and the OSBootLoader (for example, LILO and GRUB, etc.) located in the hard disk MBR. After the BIOS completes hardware detection and resource allocation, it reads the BootLoader in the MBR of the hard disk into the RAM of the system, and then gives the control right to OSBootLoader. The main operation task of BootLoader is to read the kernel image from the hard disk into RAM, and then jump to the entry point of the kernel to run, that is, start the operating system. In embedded systems, there is usually no firmware program like BIOS (some embedded CPUs also embed a short startup program), so the loading and startup tasks of the entire system are completely completed by BootLoader. For example, in an embedded system based on ARM7TDMIcore, the system usually starts to execute from the address 0x00000000 when it is powered on or reset, and the BootLoader program of the system is usually arranged at this address.

简单地说,BootLoader就是在操作系统内核运行之前运行的一段小程序。通过这段小程序,开发人员可以初始化硬件设备、建立内存空间的映射图,从而将系统的软硬件环境带到一个合适的状态,以便为最终调用操作系统内核准备好正确的环境。Linux内核是特定于嵌入式板子的定制内核以及内核的启动参数,通过设置完善的启动参数来运行相应的Linux内核。Simply put, BootLoader is a small program that runs before the operating system kernel runs. Through this small program, developers can initialize hardware devices and create a map of the memory space, thereby bringing the hardware and software environment of the system to a suitable state in order to prepare the correct environment for the final invocation of the operating system kernel. The Linux kernel is a customized kernel specific to the embedded board and the boot parameters of the kernel, and the corresponding Linux kernel can be run by setting the perfect boot parameters.

Bootloader完成的最后一项工作便是调用Linux内核。在本申请实施例中Linux内核存放在Flash中,因此其可直接在上面运行(这里的Flash指Nand flash,也可以是NorFlash),那么可直接跳转到内核中去执行。根文件系统是Linux系统的核心组成部分,它可以作为Linux系统中文件和数据的存储区域,通常它还包括系统配置文件和运行应用软件所需要的库。The last job done by the bootloader is to invoke the Linux kernel. In the embodiment of the present application, the Linux kernel is stored in Flash, so it can be directly run on it (Flash here refers to Nand flash, or NorFlash), then it can be directly jumped to the kernel for execution. The root file system is the core part of the Linux system. It can be used as a storage area for files and data in the Linux system. Usually, it also includes system configuration files and libraries required to run application software.

本申请实施例中引导加载分区即为Bootloader分区,Linux内核分区即为LinuxKernel分区,根文件系统分区即为根文件系统RootFS分区,用户文件系统分区即为用户文件系统AppFS分区,数据读写分区即为用户频繁读写AppRW分区。In the embodiment of this application, the bootloader partition is the Bootloader partition, the Linux kernel partition is the LinuxKernel partition, the root file system partition is the root file system RootFS partition, the user file system partition is the user file system AppFS partition, and the data read-write partition is the Read and write AppRW partitions frequently for users.

本申请实施例的方案具体的过程如下:嵌入式Linux系统按照对应的引导顺序正常启动系统后,用户App在内存中加载实时刷新频繁读写的数据库、日志等数据;此时,检测脚本也会定时地把频繁读写数据从内存拷贝至AppRW分区。在嵌入式Linux系统运行期间,系统检测脚本会定时检测系统的异常情况,如果出现异常信息(宕机前的征兆),因为检测脚本在只读的RootFS分区,所以它是能够正常运行的,检测脚本会对损坏的分区进行重新的擦除格式化并且恢复,这样就保证了嵌入式Linux系统不会出现宕机的情况,大大提升了系统的可靠性。使用此解决处理方法,不会增加硬件的成本的同时,实现的难度一般,提高了开发的效率。经过这样的处理后,能够容易有效预防嵌入式Linux系统宕机的出现的问题,保证系统的稳定性,从而减少维护成本。The specific process of the solution of the embodiment of the present application is as follows: after the embedded Linux system normally starts the system according to the corresponding boot sequence, the user App loads data such as databases and logs that are frequently read and written in real time in the memory; at this time, the detection script will also Regularly copy frequently read and write data from memory to AppRW partition. During the running of the embedded Linux system, the system detection script will regularly detect the abnormal situation of the system. If there is abnormal information (sign before downtime), because the detection script is in the read-only RootFS partition, it can run normally. The script will re-erase, format and restore the damaged partition, which ensures that the embedded Linux system will not crash and greatly improves the reliability of the system. Using this solution processing method will not increase the cost of hardware, and at the same time, the difficulty of realization is general, and the efficiency of development is improved. After such processing, the problem of downtime of the embedded Linux system can be easily and effectively prevented, the stability of the system can be ensured, and the maintenance cost can be reduced.

本申请实施例通过设置系统检测脚本来对运行期间的嵌入式Linux系统进行异常情况检测,如果出现异常情况,则对出现异常的分区进行格式化处理并进行数据恢复,通过上述操作能够大大减少嵌入式Liunx系统出现宕机的情况,大大提升了系统的可靠性,从而减少维护成本。本申请实施例的方案不但能够降低维护成本,并且由于采用软件检测实施也不会增加相应的硬件成本。In the embodiment of the present application, a system detection script is set to perform abnormality detection on the embedded Linux system during operation. If an abnormality occurs, the abnormal partition is formatted and data is recovered. Through the above operations, the embedded Linux system can be greatly reduced. The downtime of the Linux system greatly improves the reliability of the system, thereby reducing maintenance costs. The solutions of the embodiments of the present application can not only reduce maintenance costs, but also do not increase corresponding hardware costs due to the use of software detection and implementation.

在上述实施例的基础上,图3为本申请实施例提供的一种提高嵌入式Linux系统稳定性的装置的结构示意图。参考图3,本实施例提供的提高嵌入式Linux系统稳定性的装置具体包括:On the basis of the foregoing embodiment, FIG. 3 is a schematic structural diagram of an apparatus for improving the stability of an embedded Linux system provided by an embodiment of the present application. Referring to FIG. 3, the device for improving the stability of the embedded Linux system provided by this embodiment specifically includes:

存储模块21:用于将系统检测脚本存储于根文件系统分区,所述根文件系统分区被配置为只读模式;闪存存储介质包括根文件系统分区和数据读写分区;Storage module 21: used to store the system detection script in the root file system partition, and the root file system partition is configured as a read-only mode; the flash memory storage medium includes the root file system partition and the data read-write partition;

数据转移模块22:用于每隔第一预设时间通过所述系统检测脚本将内存存储介质处的读写数据拷贝至数据读写分区;Data transfer module 22: used to copy the read-write data at the memory storage medium to the data read-write partition through the system detection script every first preset time;

检测模块23:用于通过系统检测脚本对闪存存储介质处的数据读写分区进行检测以判断是否存在异常信息,如果否,则继续检测,如果是,则执行分区修复操作。Detection module 23 : used to detect the data read/write partition in the flash storage medium through the system detection script to determine whether there is abnormal information, if not, continue the detection, and if so, execute the partition repair operation.

进一步的,在所述数据转移模块之后,还包括:Further, after the data transfer module, it also includes:

开机转移模块:当检测到嵌入式Linux系统开机时,用于通过所述系统检测脚本将相应的读写数据从数据读写分区拷贝至内存存储介质处。Boot transfer module: when it is detected that the embedded Linux system is powered on, it is used to copy the corresponding read and write data from the data read and write partition to the memory storage medium through the system detection script.

进一步的,在所述数据转移模块之后,还包括:Further, after the data transfer module, it also includes:

关机转移模块:当检测到嵌入式Linux系统关机时,用于通过所述系统检测脚本将相应读写数据从内存存储介质拷贝至数据读写分区处。Shutdown transfer module: when it is detected that the embedded Linux system is shut down, it is used to copy the corresponding read and write data from the memory storage medium to the data read and write partition through the system detection script.

本申请实施例通过设置系统检测脚本来对运行期间的嵌入式Linux系统进行异常情况检测,如果出现异常情况,则对出现异常的分区进行格式化处理并进行数据恢复,通过上述操作能够大大减少嵌入式Liunx系统出现宕机的情况,大大提升了系统的可靠性,从而减少维护成本。本申请实施例的方案不但能够降低维护成本,并且由于采用软件检测实施也不会增加相应的硬件成本。In the embodiment of the present application, a system detection script is set to perform abnormality detection on the embedded Linux system during operation. If an abnormality occurs, the abnormal partition is formatted and data is recovered. Through the above operations, the embedded Linux system can be greatly reduced. The downtime of the Linux system greatly improves the reliability of the system, thereby reducing maintenance costs. The solutions of the embodiments of the present application can not only reduce maintenance costs, but also do not increase corresponding hardware costs due to the use of software detection and implementation.

本申请实施例提供的提高嵌入式Linux系统稳定性的装置可以用于执行上述实施例提供的提高嵌入式Linux系统稳定性的方法,具备相应的功能和有益效果。The apparatus for improving the stability of the embedded Linux system provided by the embodiments of the present application can be used to execute the method for improving the stability of the embedded Linux system provided by the above embodiments, and has corresponding functions and beneficial effects.

Claims (10)

1. A method for improving the stability of an embedded Linux system is characterized by comprising the following steps:
storing a system detection script in a root file system partition, the root file system partition configured in a read-only mode; the flash memory storage medium comprises a root file system partition and a data read-write partition;
copying read-write data at the memory storage medium to the data read-write subarea through the system detection script every other first preset time;
and detecting the data read-write partition at the flash memory storage medium through the system detection script to judge whether abnormal information exists, if not, continuing to detect, and if so, executing partition repair operation.
2. The method according to claim 1, wherein after the copying of the read-write data at the memory storage medium to the data read-write partition by the system detection script every first preset time, further comprises:
when the embedded Linux system is detected to be started, corresponding read-write data are copied to a memory storage medium from the data read-write subarea through the system detection script.
3. The method according to claim 1, wherein after the copying of the read-write data at the memory storage medium to the data read-write partition by the system detection script every first preset time, further comprises:
when the embedded Linux system is detected to be shut down, the corresponding read-write data is copied to the data read-write partition from the memory storage medium through the system detection script.
4. The method for improving the stability of an embedded Linux system according to any one of claims 1 to 3, wherein before the storing the system detection script in the root file system partition, the method further comprises:
dividing a flash memory storage medium into a plurality of partitions, wherein the partitions comprise a boot loading partition, a Linux kernel partition, a root file system partition, a user file system partition and a data reading and writing partition; the system comprises a user file system partition, a boot loading partition, a kernel partition, a user file system partition and a data read-write partition, wherein the boot loading partition is used for storing a boot loading program, the kernel partition is used for storing a Linux kernel, the user file system partition is used for storing a corresponding application program, the root file system is used for storing a root file system, and the data read-write partition is used for backing up user read-write data.
5. The method according to claim 4, wherein after said dividing the flash storage medium into a plurality of partitions, further comprising:
configuring the boot loading partition, the Linux kernel partition and the root file system partition into a read-only mode;
and configuring the user file system partition and the data read-write partition into a read-write mode.
6. The method according to claim 4, wherein the detecting the data read-write partition at the flash memory storage medium by the system detection script to determine whether the abnormal information exists comprises:
and detecting the data read-write subarea at the flash memory storage medium by the system detection script every second preset time to judge whether abnormal information exists.
7. The method for improving the stability of an embedded Linux system of claim 4 wherein the performing a partition repair operation comprises:
formatting the abnormal partitions;
transferring read-write data at the memory storage medium to a data read-write partition;
and the control system restarts to operate.
8. An apparatus for improving the stability of an embedded Linux system is characterized by comprising:
a storage module: means for storing a system detection script in a root file system partition, the root file system partition configured in a read-only mode; the flash memory storage medium comprises a root file system partition and a data read-write partition;
a data transfer module: the system detection script is used for copying read-write data at the memory storage medium to the data read-write subarea at intervals of first preset time;
a detection module: the system detection script is used for detecting the data read-write partition at the flash memory storage medium to judge whether abnormal information exists or not, if not, the detection is continued, and if so, the partition repair operation is executed.
9. The apparatus for improving the stability of an embedded Linux system of claim 8 further comprising, after the data transfer module:
a starting transfer module: and when the embedded Linux system is detected to be started, the system detection script is used for copying corresponding read-write data from the data read-write subarea to the memory storage medium.
10. The apparatus for improving the stability of an embedded Linux system of claim 8 further comprising, after the data transfer module:
a shutdown transfer module: and when the embedded Linux system is detected to be shut down, copying corresponding read-write data from the memory storage medium to the data read-write partition through the system detection script.
CN202010838731.9A 2020-08-19 2020-08-19 Method and device for improving stability of embedded Linux system Pending CN111984195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010838731.9A CN111984195A (en) 2020-08-19 2020-08-19 Method and device for improving stability of embedded Linux system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010838731.9A CN111984195A (en) 2020-08-19 2020-08-19 Method and device for improving stability of embedded Linux system

Publications (1)

Publication Number Publication Date
CN111984195A true CN111984195A (en) 2020-11-24

Family

ID=73434833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010838731.9A Pending CN111984195A (en) 2020-08-19 2020-08-19 Method and device for improving stability of embedded Linux system

Country Status (1)

Country Link
CN (1) CN111984195A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220261280A1 (en) * 2020-02-26 2022-08-18 Sap Se Cross-compilation, orchestration, and scheduling for in-memory databases as a service
WO2023240944A1 (en) * 2022-06-14 2023-12-21 锐凌无线有限责任公司 Data recovery method and apparatus, electronic device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693283A (en) * 2012-05-07 2012-09-26 深圳市共进电子股份有限公司 Data partition storage method and system boot method of embedded system
CN103473067A (en) * 2013-09-23 2013-12-25 福建三元达软件有限公司 Embedded Linux partition and data restoration method, system and system development method
CN104636217A (en) * 2013-11-14 2015-05-20 厦门雅迅网络股份有限公司 Root file system automatic backup and exception recovery method and partition structure
CN104765697A (en) * 2015-03-10 2015-07-08 安科智慧城市技术(中国)有限公司 Embedded device interaction method and system
CN104991926A (en) * 2015-06-29 2015-10-21 浪潮(北京)电子信息产业有限公司 File system recovery method and system
CN106033362A (en) * 2015-03-13 2016-10-19 北京视联动力国际信息技术有限公司 Method and device for processing flash memory partition
CN107861886A (en) * 2017-11-28 2018-03-30 青岛海信电器股份有限公司 Data cached processing method, device and terminal
CN110795276A (en) * 2018-08-01 2020-02-14 阿里巴巴集团控股有限公司 Storage medium repairing method, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693283A (en) * 2012-05-07 2012-09-26 深圳市共进电子股份有限公司 Data partition storage method and system boot method of embedded system
CN103473067A (en) * 2013-09-23 2013-12-25 福建三元达软件有限公司 Embedded Linux partition and data restoration method, system and system development method
CN104636217A (en) * 2013-11-14 2015-05-20 厦门雅迅网络股份有限公司 Root file system automatic backup and exception recovery method and partition structure
CN104765697A (en) * 2015-03-10 2015-07-08 安科智慧城市技术(中国)有限公司 Embedded device interaction method and system
CN106033362A (en) * 2015-03-13 2016-10-19 北京视联动力国际信息技术有限公司 Method and device for processing flash memory partition
CN104991926A (en) * 2015-06-29 2015-10-21 浪潮(北京)电子信息产业有限公司 File system recovery method and system
CN107861886A (en) * 2017-11-28 2018-03-30 青岛海信电器股份有限公司 Data cached processing method, device and terminal
CN110795276A (en) * 2018-08-01 2020-02-14 阿里巴巴集团控股有限公司 Storage medium repairing method, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220261280A1 (en) * 2020-02-26 2022-08-18 Sap Se Cross-compilation, orchestration, and scheduling for in-memory databases as a service
US11422854B2 (en) * 2020-02-26 2022-08-23 Sap Se Cross-compilation, orchestration, and scheduling for in-memory databases as a service
US11681549B2 (en) * 2020-02-26 2023-06-20 Sap Se Cross-compilation, orchestration, and scheduling for in-memory databases as a service
WO2023240944A1 (en) * 2022-06-14 2023-12-21 锐凌无线有限责任公司 Data recovery method and apparatus, electronic device, and storage medium

Similar Documents

Publication Publication Date Title
TWI501253B (en) Handling errors from non-volatile memory during device startup
US8423991B2 (en) Embedded network device and firmware upgrading method
JP5077726B1 (en) Computer, control method thereof and program
US10579300B2 (en) Information handling system firmware persistent memory runtime reclaim
CN103299276A (en) Software update procedure for embedded devices
JP2013520744A (en) Method and apparatus for generating minimum boot image
TW201520895A (en) System and method for automatically recovering BIOS of a computer
CN107102871A (en) The method and apparatus of embedded system upgrading
CN101872306B (en) Embedded system for realizing software updating and software backup and implementation method thereof
CN105138430A (en) Embedded operating system backup and restoration method and device
US12099612B2 (en) Firmware corruption recovery
CN118656101A (en) Baseboard management controller firmware upgrade method, device, equipment and medium
CN111984195A (en) Method and device for improving stability of embedded Linux system
WO2015184732A1 (en) Bootstrap storage method, bootstrap fault recovery method and device, and computer storage medium
US9250942B2 (en) Hardware emulation using on-the-fly virtualization
CN112882757A (en) Embedded system double-partition safe starting method
CN114398087B (en) Method for improving running stability of singlechip after program updating and singlechip
CN110825421A (en) Firmware upgrading method and system and readable storage medium
CN114610352A (en) Application program execution method and device, computer equipment and storage medium
CN102831032A (en) Repair system and method for master boot record of hard disc
US9971659B1 (en) Memory programming providing corruption protection
CN100401255C (en) Switching processing method and system for embedded operating system of computer platform
WO2014147707A1 (en) Informaton processing device, information processing method, and information processing program
JP7074291B2 (en) Information processing equipment, information processing methods and programs
CN108920210A (en) A kind of method, system and the associated component of load store control software

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201124

RJ01 Rejection of invention patent application after publication