CN114443340A - Abnormal process processing method and device and server - Google Patents

Abnormal process processing method and device and server Download PDF

Info

Publication number
CN114443340A
CN114443340A CN202210112342.7A CN202210112342A CN114443340A CN 114443340 A CN114443340 A CN 114443340A CN 202210112342 A CN202210112342 A CN 202210112342A CN 114443340 A CN114443340 A CN 114443340A
Authority
CN
China
Prior art keywords
abnormal
abnormal process
dynamic library
image file
exception
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
CN202210112342.7A
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.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech 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 Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202210112342.7A priority Critical patent/CN114443340A/en
Publication of CN114443340A publication Critical patent/CN114443340A/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/079Root cause analysis, i.e. error or fault diagnosis
    • 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/0766Error or fault reporting or storing
    • G06F11/0778Dumping, i.e. gathering error/state information after a fault for later diagnosis
    • 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/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/481Exception handling

Abstract

The application provides an abnormal process processing method, an abnormal process processing device and a server. The method comprises the following steps: the server may enter an exception handling process after determining that the exception process occurs, and start downloading a process image file of the exception process. The process image file only comprises the running parameters and the dynamic library calling parameters of the abnormal process. The server can determine the dynamic library function loaded before the exception occurs in the abnormal process according to the dynamic library calling parameter in the process image file. The server can also run the abnormal process according to the running parameters of the abnormal process and load the dynamic library function in the running process of the abnormal process, thereby reproducing the occurrence of the abnormality and realizing the abnormal positioning and the abnormal analysis of the abnormal process. The method improves the downloading efficiency of the process mirror image file and improves the processing efficiency of the abnormal process.

Description

Abnormal process processing method and device and server
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, and a server for processing an abnormal process.
Background
As is well known, the image generation technology is a standard means for locating an exception in an exception process of a Linux system. When the process exception falls into the kernel state, the abnormal process processing flow needs to reserve different types of memory information of the process and generate a process image file in a disk. Due to the existence of the process image file, developers can still accurately position the abnormal reason according to the process image file after the equipment is abnormally restarted.
The process image file generally needs to include a register, a stack memory, a heap memory, and the like for recording process dynamic memory information, and a dynamic library code segment for recording process static memory information. The size of the process image file depends on the logic framework design of the process, and whether the process applies for heap memory excessively, loads dynamic libraries excessively, creates excessive threads and the like in the running process. In the prior art, the process image file generally includes process dynamic memory information and process static memory information.
However, the dynamic memory information and the static memory information of the process are all downloaded into the process image file, which is easy to cause the condition of overlarge image file, and causes the abnormality of insufficient disk storage space, blocked business process and the like, resulting in the problem of low processing efficiency of the operating system to the abnormal process.
Disclosure of Invention
The application provides an abnormal process processing method, an abnormal process processing device and a server, which are used for solving the problem that the processing efficiency of an abnormal process in the prior art is low.
In a first aspect, the present application provides an exception handling method, including:
downloading a process image file of an abnormal process, wherein the process image file comprises an operation parameter and a dynamic library calling parameter of the abnormal process;
determining a dynamic library function of the abnormal process according to the dynamic library calling parameter of the abnormal process;
and running the abnormal process according to the running parameters of the abnormal process, and loading the dynamic library function in the running process of the abnormal process so as to realize the rerun of the abnormal process and the abnormal positioning of the abnormal process.
Optionally, the downloading the process image file of the abnormal process specifically includes:
downloading a dynamic mapping table of the abnormal process, wherein the dynamic mapping table comprises the virtual address distribution of the register in the running process of the abnormal process;
traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and downloading the operation parameters and dynamic library calling parameters of the abnormal process.
Optionally, the method further comprises:
acquiring initialization setting parameters of an operating system, wherein the initialization setting parameters comprise release parameters;
and initializing the operating system according to the initialization setting parameters so that the operating system starts to run a process after the initialization is finished.
Optionally, when the issue parameter of the operating system is true, the determining, according to the dynamic library call parameter of the abnormal process, the dynamic library function loaded before the abnormal process occurs, specifically including:
acquiring a dynamic library of a release version of the abnormal process;
and determining a dynamic library function loaded before the exception of the abnormal process according to the dynamic library calling parameter of the abnormal process.
Optionally, when the issue parameter of the operating system is false, the determining, according to the dynamic library call parameter of the abnormal process, the dynamic library function loaded before the abnormal process occurs, specifically including:
traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and determining a dynamic library function loaded in the running process of the abnormal process;
and storing the dynamic library function into the process image file.
Optionally, before downloading the process image file of the abnormal process, the method includes:
acquiring an abnormal signal of a process;
and when the abnormal signal belongs to a preset abnormal set, determining the process as an abnormal process.
Optionally, the preset exception set includes at least one of an illegal url access address, an illegal memory read-write address, and a bus exception.
Optionally, the abnormal image file is sent to other devices except the device to which the abnormal image file belongs, so that the other devices can locate the abnormal process.
In a second aspect, the present application provides an exception handling apparatus, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for downloading a process image file of an abnormal process, and the process image file comprises an operation parameter and a dynamic library calling parameter of the abnormal process; determining a dynamic library function of the abnormal process according to the dynamic library calling parameter of the abnormal process;
and the processing module is used for running the abnormal process according to the running parameters of the abnormal process and loading the dynamic library function in the running process of the abnormal process so as to realize the rerun of the abnormal process and the abnormal positioning of the abnormal process.
Optionally, the obtaining module is specifically configured to:
downloading a dynamic mapping table of the abnormal process, wherein the dynamic mapping table is used for distributing the virtual addresses of the register in the running process of the abnormal process;
traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and downloading the operation parameters and dynamic library calling parameters of the abnormal process.
Optionally, the obtaining module is further configured to:
acquiring initialization setting parameters of an operating system, wherein the initialization setting parameters are used for issuing parameters;
and initializing the operating system according to the initialization setting parameters so that the operating system starts to run a process after the initialization is finished.
Optionally, when the release parameter of the operating system is true, the obtaining module is specifically configured to:
acquiring a dynamic library of the release version of the abnormal process;
and determining a dynamic library function loaded before the exception of the abnormal process according to the dynamic library calling parameter of the abnormal process.
Optionally, when the release parameter of the operating system is false, the obtaining module is specifically configured to:
traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and determining a dynamic library function loaded in the running process of the abnormal process;
and storing the dynamic library function into the process image file.
Optionally, before downloading the process image file of the abnormal process, the obtaining module is configured to:
acquiring an abnormal signal of a process;
and when the abnormal signal belongs to a preset abnormal set, determining the process as an abnormal process.
Optionally, the preset exception set is used for accessing at least one of an illegal url address, an illegal memory address, and a bus exception.
Optionally, the abnormal image file is sent to other devices except the device to which the abnormal image file belongs, so that the other devices can locate the abnormal process.
In a third aspect, the present application provides a server, comprising: a memory and a processor;
the memory is used for storing a computer program; the processor is configured to execute the first aspect and the exception handling method in any one of the possible designs of the first aspect according to the computer program stored in the memory.
In a fourth aspect, the present application provides a readable storage medium, in which a computer program is stored, and when the computer program is executed by at least one processor of a server, the server executes the method for processing an abnormal process in any one of the possible designs of the first aspect and the first aspect.
In a fifth aspect, the present application provides a computer program product comprising a computer program which, when executed by at least one processor of a server, causes the server to perform the method for exception handling in any one of the possible designs of the first aspect and the first aspect.
According to the abnormal process processing method, after the abnormal process is determined to occur, an abnormal processing flow is entered, and the process image file of the abnormal process is downloaded; the process image file only comprises the running parameters and the dynamic library calling parameters of the abnormal process; after the downloading of the process mirror image file is finished, loading the process mirror image file to realize the rerun of the abnormal process; in the process of loading the process image file, determining a dynamic library function loaded before the abnormal process is abnormal according to a dynamic library calling parameter in the process image file; and running the abnormal process according to the running parameters of the abnormal process, and loading the dynamic library function in the running process of the abnormal process, thereby reproducing the occurrence of the abnormality, realizing the means of abnormal positioning and abnormal analysis of the abnormal process, improving the downloading efficiency of the process mirror image file, and improving the processing efficiency of the abnormal process.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an exception process handling flow in a car machine scene according to an embodiment of the present application;
fig. 2 is a flowchart of an exception handling method according to an embodiment of the present application;
fig. 3 is a flowchart of an exception handling method according to an embodiment of the present application;
fig. 4 is a flowchart of an exception handling method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an exception handling apparatus according to an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of a server according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of 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 above-described drawings 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 where appropriate. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope herein.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Also, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise.
It will be further understood that the terms "comprises," "comprising," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, components, items, species, and/or groups, but do not preclude the presence, or addition of one or more other features, steps, operations, elements, components, species, and/or groups thereof.
The terms "or" and/or "as used herein are to be construed as inclusive or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a; b; c; a and B; a and C; b and C; A. b and C ". An exception to this definition will occur only when a combination of elements, functions, steps or operations are inherently mutually exclusive in some way.
As is well known, the mirror generation technology of the abnormal process is a standard means for positioning the abnormal process in the Linux system. When the process exception falls into the kernel state, the abnormal process processing flow needs to reserve different types of memory information of the process and generate a process image file in a disk. Due to the existence of the process image file, developers can still accurately position the abnormal reason according to the process image file after the equipment is abnormally restarted.
The process image file generally needs to include a register, a stack memory, a heap memory, and the like for recording process dynamic memory information, and a dynamic library code segment for recording process static memory information. The size of the process image file depends on the logic framework design of the process, and whether the process applies for heap memory excessively, loads dynamic libraries excessively, creates excessive threads and the like in the running process. The normal process image download file is only about 10 MB. In the prior art, a process image file may include process dynamic memory information and process static memory information. When the number of dynamic libraries loaded by the abnormal process is large, the image file may be large. For example, a situation occurs where the process image file exceeds 300 MB. The occurrence of this situation not only easily causes the problem that the process image file contains repeated information, but also may cause abnormalities such as insufficient disk storage space, increased disk storage pressure, excessively long disk I/O resource occupation time, blocked service flow, etc., which may further cause other problems in the operating system and the problem of low abnormal processing efficiency of the operating system.
In order to solve the above problems, the present application provides an abnormal process handling method. In the application, the server improves the process of downloading the process mirror image file in the abnormal process processing method in the prior art. In the application, the server can simplify the generation process of the process image file and reduce the size of the process image file by selectively downloading the memory information of the abnormal process, so that the processing efficiency of the system to the abnormal process is improved. Specifically, in the present application, the server may record only the dynamic memory information of the abnormal process, and abandon the static memory information of the process. The dynamic memory information of the process may include at least one of a register, a stack memory, and a heap memory. The static memory information of the process may include a dynamic library code segment of at least one dynamic library.
After the download content of the process image file is optimized, the server can obtain the virtual address distribution of the register in the virtual address space when the abnormal process operates normally. The server may traverse virtual addresses (vma) in the virtual address space according to the virtual address distribution of the register. The server can record the stack memory, heap memory and dynamic mapping table (maps information) of the process when the abnormal process runs in the process of traversing. Also, the server may forgo recording the dynamic library code of the dynamic library. The server can issue a matched process and dynamic library binary file according to the downloaded process image file of the abnormal process and the version of the abnormal process, and asynchronously load the static memory file of the abnormal process. Thereafter, the server may implement loading of the abnormal process, deployment of the actual running environment, and recurrence of the abnormal process through a debug tool or the like. The method simplifies the generation process of the process image file, reduces the content of the process image file, improves the exception handling efficiency of the operating system and improves the accuracy of exception positioning.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 1 shows a schematic diagram of an exception process handling flow in a car machine scene according to an embodiment of the present application. The exception handling method is suitable for all Linux-based system solutions. At present, the operating system used in the server and the car machine is generally Linux. Therefore, the exception handling method can be applied to the scenes of a server, a vehicle machine and the like. In the embodiment shown in fig. 1, taking a car machine of an automobile as an example, the exception process processing flow of the present application may include the following flows:
when the car machine is powered on, a bootstrap program in an operating system of the car machine initializes a kernel of the car machine according to information in a command line parser (cmdline). The information in the command line parser (cmdlene) includes boot parameters transferred to the Linux kernel by the boot system. The startup parameters may specifically include parameters such as a serial port baud rate, root file system devices, and driver initialization.
It should be noted that the initialization setting parameter may contain a key debug _ core. The key debug _ core in the initialization setting parameter is used to indicate whether the car machine is in the dubug state. When the car machine is in the debug state, the key value of the keyword debug _ core in the initialization setting parameter is 1. When the car machine is in the release state, the key value of the keyword debug _ core in the initialization setting parameter is 0, or the key value of the keyword debug _ core is not included in the initialization setting parameter. When the initialization setting parameter includes the key word debug _ core, and the key value of the key word debug _ core is 1, the operating system of the car machine may initialize and set the global variable SHARED _ LIBRARY _ DUMP in the kernel to TRUE. Otherwise, the operating system of the car machine can initialize and set the global variable SHARED _ LIBRARY _ DUMP in the kernel to FALSE. Often in a release version of the operating system of the car machine, the global variable SHARED _ LIBRARY _ DUMP will be set to FALSE. And when the global variable SHARED _ LIBRARY _ DUMP is TRUE, it means that the version of the os of the in-vehicle device is the test version.
When the operating system of the car machine completes the initialization of the kernel, the operating system of the car machine is ready. When the operating system of the vehicle machine is ready, the service process and/or the service process of the vehicle machine can be executed. And after the service process and/or the service process of the vehicle machine start to run, if no exception occurs, the processes run normally until the process is finished. Otherwise, if a certain business process is abnormal at a certain moment, the process falls into the kernel exception processing flow. When an exception occurs in a process, in order to better avoid the same problem occurring in the subsequent process, a developer generally needs to locate the exception of the process so as to optimize the exception in the subsequent process. At present, in the Linux process exception handling process, exception signals sent by other processes are actually received by an exception handling process in the Linux system. The exception handling process is triggered by the exception signal and enters an exception handling flow. The exception handling process corresponds to a signal handling process of the exception handling process.
The exception handling process may determine the exception code corresponding to the exception signal after obtaining the exception signal. Wherein the anomaly code can be used to uniquely identify an anomaly signal. For example, the exception code corresponding to the exception signal for accessing the illegal address may be 0001; the anomaly code corresponding to the anomaly signal of an Abort anomaly may be 0002; the exception code corresponding to the exception signal of the bus exception may be 0003. The exception handling process may have a preset exception set pre-stored therein. The preset exception set may include a plurality of exception codes that may trigger exception signals of the exception handling process. The exception handling process may determine whether to enter an exception handling process according to the received exception code. When the exception handling process does not need to be started, the operating system of the vehicle machine can directly quit the exception handling process. At this time, the operating system of the car machine cannot record the fine process image file of the process.
After the exception handling process is started, the exception handling process may start downloading the process image file. The exception handling process will preferentially download the maps information of the virtual address space of the exception process, the information of each thread register, the stack memory information and the like of the exception process. Wherein the maps information is a dynamic mapping table of the exception process. And the operating system of the vehicle machine can acquire the virtual address distribution of the abnormal process in the running process through the maps information.
In the exception handling process, whether to download the dynamic LIBRARY of the exception handling process can be judged according to the value of the global variable SHARED _ LIBRARY _ DUMP. When the value of the global variable SHARED _ LIBRARY _ DUMP is TRUE, it means that the version of the operating system of the car machine is a test version. The exception handling process may traverse the vma domain of the exception process while in the test version. The exception handling process may download all dynamic libraries that have been dynamically loaded in their entirety into the image file. Since the number of abnormally loaded dynamic libraries in the abnormal process is uncertain, the specific time consumed for downloading the dynamic libraries has uncertainty. In the test version, the execution efficiency of the operating system of the car machine is not a factor of primary consideration. In the test version, the dynamic library is directly downloaded in the downloading process of the process image file, so that a developer can directly start abnormal positioning according to the process image file, and the dubug efficiency is improved. When the value of the global variable SHARED _ LIBRARY _ DUMP is FALSE, it means that the version of the operating system of the car machine is a release version. The operation system of the vehicle machine of the release version is usually put into use, and the influence of an abnormal process on the whole vehicle machine is reduced as much as possible because the whole operation efficiency of the vehicle machine is mainly ensured. Therefore, when the abnormal processing process downloads the process image file, the recording link of the dynamic library of the abnormal process can be skipped, so that the downloading efficiency of the process image file is improved.
In the subsequent abnormal positioning process, developers can manually load each dynamic library of the abnormal process according to the maps information. Moreover, the current network equipment abnormality can not be analyzed on line generally. Developers often need to export process image files of abnormal processes recorded in the in-vehicle machine. The developer can locally realize the offline analysis of the abnormal process through a debug tool, so as to locate the abnormality. The developer can restore the actual running environment of the abnormal process according to the maps information. When a problem that a program points to a dynamic address space without loading symbols is encountered, a developer can complete exception analysis and exception positioning of the exception process in a mode of manually loading dynamic library code segments to the dynamic address space.
In the present application, a server is used as an execution subject, and the exception process handling method according to the following embodiment is executed. Specifically, the execution body may be a hardware device of the server, or a software application in the server, or a computer-readable storage medium on which the software application implementing the following embodiment is installed, or code of the software application implementing the following embodiment.
Fig. 2 is a flowchart illustrating an exception handling method according to an embodiment of the present application. On the basis of the embodiment shown in fig. 1, as shown in fig. 2, with a server as an execution subject, the method of this embodiment may include the following steps:
s101, downloading a process image file of the abnormal process, wherein the process image file comprises an operation parameter and a dynamic library calling parameter of the abnormal process.
In this embodiment, after the abnormal process occurs, the server may enter an abnormal processing flow. After entering the exception handling process, the server may start downloading the process image file of the exception process. The process image file only comprises the dynamic memory information of the abnormal process. The dynamic memory information specifically includes a dynamic mapping table generated in the running process of the abnormal process, parameter information stored in a stack memory and a heap memory, and the like. The dynamic memory information may specifically include an operation parameter and a dynamic library call parameter. The running parameter is used for indicating a parameter generated in the running process of the abnormal process. The dynamic library call parameter is used for indicating a dynamic library function called by the abnormal process in the running process. Since the dynamic library functions called by the different exception processes in the running process may be different, and the dynamic library functions called by the same exception process when an exception occurs may be different, the time required for downloading the dynamic library functions by the different exception processes may be different. In order to improve the downloading efficiency of the process image file and avoid the problem of uncertainty of the downloading time of the process image file, the server does not download the static memory information of the abnormal process when downloading the process image file of the abnormal process. The static memory information includes a dynamic library function of the abnormal process.
In one example, the specific process of downloading the process image file by the server may include the following steps:
step 1, the server downloads a dynamic mapping table of the abnormal process. The dynamic mapping table of the abnormal process is the maps information of the abnormal process. The dynamic mapping table may include the virtual address distribution of the register during the running process of the abnormal process.
And 2, the server can traverse the virtual memory of the abnormal process according to the virtual address distribution of the register, and download information such as running parameters and dynamic library calling parameters in the stack memory and the heap memory of the abnormal process.
In one example, after completing downloading the process image file, the server may send the process frequent file to another device other than the device to which the abnormal image file is downloaded, so that the other device can implement abnormal positioning of the abnormal process. For example, when a network exception occurs in a server and online analysis of the abnormal process cannot be implemented, a developer may export the process image file and implement exception analysis and exception positioning of the abnormal process in another server.
S102, determining a dynamic library function of the abnormal process according to the dynamic library calling parameter of the abnormal process.
In this embodiment, the server may acquire and load the process image file after completing downloading the process image file. In the process of loading the process image file, the server can determine the dynamic library function loaded in the running process before the abnormal process is abnormal according to the dynamic library calling parameter in the process image file. In the dynamic library call function, the name information of the dynamic library function can be expressed as the dynamic library function. The server may also include release information of the exception process. The release information may include a release version of the abnormal process and a dynamic library binary file matched with the release version of the abnormal process. The server can load the code segment in the dynamic library binary file corresponding to the name information of the dynamic library function according to the name information of the dynamic library function of the abnormal process and the dynamic library binary file. The loading of the dynamic library function can more truly restore the running condition of the abnormal process.
In one example, the server for loading the process image file in this step and the server for downloading the process image file in step S101 may be the same server. Alternatively, the server for implementing the loading of the process image file in this step and the server for implementing the downloading of the process image file in step S101 may be different servers. For example, the car machine may download the process image file when an exception occurs. In order to facilitate abnormal positioning, a developer can export the process image file to a server to complete the process image file loading of the step.
S103, running the abnormal process according to the running parameters of the abnormal process, and loading the dynamic library function in the running process of the abnormal process to realize the rerun of the abnormal process and the abnormal positioning of the abnormal process.
In this embodiment, after the server completes loading of the process image file of the abnormal process, the server may run the abnormal process according to the running parameter of the abnormal process. The server can also realize the loading of the abnormal process in the running process of the abnormal process according to the determined dynamic library function. The loading of the dynamic library function can keep the operating environment of the abnormal process consistent with the operating environment of the abnormal process before the abnormal process occurs, thereby reproducing the occurrence of the abnormality and realizing the abnormal positioning and the abnormal analysis of the abnormal process.
According to the abnormal process processing method, the server can enter the abnormal processing flow after the abnormal process is determined to occur, and starts to download the process image file of the abnormal process. The process image file only comprises the running parameters and the dynamic library calling parameters of the abnormal process. The server can load the process image file after completing the downloading of the process image file, so as to realize the rerun of the abnormal process. The server may determine, during the process of loading the process image file, a dynamic library function loaded before the exception occurs in the abnormal process according to a dynamic library call parameter in the process image file. The server can also run the abnormal process according to the running parameters of the abnormal process and load the dynamic library function in the running process of the abnormal process, thereby reproducing the occurrence of the abnormality and realizing the abnormal positioning and the abnormal analysis of the abnormal process. According to the method and the device, the process image file only comprising the dynamic memory information is downloaded, so that the process image file is rapidly downloaded, the downloading efficiency of the process image file is improved, and the processing efficiency of the abnormal process is improved.
Fig. 3 is a flowchart illustrating an exception handling method according to an embodiment of the present application. On the basis of the embodiment of fig. 2, as shown in fig. 3, with a server as an execution subject, the method of this embodiment may include the following steps:
s201, acquiring initialization setting parameters of the operating system, wherein the initialization setting parameters comprise release parameters.
In this embodiment, the server may obtain the initialization setting parameters of the operating system when the operating system is initialized. The operating system of the server may be a Linux system. The server may be a terminal installed with a Linux system, such as a car machine. The initialization setting parameter may include a release parameter. The release parameter in the initialization setting parameter is used for indicating whether the car machine is in a release state. When the issue parameter is true, the key value of the key debug _ core may be 0, or the initialization setting parameter does not include the issue parameter debug _ core. When the publishing parameter is true, the operating system of the server is in a publishing state. When the issue parameter is false, the key value of the key debug _ core may be 1. When the issue parameter is false, the operating system of the server is in the debug state. In addition, the initialization setting parameters may also include parameters such as a serial baud rate, a root file system device, and driver initialization. The initialization setting parameter may be a boot parameter passed by the boot system to the Linux kernel.
S202, initializing the operating system according to the initialization setting parameters so that the operating system starts to run the process after the initialization is completed.
In this embodiment, a boot program is provided in the operating system of the server. The boot program may complete initialization of the operating system according to the initialization setting parameters. After the operating system of the server is initialized, the operating system can start running various processes. The process may include a business process and/or a service process. The business process and/or the service process can be a process which is preset with automatic starting at the starting. These processes may be automatically launched after the operating system completes initialization. Alternatively, the business processes and/or service processes may be processes that the server is requested to open during operation. These processes may be initiated during the operation of the operating system.
In addition, in the initialization process, the initialization setting of the global variable SHARED _ LIBRARY _ DUMP may be completed according to the release parameter. When the issue parameter is false, the operating system of the car machine may initialize and set a global variable SHARED _ LIBRARY _ DUMP in the kernel to TRUE. Otherwise, when the issue parameter is true, the operating system of the car machine may initialize and set the global variable SHARED _ LIBRARY _ DUMP in the kernel to FALSE.
S203, downloading a process image file of the abnormal process, wherein the process image file comprises the running parameters of the abnormal process and the dynamic library calling parameters.
Step S203 is similar to the step S101 in the embodiment of fig. 2, and this embodiment is not described herein again.
And S204, when the release parameter of the operating system is true, acquiring a dynamic library of the release version of the abnormal process. And determining the dynamic library function loaded before the exception of the abnormal process according to the dynamic library calling parameter of the abnormal process.
In this embodiment, when the publishing parameter of the operating system is true, the operating system of the server is in a publishing state. The global variable SHARED _ LIBRARY _ DUMP in the server is FALSE. For an operating system in a release state, in order to improve the processing efficiency of an exception and avoid an exception process from affecting the operation of other normal processes, the downloading speed of a process image file of the exception process needs to be considered preferentially. Therefore, when the release parameter is true, the server does not download the dynamic library function of the abnormal process when downloading the process image file of the abnormal process. After the server completes the process image file of the abnormal process, the server can determine the dynamic library function of the abnormal process according to the dynamic library calling parameter in the process image file. The server can obtain the code segment of the dynamic library function from the release version of the abnormal process according to the dynamic library calling parameter of the abnormal process, and load the code segment of the dynamic library function into the dynamic address space of the abnormal process, so that the running environment of the abnormal process is restored. The dynamic library function of the abnormal process constitutes the static memory information of the abnormal process.
S205, when the issue parameter of the operating system is false, traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and determining the dynamic library function loaded in the running process of the abnormal process. And storing the dynamic library function into the process image file.
In this embodiment, when the release parameter of the operating system is false, the operating system of the server is in a test state. The test state is debug state. The global variable SHARED _ LIBRARY _ DUMP in the server is TRUE. For the operating system in the test state, in order to improve the dubug efficiency of the developer, the efficiency of the rerun of the abnormal process may be considered preferentially. In order to improve the efficiency of the abnormal process rerun, the server may synchronously download the static memory information of the abnormal process while downloading the dynamic memory information of the process image file of the abnormal process. The server can download all the dynamically loaded dynamic library functions in the abnormal process into the image file by traversing the vma domain of the abnormal process. After the process image file of the step is downloaded, the server can directly realize the synchronous loading of the dynamic memory information and the static memory information when the process image file is loaded, and the efficiency of the abnormal process rerun is improved. Because the static memory information of the abnormal process has uncertainty of the number of the dynamic libraries, the downloading time of the static memory information has instability. When the downloading time is too long, the downloading of the static memory information may cause other business processes to be blocked.
S206, running the abnormal process according to the running parameters of the abnormal process, and loading the dynamic library function in the running process of the abnormal process to realize the rerun of the abnormal process and the abnormal positioning of the abnormal process.
Step S206 is similar to step S103 in the embodiment of fig. 2, and this embodiment is not described herein again.
According to the abnormal process processing method, the server can acquire the initialization setting parameters of the operating system when the operating system is initialized. The initialization setting parameter may include a release parameter. After the operating system of the server is initialized, the operating system can start running various processes. The server may download a process image file of the abnormal process. The process image file comprises the running parameters and dynamic library calling parameters of the abnormal process. When the publishing parameter of the operating system is true, the operating system of the server is in a publishing state. The server may obtain the dynamic library calling function from the process image file of the abnormal process after completing downloading the process image file of the abnormal process, and determine the dynamic library function of the abnormal process according to the dynamic library calling function. When the publishing parameter of the operating system is false, the operating system of the server is in a test state. The server can synchronously download the dynamic library function of the abnormal process in the downloading process of the process image file of the abnormal process. The server can operate the abnormal process according to the operation parameters of the abnormal process and load the dynamic library function in the operation process of the abnormal process so as to realize the rerun of the abnormal process and the abnormal positioning of the abnormal process. According to the method and the device, the global variable is set by using the release parameter, so that different contents downloaded by the process image file in the release state and the test state are realized, the exception handling efficiency of the exception process in the server is improved, and the exception positioning efficiency of the exception process in the server is improved.
Fig. 4 is a flowchart illustrating an exception handling method according to an embodiment of the present application. On the basis of the embodiments of fig. 2 and fig. 3, as shown in fig. 4, with a server as an execution subject, the method of the present embodiment may include the following steps:
s301, acquiring an abnormal signal of the process.
In this embodiment, the server may generate an exception signal when the process is abnormal. The server may be provided with a monitoring process. The monitoring process may be used to monitor the operation of various processes in the server. When the monitoring process monitors that the process is abnormal, the monitoring process can generate an abnormal signal according to the abnormal condition of the abnormal process.
And S302, when the abnormal signal belongs to a preset abnormal set, determining the process as an abnormal process.
In this embodiment, the monitor process in the server may send the exception signal to an exception handling process of the server. The exception handling process in the server may determine whether the abnormal process is an abnormal process according to the exception signal. The server may have a preset exception set pre-stored therein. The preset exception set may include a plurality of exception signals. When the exception signal acquired by the server matches an exception in the preset exception set, the server may determine that the process in which the exception occurs is an exception process. Otherwise, the server may consider that the abnormal process does not constitute an abnormal process. And the server starts an exception handling flow only after the exception progress occurs, and handles the exception progress. When the server determines that an abnormal process is not an abnormal process, the server will not trigger an abnormal processing flow.
In one example, the preset exception set may include at least one of accessing an illegal url address, reading and writing an illegal memory address, and a bus exception.
In another example, each exception signal may correspond to an exception code. The preset exception set may include exception codes for accessing an illegal url address, reading and writing an illegal memory address, a bus exception, and other exception signals. The server can determine the abnormal code according to the abnormal signal when acquiring the abnormal signal. The server may determine whether the abnormal process is an abnormal process by matching the abnormal code with the abnormal code in the preset abnormal set.
S303, downloading a process image file of the abnormal process, wherein the process image file comprises the operation parameters of the abnormal process and the dynamic library calling parameters.
S304, determining the dynamic library function of the abnormal process according to the dynamic library calling parameter of the abnormal process.
S305, running the abnormal process according to the running parameters of the abnormal process, and loading the dynamic library function in the running process of the abnormal process so as to realize the rerun of the abnormal process and the abnormal positioning of the abnormal process.
Steps S303 to S305 are similar to steps S101 to S103 in the embodiment of fig. 2, and are not described again in this embodiment.
According to the abnormal process processing method, the server can generate an abnormal signal when the process is abnormal. The monitor process in the server may send the exception signal to an exception handling process of the server. The server may enter an exception handling process after determining that the exception process occurs, and start downloading a process image file of the exception process. The process image file comprises the running parameters and dynamic library calling parameters of the abnormal process. The server can load the process image file after completing the downloading of the process image file, so as to realize the rerun of the abnormal process. The server may determine, during the process of loading the process image file, a dynamic library function loaded before the exception occurs in the abnormal process according to a dynamic library call parameter in the process image file. The server can also run the abnormal process according to the running parameters of the abnormal process and load the dynamic library function in the running process of the abnormal process, thereby reproducing the occurrence of the abnormality and realizing the abnormal positioning and the abnormal analysis of the abnormal process. In the method and the device, the abnormal process is judged, the abnormal process is screened and the triggering control of the abnormal process flow is realized by determining the abnormal signal of the abnormal process, so that the abnormal process flow can be triggered when the abnormal process occurs, the abnormal processing efficiency is improved, and unnecessary resource waste is avoided.
Fig. 5 is a schematic structural diagram of an abnormal process handling apparatus according to an embodiment of the present application, and as shown in fig. 5, an abnormal process handling apparatus 10 according to this embodiment is used to implement an operation corresponding to a server in any one of the method embodiments described above, where the abnormal process handling apparatus 10 according to this embodiment includes:
the acquiring module 11 is configured to download a process image file of the abnormal process, where the process image file includes an operation parameter of the abnormal process and a dynamic library calling parameter. And determining the dynamic library function of the abnormal process according to the dynamic library calling parameter of the abnormal process.
And the processing module 12 is configured to run the abnormal process according to the running parameters of the abnormal process, and load a dynamic library function in the running process of the abnormal process, so as to implement rerun of the abnormal process and exception positioning of the abnormal process.
In an example, the obtaining module 11 is specifically configured to:
and downloading a dynamic mapping table of the abnormal process, wherein the dynamic mapping table comprises the virtual address distribution of the register in the running process of the abnormal process.
And traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and downloading the running parameters and the dynamic library calling parameters of the abnormal process.
In one example, the obtaining module 11 is further configured to:
and acquiring initialization setting parameters of the operating system, wherein the initialization setting parameters are used for issuing parameters.
And initializing the operating system according to the initialization setting parameters so that the operating system starts to run the process after the initialization is finished.
In an example, when the release parameter of the operating system is true, the obtaining module 11 is specifically configured to:
and acquiring a dynamic library of the release version of the abnormal process.
And determining the dynamic library function loaded before the exception of the abnormal process according to the dynamic library calling parameter of the abnormal process.
In an example, when the issue parameter of the operating system is false, the obtaining module 11 is specifically configured to:
and traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and determining the dynamic library function loaded by the abnormal process in the running process.
And storing the dynamic library function into the process image file.
In an example, before downloading the process image file of the abnormal process, the obtaining module 11 is configured to:
and acquiring an exception signal of the process.
And when the exception signal belongs to the preset exception set, determining the process as an exception process.
In one example, the default exception set includes at least one of an illegal url address access, an illegal memory address read/write, and a bus exception.
In one example, the abnormal image file is sent to other devices except the device from which the abnormal image file is downloaded, so that the other devices can locate the abnormal process.
The abnormal process handling apparatus 10 provided in the embodiment of the present application may implement the above method embodiment, and for details of implementation principles and technical effects, reference may be made to the above method embodiment, which is not described herein again.
Fig. 6 shows a hardware structure diagram of a server provided in an embodiment of the present application. As shown in fig. 6, the server 20 is configured to implement the operation corresponding to the server in any of the above method embodiments, where the server 20 of this embodiment may include: a memory 21 and a processor 22.
A memory 21 for storing a computer program. The Memory 21 may include a Random Access Memory (RAM), a Non-Volatile Memory (NVM), at least one disk Memory, a usb disk, a removable hard disk, a read-only Memory, a magnetic disk or an optical disk.
The processor 22 is configured to execute the computer program stored in the memory to implement the exception handling method in the above embodiment. Reference may be made in particular to the description relating to the method embodiments described above. The Processor 22 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Alternatively, the memory 21 may be separate or integrated with the processor 22.
When memory 21 is a separate device from processor 22, server 20 may also include bus 23. The bus 23 is used to connect the memory 21 and the processor 22. The bus 23 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The server provided in this embodiment may be configured to execute the above exception handling method, and an implementation manner and a technical effect of the server are similar, which are not described herein again.
The present application also provides a computer-readable storage medium, in which a computer program is stored, and the computer program is used for implementing the methods provided by the above-mentioned various embodiments when being executed by a processor.
The computer-readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a computer readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the computer readable storage medium. Of course, the computer readable storage medium may also be integral to the processor. The processor and the computer-readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the computer-readable storage medium may also reside as discrete components in a communication device.
In particular, the computer-readable storage medium may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random-Access Memory (SRAM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The present application also provides a computer program product comprising a computer program stored in a computer readable storage medium. The computer program can be read by at least one processor of the device from a computer-readable storage medium, and execution of the computer program by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a module may be divided into only one logical functional division, and an actual implementation may have another division, for example, a plurality of modules may be combined or may be integrated into another operating system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Wherein the modules may be physically separated, e.g. mounted at different locations of one device, or mounted on different devices, or distributed over multiple network elements, or distributed over multiple processors. The modules may also be integrated, for example, in the same device, or in a set of codes. The respective modules may exist in the form of hardware, or may also exist in the form of software, or may also be implemented in the form of software plus hardware. The method and the device can select part or all of the modules according to actual needs to achieve the purpose of the scheme of the embodiment.
When the respective modules are implemented as integrated modules in the form of software functional modules, they may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor to execute some steps of the methods according to the embodiments of the present application.
It should be understood that, although the respective steps in the flowcharts in the above-described embodiments are sequentially shown as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, in different orders, and may be performed alternately or at least partially with respect to other steps or sub-steps of other steps.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: it is also possible to modify the solutions described in the previous embodiments or to substitute some or all of them with equivalents. And the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. An abnormal process handling method, characterized in that the method comprises:
downloading a process image file of an abnormal process, wherein the process image file comprises an operation parameter and a dynamic library calling parameter of the abnormal process;
determining a dynamic library function of the abnormal process according to the dynamic library calling parameter of the abnormal process;
and running the abnormal process according to the running parameters of the abnormal process, and loading the dynamic library function in the running process of the abnormal process so as to realize the rerun of the abnormal process and the abnormal positioning of the abnormal process.
2. The method according to claim 1, wherein the downloading the process image file of the abnormal process specifically comprises:
downloading a dynamic mapping table of the abnormal process, wherein the dynamic mapping table comprises the virtual address distribution of the register in the running process of the abnormal process;
traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and downloading the operation parameters and dynamic library calling parameters of the abnormal process.
3. The method of claim 1 or 2, further comprising:
acquiring initialization setting parameters of an operating system, wherein the initialization setting parameters comprise release parameters;
and initializing the operating system according to the initialization setting parameters so that the operating system starts to run a process after the initialization is finished.
4. The method according to claim 3, wherein when the issue parameter of the operating system is true, the determining, according to the dynamic library call parameter of the abnormal process, the dynamic library function loaded before the occurrence of the abnormality of the abnormal process specifically includes:
acquiring a dynamic library of a release version of the abnormal process;
and determining a dynamic library function loaded before the exception of the abnormal process according to the dynamic library calling parameter of the abnormal process.
5. The method according to claim 3, wherein when the issue parameter of the operating system is false, the determining, according to the dynamic library call parameter of the abnormal process, the dynamic library function of the abnormal process that is loaded before the abnormal process occurs specifically includes:
traversing the virtual memory of the abnormal process according to the virtual address distribution of the register, and determining a dynamic library function loaded in the running process of the abnormal process;
and storing the dynamic library function into the process image file.
6. The method of claim 1 or 2, wherein prior to downloading the process image file of the abnormal process, the method comprises:
acquiring an abnormal signal of a process;
and when the abnormal signal belongs to a preset abnormal set, determining the process as an abnormal process.
7. The method of claim 6, wherein the default exception set comprises at least one of accessing an illegal url address, reading and writing an illegal memory address, and a bus exception.
8. The method according to claim 1 or 2, wherein the abnormal image file is sent to other devices except the device from which the abnormal image file is downloaded, so that the other devices can realize abnormal positioning of the abnormal process.
9. An apparatus for exception handling, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for downloading a process image file of an abnormal process, and the process image file comprises an operation parameter and a dynamic library calling parameter of the abnormal process; determining a dynamic library function of the abnormal process according to the dynamic library calling parameter of the abnormal process;
and the processing module is used for running the abnormal process according to the running parameters of the abnormal process and loading the dynamic library function in the running process of the abnormal process so as to realize the rerun of the abnormal process and the abnormal positioning of the abnormal process.
10. A server, characterized in that the server comprises: a memory, a processor;
the memory is used for storing a computer program; the processor is configured to implement the exception handling method according to any one of claims 1 to 8, according to the computer program stored in the memory.
11. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, is configured to implement the abnormal process handling method according to any one of claims 1 to 8.
CN202210112342.7A 2022-01-29 2022-01-29 Abnormal process processing method and device and server Pending CN114443340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210112342.7A CN114443340A (en) 2022-01-29 2022-01-29 Abnormal process processing method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210112342.7A CN114443340A (en) 2022-01-29 2022-01-29 Abnormal process processing method and device and server

Publications (1)

Publication Number Publication Date
CN114443340A true CN114443340A (en) 2022-05-06

Family

ID=81371970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210112342.7A Pending CN114443340A (en) 2022-01-29 2022-01-29 Abnormal process processing method and device and server

Country Status (1)

Country Link
CN (1) CN114443340A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411519A (en) * 2011-09-08 2012-04-11 曙光信息产业股份有限公司 Process restoring method and device
JP2014010739A (en) * 2012-07-02 2014-01-20 Fujitsu Ltd Information processing method, information processing program, and information processing apparatus for restoration of state of system
CN106294071A (en) * 2016-08-11 2017-01-04 宁波舜宇光电信息有限公司 A kind of software crash formation gathering method and system thereof
CN113900914A (en) * 2020-06-22 2022-01-07 阿里巴巴集团控股有限公司 Exception handling method and device, electronic equipment and computer storage medium
CN113986594A (en) * 2021-10-28 2022-01-28 西安热工研究院有限公司 Method, system, storage medium and server for real-time database fault recovery

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102411519A (en) * 2011-09-08 2012-04-11 曙光信息产业股份有限公司 Process restoring method and device
JP2014010739A (en) * 2012-07-02 2014-01-20 Fujitsu Ltd Information processing method, information processing program, and information processing apparatus for restoration of state of system
CN106294071A (en) * 2016-08-11 2017-01-04 宁波舜宇光电信息有限公司 A kind of software crash formation gathering method and system thereof
CN113900914A (en) * 2020-06-22 2022-01-07 阿里巴巴集团控股有限公司 Exception handling method and device, electronic equipment and computer storage medium
CN113986594A (en) * 2021-10-28 2022-01-28 西安热工研究院有限公司 Method, system, storage medium and server for real-time database fault recovery

Similar Documents

Publication Publication Date Title
US20080010446A1 (en) Portable apparatus supporting multiple operating systems and supporting method therefor
US20170220278A1 (en) Backing up firmware during initialization of device
EP1638000B1 (en) Method, apparatus and program for performing panic memory dump
US7437524B2 (en) Method and apparatus for dumping memory
US9298472B2 (en) High-speed restart method, information processing device, and program
US8782469B2 (en) Request processing system provided with multi-core processor
US20070101191A1 (en) Memory dump method, computer system, and memory dump program
CN110716845B (en) Log information reading method of Android system
CN108829449B (en) Method, device, equipment and medium for starting operating system by BIOS (basic input output System)
US11461178B2 (en) System and method to prevent endless machine check error of persistent memory devices
US20110010532A1 (en) Booting method and computer system using the booting method
CN109271206B (en) Memory compression and storage method for abnormal site
US6446139B1 (en) Multiple chip single image BIOS
US20070061613A1 (en) Restart method for operating system
CN114443340A (en) Abnormal process processing method and device and server
US11003778B2 (en) System and method for storing operating life history on a non-volatile dual inline memory module
CN111782474A (en) Log processing method and device, electronic equipment and medium
US20200364040A1 (en) System and Method for Restoring a Previously Functional Firmware Image on a Non-Volatile Dual Inline Memory Module
CN114510375A (en) Flash chip data area dynamic sharing system and method
CN115129384A (en) Electronic equipment and running method of starting program of electronic equipment
US8095784B2 (en) Computer system and method for activating basic program therein
CN107688479A (en) Android system network cluster and its method built, the method and system of android system network cluster data processing
CN112052125A (en) Dump processing method and device for operating system kernel and electronic equipment
CN113703855B (en) Random offset value storage method and device
CN111538540B (en) Method for accelerating starting speed of embedded system and embedded system thereof

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