CN112748885A - Information processing method, device, equipment and storage medium - Google Patents

Information processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112748885A
CN112748885A CN202110064903.6A CN202110064903A CN112748885A CN 112748885 A CN112748885 A CN 112748885A CN 202110064903 A CN202110064903 A CN 202110064903A CN 112748885 A CN112748885 A CN 112748885A
Authority
CN
China
Prior art keywords
information
log
storage medium
stored
registered
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.)
Granted
Application number
CN202110064903.6A
Other languages
Chinese (zh)
Other versions
CN112748885B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110064903.6A priority Critical patent/CN112748885B/en
Publication of CN112748885A publication Critical patent/CN112748885A/en
Application granted granted Critical
Publication of CN112748885B publication Critical patent/CN112748885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0643Management of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0661Format or protocol conversion arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application discloses an information processing method, an information processing device, information processing equipment and a storage medium, wherein the information processing method comprises the following steps: acquiring a log to be stored; determining interface information of the registered nonvolatile storage medium in response to an identification registration operation and an identification configuration operation input by a basic input output system; the identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is to pre-configure the non-volatile storage medium; storing the log to be stored into the registered nonvolatile storage medium based on the interface information; performing file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read; and responding to a reading instruction, and reading the file to be read from the registered nonvolatile storage medium.

Description

Information processing method, device, equipment and storage medium
Technical Field
The present application relates to the field of information technology, and in particular, to an information processing method, apparatus, device, and storage medium.
Background
The system log generated in the system operation process is important information for knowing the system operation condition, and particularly under the condition that the system operation is broken down, the system log can help a user or a developer to locate the system problem in time. In the relative technology, a storage area with a small storage space is generally used for storing the system log, so that the acquisition process of the system log is easily influenced by the storage space, and the system log cannot be normally stored.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present application desirably provide an information processing method, apparatus, device, and storage medium, where interface information of a registered nonvolatile storage medium is determined in response to a relevant operation input by a basic input/output system, and a log to be stored is stored in the registered nonvolatile storage medium based on the interface information, so that the log to be stored can be ensured to be normally stored.
In order to achieve the purpose, the technical scheme of the application is realized as follows:
an embodiment of the present application provides an information processing method, including:
acquiring a log to be stored;
determining interface information of the registered nonvolatile storage medium in response to an identification registration operation and an identification configuration operation input by a basic input output system; the identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is to pre-configure the non-volatile storage medium;
storing the log to be stored into the registered nonvolatile storage medium based on the interface information;
performing file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read;
and responding to a reading instruction, and reading the file to be read from the registered nonvolatile storage medium.
An embodiment of the present application further provides an information processing apparatus, including: the device comprises an acquisition module, a determination module, a storage module, a conversion module and a reading module, wherein:
the acquisition module is used for acquiring the log to be stored;
the determining module is used for responding to the identification registration operation and the identification configuration operation input by the basic input and output system and determining the interface information of the registered nonvolatile storage medium; the identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is to pre-configure the non-volatile storage medium;
the storage module is used for storing the log to be stored into the registered nonvolatile storage medium based on the interface information;
the conversion module is used for performing file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read;
the reading module is used for responding to a reading instruction and reading the file to be read from the registered nonvolatile storage medium.
An embodiment of the present application further provides an information processing apparatus, including: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the program in the memory to implement any of the information processing methods described above.
Accordingly, embodiments of the present application provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of any of the information processing methods described above.
The embodiment of the application discloses an information processing method, an information processing device, information processing equipment and a storage medium, wherein a log to be stored is obtained, and interface information of a registered nonvolatile storage medium is determined in response to an identification registration operation and an identification configuration operation input by a basic input and output system; the identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is used for pre-configuring the non-volatile storage medium; secondly, storing the log to be stored into a registered nonvolatile storage medium based on the interface information; performing file conversion on a log to be stored in a registered nonvolatile storage medium to obtain a file to be read; reading a file to be read from the registered nonvolatile storage medium in response to the reading instruction; in this way, in response to the relevant operation input by the basic input and output system, the interface information of the registered nonvolatile storage medium is determined, and the log to be stored is stored in the registered nonvolatile storage medium based on the interface information, so that the log to be stored can be ensured to be normally stored.
Drawings
Fig. 1 is a schematic flowchart of an information processing method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another information processing method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another information processing method according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an architecture for managing NVDIMMs based on a persistent storage mechanism according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an information processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be appreciated that reference throughout this specification to "an embodiment of the present application" or "an embodiment described previously" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in the embodiments of the present application" or "in the embodiments" in various places throughout this specification are not necessarily all referring to the same embodiments. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application. The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
So that the manner in which the above recited features and advantages of the present embodiments can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the appended drawings, which are included to provide a more thorough understanding of the embodiments of the invention.
In the starting stage and normal Operation of the Linux Operating System (OS), the OS is inevitably restarted and crashed due to software defects and hardware defects, and meanwhile, Operation and maintenance personnel and developers of the OS both want to be able to take various key logs of a first site, but the key logs are often not saved or are not saved comprehensively due to various reasons.
The related art generally stores various key logs through the following two technical schemes:
1. starting a second kernel through a kdump mechanism to collect key information; wherein, kdump is a tool and service for dumping memory operation parameters when the system crashes, deadlocks or crashes.
2. The critical log is stored using a storage space provided by an Error Record Serialization Table (ERST) of an Advanced Configuration and Power Management Interface (ACPI).
The two solutions described above have the following problems: the following disadvantages exist in the first scheme: 1. the kdump needs to start a second kernel to collect a field and store logs, but whether the second kernel can be started normally is limited by a plurality of hardware running conditions in the system, and the second kernel cannot be started at all due to some hardware drivers or hardware problems in the actual running environment of the system, so that the key logs of system errors cannot be collected successfully; 2. because the kdump mechanism includes an upper layer kdump service, which needs to be deployed and run in the background after the OS kernel is started, and the kdump service is used to assist in collecting logs and storing the logs in a disk, the problem that the kdump occurs early in the OS startup is that no log information can be collected. Meanwhile, in the second scheme, the size of the memory provided by the ERST of ACPI is generally limited to 8KB, which may result in that the system log cannot be stored more.
Based on the above problem, an embodiment of the present application provides an information processing method applied to an information processing apparatus, and as shown in fig. 1, the method includes the following steps:
step 101, obtaining a log to be stored.
In the embodiment of the present application, the information processing apparatus may be any electronic apparatus having a data processing capability.
The log to be stored acquired by the information processing device may be a log to be stored of the information processing device itself, or may also be a log to be stored of an electronic device capable of performing information interaction with the information processing device, and the source of the log to be stored is not limited in any way in the present application; in other embodiments below in the present application, the logs to be stored all refer to logs to be stored of the information processing apparatus itself.
In the embodiment of the application, the Log to be stored refers to an event record named Log (Log) generated by the information processing equipment in the running process, and each Log records the description of relevant operations such as date, time, user and action; in other words, the log may be a record of some processing that has been completed by the OS of the information processing apparatus or some application, for later use as a reference; meanwhile, the log has no fixed format, usually a text file, and can be opened with a notepad to view the contents.
Accordingly, the log to be stored may refer to a set in which some operations of objects specified by the information processing apparatus and operation results thereof are ordered in time; the log to be stored of the information processing equipment records information generated by the information processing equipment in the running process; meanwhile, the information processing apparatus automatically captures data of the type, content, or time of interaction between a user operating the information processing apparatus and the information processing apparatus by analyzing the log to be stored.
In one possible implementation, when a user operates the information processing device to conduct a web search, the log generated is an electronic record of the user's interaction with a web search engine during the search of information using the web search engine.
In the embodiment of the application, the log to be stored is usually represented in the form of log.
The logs can be classified into the following three major categories based on usage: 1. the method is used for problem tracking, namely, problems existing in the running process of the OS or the application of the information processing device are found through logs; 2. the method is used for monitoring the state, namely the running state of the OS or the application of the information processing equipment can be monitored by analyzing the log in real time so as to find and process the problem early; 3. the method is used for security audit, namely, the log is analyzed, so that whether illegal authorized operation exists or not can be found.
Correspondingly, the logs have corresponding priorities at the same time, wherein the logs are respectively the following 8 types from top to bottom according to the priorities: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE, and ALL; wherein, OFF: off (highest level); FATAL: fatal, generally referred to as a very serious event that may cause the application to terminate execution; ERROR: an error, generally referred to as an error event, but an information handling device internal system or application may still be able to continue to run; WARN: warnings, generally referred to as potentially dangerous conditions; and (3) INFO: information, generally referred to as description information, describes the application running process from a coarse granularity; DEBUG: debugging, generally referring to detailed event information, is most useful for debugging applications; TRACE: tracking, generally referred to as program execution trace, is finer granularity than DEBUG level; ALL: all refer to the log level, including the customization level.
It should be noted that the type, number and representation form of the logs to be stored in the present application are not limited at all.
And 102, responding to the identification registration operation and the identification configuration operation input by the basic input output system, and determining the interface information of the registered nonvolatile storage medium.
The identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is used to pre-configure the non-volatile storage medium.
In the embodiment of the present application, the information processing apparatus responds to an identifier registration operation and an identifier configuration operation Input by an acquired Basic Input Output System (BIOS), and analyzes the identifier registration operation and the identifier configuration operation to determine interface information of a registered nonvolatile storage medium.
The information processing device may be generated by a user operating the information processing device or obtained by the information processing device from a related server in response to the identification registration operation and the identification configuration operation of the BIOS, which is not limited in this application.
Wherein, BIOS refers to a firmware interface of the standard in the industry; meanwhile, the BIOS generally includes a basic interrupt service routine, a system setup routine, a power-on self-test routine, and a system boot bootstrap of the information processing apparatus; the BIOS is the first software loaded when the information processing apparatus is started, that is, a program which is first started to be executed after the information processing apparatus is powered on, and is used to complete hardware detection and basic setting functions.
In the embodiment of the present application, the nonvolatile storage medium may be a nonvolatile Dual In-line Memory Module (NVDIMM); wherein NIDIM is a random access memory for a computer, while dual inline characterization of the non-volatile storage medium uses DIMM packaging; in other embodiments of the present application below, NVDIMMs are all referred to as non-volatile storage media.
It should be noted that, the information processing apparatus that uses NIDIMM for storing the relevant information can also retain the relevant information based on the NVDIMM when the information processing apparatus is powered off; wherein the powering off of the information processing apparatus includes but is not limited to: unexpected power failure, system crash or normal shutdown, etc. In this way, NVDIMMs can improve performance, data security, and system crash recovery time of applications in some cases, which can enhance durability and reliability of Solid State Disks (SSDs).
In the embodiment of the application, the identification registration operation represents that the information processing equipment adds the associated information of the NVDIMM in a preset configuration database so as to realize the registration operation of the NVDIMM; the association information of the NVDIMM includes but is not limited to: the memory size, the read-write speed and the like, and meanwhile, the preset configuration database can be a hardware configuration database provided by a BIOS (basic input output System) in the information processing equipment to an OS (operating system); in a possible implementation manner, the preset configuration database may be a database corresponding to ACPI.
Correspondingly, the identification configuration operation representation information processing equipment pre-configures the NVDIMM; in a possible implementation manner, the preset configuration operation may be that the information processing device performs preset configuration on the NVDIMM in the BIOS, that is, a part of device resources corresponding to the NVDIMM is correspondingly reserved.
It should be noted that the interface information of the registered NVDIMM may be a software interface of the NVDIMM and/or a hardware interface of the NVDIMM; the interface between the hardware components of the information processing equipment is called a hardware interface, and the interface between the software components of the information processing equipment is called a software interface.
Meanwhile, the interface information of the registered NVDIMM may be understood as a Uniform Resource Locator (URL); the working principle is that the information processing equipment sends related information to a server or a terminal through get or post requests based on the URL, and then obtains some corresponding return values; in other words, the information processing apparatus realizes transmission and reception of information based on interface information of the registered NVDIMM.
And 103, storing the log to be stored into the registered nonvolatile storage medium based on the interface information.
In the embodiment of the application, the information processing device stores the acquired log to be stored in the registered NVDIMM based on the determined interface information of the registered NVDIMM.
The information processing device classifies the logs to be stored according to the attribute information of the logs to be stored based on the interface information of the registered NVDIMM, and stores the logs to be stored in the registered NVDIMM.
In a feasible implementation manner, the information processing device classifies the logs to be stored according to the generation time for acquiring the logs to be stored and/or the memory size of the logs to be stored based on the interface information of the registered NVDIMM, and stores the logs to be stored in the registered NVDIMM.
It should be noted that, in the embodiment of the present application, no limitation is imposed on the storage manner of the log to be stored in the registered NVDIMM and the file format of the log to be stored.
And 104, performing file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read.
In the embodiment of the application, the information processing equipment performs file conversion on the log to be stored in the registered NVDIMM to obtain the file to be read; the file conversion is that the information processing equipment converts the original file format of the log to be stored, namely the file format taking the log as suffix, into the file format taking the dmasg, the contole, the ftrace, the mc, the pmsg, the rtas, the power pc, the type and the like as suffixes; meanwhile, the file to be read is another expression form of the log to be stored.
In a feasible implementation manner, the information processing device performs file conversion on the log to be stored in the registered NVDIMM based on the generation time of the log to be stored, so as to obtain the file to be read.
In another feasible implementation manner, the information processing device performs file conversion on the log to be stored in the registered NVDIMM based on the purpose of the log to be stored, so as to obtain a file to be read.
In another possible implementation manner, the information processing device performs file conversion on the log to be stored in the registered NVDIMM, based on the size of the memory of the log to be stored, to obtain a file to be read.
It should be noted that, when the number of the logs to be stored in the registered NVDIMM is two or more, the corresponding file conversion formats may be the same, may also be different, and may also be partially the same, which is not limited in this application.
And step 105, responding to the reading instruction, and reading the file to be read from the registered nonvolatile storage medium.
In the embodiment of the application, the information processing equipment responds to a reading instruction and reads a file to be read from the registered NVDIMM; in one possible implementation, the read command may carry information about a file to be read from a registered NVDIMM; such as: file name, file format, file storage area, etc.
It should be noted that the reading instruction may be obtained when the user operates the information processing device, or may be sent by a server or an electronic device capable of performing information interaction with the information processing device, which is not limited in this application.
In one possible implementation, the information processing device responds to a reading instruction and analyzes the reading instruction to obtain target file interface information; then reading a corresponding file to be read from the registered NVDIMM based on the interface information of the target file; the target file may be a file format of the file to be read when the file is read, or a file storage format of the file to be read in a registered NVDIMM.
It should be noted that, in the present application, the NVDIMM is used to store the to-be-stored log, because the storage medium of the NVDIMM itself is more stable than other storage devices, an error is not easily generated in the process of storing the to-be-stored log, and the time for calling the stack when storing the to-be-stored log is shorter than the time used by other devices such as a common hard disk and a network, so that the probability of successfully storing the relevant log is higher when the OS of the information processing device is down or crashed; in addition, because of the larger storage capacity of NVDIMMs, the storage of logs can be extended to more other categories, i.e., more content can be stored.
The information processing method provided by the embodiment of the application comprises the steps of firstly, acquiring a log to be stored, responding to an identification registration operation and an identification configuration operation input by a basic input and output system, and determining interface information of a registered nonvolatile storage medium; the identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is used for pre-configuring the non-volatile storage medium; secondly, storing the log to be stored into a registered nonvolatile storage medium based on the interface information; performing file conversion on a log to be stored in a registered nonvolatile storage medium to obtain a file to be read; reading a file to be read from the registered nonvolatile storage medium in response to the reading instruction; in this way, in response to the relevant operation input by the basic input and output system, the interface information of the registered nonvolatile storage medium is determined, and the log to be stored is stored in the registered nonvolatile storage medium based on the interface information, so that the log to be stored can be ensured to be normally stored.
Based on the foregoing embodiments, an embodiment of the present application further provides an information processing method applied to an information processing apparatus, and as shown in fig. 1 and fig. 2, the method includes the following steps:
step 201, monitoring the current running state.
In the embodiment of the present application, the information processing apparatus may be based on auxiliary tools such as: monitoring the current running state of the information processing equipment by the monitoring application; wherein the operating state includes but is not limited to: a low power consumption running state, a high power consumption running state, a starting state, a dormant state, a shutdown state and the like; correspondingly, the running state may also be a state of downtime, a dead halt, or a crash of the current information processing apparatus.
It should be noted that the information processing apparatus may acquire a series of logs and the like generated in the current operation state while monitoring the current operation state.
Step 202, under the condition that the running state is abnormal, calling a preset reading function to obtain a key log generated under the abnormal state.
The log to be stored comprises a key log.
In the embodiment of the application, when the running state of the information processing equipment is abnormal, the key log generated in the abnormal state is obtained by calling the preset reading function.
In a feasible implementation manner, the running state abnormality of the information processing apparatus may be a case that an OS of the information processing apparatus is down, crashed, or crashed, that is, a case that a process stops responding or a system kernel has an error occurs in the OS.
In another possible implementation manner, the running state exception of the information processing apparatus may be an exception condition of an application program in the information processing apparatus during running, including but not limited to: the application program is blocked, the application program cannot be started or is abnormally closed, and the like; the application program may be a system application of the information processing apparatus, or may be an application downloaded by the information processing apparatus from an associated platform.
In the embodiment of the present application, the condition that the OS of the information processing apparatus is down or crashed refers to the condition that the operating state is abnormal.
The preset reading function can be specific function information of a key log generated by the information processing equipment in an abnormal state, and the specific function information is read by the information processing equipment; the specific implementation manner of the preset read function is not limited in this application.
It should be noted that the key log generally refers to an operating system log, a secure host log, a network infrastructure log, and the like generated when an OS of the information processing apparatus is down or crashed.
In a possible implementation manner, before executing step 102, that is, before the information processing apparatus determines the interface information of the registered nonvolatile storage medium in response to the identification registration operation and the identification configuration operation input by the basic input output system, the information processing apparatus may further execute the following step 203:
step 203, obtaining the configuration information of the nonvolatile storage medium.
In the embodiment of the present application, the information processing device acquiring the configuration information of the NVDIMM includes, but is not limited to: the memory size and read/write speed of NVDIMM are not limited in this application.
Correspondingly, when the information processing apparatus executes step 102, the following steps 204 to 206 may be executed:
and 204, responding to the identifier registration operation input by the basic input and output system, inputting the configuration information into a preset configuration database, registering, and generating first registration information.
The identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database.
In the embodiment of the application, the information processing device responds to the identification registration operation input by the BIOS, inputs the acquired configuration information of the NVDIMM into a preset configuration database, registers the configuration information, and generates first registration information.
The first registration information may be presented in any form of text and/or code.
Step 205, in response to the identification configuration operation input by the basic input output system, pre-configuring the non-volatile storage medium based on the configuration information, and generating first configuration information.
Wherein the identity configuration operation is to pre-configure the non-volatile storage medium.
In the embodiment of the application, the information processing equipment responds to the identification configuration operation input by the BIOS, and pre-configures the NVDIMM based on the acquired configuration information of the NVDIMM to generate first configuration information; the first configuration information may be presented in any form of words and/or codes.
And step 206, obtaining interface information of the registered nonvolatile storage medium based on the first registration information and the first configuration information.
The information processing device further determines the NVDIMM based on the first registration information and the first configuration to determine interface information of the registered NVDIMM.
In a possible implementation, the information processing apparatus, when executing step 206, may also be implemented by executing the following steps 206a to 206 c:
and step 206a, obtaining the identification information of the nonvolatile storage medium based on the first registration information and the first configuration information.
In the embodiment of the application, the information processing device determines identification information of the NVDIMM based on the first registration information and the first configuration information; wherein the identification information characterizes that the NVDIMM has been configured as a backend storage driver corresponding to an information processing device.
And step 206b, under the condition that the newly added device driving information corresponding to the back-end storage is detected, calling a preset interface function, and registering the nonvolatile storage medium as an identification storage area based on the information.
In the embodiment of the present application, when the information processing device detects that there is a new addition of device driver information corresponding to the backend storage of the information processing device, that is, the NVDIMM is already configured as the backend storage driver corresponding to the information processing device.
After detecting corresponding information, the information processing equipment calls a preset interface function such as: the pstore interface function registers the NVDIMM as a label storage area under the pstore mechanism.
It should be noted that the pstore is a persistent storage (persistent storage), and is mainly used for storing log information of the core exception of the information processing apparatus.
And step 206c, obtaining the interface information of the registered nonvolatile storage medium based on the identification storage area.
In an embodiment of the application, the information processing device determines interface information of the registered NVDIMM based on the identification storage area, i.e., the determined registered NVDIMM, i.e., the NVDIMM that has been successfully registered under the pstore mechanism.
The information processing method provided by the embodiment of the application responds to the relevant operation input by the basic input and output system, determines the interface information of the registered nonvolatile storage medium, and stores the log to be stored into the registered nonvolatile storage medium based on the interface information, so that the log to be stored can be ensured to be normally stored.
Based on the foregoing embodiments, the present application further provides an information processing method applied to an information processing apparatus, and as shown in fig. 1 to 3, the method includes the following steps:
the information processing apparatus may further perform the following steps 301 to 302 before performing step 103 in the above-described embodiment:
step 301, obtaining attribute information of the log to be stored.
In the embodiment of the present application, the information processing apparatus acquires attribute information of a log to be stored, where the attribute information includes, but is not limited to, generation time, memory size, usage, priority level, source, and the like of the log to be stored, and this application is not limited in any way.
And 302, performing interval division on the registered nonvolatile storage medium based on the attribute information to obtain at least two storage areas.
In the embodiment of the application, the information processing device divides the storage interval of the registered NVDIMM based on the attribute information of the log to be stored to obtain at least two storage areas.
In a possible implementation manner, the information processing device divides the storage interval of the registered NVDIMM according to the purpose of the log to be stored, so as to obtain at least two storage areas.
In another possible implementation manner, the information processing device divides the storage interval of the registered NVDIMM according to the size of the memory of the log to be stored, so as to obtain at least two storage areas.
In another possible implementation manner, the information processing device divides the storage interval of the registered NVDIMM to obtain at least two storage areas based on the generation time of the log to be stored.
Accordingly, when the information processing apparatus executes step 103 provided in the above embodiment, that is, when the information processing apparatus stores the log to be stored in the registered nonvolatile storage medium based on the interface information, the following step 303 may be further implemented:
and 303, storing the log to be stored into a storage area matched with the attribute information of the log to be stored based on the interface information.
In the embodiment of the application, the information processing device stores the log to be stored in the storage area matched with the attribute information of the information processing device based on the interface information of the registered NVDIMM.
In one possible implementation, the memory area of the registered NVDIMM is divided into: and correspondingly, the information processing device stores the acquired logs to be stored into the corresponding areas of the registered NVDIMM based on the acquired priorities of the logs to be stored.
In another possible implementation, the memory region of the registered NVDIMM is divided into: the information processing device comprises a monitoring area, a problem tracking area and a safety audit area, and accordingly the information processing device stores the logs to be stored into the corresponding areas of the registered NVDIMMs based on the purposes of the logs to be stored.
In a possible implementation manner, the information processing apparatus may further perform the following steps 303a to 303b when performing step 303:
step 303a, determining a storage format corresponding to each storage area.
In this embodiment, the information processing device may determine the storage format by dividing the registered NVDIMM into at least two regions.
The storage format corresponding to each storage area includes but is not limited to: dmesg, console, ftrace, mce, pmeg, rtas, power pc, and type, among others.
The storage formats corresponding to the storage areas may be the same, may also be different, and may also be partially the same, which is not limited in this application.
In one possible implementation, the first storage region, i.e., the monitoring region, of the registered NVDIMM is in a storage format of dmesg; the storage format of the second storage area, namely the problem tracking area is ftrace; the storage format of the third storage area, namely the security audit area, is mce.
And step 303b, storing the log to be stored into the storage area in a storage format based on the interface information.
In the embodiment of the application, the information processing device stores the log to be stored into the storage area according to the corresponding classification area and the storage format corresponding to the area required to be stored respectively based on the registered interface information of the NVDIMM.
In a possible implementation manner, when the information processing apparatus executes step 104 of the above embodiment, that is, when the information processing apparatus performs file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read, the following steps 304 to 305 may also be executed to implement:
and step 304, determining the format of the target file matched with the attribute information.
In the embodiment of the application, the information processing equipment determines the target file format matched with the attribute information of the log to be stored.
In a feasible implementation manner, the information processing device determines a target file format of the log to be stored, which is matched with the attribute information, based on a preset rule; the target file format may be the same as or different from the original file format of the log to be stored, i.e., the log format.
It should be noted that the target file format may be a file format in which a user operating the information processing device can parse the content of the log, so that the user can conveniently and simply read the log information and further analyze the log information, thereby improving the efficiency of the user in parsing the log.
And 305, performing file conversion on the log to be stored in the storage area according to the target file format to obtain a file to be read.
In the embodiment of the application, the information processing device performs file conversion on the to-be-stored log stored in each storage area of the registered NVDIMM according to the determined target file format to obtain the to-be-read file.
The information processing method provided by the embodiment of the application responds to the relevant operation input by the basic input and output system, determines the interface information of the registered nonvolatile storage medium, and stores the log to be stored into the registered nonvolatile storage medium based on the interface information, so that the log to be stored can be ensured to be normally stored; and simultaneously, file conversion is carried out on the log to be stored in the registered nonvolatile storage medium so as to be convenient for a user to look up and analyze, and further, the efficiency of analyzing the log by the user can be improved.
In a feasible implementation manner, the information processing device may add corresponding information in an nfit table of the ACPI corresponding table through a Unified Extensible Firmware Interface (UEFI) BIOS; meanwhile, carrying out first configuration on an NVDIMM in a BIOS, reserving a section of equipment resource, and analyzing an ACPI nfit table at the early stage of starting an OS kernel (kernel) if NVDIMM equipment is detected in a system of the information processing equipment; meanwhile, the information processing equipment detects that corresponding equipment, namely NVDIMM drive, is added at the storage back end of the information processing equipment, the NVDIMM can be registered as nonvolatile storage back-end equipment under the management of a pstore mechanism by calling a pstore interface function, and corresponding equipment files are created in the system.
Meanwhile, the information processing device may further divide an internal storage area of the registered NVDIMM into a plurality of storage sections according to the log to be stored, that is, the type of the log to be stored provided in the embodiment of the present application, where the plurality of storage sections of the NVDIMM include, but are not limited to: syslog system log intervals, boot up log intervals, application specific log intervals, and dump log intervals for systems panic and hang, etc.
Correspondingly, the information processing equipment acquires equipment resources for storing different types of logs, sets different formats of stored data for each type of resource, including different signatures and log severity levels, triggers notification types when the logs are recorded, and the like, and provides a uniform data read-write interface for the different types of equipment resources; the device resources for storing different types of logs include, but are not limited to, registered NVDIMMs, and may further include a storage device corresponding to an original ACPI Platform Error Interface (APEI) under a pstore mechanism, a storage device corresponding to an Extensible Firmware Interface (EFI), a storage device corresponding to a Memory, and the like.
When the OS is normally operated or is down, the information processing equipment stores the logs into different sections of the registered NVDIMM by adding a dump log interface at a corresponding place.
In a feasible implementation method, when the OS normally runs, the information processing device calls a write interface in a driver through a write interface of the pstore to synchronously write the system log into a system log area of the registered NVDIMM; correspondingly, the read-write interface of the driver can be directly called for the system boot up starting log to be stored in the boot area of the registered NVDIMM, and for the specific application program log, the information processing device opens the created device file interface to store the corresponding log into the log area of the specific application program of the registered NVDIMM.
In another possible implementation manner, when an operating system of the information Processing apparatus crashes, the information Processing apparatus adds related logic based on a Non-Maskable Interrupt (NMI) watchdog or when a physical NMI key is operated to trigger NMI, for example, in Interrupt Processing of NMI, collects log information such as a Central Processing Unit (CPU) context, a register, a function call stack, and the like when an OS stops responding in a certain process, and calls a write operation provided by a related driver to store the log information in a dump log interval of system panic and hang provided by registered NVDIMM according to a certain organization format; if the kdump is deployed, the information processing device loads a second kernel which starts the kdump to collect more detailed content.
Correspondingly, when the OS of the information processing apparatus crashes, related logic is also added, and log information such as the CPU context, the register value, and the function call stack when the OS crashes is stored in the corresponding storage section of the registered NVDIMM through the call driver interface, such as: in dump log intervals of systems panic and hang; secondly, after the information processing device is restarted again and the operating system of the information processing device runs normally, the CPU context, the register value and the log information of the function call stack when the OS crashes can be read from the corresponding directory file under the pstore mechanism.
Based on the foregoing embodiments, fig. 4 is a schematic diagram of an architecture for managing NVDIMMs based on a persistent storage mechanism according to an embodiment of the present application; as shown, the pstore mechanism is divided by Sysfs403 into 402 and 401, i.e., pstore front end, and 404 to 406, i.e., pstore back end; the pstore front end 402 provides a user space interface in a file form, and can be mounted below a specified directory through a mount command, such as/sys/fs/pstore, stored information appears in the directory in a file form, different types of logs are named by different suffix files, debugging information can be acquired by using file reading operation, and the debugging information is cleared by deleting operation; among them, the file forms include but are not limited to: dmesg, console, ftrace, mce, pmeg, rtas, power pc, type, etc.; meanwhile, 401 is App, that is, mobile phone software (Application), and a user can view log information displayed in a file form based on 401 App.
Accordingly, the pstore back-ends 404 to 406 provide a common set of interfaces to store logs; wherein 406 is several storage devices 1 … n commonly used by pstores in the related art, and the storage devices may be storage devices corresponding to the APEI, EFI, and Memory, and at the same time, the storage devices are only used for storing the dmesg and corresponding compressed data manner; among them, the dmesg is mainly used for storing a kernel log generated when a system core starts or crashes (sonic/ops).
Meanwhile, based on the information processing method provided by the embodiment of the application, the registered NVDIMM is added to the storage device under the pstore mechanism, namely 405; the NVDIMM of 405 is used for storing the key log and can be expanded to dmesg, console, ftrace, pmeg and the like in 404, and as the capacity of the NVDIMM is large, the original compression of data is cancelled, and the data organization format aiming at different types of log files is increased; meanwhile, pmesg is a storage log provided for a user space, while console is a terminal log and ftrace is a message log related to function call.
It should be noted that the pstore is mainly used for storing log information when the kernel is abnormal, and the implementation manner is to manage a nonvolatile storage space, when the system is abnormal, the log is written into the storage space managed by the pstore, and until the next time the system is normal, the log is read in a file form and provided for a user to use and analyze.
Based on the foregoing embodiments, the present application further provides an information processing apparatus 5, where the information processing apparatus 5 may be applied to an information processing method provided in the embodiments corresponding to fig. 1 to 3, and as shown in fig. 5, the information processing apparatus 5 may include: an obtaining module 51, a determining module 52, a storing module 53, a converting module 54 and a reading module 55, wherein:
an obtaining module 51, configured to obtain a log to be stored;
a determining module 52, configured to determine interface information of the registered non-volatile storage medium in response to the identity registration operation and the identity configuration operation input by the basic input output system; the identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is used for pre-configuring the non-volatile storage medium;
a storage module 53, configured to store the log to be stored in a registered nonvolatile storage medium based on the interface information;
the conversion module 54 is configured to perform file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read;
and the reading module 55 is configured to, in response to the reading instruction, read the file to be read from the registered nonvolatile storage medium.
In other embodiments of the present application, the obtaining module 51 is further configured to monitor a current operation state; calling a preset reading function to obtain a key log generated in an abnormal state under the condition that the running state is abnormal; the log to be stored comprises a key log.
In other embodiments of the present application, the obtaining module 51 is further configured to obtain configuration information of the nonvolatile storage medium;
correspondingly, the determining module 52 is further configured to, in response to the identifier registration operation input by the basic input output system, input the configuration information into the preset configuration database and perform registration to generate first registration information; in response to the identification configuration operation input by the basic input and output system, pre-configuring the nonvolatile storage medium based on the configuration information, and generating first configuration information; and obtaining interface information of the registered nonvolatile storage medium based on the first registration information and the first configuration information.
In other embodiments of the present application, the determining module 52 is further configured to obtain identification information of the nonvolatile storage medium based on the first registration information and the first configuration information; under the condition that the device driving information corresponding to the back-end storage is newly added, calling a preset interface function, and registering the nonvolatile storage medium as an identification storage area based on the identification information; and obtaining the interface information of the registered nonvolatile storage medium based on the identification storage area.
In other embodiments of the present application, the obtaining module 51 is further configured to obtain attribute information of a log to be stored;
correspondingly, the determining module 52 is further configured to perform interval division on the registered nonvolatile storage medium based on the attribute information to obtain at least two storage areas;
correspondingly, the storage module 53 is further configured to store the log to be stored in the storage area matched with the attribute information of the log based on the interface information.
In other embodiments of the present application, the storage module 53 is further configured to determine a storage format corresponding to each storage area; and storing the log to be stored into the storage area in a storage format based on the interface information.
In other embodiments of the present application, the conversion module 54 is further configured to determine a target file format matching the attribute information; and according to the target file format, performing file conversion on the log to be stored in the storage area to obtain a file to be read.
It should be noted that, for a specific implementation process of the steps executed by each module in this embodiment, reference may be made to the implementation processes in the information processing method provided in the embodiments corresponding to fig. 1 to 3, and details are not described here again.
The information processing device provided by the embodiment of the application responds to the relevant operation input by the basic input and output system, determines the interface information of the registered nonvolatile storage medium, stores the log to be stored into the registered nonvolatile storage medium based on the interface information, and can ensure normal storage of the log to be stored; and simultaneously, file conversion is carried out on the log to be stored in the registered nonvolatile storage medium so as to be convenient for a user to look up and analyze, and further, the efficiency of analyzing the log by the user can be improved.
Based on the foregoing embodiments, embodiments of the present application further provide an information processing apparatus 6, where the information processing apparatus 6 may be applied to an information processing method provided in the embodiments corresponding to fig. 1 to 3, and as shown in fig. 6, the information processing apparatus 6 may include: a processor 61, a memory 62, and a communication bus 63, wherein:
the communication bus 63 is used to implement a communication connection between the processor 61 and the memory 62.
The processor 61 is configured to execute a program of the information processing method stored in the memory 62 to implement the information processing method provided with reference to the corresponding embodiments of fig. 1 to 3.
The information processing device provided by the embodiment of the application responds to the relevant operation input by the basic input and output system, determines the interface information of the registered nonvolatile storage medium, stores the log to be stored into the registered nonvolatile storage medium based on the interface information, and can ensure normal storage of the log to be stored; and simultaneously, file conversion is carried out on the log to be stored in the registered nonvolatile storage medium so as to be convenient for a user to look up and analyze, and further, the efficiency of analyzing the log by the user can be improved.
Based on the foregoing embodiments, embodiments of the present application provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the information processing method provided by the embodiments corresponding to fig. 1 to 3.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (10)

1. An information processing method, characterized in that the method comprises:
acquiring a log to be stored;
determining interface information of the registered nonvolatile storage medium in response to an identification registration operation and an identification configuration operation input by a basic input output system; the identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is to pre-configure the non-volatile storage medium;
storing the log to be stored into the registered nonvolatile storage medium based on the interface information;
performing file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read;
and responding to a reading instruction, and reading the file to be read from the registered nonvolatile storage medium.
2. The method of claim 1, wherein the obtaining the log to be stored comprises:
monitoring the current running state;
calling a preset reading function to obtain a key log generated in the abnormal state under the condition that the running state is abnormal;
wherein the log to be stored comprises the key log.
3. The method of claim 1, wherein before determining the interface information of the registered non-volatile storage medium in response to the identity registration operation and the identity configuration operation input by the basic input output system, the method further comprises:
acquiring configuration information of the nonvolatile storage medium;
accordingly, the determining the interface information of the registered nonvolatile storage medium in response to the identification registration operation and the identification configuration operation input by the basic input output system comprises:
responding to the identification registration operation input by the basic input and output system, inputting the configuration information into the preset configuration database, registering, and generating first registration information;
in response to the identification configuration operation input by the basic input output system, pre-configuring the non-volatile storage medium based on the configuration information, and generating first configuration information;
and obtaining interface information of the registered nonvolatile storage medium based on the first registration information and the first configuration information.
4. The method of claim 3, wherein obtaining interface information of the registered non-volatile storage medium based on the first registration information and the first configuration information comprises:
obtaining identification information of the nonvolatile storage medium based on the first registration information and the first configuration information;
under the condition that the device driving information corresponding to the back-end storage is newly added, calling a preset interface function, and registering the nonvolatile storage medium as an identification storage area based on the identification information;
and obtaining the interface information of the registered nonvolatile storage medium based on the identification storage area.
5. The method according to claim 1, wherein before storing the log to be stored in the registered nonvolatile storage medium based on the interface information, the method further comprises: acquiring attribute information of the log to be stored;
performing interval division on the registered nonvolatile storage medium based on the attribute information to obtain at least two storage areas;
correspondingly, the storing the log to be stored into the registered nonvolatile storage medium based on the interface information includes:
and storing the log to be stored into a storage area matched with the attribute information of the log to be stored based on the interface information.
6. The method according to claim 5, wherein the storing the log to be stored into a storage area matched with the attribute information of the log to be stored based on the interface information comprises:
determining a storage format corresponding to each storage area;
and storing the log to be stored into the storage area in the storage format based on the interface information.
7. The method according to claim 5, wherein the performing file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read comprises:
determining a target file format matched with the attribute information;
and according to the target file format, performing file conversion on the log to be stored in the storage area to obtain a file to be read.
8. An information processing apparatus, characterized in that the processing apparatus comprises: the device comprises an acquisition module, a determination module, a storage module, a conversion module and a reading module, wherein:
the acquisition module is used for acquiring the log to be stored;
the determining module is used for responding to the identification registration operation and the identification configuration operation input by the basic input and output system and determining the interface information of the registered nonvolatile storage medium; the identification registration operation is used for adding the associated information of the nonvolatile storage medium in a preset configuration database; the identity configuration operation is to pre-configure the non-volatile storage medium;
the storage module is used for storing the log to be stored into the registered nonvolatile storage medium based on the interface information;
the conversion module is used for performing file conversion on the log to be stored in the registered nonvolatile storage medium to obtain a file to be read;
the reading module is used for responding to a reading instruction and reading the file to be read from the registered nonvolatile storage medium.
9. An information processing apparatus characterized by comprising: a processor, a memory, and a communication bus; wherein the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the program in the memory to implement the information processing method according to any one of claims 1 to 7.
10. A computer-readable storage medium characterized by storing one or more programs, which are executable by one or more processors, to implement the steps of the information processing method according to any one of claims 1 to 7.
CN202110064903.6A 2021-01-18 2021-01-18 Information processing method, device, equipment and storage medium Active CN112748885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110064903.6A CN112748885B (en) 2021-01-18 2021-01-18 Information processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110064903.6A CN112748885B (en) 2021-01-18 2021-01-18 Information processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112748885A true CN112748885A (en) 2021-05-04
CN112748885B CN112748885B (en) 2023-01-17

Family

ID=75652350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110064903.6A Active CN112748885B (en) 2021-01-18 2021-01-18 Information processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112748885B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442494A (en) * 2021-11-09 2022-05-06 佛山市淇特科技有限公司 Equipment behavior analysis method and device, terminal equipment and storage medium
CN114564450A (en) * 2022-03-04 2022-05-31 北京宇信科技集团股份有限公司 Processing method, device, system, medium and equipment of distributed file system
CN114691223A (en) * 2022-03-21 2022-07-01 深圳市同泰怡信息技术有限公司 Method and device for transmitting BIOS log through network

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001134338A (en) * 1999-11-01 2001-05-18 Nec Soft Ltd User management method for hibernation function and information processor
US20100058314A1 (en) * 2008-09-03 2010-03-04 Chin-Yu Wang Computer System and Related Method of Logging BIOS Update Operation
US20120066431A1 (en) * 2010-09-10 2012-03-15 International Business Machines Corporation Recoverability while adding storage to a redirect-on-write storage pool
CN102662785A (en) * 2012-04-12 2012-09-12 青岛海信移动通信技术股份有限公司 Method and device for acquiring kernel error messages of Android system
KR20140012318A (en) * 2012-07-19 2014-02-03 삼성전자주식회사 Nonvolatile memory, reading method of nonvolatile memory, and memory system including nonvolatile memory
US20160314002A1 (en) * 2015-04-27 2016-10-27 Dell Products, L.P. Caching unified extensible firmware interface (uefi) and/or other firmware instructions in a non-volatile memory of an information handling system (ihs)
CN107515808A (en) * 2017-08-08 2017-12-26 百富计算机技术(深圳)有限公司 Log recording method, device, computer equipment and computer-readable recording medium
CN109120925A (en) * 2018-10-18 2019-01-01 深圳Tcl新技术有限公司 Television set, tv fault localization method and computer readable storage medium
CN110851332A (en) * 2019-11-13 2020-02-28 上海闻泰电子科技有限公司 Log file processing method, device, equipment and medium
CN112000630A (en) * 2020-08-28 2020-11-27 苏州浪潮智能科技有限公司 Log storage method, device and equipment and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001134338A (en) * 1999-11-01 2001-05-18 Nec Soft Ltd User management method for hibernation function and information processor
US20100058314A1 (en) * 2008-09-03 2010-03-04 Chin-Yu Wang Computer System and Related Method of Logging BIOS Update Operation
US20120066431A1 (en) * 2010-09-10 2012-03-15 International Business Machines Corporation Recoverability while adding storage to a redirect-on-write storage pool
CN102662785A (en) * 2012-04-12 2012-09-12 青岛海信移动通信技术股份有限公司 Method and device for acquiring kernel error messages of Android system
KR20140012318A (en) * 2012-07-19 2014-02-03 삼성전자주식회사 Nonvolatile memory, reading method of nonvolatile memory, and memory system including nonvolatile memory
US20160314002A1 (en) * 2015-04-27 2016-10-27 Dell Products, L.P. Caching unified extensible firmware interface (uefi) and/or other firmware instructions in a non-volatile memory of an information handling system (ihs)
CN107515808A (en) * 2017-08-08 2017-12-26 百富计算机技术(深圳)有限公司 Log recording method, device, computer equipment and computer-readable recording medium
CN109120925A (en) * 2018-10-18 2019-01-01 深圳Tcl新技术有限公司 Television set, tv fault localization method and computer readable storage medium
CN110851332A (en) * 2019-11-13 2020-02-28 上海闻泰电子科技有限公司 Log file processing method, device, equipment and medium
CN112000630A (en) * 2020-08-28 2020-11-27 苏州浪潮智能科技有限公司 Log storage method, device and equipment and readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114442494A (en) * 2021-11-09 2022-05-06 佛山市淇特科技有限公司 Equipment behavior analysis method and device, terminal equipment and storage medium
CN114442494B (en) * 2021-11-09 2024-01-23 佛山市淇特科技有限公司 Equipment behavior analysis method and device, terminal equipment and storage medium
CN114564450A (en) * 2022-03-04 2022-05-31 北京宇信科技集团股份有限公司 Processing method, device, system, medium and equipment of distributed file system
CN114691223A (en) * 2022-03-21 2022-07-01 深圳市同泰怡信息技术有限公司 Method and device for transmitting BIOS log through network
CN114691223B (en) * 2022-03-21 2023-08-22 深圳市同泰怡信息技术有限公司 Method and device for transmitting BIOS logs through network

Also Published As

Publication number Publication date
CN112748885B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN112748885B (en) Information processing method, device, equipment and storage medium
US8423997B2 (en) System and method of controlling virtual machine
US7734945B1 (en) Automated recovery of unbootable systems
US6230285B1 (en) Boot failure recovery
CN102043655B (en) Method and system for carrying out advanced uninstall on software
CN107515808B (en) Log recording method, apparatus, computer device and computer readable storage medium
US6502208B1 (en) Method and system for check stop error handling
CN109213667B (en) Exception handling method of Android system and electronic equipment
US20040172578A1 (en) Method and system of operating system recovery
US20070220350A1 (en) Memory dump method, memory dump program and computer system
CN102929747A (en) Method for treating crash dump of Linux operation system based on loongson server
CN102999343A (en) Method and device for forbidding self-starting of startup project
US11157373B2 (en) Prioritized transfer of failure event log data
US20100313069A1 (en) Computer system and failure recovery method
CN102819469A (en) Method and system for recovering operating system
CN103019706A (en) Method and device for processing startup item
CN111930429A (en) Method for quickly starting Android operating system and electronic equipment
CN113377719B (en) System abnormal shutdown time acquisition method and system
CN114661319A (en) Software upgrade stability recommendation
CN110096882B (en) Safety measurement method in equipment operation process
CN112214378B (en) Data collection method and device, electronic equipment and storage medium
CN113536320A (en) Error information processing method, device and storage medium
CN111104129B (en) Memory operating system manufacturing method and device, electronic equipment and storage medium
CN112988503A (en) Analysis method, analysis device, electronic device, and storage medium
US10783027B2 (en) Preemptive crash data capture

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
GR01 Patent grant
GR01 Patent grant