CN115576787A - Debugging information processing method and device, vehicle-mounted digital video recorder and storage medium - Google Patents
Debugging information processing method and device, vehicle-mounted digital video recorder and storage medium Download PDFInfo
- Publication number
- CN115576787A CN115576787A CN202211244897.3A CN202211244897A CN115576787A CN 115576787 A CN115576787 A CN 115576787A CN 202211244897 A CN202211244897 A CN 202211244897A CN 115576787 A CN115576787 A CN 115576787A
- Authority
- CN
- China
- Prior art keywords
- memory
- digital video
- vehicle
- video recorder
- debugging information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0685—Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C7/00—Arrangements for writing information into, or reading information out from, a digital store
- G11C7/16—Storage of analogue signals in digital stores using an arrangement comprising analogue/digital [A/D] converters, digital memories and digital/analogue [D/A] converters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/06—Diagnosis, testing or measuring for television systems or their details for recorders
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Time Recorders, Dirve Recorders, Access Control (AREA)
Abstract
The application provides a debugging information processing method, a debugging information processing device, a vehicle-mounted digital video recorder and a storage medium, wherein the method is applied to the vehicle-mounted digital video recorder and comprises the following steps: acquiring debugging information generated in the running process of the vehicle-mounted digital video recorder; and saving the debugging information in a target memory in the vehicle-mounted digital video recorder, wherein the target memory is a nonvolatile memory. By the mode, debugging information does not need to be immediately derived from the DDR when the vehicle-mounted digital video recorder breaks down, and the debugging information can be obtained from the nonvolatile memory in a remote access or local downloading mode, so that the difficulty in obtaining the debugging information is reduced.
Description
Technical Field
The application relates to the field of vehicle-mounted equipment, in particular to a debugging information processing method and device, a vehicle-mounted digital video recorder and a storage medium.
Background
A vehicle-Mounted Digital Video Recorder (MDVR) is a device that performs Digital-to-analog conversion, compression and storage on videos inside and outside a vehicle by using a Video-audio encoding and decoding technology, and can perform additional functions such as GPS positioning, vehicle-mounted entertainment playing, wireless network transmission, and the like.
In the vehicle driving process, the automobile power supply environment is complex, electromagnetic interference, transient disturbance and the like can greatly affect the stability of the MDVR, when the MDVR breaks down, debugging information (such as log information of equipment and the like) of the MDVR is required to be obtained when the MDVR breaks down, and the debugging information is analyzed to accurately determine the failure reason. Currently, the debugging information of the MDVR is usually stored in a Dynamic Random Access Memory (DRAM) of the MDVR, and the debugging information is lost when the MDVR is powered off. Therefore, when the MDVR is out of order to acquire information to be debugged, in order to prevent the debugging information from being lost, a technician is required to derive the debugging information from the MDVR on the spot or a driver derives the debugging information from the MDVR in real time through some modes, and the technical problems of difficulty in acquiring the debugging information and high requirements on the quality of the driver exist.
Disclosure of Invention
An embodiment of the present application provides a method and an apparatus for processing debug information, a vehicle-mounted digital video recorder, and a storage medium, so as to solve the above technical problem.
In a first aspect, the present application provides a debugging information processing method, which is applied to a vehicle-mounted digital video recorder, and the method includes: acquiring debugging information generated in the running process of the vehicle-mounted digital video recorder; and saving the debugging information in a target memory in the vehicle-mounted digital video recorder, wherein the target memory is a nonvolatile memory.
In the implementation mode, the data stored in the nonvolatile memory does not disappear after the nonvolatile memory is powered off, debugging information does not need to be immediately derived from the DDR when the vehicle-mounted digital video recorder fails, and the debugging information can be debugged from place to place in the nonvolatile memory in a remote access or local downloading mode, so that the difficulty in obtaining the debugging information is reduced. In addition, because the storage space of the DDR is limited, the existing vehicle-mounted digital video recorder may limit the number of pieces of debugging information stored in the DDR, and when the number of pieces of debugging information stored in the DDR reaches a preset limit number, write-over processing is performed on the DDR, delete the historical debugging information, and store the newly generated debugging information in the DDR. According to the embodiment of the application, the debugging information is stored in the nonvolatile memory, so that the historical debugging information stored in the DDR is prevented from being covered, a user can analyze the working process of the vehicle-mounted digital video recorder by inquiring the historical debugging information, the fault reason and the like are determined, and the practicability of the vehicle-mounted digital video recorder is improved.
In an optional embodiment, a plurality of memories are configured in the in-vehicle digital video recorder, and before the debugging information is stored in a memory reserved in the in-vehicle digital video recorder, the method includes: and determining a target memory from the plurality of memories according to a preset priority and the current states of the plurality of memories.
In an optional embodiment, the determining the target storage from the plurality of storages according to the preset priority and the current states of the plurality of storages includes: judging whether the current state of the mechanical hard disk is an available state, if so, taking the mechanical hard disk as the target memory; if the current state of the mechanical hard disk is an unavailable state, judging whether the current state of the SD memory card is an available state, and if so, taking the SD memory card as the target memory; and if the current state of the SD memory card is the unavailable state, judging whether the current state of the flash memory is the available state, and if so, taking the flash memory as the target memory.
In an optional embodiment, the in-vehicle digital video recorder is wirelessly connected with a server, and when a target storage in the in-vehicle digital video recorder fails, the method includes: and sending the debugging information through a wireless network and storing the debugging information in the server.
In an optional embodiment, the in-vehicle digital video recorder is connected to an external storage, and when a target storage in the in-vehicle digital video recorder fails, the method includes: and storing the debugging information in the external memory, wherein the external memory is a nonvolatile memory.
In an optional embodiment, when the vehicle-mounted digital video recorder fails, the method further comprises: and sending the debugging information stored in the target memory to a server or an external memory.
In an optional embodiment, when the in-vehicle digital video recorder fails and the target storage fails, the method further comprises: and sending and storing debugging information generated in the running process of the vehicle-mounted digital video recorder in a server or an external memory.
In a second aspect, the present application provides a debugging information processing apparatus configured in a digital video recorder mounted on a vehicle, the apparatus comprising: the acquisition module is used for acquiring debugging information generated in the running process of the vehicle-mounted digital video recorder; and the storage module is used for storing the debugging information in a target memory in the vehicle-mounted digital video recorder, wherein the target memory is a nonvolatile memory.
In an optional embodiment, the in-vehicle digital video recorder is configured with a plurality of memories, and the apparatus further includes a determining module configured to determine a target memory from the plurality of memories according to a preset priority and a current state of the plurality of memories.
In an optional embodiment, the storage includes a mechanical hard disk, an SD memory card, and a flash memory, and the determining module is specifically configured to determine whether a current state of the mechanical hard disk is an available state, and if so, take the mechanical hard disk as the target storage; if the current state of the mechanical hard disk is the unavailable state, judging whether the current state of the SD memory card is the available state, and if so, taking the SD memory card as the target memory; and if the current state of the SD memory card is the unavailable state, judging whether the current state of the flash memory is the available state, and if so, taking the flash memory as the target memory.
In an optional implementation manner, the vehicle-mounted digital video recorder is wirelessly connected with a server, and when a target memory in the vehicle-mounted digital video recorder fails, the device further includes a sending module for sending the debugging information through a wireless network and storing the debugging information in the server.
In an optional implementation manner, the vehicle-mounted digital video recorder is connected to an external memory, and the apparatus further includes a sending module, configured to store the debugging information in the external memory, where the external memory is a nonvolatile memory.
In an optional implementation manner, when the vehicle-mounted digital video recorder fails, the apparatus further includes a sending module, configured to send the debugging information stored in the target memory to a server or an external memory.
In an optional embodiment, when the vehicle-mounted digital video recorder fails and the target memory fails, the apparatus further includes a sending module, configured to send and store debugging information generated during an operation process of the vehicle-mounted digital video recorder in a server or an external memory.
In a third aspect, the present application provides a vehicle-mounted digital video recorder, comprising: a processor, a memory, and a bus; the processor and the memory are communicated with each other through the bus; the memory stores program instructions executable by the processor, the processor being capable of executing the method of any one of the preceding embodiments when invoked by the processor.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon computer program instructions, which when read and executed by a computer, perform the method according to any one of the preceding embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of an in-vehicle digital video recorder system provided in an embodiment of the present application;
fig. 2 is a flowchart of a debugging information processing method according to an embodiment of the present application;
fig. 3 is a block diagram illustrating a configuration of a debugging information processing apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of a structure of a vehicle-mounted digital video recorder according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a vehicle-mounted digital video recorder system applying a debugging information processing method according to an embodiment of the present application. The in-vehicle digital video recorder system 100 may be mounted on an automobile.
The in-vehicle digital video recorder System 100 is provided with a System On Chip (SOC) 101, a nonvolatile memory, a volatile memory, and a communication interface.
The nonvolatile Memory is a mechanical Hard Disk (Hard Disk Drive, HDD) 102, an SD Memory Card (SD Card) 103, and a Flash Memory (Flash Memory) 104; the volatile memory is DDR105 (Double Data Rate, double Data synchronous dynamic random access memory); the communication interfaces are a USB interface 106 and a LAN/WAN interface 107.
The system-on-chip 101 is used to perform the functions of the in-vehicle digital video recorder system 100, such as: and performing digital-to-analog conversion, compression and the like on the video acquired by the external camera. The mechanical hard disk 102 and the SD memory card 103 are used to store video captured by an external camera, and the flash memory 104 and the DDR105 are used to store and run system programs of the in-vehicle digital video recorder system 100. The USB interface 106 provides an interface for connecting with a USB flash disk, and the LAN/WAN interface 107 provides a communication interface for communicating with an external server to realize the receiving and transmitting of data.
It should be noted that the structure shown in fig. 1 is only an illustration, and the vehicle-mounted digital video recorder system 100 provided in the embodiment of the present application may also have fewer or more components than those in fig. 1, for example: only a mechanical hard disk is set as a nonvolatile memory, and an SD memory card is not set; or only an SD memory card is provided as a nonvolatile memory, and a mechanical hard disk is not provided.
Referring to fig. 2, fig. 2 is a flowchart of a debugging information processing method provided in an embodiment of the present application, where the debugging information processing method is applied to a vehicle-mounted digital video recorder, and the debugging information processing method may include the following steps:
step 101: and acquiring debugging information generated in the running process of the vehicle-mounted digital video recorder.
Step 102: and saving the debugging information in a target memory in the vehicle-mounted digital video recorder, wherein the target memory is a nonvolatile memory.
As shown in fig. 2, during the use of the vehicle, the digital video recorder in the vehicle works normally. In the work engineering, the vehicle-mounted digital video recorder generates debugging information (such as work logs, work parameters and the like), applies for a plurality of block address areas in the DDR, and stores the generated debugging information in real time. With the increase of the working time of the vehicle-mounted digital video recorder, new debugging information can be continuously generated. Since the DDR is a volatile storage medium, the debug information stored in the DDR is lost when the vehicle is powered off while parking. When the vehicle-mounted digital video recorder breaks down, technicians are required to derive debugging information from the DDR on the spot or drivers are required to have the capability of deriving the debugging information from the DDR, and then the debugging information derived from the DDR can be obtained.
In the embodiment of the application, the vehicle-mounted digital video recorder has the function of compressing and storing videos and is provided with a nonvolatile storage medium. Therefore, after the vehicle-mounted digital video recorder generates the debugging information, the SOC acquires the debugging information and saves the debugging information in the nonvolatile memory of the vehicle-mounted digital video recorder. Because the data stored in the nonvolatile memory cannot disappear after the power failure of the nonvolatile memory, the debugging information does not need to be immediately derived from the DDR when the vehicle-mounted digital video recorder breaks down, and the debugging information can be debugged from place to place in the nonvolatile memory in a remote access or local downloading mode, so that the difficulty in obtaining the debugging information is reduced.
In addition, because the storage space of the DDR is limited, the existing vehicle-mounted digital video recorder may limit the number of pieces of debugging information stored in the DDR, and when the number of pieces of debugging information stored in the DDR reaches a preset limit number, write-over processing is performed on the DDR, the historical debugging information is deleted, and the newly generated debugging information is stored in the DDR. According to the embodiment of the application, the debugging information is stored in the nonvolatile memory, so that the historical debugging information stored in the DDR is prevented from being covered, a user can analyze the working process of the vehicle-mounted digital video recorder by inquiring the historical debugging information, the fault reason and the like are determined, and the practicability of the vehicle-mounted digital video recorder is improved.
The above steps are described in detail below.
Step 101: and acquiring debugging information generated in the running process of the vehicle-mounted digital video recorder.
In the embodiment of the application, the SOC in the vehicle-mounted digital video recorder acquires debugging information generated in the running process of the vehicle-mounted digital video recorder in real time. In some embodiments, the SOC in the in-vehicle digital video recorder may directly obtain the debugging information from each working module that generates the debugging information in the in-vehicle digital video recorder. In other embodiments, since the in-vehicle digital video recorder stores the generated debugging information in the DDR, the SOC in the in-vehicle digital video recorder may obtain the debugging information generated by the in-vehicle digital video recorder from the DDR.
Step 102: and saving the debugging information in a target memory in the vehicle-mounted digital video recorder, wherein the target memory is a nonvolatile memory.
In the embodiment of the application, after the debugging information is acquired, the debugging information is stored in a target memory in the vehicle-mounted digital video recorder, and the target memory is a nonvolatile memory.
It should be noted that the target storage may be a mechanical hard disk, an SD memory card, a flash memory, and the like, which is not specifically limited in this embodiment of the present application.
Various memories may be configured in the in-vehicle digital video recorder, and the various memories may include mass storage, such as: mechanical hard disks, solid state disks, and the like; small capacity memory, for example: SD memory cards, TF memory cards, and the like; store program firmware, such as: flash memory, eMMC memory (Embedded Multi Media Card), and the like.
In some embodiments, a mechanical hard disk and an SD memory card may be configured in the in-vehicle digital video recorder at the same time; in other embodiments, the vehicle-mounted digital video recorder can be configured with a mechanical hard disk, an SD memory card and a flash memory at the same time. The embodiment of the present application is not particularly limited to this.
As an optional implementation manner, before the step 102, the debugging information processing method provided in the embodiment of the present application may include the following steps:
and determining the target memory from the various memories according to the preset priority and the current states of the various memories.
In the embodiment of the application, if various memories are configured in the vehicle-mounted digital video recorder, the priority is configured in the vehicle-mounted digital video recorder in advance, and the target memory is determined according to the preset priority and the current states of the various memories.
In some embodiments, the predetermined priority may be determined according to the storage performance of various memories. For example, the multiple memories include a mechanical hard disk, an SD memory card, and a flash memory, where the mechanical hard disk has the best storage performance, the SD memory card has the next best storage performance, and the flash memory has the worst storage performance, and the preset priorities are the mechanical hard disk, the SD memory card, and the flash memory.
In other embodiments, the predetermined priority may be determined according to the storage space of various memories. For example, the multiple memories include a mechanical hard disk, an SD memory card, and a flash memory, and in an application scenario, if the storage space of the mechanical hard disk is the largest, the storage space of the SD memory card is the next to the storage space of the SD memory card, and the storage space of the flash memory is the smallest, the preset priorities are the mechanical hard disk, the SD memory card, and the flash memory. In another application scenario, the storage space of the SD memory card is the largest, the storage space of the mechanical hard disk is the second largest, and the storage space of the flash memory is the smallest, and then the preset priorities are the SD memory card, the mechanical hard disk, and the flash memory.
Further, the preset priority may be understood as a default priority in the MDVR, and in practical applications, the user may also adjust the priority by himself through a UI interface provided by the MDVR.
Further, the current state of the various memories may also need to be considered in determining the target memory. The current state of the memory is divided into an available state and an unavailable state. The available state indicates that the memory is currently capable of storing debug information, and the unavailable state indicates that the memory is not currently capable of storing debug information. The case where the memory is in the unavailable state may be: the in-vehicle digital video recorder does not configure such memory, fails such memory, does not format such memory into a form that can be used to store debugging information, and so forth. Wherein, because MDVR equipment is as on-vehicle supervisory equipment, has higher requirement of keeping secret. Usually, MDVRs of different manufacturers are configured with respective self-developed file systems, and files stored in the memory can only be read by using the corresponding file systems. If the memory is simply connected to the PC, the PC cannot recognize the memory. Therefore, if the memory is not subjected to the corresponding formatting process, the memory cannot be used for storing the debug information.
And if the current state of the memory with the highest priority is the unavailable state, the current state of the memory with the next highest priority is the available state, and in order to ensure normal storage of the debugging information, the memory with the next highest priority is used as the target memory.
As an optional implementation manner, taking three types of memories, namely a mechanical hard disk, an SD memory card and a flash memory, configured in the vehicle-mounted digital video recorder as an example, the determining of the target memory from the multiple memories according to the preset priority and the current states of the multiple memories may include the following:
judging whether the current state of the mechanical hard disk is an available state or not, and if so, taking the mechanical hard disk as the target memory;
if the current state of the mechanical hard disk is the unavailable state, judging whether the current state of the SD memory card is the available state, and if so, taking the SD memory card as the target memory;
and if the current state of the SD memory card is the unavailable state, judging whether the current state of the flash memory is the available state, and if so, taking the flash memory as the target memory.
In the embodiment of the present application, the preset priorities are a mechanical hard disk, an SD memory card, and a flash memory. Firstly, judging whether the current state of the mechanical hard disk is an available state, and if the current state of the mechanical hard disk is the available state, taking the mechanical hard disk as a target memory; and if the current state of the mechanical hard disk is the unavailable state, judging whether the current state of the SD memory card is the available state. If the current state of the SD memory card is the available state, taking the SD memory card as a target memory; and if the current state of the SD memory card is the unavailable state, judging whether the current state of the flash memory is the available state. And if the current state of the flash memory is an available state, taking the flash memory as a target memory.
Further, as an optional implementation manner, the vehicle-mounted digital video recorder is wirelessly connected to the server, and when a target memory in the vehicle-mounted digital video recorder fails, the debugging information processing method provided in the embodiment of the present application may include the following contents:
and sending the debugging information through a wireless network and storing the debugging information in a server.
In the embodiment of the application, the vehicle-mounted digital video recorder is provided with a wireless communication module (such as a LAN/WAN interface 107) and is in wireless connection with the server. If a target memory configured in the vehicle-mounted digital video recorder breaks down, the debugging information is sent through a wireless network and stored in a server, and a user can acquire the debugging information generated in the vehicle-mounted digital video recorder in a mode of accessing the server, so that the debugging information generated in the vehicle-mounted digital video recorder is prevented from being lost.
Further, as an optional implementation manner, the vehicle-mounted digital video recorder is connected to the external memory, and when a target memory in the vehicle-mounted digital video recorder fails, the debugging information processing method provided in the embodiment of the present application may include the following steps:
and storing the debugging information in an external memory, wherein the external memory is a nonvolatile memory.
In the embodiment of the present application, the in-vehicle digital video recorder is configured with an external memory interface, for example, the external memory interface may be a USB interface 106 or an SD card interface. Correspondingly, the external memory is a U disk or an SD card and the like.
If the target memory configured in the vehicle-mounted digital video recorder breaks down, the external memory is inserted into the external memory interface, and the debugging information is stored in the external memory, so that the debugging information generated in the vehicle-mounted digital video recorder is prevented from being lost.
Further, as an optional implementation manner, when the vehicle-mounted digital video recorder fails, the debugging information processing method provided in the embodiment of the present application further includes:
and sending the debugging information stored in the target memory to a server or an external memory.
In the embodiment of the application, the vehicle-mounted digital video recorder stores the debugging information in the target memory by adopting the manner of the steps 101-102. When the vehicle-mounted digital video recorder breaks down, if the vehicle-mounted digital video recorder is provided with the wireless communication module, the debugging information stored in the target memory is sent to the server, so that a worker can analyze the failure reason of the vehicle-mounted digital video recorder. If the vehicle-mounted digital video recorder is provided with an external memory interface, the debugging information stored in the target memory is stored in the inserted external memory, so that a worker can access the external memory through equipment such as a computer and the like to obtain the debugging information in the external memory, and further analyze the fault reason of the vehicle-mounted digital video recorder.
Further, as an optional implementation manner, when the vehicle-mounted digital video recorder fails and the target memory fails, the debugging information processing method provided in the embodiment of the present application further includes:
and sending and storing debugging information generated in the running process of the vehicle-mounted digital video recorder in a server or an external memory.
In the embodiment of the application, when the vehicle-mounted digital video recorder fails and the target memory fails, in order to avoid loss of debugging information generated in the vehicle-mounted digital video recorder and analysis of failure reasons of the vehicle-mounted digital video recorder, the vehicle-mounted digital video recorder sends the debugging information generated in the running process and stores the debugging information in the server or the external memory.
Further, as an optional implementation manner, the vehicle-mounted digital video recorder is provided with a wired internet access, and is connected with a router on the vehicle through the wired internet access. The user can also select to transmit debugging information generated in the running process of the vehicle-mounted digital video recorder to the router in a wired mode through the wired internet access, and then the router transmits the debugging information to the server in a wireless connection mode for storage and subsequent analysis.
Based on the same inventive concept, the embodiment of the application also provides a debugging information processing device. Referring to fig. 3, fig. 3 is a block diagram illustrating a debugging information processing apparatus according to an embodiment of the present disclosure, where the debugging information processing apparatus is configured in a digital video recorder, and the debugging information processing apparatus 300 may include:
an obtaining module 301, configured to obtain debugging information generated in an operation process of the vehicle-mounted digital video recorder;
a saving module 302, configured to save the debugging information in a target memory in the vehicle-mounted digital video recorder, where the target memory is a nonvolatile memory.
In an optional embodiment, the in-vehicle digital video recorder is configured with a plurality of memories, and the apparatus further includes a determining module configured to determine a target memory from the plurality of memories according to a preset priority and a current state of the plurality of memories.
In an optional embodiment, the storage includes a mechanical hard disk, an SD memory card, and a flash memory, and the determining module is specifically configured to determine whether a current state of the mechanical hard disk is an available state, and if so, take the mechanical hard disk as the target storage; if the current state of the mechanical hard disk is an unavailable state, judging whether the current state of the SD memory card is an available state, and if so, taking the SD memory card as the target memory; and if the current state of the SD memory card is the unavailable state, judging whether the current state of the flash memory is the available state, and if so, taking the flash memory as the target memory.
In an optional implementation manner, the vehicle-mounted digital video recorder is wirelessly connected with a server, and when a target memory in the vehicle-mounted digital video recorder fails, the device further includes a sending module for sending the debugging information through a wireless network and storing the debugging information in the server.
In an optional implementation manner, the vehicle-mounted digital video recorder is connected to an external memory, and the apparatus further includes a sending module, configured to store the debugging information in the external memory, where the external memory is a nonvolatile memory.
In an optional implementation manner, when the vehicle-mounted digital video recorder fails, the apparatus further includes a sending module, configured to send the debugging information stored in the target memory to a server or an external memory.
In an optional embodiment, when the vehicle-mounted digital video recorder fails and the target memory fails, the apparatus further includes a sending module, configured to send and store debugging information generated during an operation process of the vehicle-mounted digital video recorder in a server or an external memory.
It should be noted that, as can be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the debugging information processing apparatus described above may refer to the corresponding process in the foregoing debugging information processing method embodiment, and details are not described herein again.
In addition, please refer to fig. 4, fig. 4 is a block diagram of a structure of the vehicle-mounted digital video recorder according to the embodiment of the present application.
The in-vehicle digital video recorder 400 includes: at least one processor 401, at least one communication interface 402, at least one memory 403, and at least one bus 404. Wherein the bus 404 is used for implementing direct connection communication of these components, the communication interface 402 is used for communicating signaling or data with other node devices, and the memory 403 stores machine-readable instructions executable by the processor 401. When the in-vehicle digital video recorder 400 is in operation, the processor 401 communicates with the memory 403 via the bus 404, and the machine-readable instructions, when called by the processor 401, perform the debugging information processing method as described above.
The processor 401 may be an integrated circuit chip having signal processing capabilities. The Processor 401 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. Which may implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory 403 may include, but is not limited to, random Access Memory (RAM), read Only Memory (ROM), programmable Read Only Memory (PROM), erasable Read Only Memory (EPROM), electrically Erasable Read Only Memory (EEPROM), and the like.
It will be appreciated that the configuration shown in fig. 4 is merely illustrative, and that the in-vehicle digital video recorder 400 may include more or fewer components than shown in fig. 4, or may have a different configuration than shown in fig. 4. The components shown in fig. 4 may be implemented in hardware, software, or a combination thereof.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a computer, the method for processing debug information in the foregoing embodiments is executed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described apparatus embodiments are merely illustrative, and for example, the division of the units into only one type of logical function may be implemented in other ways, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
It should be noted that, if the functions are implemented in the form of software functional modules and sold or used as independent products, the functions may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A debugging information processing method is characterized by being applied to a vehicle-mounted digital video recorder, and the method comprises the following steps:
acquiring debugging information generated in the running process of the vehicle-mounted digital video recorder;
and saving the debugging information in a target memory in the vehicle-mounted digital video recorder, wherein the target memory is a nonvolatile memory.
2. The method of claim 1, wherein a plurality of memories are configured in the in-vehicle digital video recorder, and wherein before the saving of the debugging information in the memory reserved in the in-vehicle digital video recorder, the method comprises:
and determining a target memory from the plurality of memories according to a preset priority and the current states of the plurality of memories.
3. The method of claim 2, wherein the plurality of storages includes a mechanical hard disk, an SD memory card, and a flash memory, and the determining a target storage from the plurality of storages according to the preset priority and the current status of the plurality of storages includes:
judging whether the current state of the mechanical hard disk is an available state or not, and if so, taking the mechanical hard disk as the target memory;
if the current state of the mechanical hard disk is an unavailable state, judging whether the current state of the SD memory card is an available state, and if so, taking the SD memory card as the target memory;
and if the current state of the SD memory card is the unavailable state, judging whether the current state of the flash memory is the available state, and if so, taking the flash memory as the target memory.
4. The method of claim 1, wherein the in-vehicle digital video recorder is wirelessly connected to a server, and wherein when a target storage device in the in-vehicle digital video recorder fails, the method comprises:
and sending the debugging information through a wireless network and storing the debugging information in the server.
5. The method of claim 1, wherein the in-vehicle digital video recorder is connected to an external memory, and when a target memory in the in-vehicle digital video recorder fails, the method comprises:
and storing the debugging information in the external memory, wherein the external memory is a nonvolatile memory.
6. The method of claim 1, wherein when the in-vehicle digital video recorder fails, the method further comprises:
and sending the debugging information stored in the target memory to a server or an external memory.
7. The method of claim 1, wherein when the in-vehicle digital video recorder fails and the target memory fails, the method further comprises:
and sending and storing debugging information generated in the running process of the vehicle-mounted digital video recorder in a server or an external memory.
8. A debugging information processing apparatus, provided in a digital video recorder mounted on a vehicle, comprising:
the acquisition module is used for acquiring debugging information generated in the running process of the vehicle-mounted digital video recorder;
and the storage module is used for storing the debugging information in a target memory in the vehicle-mounted digital video recorder, wherein the target memory is a nonvolatile memory.
9. An in-vehicle digital video recorder, comprising: a processor, memory, and a bus; the processor and the memory are communicated with each other through the bus; the memory stores program instructions executable by the processor, the program instructions being invoked by the processor to perform the method of any of claims 1 to 7.
10. A computer-readable storage medium having computer program instructions stored thereon which, when read and executed by a computer, perform the method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211244897.3A CN115576787A (en) | 2022-10-12 | 2022-10-12 | Debugging information processing method and device, vehicle-mounted digital video recorder and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211244897.3A CN115576787A (en) | 2022-10-12 | 2022-10-12 | Debugging information processing method and device, vehicle-mounted digital video recorder and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115576787A true CN115576787A (en) | 2023-01-06 |
Family
ID=84584480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211244897.3A Pending CN115576787A (en) | 2022-10-12 | 2022-10-12 | Debugging information processing method and device, vehicle-mounted digital video recorder and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115576787A (en) |
-
2022
- 2022-10-12 CN CN202211244897.3A patent/CN115576787A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114168401B (en) | Log recording method and device and electronic equipment | |
US10055377B2 (en) | Using a proprietary framework on a standards-based embedded device | |
CN113468009B (en) | Pressure testing method and device, electronic equipment and storage medium | |
CN112953753B (en) | Data acquisition method and device, terminal equipment and storage medium | |
CN114237498B (en) | Snapshot generation method and system for cloud primary storage data volume | |
US20210036971A1 (en) | Electronic control unit, abnormality determination program, and abnormality determination method | |
EP2770768A2 (en) | Method and system for replacing an se key of a mobile terminal | |
CN114461415A (en) | Message data processing method and device, computer equipment and storage medium | |
US20180032421A1 (en) | Method and system for debugging automotive applications in an electronic control unit of an automobile | |
CN115314416B (en) | Network card state automatic detection method and device, electronic equipment and storage medium | |
US20130254588A1 (en) | Standby system device, a control method, and a program thereof | |
CN112214366A (en) | Test method, device, system, equipment and medium | |
CN113409488A (en) | Data processing method and device, vehicle-mounted terminal and automobile | |
CN113791792B (en) | Method, device and storage medium for acquiring application call information | |
CN115576787A (en) | Debugging information processing method and device, vehicle-mounted digital video recorder and storage medium | |
CN111210863B (en) | Method, device and equipment for testing embedded memory and computer storage medium | |
US11314670B2 (en) | Method, apparatus, and device for transmitting file based on BMC, and medium | |
US11431782B2 (en) | Method, apparatus, and device for transmitting file based on BMC, and medium | |
CN111522571A (en) | Equipment upgrading method and device, terminal equipment and storage medium | |
CN111414299B (en) | SSD (solid State disk) extension information acquisition method and device based on hdchart | |
CN116244255A (en) | RSMC chip, chip multi-stage starting method and Beidou communication navigation device | |
US11256635B2 (en) | Optical module link negotiation information obtaining method, device, and system | |
CN113918423A (en) | Cloud platform monitoring method and device and application thereof | |
CN111641987B (en) | Method for processing based on service, terminal equipment, network equipment and computer storage medium | |
CN111984484A (en) | Non-invasive micro-service access method and system |
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 |