WO2022166875A1 - Procédé de stockage de journal, appareil de communication, puce et dispositif de module - Google Patents

Procédé de stockage de journal, appareil de communication, puce et dispositif de module Download PDF

Info

Publication number
WO2022166875A1
WO2022166875A1 PCT/CN2022/074944 CN2022074944W WO2022166875A1 WO 2022166875 A1 WO2022166875 A1 WO 2022166875A1 CN 2022074944 W CN2022074944 W CN 2022074944W WO 2022166875 A1 WO2022166875 A1 WO 2022166875A1
Authority
WO
WIPO (PCT)
Prior art keywords
log information
terminal device
ddr
abnormality
flash
Prior art date
Application number
PCT/CN2022/074944
Other languages
English (en)
Chinese (zh)
Inventor
郑建华
Original Assignee
展讯通信(上海)有限公司
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 展讯通信(上海)有限公司 filed Critical 展讯通信(上海)有限公司
Publication of WO2022166875A1 publication Critical patent/WO2022166875A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • 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/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • 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/0646Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
    • G06F3/0652Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
    • 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]

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a log storage method, a communication device, a chip and a module device.
  • the present application discloses a log saving method, a communication device, a chip and a module device, which are beneficial to quickly save log information.
  • the present application provides a log saving method, which is applied to a terminal device.
  • the method includes: the terminal device detects whether there is an abnormality in the system; and when the terminal device detects an abnormality, save the log information corresponding to the above exception to a Double data rate synchronous dynamic random access memory DDR; terminal equipment restarts the above system.
  • saving the log information corresponding to the above exception in the double data rate synchronous dynamic random access memory DDR includes: the terminal device saves the above log information in a preset storage space in the DDR, and the preset storage The space is the storage space reserved by DDR for storing abnormal log information.
  • the terminal device detecting whether the system is abnormal includes: the terminal device detecting whether the subsystem is abnormal; and the terminal device restarting the system includes: the terminal device restarting the subsystem.
  • the method further includes: the terminal device uploads the log information stored in the DDR to the server.
  • the method further includes: the terminal device saves the log information in the non-volatile memory Flash.
  • the above-mentioned terminal device saves the log information in the non-volatile memory Flash, which includes: when the terminal device is in an idle state, save the above-mentioned log information in the Flash.
  • the method includes: the terminal device deletes the log information in the DDR.
  • the method further includes: uploading the log information stored in the above-mentioned Flash to the server by the terminal device.
  • the method after uploading the log information stored in the Flash to the server, the method includes: the terminal device deletes the log information in the Flash.
  • the present application provides a communication device, which includes a processing unit and a storage unit, wherein: the processing unit is used to detect whether there is an abnormality in the system; the storage unit is used to store the above The log information corresponding to the abnormality is stored in the double data rate synchronous dynamic random access memory DDR; the processing unit is also used for restarting the system.
  • the storage unit is specifically configured to: save the log information in a preset storage space in the DDR, where the preset storage space is a storage space reserved by the DDR for storing abnormal log information.
  • the above-mentioned processing unit is specifically used for: detecting whether the subsystem is abnormal; and the above-mentioned processing unit is specifically used for: restarting the above-mentioned subsystem.
  • the above-mentioned processing unit is further configured to: upload the log information stored in the above-mentioned DDR to the server.
  • the above-mentioned storage unit is further configured to: save the above-mentioned log information in the non-volatile memory Flash.
  • the above-mentioned storage unit is specifically configured to: in the case of being in an idle state, save the above-mentioned log information into the above-mentioned Flash.
  • the above-mentioned processing unit is further configured to: delete the above-mentioned log information in the above-mentioned DDR.
  • the above-mentioned processing unit is further configured to: upload the log information saved in the above-mentioned Flash to the server.
  • the above-mentioned processing device is further configured to: delete the log information in the above-mentioned Flash.
  • the present application provides a chip, which is used to detect whether there is an abnormality in the system; the chip is also used to save the log information corresponding to the above abnormality to a double data rate when an abnormality is detected. Synchronous dynamic random access memory DDR; this chip is also used to restart the above system.
  • the application provides a module device, the module device includes a communication module, a power module, a storage module and a chip module, wherein: the power module is used to provide electrical energy for the module device ;
  • the storage module is used to store data and instructions;
  • the communication module is used for internal communication of the module device, or for the module device to communicate with external devices;
  • the chip module is used to: detect whether there is an abnormality in the system ; In the case of detecting an abnormality, save the log information corresponding to the above abnormality in the double data rate synchronous dynamic random access memory DDR; and restart the above system.
  • FIG. 1 is a flowchart of a method for saving logs according to an embodiment of the present application
  • FIG. 3 provides a communication device according to an embodiment of the present application
  • FIG. 4 is another communication device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a module device according to an embodiment of the present application.
  • Double data rate synchronous dynamic random access memory double data rate SDRAM, DDR
  • DDR is a double-rate synchronous dynamic random access memory (SDRAM), that is, the data transfer rate of DDR is twice as high as that of SDRAM. This doubling rate is not simply doubling the clock cycle, but DDR can transfer data twice in the clock cycle that SDRAM transfers data once. Therefore, DDR has the characteristics of fast access and easy to read and write.
  • SDRAM synchronous dynamic random access memory
  • Non-volatile memory Flash EEPROM Memory, Flash
  • Flash can also be called “flash memory” or “flash memory”, which is essentially an electrically erasable programmable read-only memory (EEPROM), which combines random access memory (Random access memory,
  • EEPROM electrically erasable programmable read-only memory
  • RAM random access memory
  • ROM read only memory
  • FIG. 1 is a flowchart of a method for saving logs according to an embodiment of the present application.
  • the log saving method can be implemented by a terminal device or by a chip in the terminal device.
  • the terminal device is an entity on the user side for receiving or transmitting signals, such as a mobile phone.
  • a terminal device may also be called a terminal (terminal), a user equipment (UE), a mobile station (mobile station, MS), a mobile terminal (mobile terminal, MT), and the like.
  • the terminal device can be a mobile phone (mobile phone), a wearable device, a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, industrial Wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grid, transportation security safety), wireless terminals in smart cities, wireless terminals in smart homes, to support enhanced Machine-Type communication (eMTC) and/or to support general purpose Terminal equipment of long term evolution (LTE) of mobile communication technology, etc.
  • eMTC Machine-Type communication
  • LTE long term evolution
  • the log saving method includes but is not limited to the following S101 to S103 , and the method shown in FIG. 1 is described by taking the application to the above-mentioned terminal device as an example.
  • the terminal device detects whether the system is abnormal.
  • the terminal device can always detect whether there is an abnormality in the system; if there is an abnormality, the terminal device can take timely measures (for example, restart the system) to avoid more serious problems such as system crash, which affects the user experience.
  • the terminal device can detect whether there is an abnormality in the system by means of hardware or software. For example: configure a timer circuit in the terminal device, you can regularly check the internal situation of the chip in the system, and send a signal once an error occurs, such as a restart signal.
  • the log information corresponding to the above abnormality can be understood as log information of the corresponding system during the period from the moment when the terminal device detects the abnormality to the time when the terminal device takes measures to recover the abnormality.
  • the log information corresponding to the exception is stored separately.
  • the log information corresponding to the exception is less than all the log information, which can save the storage time; on the other hand, it is stored in a targeted manner.
  • the log information corresponding to the exception can be stored centrally, which is convenient for subsequent analysis of the abnormal situation and the abnormal solution.
  • saving the log information corresponding to the above exception in the DDR includes: the terminal device saves the above log information in a preset storage space in the DDR, where the preset storage space is reserved by the DDR for storage Storage space for exception log information.
  • the preset storage space is a dedicated storage space in the DDR and cannot be occupied by other information.
  • the storage space can only be used to store log information corresponding to the abnormal state, but cannot be used to store other types of information.
  • the DDR has the characteristics of fast access and easy read and write. Therefore, if a dedicated storage space is reserved in the DDR for use when an abnormality is detected, the corresponding log information can be stored more quickly.
  • the above-mentioned terminal equipment detecting whether the system is abnormal includes: the above-mentioned terminal equipment detecting whether the subsystem is abnormal; and the above-mentioned terminal equipment restarting the system includes: the terminal equipment restarting the above-mentioned subsystem.
  • the terminal device may choose to repair the abnormality by restarting the subsystem. In this way, the above exceptions can be fixed without affecting the user experience as much as possible.
  • the terminal device when the terminal device detects that the subsystem is abnormal, it can also choose to restart the system to repair the abnormality. For example, after the terminal device restarts the subsystem, if the above exception is not repaired, you can choose to restart the system.
  • the method further includes: the terminal device uploads the log information stored in the above-mentioned DDR to the server.
  • uploading the log information stored in the DDR by the terminal device to the server includes: uploading the log information stored in the DDR to the server when the terminal device is connected to a wireless network.
  • connecting to a wireless network can be understood as when the terminal device is in a Wi-Fi state. It should be noted that, when the terminal device is connected to the wireless network, the information in the DDR is uploaded to the server, which can save the user's traffic while ensuring the upload rate. Optionally, the terminal device can upload the information in the DDR to the server at any other time; for example, when the user's own traffic is sufficient, the user can choose the upload time by himself.
  • the method further includes: the terminal device saves the log information in the Flash.
  • Flash is the internal storage space of the terminal device.
  • the time for writing to the DDR is much shorter than the time for writing the Flash
  • the Flash has a larger capacity and can store more information. Therefore, after the terminal device takes restarting measures to repair the abnormality, the log information corresponding to the above abnormality can be saved in the Flash.
  • log information cannot be stored in DDR for a long time. For example, if an abnormality is detected in the system after the terminal device is restarted, the log information corresponding to the last abnormality in the DDR may be displayed. It is overwritten by the log information corresponding to the new exception; therefore, in order to ensure that the log information of the exception can be completely preserved, the log information stored in the DDR can be saved to the Flash as soon as possible.
  • the terminal device saves the above log information in the Flash, which includes: when the terminal device is in an idle state, save the above log information in the Flash.
  • the idle state can be understood as a state in which the terminal device is not running any background programs.
  • the log information saved in the DDR is saved in the Flash, which can effectively avoid occupying the background running space, thereby ensuring the user experience.
  • the method includes: the terminal device deletes the log information in the DDR.
  • the DDR itself cannot store the log information persistently, the log information in the DDR can be transferred to the Flash as soon as possible. After the Flash receives the above log information, it can delete the log information in the DDR for use when an exception occurs next time.
  • the above method further includes: uploading the log information saved in the above Flash to the server by the terminal device.
  • the above-mentioned Flash can also be used to store daily log information of the system and information other than log information.
  • the capacity of Flash is larger than that of DDR, if too much information is stored, its performance will still be affected to a certain extent. Therefore, Flash can upload the stored information to the server within a certain period, so that it can be easily searched or used when needed later.
  • the period for uploading log information may be set to T1, and the period for uploading other information may be set to T2.
  • T1 and T2 are both adjustable parameters, which are not limited in this application.
  • uploading the log information stored in the Flash to the server by the terminal device includes: uploading the log information stored in the Flash to the server when the terminal device is connected to a wireless network.
  • the terminal device when the terminal device is connected to the wireless network, the information in the Flash is uploaded to the server, which can save the user's traffic while ensuring the upload rate.
  • the terminal device can also upload the information in the Flash to the server at any other time; for example, when the user's own traffic is sufficient, the user can choose the upload time by himself.
  • the method after uploading the log information stored in the Flash to the server, the method includes: the terminal device deletes the log information in the Flash.
  • the previously stored information may be deleted.
  • timed deletion for example, set to delete information older than 6 months; or you can set quantitative deletion according to memory capacity, for example: when the information storage capacity reaches 50%, set to delete all information.
  • the log information corresponding to the exception can be quickly saved, and the log information can be effectively ensured to be uploaded to the server, so that the exception can be reported as soon as possible.
  • FIG. 2 is a flowchart of another log saving method provided by an embodiment of the present application.
  • the log saving method can be implemented by a terminal device or by a chip in the terminal device.
  • the log saving method includes, but is not limited to, the following S201 to S206 , and the method shown in FIG. 2 is described by taking the application to the above-mentioned terminal device as an example.
  • the terminal device reserves a dedicated storage space in the DDR
  • the terminal device detects whether the system is abnormal
  • whether the above-mentioned terminal device detection system is abnormal includes: whether the terminal device detects whether the subsystem is abnormal.
  • saving the log information corresponding to the abnormality in the DDR includes: when the terminal device detects that the subsystem is abnormal, saving the log information corresponding to the abnormality into the DDR.
  • restarting the system by the terminal device includes: restarting the subsystem by the terminal device.
  • the terminal device uploads the log information stored in the DDR to the server;
  • the terminal device saves the log information stored in the DDR to the Flash;
  • the terminal device may save the log information stored in the DDR to the Flash.
  • the user can set the subsequent operations of this mode according to requirements, which is not limited in this application.
  • S205 in FIG. 2 other steps that can be taken are not shown, which does not limit the embodiment of the present application.
  • the terminal device uploads the log information stored in the Flash to the server.
  • FIG. 3 is a schematic diagram of a communication device according to an embodiment of the present application.
  • the device may be a terminal device, or a device in the terminal device, or a device that can be used in combination with the terminal device.
  • the communication apparatus shown in FIG. 3 may include a processing unit 301 and a storage unit 302 .
  • the processing unit 301 is used for data processing;
  • the storage unit 302 is used for storing data. in:
  • the processing unit 301 is used to detect whether there is an abnormality in the system
  • the storage unit 302 is configured to save the log information corresponding to the abnormality in the double data rate synchronous dynamic random access memory DDR when an abnormality is detected;
  • the processing unit 301 is further configured to restart the above system.
  • the storage unit 302 is further configured to save the log information in a preset storage space in the DDR, where the preset storage space is a storage space reserved by the DDR for storing abnormal log information.
  • the aforementioned processing unit 301 is further configured to detect whether the subsystem is abnormal; and the aforementioned processing unit 301 is further configured to restart the aforementioned subsystem.
  • the above-mentioned communication apparatus further includes a communication unit, and the communication unit is configured to upload the log information stored in the above-mentioned DDR to the server.
  • the above-mentioned storage unit 302 is further configured to save the above-mentioned log information in the non-volatile memory Flash.
  • the above-mentioned storage unit 302 is further configured to save the above-mentioned log information in the Flash when the terminal device is in an idle state.
  • the above-mentioned processing unit 301 is further configured to delete the above-mentioned log information in the DDR.
  • the above-mentioned communication unit is further configured to upload the log information stored in the above-mentioned Flash to the server.
  • the above-mentioned processing unit 301 is further configured to delete the log information in the above-mentioned Flash.
  • each unit in the communication device shown in FIG. 3 may be combined into one or several other units, respectively or all, to form, or some unit(s) may be further divided into functions The same operation can be achieved without affecting the realization of the technical effects of the embodiments of the present application.
  • the above units are divided based on logical functions. In practical applications, the function of one unit can also be implemented by multiple units, or the functions of multiple units can be implemented by one unit. In other embodiments of the present application, the communication apparatus may also include other units, and in practical applications, these functions may also be implemented with the assistance of other units, and may be implemented by cooperation of multiple units.
  • the above communication device may be, for example, a chip or a chip module.
  • the modules included in the devices and products described in the above embodiments they may be software modules or hardware modules, or may be partly software modules and partly hardware modules.
  • each module contained therein may be implemented by hardware such as circuits, or at least some of the modules may be implemented by a software program that runs inside the chip
  • the remaining (if any) modules can be implemented by hardware such as circuits; for each device and product applied to or integrated in the chip module, each module contained therein can be implemented by hardware such as circuits.
  • different modules may be located in the same component (such as a chip, circuit module, etc.) or in different components of the chip module, or at least some modules may be implemented by a software program that runs on the processing integrated inside the chip module
  • the remaining (if any) modules can be implemented by hardware such as circuits; for each device and product applied to or integrated in the terminal, each module included can be implemented by hardware such as circuits, and different modules can be It is located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal, or at least some of the modules can be implemented in the form of software programs that run on the processor integrated inside the terminal, and the rest (if any) Some modules can be implemented in hardware such as circuits.
  • FIG. 4 is another communication device 40 provided by an embodiment of the present application.
  • the communication apparatus may include a transceiver 401 , a processor 402 and a memory 403 .
  • the transceiver 401, the processor 402 and the memory 403 may be connected through a bus 404 or other means.
  • the bus is represented by a thick line in FIG. 4 , and the connection modes between other components are only for schematic illustration, and are not meant to be limited.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 4, but it does not mean that there is only one bus or one type of bus.
  • the transceiver 401 may be a transceiver, a circuit, a bus, a module or other types of transceivers, and is used to communicate with other devices through a transmission medium.
  • the transceiver 401 is used in the communication apparatus 40 so that the communication apparatus 40 can communicate with other devices.
  • the processor 402 uses the transceiver 401 to send and receive data, and is used to implement the methods of the above method embodiments.
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • the specific connection medium between the transceiver 401 , the processor 402 , and the memory 403 is not limited in the embodiments of the present application.
  • Memory 403 may include read-only memory and random access memory, and provides instructions and data to processor 402 . A portion of memory 403 may also include non-volatile random access memory.
  • the processor 402 can be a central processing unit (Central Processing Unit, CPU), and the processor 402 can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC) ), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor can be a microprocessor, alternatively, the processor 402 can also be any conventional processor or the like. in:
  • the memory 403 is used to store program instructions.
  • the processor 402 is used to call the program instructions stored in the memory 403, so as to:
  • the memory 403 is configured to save the above log information in a preset storage space in the DDR, where the preset storage space is a storage space reserved by the DDR for storing abnormal log information.
  • the processor 402 is configured to detect whether the subsystem is abnormal; and the processor 402 is further configured to restart the above-mentioned subsystem.
  • the transceiver 401 is configured to upload the log information stored in the above-mentioned DDR to the server.
  • the memory 403 is used to save the above log information in the non-volatile memory Flash.
  • the memory 403 is configured to save the above log information in the Flash when the terminal device is in an idle state.
  • the processor 402 is configured to delete the above log information in the DDR.
  • the transceiver 401 is configured to upload the log information saved in the above-mentioned Flash to the server.
  • the processor 402 is configured to delete the log information in the above-mentioned Flash.
  • a general-purpose computing device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read only storage medium (ROM).
  • CPU central processing unit
  • RAM random access storage medium
  • ROM read only storage medium
  • a computer program (including program code) that executes the steps involved in the corresponding methods as shown in FIG. 1 and FIG. 2 , and implements the log saving method of the embodiment of the present application.
  • the computer program can be recorded on, for example, a computer-readable recording medium, and loaded in the above-mentioned computing apparatus through the computer-readable recording medium, and executed therein.
  • the principles and beneficial effects of the communication device for solving problems provided in the embodiments of the present application are similar to the principles and beneficial effects for solving problems of the communication devices in the method embodiments of the present application. Please refer to the principles and beneficial effects of the implementation of the method. For the sake of brevity, details are not repeated here.
  • Embodiments of the present application further provide a chip, where the chip can execute the relevant steps of the terminal device in the foregoing method embodiments.
  • the chip is used for: detecting whether there is an abnormality in the system; in the case of detecting the abnormality, saving the log information corresponding to the above-mentioned abnormality in the double data rate synchronous dynamic random access memory DDR; and restarting the above-mentioned system.
  • the above log information is saved to a preset storage space in the DDR, where the preset storage space is a storage space reserved by the DDR for storing abnormal log information.
  • the log information stored in the foregoing DDR is uploaded to the server.
  • the above log information is stored in the non-volatile memory Flash.
  • the above log information is saved in the Flash.
  • the above log information in the DDR is deleted.
  • the log information saved in the above-mentioned Flash is uploaded to the server.
  • the above-mentioned chip includes at least one processor, at least one first memory and at least one second memory; wherein, the at least one first memory and the at least one processor are interconnected through lines, and the first Instructions are stored in the memory; the at least one second memory and the at least one processor are interconnected through a line, and the data to be stored in the foregoing method embodiments are stored in the second memory.
  • each module contained therein may be implemented by hardware such as circuits, or at least some of the modules may be implemented by a software program that runs on the integrated circuit inside the chip.
  • the processor and the remaining (if any) modules can be implemented in hardware such as circuits.
  • FIG. 5 is a schematic structural diagram of a module device provided by an embodiment of the present application.
  • the module device 50 can perform the relevant steps of the terminal device in the foregoing method embodiments, and the module device 50 includes: a communication module 501 , a power module 502 , a storage module 503 and a chip module 504 .
  • the above-mentioned power module 502 is used to provide power for the module equipment;
  • the above-mentioned storage module 503 is used to store data and instructions;
  • the above-mentioned communication module 501 is used for internal communication of the module equipment, or for the module equipment to communicate with the outside The device communicates;
  • the above-mentioned chip module 504 is used for:
  • the above log information is saved to a preset storage space in the DDR, where the preset storage space is a storage space reserved by the DDR for storing abnormal log information.
  • the log information stored in the foregoing DDR is uploaded to the server.
  • the above log information is stored in the non-volatile memory Flash.
  • the above log information is saved in the Flash.
  • the above log information in the DDR is deleted.
  • the log information saved in the above-mentioned Flash is uploaded to the server.
  • each module contained therein can be implemented in hardware such as circuits, and different modules can be located in the same component of the chip module (such as a chip, a circuit module, etc.) or Among different components, or at least some of the modules can be implemented by a software program, the software program runs on the processor integrated inside the chip module, and the remaining (if any) part of the modules can be implemented by hardware such as circuits.
  • Embodiments of the present application further provide a computer-readable storage medium, where one or more instructions are stored in the computer-readable storage medium, and the one or more instructions are suitable for being loaded by a processor and executing the log saving method of the foregoing method embodiment.
  • Embodiments of the present application further provide a computer program product including instructions, which, when running on a computer, cause the computer to execute the log saving method of the above method embodiments.
  • the modules in the apparatus of the embodiment of the present application may be combined, divided and deleted according to actual needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

La présente demande concerne un procédé de stockage de journal, un appareil de communication, une puce et un dispositif de module. Le procédé comprend les étapes suivantes : un dispositif terminal détecte si une anomalie est présente dans un système (S101); dans le cas où une anomalie est détectée, le dispositif terminal détecte stocke les informations de journal correspondant à l'anomalie dans une mémoire vive dynamique synchrone à double débit de données (DDR) (S102); et le dispositif terminal redémarre le système (S103). En mettant en œuvre le procédé fourni par la présente demande, les informations de journal peuvent être rapidement stockées.
PCT/CN2022/074944 2021-02-04 2022-01-29 Procédé de stockage de journal, appareil de communication, puce et dispositif de module WO2022166875A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110159449.2A CN112860516A (zh) 2021-02-04 2021-02-04 一种日志保存方法、通信装置、芯片及模组设备
CN202110159449.2 2021-02-04

Publications (1)

Publication Number Publication Date
WO2022166875A1 true WO2022166875A1 (fr) 2022-08-11

Family

ID=75989005

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/074944 WO2022166875A1 (fr) 2021-02-04 2022-01-29 Procédé de stockage de journal, appareil de communication, puce et dispositif de module

Country Status (2)

Country Link
CN (1) CN112860516A (fr)
WO (1) WO2022166875A1 (fr)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860516A (zh) * 2021-02-04 2021-05-28 展讯通信(上海)有限公司 一种日志保存方法、通信装置、芯片及模组设备
CN113505014B (zh) * 2021-06-09 2022-05-27 荣耀终端有限公司 一种故障诊断文件获取方法及装置
CN113448762B (zh) * 2021-06-29 2022-12-27 东莞市小精灵教育软件有限公司 一种死机处理方法、系统、智能设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276789A (zh) * 2017-05-19 2017-10-20 努比亚技术有限公司 日志上传方法、装置及计算机可读存储介质
CN107463459A (zh) * 2017-08-14 2017-12-12 青岛海信电器股份有限公司 系统异常内存数据的保存方法、装置、系统及终端设备
CN108572955A (zh) * 2017-03-07 2018-09-25 大唐移动通信设备有限公司 一种日志文件生成方法和装置
CN108959526A (zh) * 2018-06-28 2018-12-07 郑州云海信息技术有限公司 日志管理方法以及日志管理装置
CN110333964A (zh) * 2019-07-01 2019-10-15 Oppo广东移动通信有限公司 异常日志处理方法及装置、电子设备、存储介质
CN112860516A (zh) * 2021-02-04 2021-05-28 展讯通信(上海)有限公司 一种日志保存方法、通信装置、芯片及模组设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500133A (zh) * 2013-09-17 2014-01-08 华为技术有限公司 故障定位方法及装置
CN105512008B (zh) * 2014-09-22 2018-05-11 华为技术有限公司 一种获取故障信息的方法及装置
CN111625384B (zh) * 2020-05-25 2024-05-14 广东小天才科技有限公司 移动终端异常问题分析方法、系统、终端设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108572955A (zh) * 2017-03-07 2018-09-25 大唐移动通信设备有限公司 一种日志文件生成方法和装置
CN107276789A (zh) * 2017-05-19 2017-10-20 努比亚技术有限公司 日志上传方法、装置及计算机可读存储介质
CN107463459A (zh) * 2017-08-14 2017-12-12 青岛海信电器股份有限公司 系统异常内存数据的保存方法、装置、系统及终端设备
CN108959526A (zh) * 2018-06-28 2018-12-07 郑州云海信息技术有限公司 日志管理方法以及日志管理装置
CN110333964A (zh) * 2019-07-01 2019-10-15 Oppo广东移动通信有限公司 异常日志处理方法及装置、电子设备、存储介质
CN112860516A (zh) * 2021-02-04 2021-05-28 展讯通信(上海)有限公司 一种日志保存方法、通信装置、芯片及模组设备

Also Published As

Publication number Publication date
CN112860516A (zh) 2021-05-28

Similar Documents

Publication Publication Date Title
WO2022166875A1 (fr) Procédé de stockage de journal, appareil de communication, puce et dispositif de module
US9645829B2 (en) Techniques to communicate with a controller for a non-volatile dual in-line memory module
US10417070B2 (en) Techniques for handling errors in persistent memory
US9740645B2 (en) Reducing latency in a peripheral component interconnect express link
EP3161622B1 (fr) Accélération d'une mise à zéro de temps d'amorçage d'une mémoire sur la base d'une technologie de mémoire non volatile (nvm)
US10761730B2 (en) Method for configuring disk array of electronic device and related electronic device
US20140215016A1 (en) Communication method, communication apparatus and electronic device
WO2020233435A1 (fr) Procédé, appareil et système de traitement de données
CN211376201U (zh) 一种命令读写装置、存储器
CN110019502B (zh) 在主数据库和备数据库之间的同步方法、数据库系统和设备
CN110910921A (zh) 一种命令读写方法、装置及计算机存储介质
WO2019109299A1 (fr) Technique d'accès mémoire et système informatique
WO2013154541A1 (fr) Accès direct à la mémoire distante (rdma) avec temps de latence réduit
CN113992473A (zh) 一种通信方法、装置及电子设备和存储介质
US9734013B2 (en) System and method for providing operating system independent error control in a computing device
WO2019090493A1 (fr) Procédé et dispositif de récupération de bloc mémoire
US20230325262A1 (en) Message notification method and apparatus
WO2013154540A1 (fr) Transfert d'informations en continu avec temps de latence réduit
JPWO2012081085A1 (ja) 割込み要因管理装置及び割込み処理システム
WO2023124333A1 (fr) Procédé et appareil de rafraîchissement de micrologiciel, module sans fil et support de stockage
CN115756309A (zh) 电池管理设备参数存储方法、电池管理设备、储能系统
US10832132B2 (en) Data transmission method and calculation apparatus for neural network, electronic apparatus, computer-readable storage medium and computer program product
CN113934677A (zh) 数据处理方法、装置、电子设备和存储介质
CN112346660A (zh) 数据存储方法及装置、数据读取方法及装置
WO2021212337A1 (fr) Procédé et appareil d'accès à des données

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22749154

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22749154

Country of ref document: EP

Kind code of ref document: A1