Emergency data recording and testing method and device, electronic equipment and storage medium
By sending a record trigger signal to the intelligent driving domain controller and testing the success of data upload, the problem of ineffective testing of data uploading in the prior art is solved, and the successful recording and upload of emergency data is achieved.
Patent Information
- Application Number
- CN202411462127.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-02-28
AI Technical Summary
The prior art cannot effectively test the effectiveness of data uploads in data recording systems, resulting in the inability to ensure the correct recording and upload of emergency data.
By sending a record trigger signal to the intelligent driving domain controller, it is judged whether there is recorded data in the file packet corresponding to the trigger source in the storage unit, and the upper computer is controlled to send diagnostic instructions to test whether the intelligent driving domain controller successfully uploads the most recent recorded data.
Testing the effectiveness of data upload of data recording system is realized to ensure the successful recording and upload of emergency data, and solving the problem that cannot be effectively tested in the prior art.
Smart Images

Figure CN119541077A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to intelligent information processing technology, and more particularly to a method, device, electronic device, and storage medium for recording and testing emergency data. Background Art
[0002] As the number of vehicles continues to increase, vehicle accidents also increase. The causes of accidents vary. In many cases, it is necessary to conduct accident analysis through the forward target information recorded by the vehicle's own camera.
[0003] In the prior art, the entire data recording system is very complex and it is impossible to effectively test the validity of data uploaded by the data recording system. Summary of the invention
[0004] The present application provides a method, device, electronic device and storage medium for testing the recording of emergency data to test the validity of data uploading of a data recording system.
[0005] In a first aspect, an embodiment of the present application provides a method for recording and testing emergency data, the method for recording and testing emergency data comprising:
[0006] Sending a recording trigger signal to the intelligent driving domain controller; the trigger sources of the recording trigger signal include a collision trigger source, a brake trigger source, and a brake warning trigger source;
[0007] Determine whether there is recorded data in the file package corresponding to the trigger source in the storage unit;
[0008] If so, the host computer is controlled to send a diagnostic command and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded.
[0009] In a second aspect, an embodiment of the present application further provides a recording and testing device for emergency data, the recording and testing device for emergency data comprising:
[0010] A recording trigger signal sending module is used to send a recording trigger signal to the intelligent driving domain controller; the trigger source of the recording trigger signal includes a collision trigger source, a brake trigger source and a brake warning trigger source;
[0011] A record data judgment module, used to judge whether there is record data in the file package corresponding to the trigger source in the storage unit;
[0012] The upload test module is used to control the host computer to send a diagnostic instruction and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device, the electronic device comprising:
[0014] one or more processors;
[0015] A storage device for storing one or more programs;
[0016] When one or more programs are executed by one or more processors, the one or more processors implement any one of the emergency data recording and testing methods provided in the embodiments of the present application.
[0017] In a fourth aspect, an embodiment of the present application further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute any one of the emergency data recording test methods provided in the embodiments of the present application.
[0018] This application sends a recording trigger signal to the intelligent driving domain controller; the trigger sources of the recording trigger signal include collision trigger source, brake trigger source and brake warning trigger source; trigger tests are performed on multiple trigger sources to ensure the comprehensiveness of the test; it is determined whether there is recorded data in the file package corresponding to the trigger source in the storage unit; if so, the host computer is controlled to send a diagnostic instruction, and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded, so as to implement the upload validity test of the recorded data. Therefore, through the technical solution of this application, the problem of being unable to effectively test the validity of data upload of the data recording system is solved, and the effect of testing the validity of data upload of the data recording system is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flow chart of a recording test method of emergency data in Embodiment 1 of the present application;
[0020] Figure 2 It is a flow chart of a recording test method of emergency data in Embodiment 2 of the present application;
[0021] Figure 3 It is a structural schematic diagram of an emergency data recording and testing device in Embodiment 3 of the present application;
[0022] Figure 4 It is a structural diagram of an electronic device in Embodiment 4 of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first" and "second" etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] Embodiment 1
[0026] Figure 1 This is a flowchart of an emergency data recording test method provided in Example 1 of the present application. This embodiment can be applicable to the situation of testing the data recording of an emergency data recording system. The method can be executed by an emergency data recording test device, which can be implemented in software and / or hardware and specifically configured in a vehicle data recording system.
[0027] See also Figure 1 The recording test method of emergency data shown in the figure specifically comprises the following steps:
[0028] S110. Sending a recording trigger signal to the intelligent driving domain controller; the trigger source of the recording trigger signal includes a collision trigger source, a braking trigger source, and a braking warning trigger source.
[0029] The test method requires the use of a host computer test machine and an intelligent driving domain controller. The trigger sources for recording trigger signals include collision trigger sources, brake trigger sources, and brake warning trigger sources.
[0030] Send a recording trigger signal to the intelligent driving domain controller to test whether the trigger source can trigger the emergency data recording system to upload the emergency data corresponding to the trigger source to the cloud. For example, when testing whether the collision trigger source can normally trigger the upload of recorded images, the intelligent driving domain controller will receive the vehicle's collision signal CRASHINFO; when testing whether the brake trigger source can normally trigger the upload of recorded images, the intelligent driving domain controller will receive the vehicle's collision signal AEB; when testing whether the brake warning trigger source can normally trigger the upload of recorded images, the intelligent driving domain controller will receive the vehicle's collision signal AWB.
[0031] S120, determining whether there is recorded data in the file package corresponding to the trigger source in the storage unit.
[0032] When the signal of the trigger source is set to 1, it is detected whether there is recorded data in the file package corresponding to the trigger source in the image storage module. Specifically, when the trigger source is a collision trigger source, when the CRASHINFO signal is set to 1, it is detected whether there is an EDR_CRASH (professional term, a file package name) file package in the image storage module, and whether the file package contains 3 pictures, which are T0-1, T0, and T0+1 respectively. If so, it means that the test has passed. Specifically, when the trigger source is a brake trigger source, when the AEB signal is set to 1, it is detected whether there is an EDR_AEB (professional term, a file package name) file package in the image storage module, and whether the file package contains 3 pictures. If so, it means that the test has passed. Specifically, when the trigger source is a brake warning trigger source, when the AWB signal is set to 1, it is detected whether there is an EDR_AWB (professional term, a file package name) file package in the image storage module, and whether the file package contains 3 pictures. If so, it means that the test has passed.
[0033] S130: If yes, control the host computer to send a diagnostic command and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded.
[0034] If yes, that is, there is recorded data in the file package corresponding to the trigger source in the storage unit, and the validity of the upload needs to be judged at this time. Control the host computer to send a diagnostic command. If the trigger source is triggered only once, test whether the host computer receives the recorded data. If so, the upload is determined to be successful. When the trigger source is triggered multiple times, test whether the host computer receives the most recent recorded data. If it is the most recent, the upload is determined to be successful.
[0035] The technical solution of this embodiment sends a recording trigger signal to the intelligent driving domain controller; the trigger source of the recording trigger signal includes a collision trigger source, a brake trigger source, and a brake warning trigger source; a trigger test is performed on multiple trigger sources to ensure the comprehensiveness of the test; it is determined whether there is recorded data in the file package corresponding to the trigger source in the storage unit; if so, the host computer is controlled to send a diagnostic instruction, and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded, so as to achieve a test of the upload validity of the recorded data. Therefore, the technical solution of this application solves the problem of being unable to effectively test the validity of data upload of the data recording system, and achieves the effect of testing the validity of data upload of the data recording system.
[0036] Embodiment 2
[0037] Figure 2 This is a flow chart of a recording test method for emergency data provided in Example 2 of the present application. The technical solution of this embodiment is further refined on the basis of the above technical solution.
[0038] Furthermore, "control the host computer to send diagnostic instructions and test whether the intelligent driving domain controller has successfully uploaded the most recent recorded data" is refined to: "control the host computer to send diagnostic instructions; determine whether the host computer has received the latest image in the file package corresponding to the trigger source uploaded by the intelligent driving domain controller" to determine whether the most recent recorded data has been received.
[0039] See also Figure 2 A recording test method for emergency data shown includes:
[0040] S210. Send a recording trigger signal to the intelligent driving domain controller; the trigger source of the recording trigger signal includes a collision trigger source, a braking trigger source, and a braking warning trigger source.
[0041] S220, determining whether there is recorded data in the file package corresponding to the trigger source in the storage unit.
[0042] S230: If yes, control the host computer to send a diagnostic instruction.
[0043] When diagnosing the recorded data, the host computer needs to obtain the recorded data. Therefore, the simulation analysis process is used to control the host computer to send image diagnosis instructions to determine whether the intelligent driving domain controller has successfully uploaded the recorded data.
[0044] S240: Determine whether the host computer has received the latest image in the file package corresponding to the trigger source uploaded by the intelligent driving domain controller.
[0045] Specifically, for the collision trigger source, the host computer simulates multiple collision information, that is, after CRASHINFO is set to 1 multiple times, the host computer sends a diagnostic instruction to check whether the intelligent driving domain controller uploads the most recent recorded image. If so, the test passes. Specifically, for the brake trigger source, the host computer simulates multiple collision information, that is, after AEB is set to 1 multiple times, the host computer sends a diagnostic instruction to check whether the intelligent driving domain controller uploads the most recent recorded image. If so, the test passes. Specifically, for the brake warning trigger source, the host computer simulates multiple collision information, that is, after AWB is set to 1 multiple times, the host computer sends a diagnostic instruction to check whether the intelligent driving domain controller uploads the most recent recorded image. If so, the test passes.
[0046] In an optional embodiment, the method further includes: sending a record trigger signal to the intelligent driving domain controller in different ignition cycles, and determining whether there is a most recent data record in the file package corresponding to the trigger source in the storage unit.
[0047] Send trigger signals to the intelligent driving domain controller in different ignition cycles, read the pictures in the picture storage area, and determine whether the read pictures are the latest recorded data to ensure the real-time nature of the recorded data.
[0048] In an optional embodiment, the method further includes: powering off the intelligent driving domain controller, and after powering on, determining whether there is a most recent data record in the file package corresponding to the trigger source in the storage unit.
[0049] Power off the intelligent driving domain controller, and then power it on again to read the pictures in the picture storage area to determine whether the read pictures are the latest stored pictures. This ensures that the recorded data will not be lost after power off.
[0050] In an optional embodiment, the method also includes: sending recording trigger signals of two trigger sources to the intelligent driving domain controller, and determining whether the trigger source corresponding to the data record in the file package in the storage unit meets the trigger source priority condition.
[0051] According to the urgency of the trigger source, the priority of the trigger source is from large to small: collision trigger source, brake trigger source and brake warning trigger source.
[0052] Specifically, the host computer sends CRASHINF and AEB to the intelligent driving domain controller at the same time, and sets them to 1 at the same time, and reads whether the recorded data in the image storage module contains only the EDR_CRASH file package. If so, it meets the trigger source priority condition, otherwise it does not meet the trigger source priority condition; the host computer sends CRASHINFO and AWB to the intelligent driving domain controller at the same time, and sets them to 1 at the same time, and reads whether the recorded data in the image storage module contains only the EDR_CRASH file package. If so, it meets the trigger source priority condition, otherwise it does not meet the trigger source priority condition; the host computer sends AEB and AWB to the intelligent driving domain controller at the same time, and sets them to 1 at the same time, and reads whether the recorded data in the image storage module contains only the AEB_CRASH file package. If so, it meets the trigger source priority condition, otherwise it does not meet the trigger source priority condition.
[0053] By sending recording trigger signals of two trigger sources to the intelligent driving domain controller, it is determined whether the trigger source corresponding to the data record in the file package in the storage unit meets the trigger source priority condition, and whether the recorded data with high priority is recorded first to ensure the priority of the trigger source.
[0054] Optionally, a non-trigger test can also be performed. The host computer sends a trigger source signal to the intelligent driving domain controller and sets it to 0, indicating that there is no trigger source. At this time, the host computer sends a read image instruction to the intelligent driving domain controller, and the intelligent driving domain controller feeds back a default value to the host computer, indicating that there is no image and the non-trigger test passes. The non-trigger test can test whether the recorded data is uploaded by mistake. If the recorded data is uploaded by mistake, it will occupy storage space. Therefore, a non-trigger test is performed. When a non-trigger upload occurs, timely diagnosis is performed to reduce the invalid occupation of storage space.
[0055] In an optional embodiment, after determining whether there is recorded data in the file package corresponding to the trigger source in the storage unit, it also includes: determining whether the recorded data has completed data desensitization.
[0056] After determining that there is recorded data in the file package corresponding to the trigger source, determine whether the recorded data has completed data desensitization, detect the privacy of the data, prevent user information leakage, and protect the privacy of user information.
[0057] The technical solution of this embodiment controls the host computer to send diagnostic instructions; determines whether the host computer has received the latest picture in the file package corresponding to the trigger source uploaded by the intelligent driving domain controller, simulates the process of obtaining recorded pictures when performing accident analysis by recording data, and ensures that the latest data can be obtained when multiple collisions occur, thereby ensuring the real-time nature of the data.
[0058] Embodiment 3
[0059] Figure 3The figure shows a schematic diagram of the structure of an emergency data recording test device provided in the third embodiment of the present application. This embodiment can be applied to the case of testing the data recording of the emergency data recording system. The specific structure of the emergency data recording test device is as follows:
[0060] The recording trigger signal sending module 310 is used to send a recording trigger signal to the intelligent driving domain controller; the trigger source of the recording trigger signal includes a collision trigger source, a braking trigger source and a braking warning trigger source;
[0061] The record data determination module 320 is used to determine whether there is record data in the file package corresponding to the trigger source in the storage unit;
[0062] The upload test module 330 is used to control the host computer to send a diagnostic instruction and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded.
[0063] The technical solution of this embodiment sends a recording trigger signal to the intelligent driving domain controller; the trigger source of the recording trigger signal includes a collision trigger source, a brake trigger source, and a brake warning trigger source; a trigger test is performed on multiple trigger sources to ensure the comprehensiveness of the test; it is determined whether there is recorded data in the file package corresponding to the trigger source in the storage unit; if so, the host computer is controlled to send a diagnostic instruction, and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded, so as to achieve a test of the upload validity of the recorded data. Therefore, the technical solution of this application solves the problem of being unable to effectively test the validity of data upload of the data recording system, and achieves the effect of testing the validity of data upload of the data recording system.
[0064] Optionally, the upload test module 330 includes:
[0065] A diagnostic instruction sending unit, used to control the host computer to send diagnostic instructions;
[0066] The upload test unit is used to determine whether the host computer has received the latest image in the file package corresponding to the trigger source uploaded by the intelligent driving domain controller.
[0067] Optionally, the device further comprises:
[0068] The multi-ignition cycle test module is used to send a record trigger signal to the intelligent driving domain controller in different ignition cycles to determine whether the most recent data record exists in the file package corresponding to the trigger source in the storage unit.
[0069] Optionally, the device further comprises:
[0070] The power-off test module is used to power off the intelligent driving domain controller and determine whether the most recent data record exists in the file package corresponding to the trigger source in the storage unit after power-on.
[0071] Optionally, the device and the method further include:
[0072] The priority test module is used to send recording trigger signals of two trigger sources to the intelligent driving domain controller to determine whether the trigger source corresponding to the data record in the file package in the storage unit meets the trigger source priority condition.
[0073] Optionally, the device further comprises:
[0074] The data desensitization test module is used to determine whether the recorded data has completed data desensitization.
[0075] The recording and testing device for emergency data provided in the embodiments of the present application can execute the recording and testing method for emergency data provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing the recording and testing method for emergency data.
[0076] Embodiment 4
[0077] Figure 4 A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present application is shown in FIG. Figure 4 As shown, the electronic device includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processor 410 in the electronic device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, the memory 420, the input device 430 and the output device 440 in the electronic device can be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.
[0078] The memory 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the recording test method for emergency data in the embodiment of the present application (for example, the recording trigger signal sending module 310, the recording data judgment module 320 and the upload test module 330). The processor 410 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 420, that is, realizes the above-mentioned recording test method for emergency data.
[0079] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0080] The input device 430 may be used to receive input character information and generate key signal input related to user settings and function control of the electronic device. The output device 440 may include a display device such as a display screen.
[0081] According to an embodiment of the present invention, the present invention also provides an electronic device, a readable storage medium and a computer program product.
[0082] Embodiment 5
[0083] Embodiment 5 of the present application also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to execute a recording test method for emergency data, the method comprising: sending a recording trigger signal to an intelligent driving domain controller; the trigger source of the recording trigger signal comprises a collision trigger source, a braking trigger source, and a braking warning trigger source; determining whether there is recorded data in the file package corresponding to the trigger source in the storage unit; if so, controlling the host computer to send a diagnostic instruction, and testing whether the intelligent driving domain controller has successfully uploaded the most recent recorded data to determine whether the emergency data is successfully recorded.
[0084] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application is not limited to the method operations described above, and the computer executable instructions can also execute related operations in the emergency data recording test method provided in any embodiment of the present application.
[0085] Through the above description of the implementation method, the technicians in the relevant field can clearly understand that the present application can be implemented with the help of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application can be essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for an electronic device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0086] It is worth noting that in the embodiment of the above-mentioned emergency data recording and testing device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.
[0087] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the appended claims.
Claims
1. A recording test method for emergency data, characterized in that: include: Send a recording trigger signal to the intelligent driving domain controller; The trigger sources of the recording trigger signal include a collision trigger source, a brake trigger source and a brake warning trigger source; Determine whether there is recorded data in the file package corresponding to the trigger source in the storage unit; If so, the host computer is controlled to send a diagnostic command and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded.
2. The method according to claim 1, characterized in that The control host computer sends a diagnostic command and tests whether the intelligent driving domain controller successfully uploads the most recent recorded data, including: Controlling the host computer to send a diagnostic instruction; Determine whether the host computer has received the latest image in the file package corresponding to the trigger source uploaded by the intelligent driving domain controller.
3. The method according to claim 1, characterized in that The method further comprises: A recording trigger signal is sent to the intelligent driving domain controller at different ignition cycles to determine whether there is the most recent data record in the file package corresponding to the trigger source in the storage unit.
4. The method according to claim 1, characterized in that: The method further comprises: The intelligent driving domain controller is powered off, and after powering on, it is determined whether there is a most recent data record in the file package corresponding to the trigger source in the storage unit.
5. The method according to claim 1, characterized in that: The method further comprises: Send recording trigger signals of two trigger sources to the intelligent driving domain controller to determine whether the trigger source corresponding to the data record in the file package in the storage unit meets the trigger source priority condition.
6. The method according to claim 1, characterized in that After determining whether there is recorded data in the file package corresponding to the trigger source in the storage unit, the method further includes: Determine whether the recorded data has completed data desensitization.
7. A recording and testing device for emergency data, characterized in that: include: A recording trigger signal sending module, used to send a recording trigger signal to the intelligent driving domain controller; The trigger sources of the recording trigger signal include a collision trigger source, a brake trigger source and a brake warning trigger source; A record data judgment module, used to judge whether there is record data in the file package corresponding to the trigger source in the storage unit; The upload test module is used to control the host computer to send a diagnostic instruction and test whether the intelligent driving domain controller successfully uploads the most recent recorded data to determine whether the emergency data is successfully recorded.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the emergency data recording test method as described in any one of claims 1-6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the emergency data recording test method as described in any one of claims 1 to 6 is implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the recording test method for emergency data according to any one of claims 1 to 6.