Test data acquisition method and system
Through the multi-view video signal acquisition and gated cycle unit network, the advanced driving assistance system test data acquisition video and bus data synchronization problem is solved, the accuracy and efficiency of data analysis are improved, and the comprehensiveness and real-time feedback of the test are achieved.
Patent Information
- Application Number
- CN202411146282.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-08
AI Technical Summary
In the prior art, the test data acquisition method of advanced driving assistance systems usually collects single-channel camera images, resulting in the lack of the observation angle required for the evaluation of specific functions in the later evaluation, which affects the comprehensiveness and accuracy of the test, and the video data and bus data are not Synchronization makes it difficult to accurately correlate video scenes with vehicle status information, and the amount of data is huge and the analysis efficiency is low.
Multi-view video signal acquisition is adopted, video image frame update is judged through video frame sequence number, bus timestamp is printed on video image frame, synchronized video data is formed, and automated recording and sorting is performed, and multi-layer gated loop unit network judgment is used. Function trigger, light up the indicator and record the function trigger information.
It improves the accuracy and efficiency of data analysis, ensures that the video data corresponds to the bus data frame by frame, realizes automatic recording and sorting, and improves the comprehensiveness of the test and real-time feedback capabilities.
Smart Images

Figure CN118921439A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle function testing, and in particular to a test data acquisition method and system. Background Art
[0002] With the rapid development of modern society and technology, as well as people's increasing requirements for automobile driving safety, Advanced Driver Assistance Systems (ADAS) have become standard for commercial vehicles. ADAS is a technology system installed on vehicles that aims to improve driving safety and convenience by providing automated and enhanced driver assistance functions. The system uses a variety of sensors, cameras, radars, lidars and other devices to collect information about the vehicle and its surroundings, and then analyzes this data through complex algorithms and computer processing technology to assist drivers in achieving a safer and more efficient driving experience.
[0003] In order to ensure the effectiveness of the advanced driver assistance system, multiple long-mileage road tests need to be conducted on vehicles equipped with the product during the product development process. In order to improve R&D efficiency and reduce R&D costs, during the vehicle road test, it is necessary to record and analyze the vehicle and system data. The existing technologies often use video, millimeter-wave radar target data, camera perception target data, vehicle bus, etc., and the collected data can be used to simulate vehicle road tests in the laboratory.
[0004] Existing test data collection methods often collect images from a single camera, resulting in a lack of observation perspective suitable for specific functional evaluation in later evaluations, affecting the comprehensiveness and accuracy of the test. The collected video data cannot correspond frame by frame to the bus data containing sensor perception information and vehicle body data. Data asynchrony makes it difficult to accurately associate video scenes with vehicle status information during analysis and verification, affecting the accuracy of data analysis. The amount of test data is huge, and a lot of time is required to organize and analyze it after collection, affecting the efficiency of data analysis. Summary of the invention
[0005] The main purpose of the present invention is to provide a test data acquisition method and system to solve the problem that the prior art often acquires images from a single camera, resulting in a lack of observation angle suitable for specific function evaluation in subsequent evaluation, affecting the comprehensiveness and accuracy of the test, and the collected video data cannot correspond frame by frame to the bus data containing sensor perception information and vehicle body data. Data asynchrony makes it difficult to accurately associate video scenes with vehicle status information during analysis and verification, affecting the accuracy of data analysis, and the test data volume is huge. After the acquisition is completed, a lot of time is required for sorting and analysis, affecting the efficiency of data analysis.
[0006] In order to achieve the above object, according to one aspect of the present invention, a test data collection method is provided, comprising:
[0007] S1: collect video signals from multiple perspectives;
[0008] S2: converting the video signal into a video image frame, wherein the video image frame includes a video frame sequence number;
[0009] S3: collect bus data;
[0010] S4: converting the bus data into a bus message, wherein the bus message includes a bus timestamp;
[0011] S5: judging whether the video image frame collected at the current moment is updated according to the video frame sequence number; if so, printing the bus timestamp at the upper right corner of the video image frame to form a video image frame containing the bus timestamp;
[0012] S6: writing the bus message into the computer memory;
[0013] S7: writing the bus timestamp and the video frame sequence number into the computer memory;
[0014] S8: writing the video image frame containing the bus timestamp into a video file in the hard disk;
[0015] S9: Displaying the video image frame containing the bus timestamp on a display in real time;
[0016] S10: Determine whether to continue recording; if so, return to S1 and continue recording; otherwise, stop recording and add the video frame number and the bus timestamp saved in the computer memory to the corresponding relationship file.
[0017] Furthermore, the video signal includes a video signal of the vehicle's front perspective captured by a front-view camera and a video signal of the steering wheel's perspective captured by a wheel-side camera.
[0018] Further, after S4, the test data collection method further includes:
[0019] S11: parsing the bus message and extracting the signal physical quantity in the bus message;
[0020] S12: judging whether the target function is triggered according to the signal physical quantity; if so, lighting up the indicator light associated with the function to prompt the tester that the function is triggered;
[0021] Further, after S12, the test data collection method further includes:
[0022] S13: Writing the relevant information of the function trigger into the function trigger description file.
[0023] Furthermore, the signal physical quantities include: vehicle speed, yaw angle, brake, and steering wheel angle.
[0024] According to one aspect of the present invention, there is provided a test data acquisition system, comprising: a plurality of cameras, a bus data acquisition module, a video acquisition card, a video update determination module, a bus data writing module, a csv file writing module, a video file writing module, a video display module and a recording continuation determination module;
[0025] The camera is used to collect video signals from multiple viewing angles;
[0026] The bus data acquisition module is used to collect bus data and convert the bus data into bus messages, wherein the bus messages include bus timestamps;
[0027] The video capture card is used to convert the video signal into a video image frame, wherein the video image frame includes a video frame sequence number;
[0028] The video update judgment module is used to judge whether the video image frame collected at the current moment is updated according to the video frame sequence number; if so, print the bus timestamp on the upper right of the video image frame to form a video image frame containing the bus timestamp, and pack the bus timestamp and the video frame sequence number;
[0029] The bus data writing module is used to write the bus message into the computer memory;
[0030] The csv file writing module is used to write the bus timestamp and the video frame number into the computer memory;
[0031] The video file writing module is used to write the video image frame containing the bus timestamp into the video file in the hard disk;
[0032] The video display module is used to display the video image frame containing the bus timestamp on the display in real time;
[0033] The recording continuation determination module is used to determine whether to continue recording; if so, continue recording; otherwise, stop recording and add the video frame number and the bus timestamp saved in the computer memory to the corresponding relationship file.
[0034] Further, the camera includes a front-view camera and a wheel-side camera;
[0035] The front-view camera is used to capture the video signal of the vehicle's front view;
[0036] The wheel side camera is used to capture the video signal of the steering wheel viewing angle.
[0037] Furthermore, the test data acquisition system also includes: an original message parsing module, an ADAS function trigger determination module, and a function performance visualization module;
[0038] The original message parsing module is used to parse the bus message and extract the signal physical quantity in the bus message;
[0039] The ADAS function trigger determination module is used to determine whether the target function is triggered according to the signal physical quantity; if so, start the function performance visualization module;
[0040] The function performance visualization module is used to light up the indicator light associated with the function to prompt the tester that the function is triggered.
[0041] Furthermore, the test data acquisition system also includes: a text document writing module;
[0042] The text document writing module is used to write the relevant information of the function trigger into the function trigger description file.
[0043] Furthermore, the signal physical quantities include: vehicle speed, yaw angle, brake, and steering wheel angle.
[0044] By applying the technical solution of the present invention, video signals under multiple viewing angles can be collected to ensure the comprehensiveness of the test. According to the video frame sequence number, it can be judged whether the video image frame collected at the current moment is updated. When an update occurs, the bus timestamp is printed in the upper right corner of the video image frame to form a video image frame containing the bus timestamp, so that the video data and the bus data correspond frame by frame, thereby improving the accuracy of data analysis, and the data can be automatically recorded and sorted to improve the efficiency of data collection and analysis.
[0045] In addition to the above-described purposes, features and advantages, the present invention has other purposes, features and advantages. The present invention will be further described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings:
[0047] Figure 1 A schematic diagram of a flow chart of a test data collection method provided by an embodiment of the present invention is shown;
[0048] Figure 2A structural schematic diagram of a test data acquisition method provided by an embodiment of the present invention is shown;
[0049] Figure 3 A structural schematic diagram of a test data acquisition system provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0050] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0051] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0052] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention 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 terms used in this way can be interchanged where appropriate, so as to describe the embodiments of the present invention described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0053] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0054] Reference Manual Attached Figure 1 , which shows a flow chart of a test data collection method provided by an embodiment of the present invention.
[0055] Reference Manual Attached Figure 2 , shows a structural schematic diagram of a test data acquisition method provided by an embodiment of the present invention.
[0056] An embodiment of the present invention provides a test data collection method, comprising:
[0057] S1: Collect video signals from multiple perspectives.
[0058] Optionally, the video signal includes a video signal of the vehicle's front perspective captured by a front-view camera and a video signal of the steering wheel's perspective captured by a wheel-side camera.
[0059] Furthermore, the wheel side camera is installed at the fender of the front wheel of the vehicle.
[0060] In the present invention, video signals under multiple viewing angles can be collected to avoid the lack of viewing angles suitable for specific functional evaluation in later evaluation, thereby ensuring the comprehensiveness of the test.
[0061] S2: Convert the video signal into a video image frame, where the video image frame includes a video frame sequence number.
[0062] S3: Collect bus data.
[0063] S4: Convert the bus data into a bus message, which contains a bus timestamp.
[0064] A bus message is a data unit transmitted on a communication bus used in a vehicle or industrial equipment. The function of a bus message is to exchange data between various electronic control units (ECUs) in the system to collaboratively execute system functions.
[0065] S5: According to the video frame sequence number, determine whether the video image frame collected at the current moment is updated. If so, print the bus timestamp on the upper right of the video image frame to form a video image frame containing the bus timestamp.
[0066] In the present invention, it can be determined whether the video image frame collected at the current moment has been updated based on the video frame sequence number. When an update occurs, the bus timestamp is printed in the upper right corner of the video image frame to form a video image frame containing a bus timestamp, so that the video data and the bus data correspond frame by frame, thereby improving the accuracy of data analysis.
[0067] S6: Write the bus message into the computer memory.
[0068] S7: Write the bus timestamp and video frame number into the computer memory.
[0069] S8: Write the video image frame containing the bus timestamp into the video file in the hard disk.
[0070] S9: Display the video image frame containing the bus time stamp on the display in real time.
[0071] S10: Determine whether to continue recording. If yes, return to S1 and continue recording. Otherwise, stop recording and add the video frame number and bus timestamp saved in the computer memory to the corresponding relationship file.
[0072] In the present invention, data can be automatically recorded and organized to improve data collection and analysis efficiency.
[0073] In a possible implementation, after S4, the test data collection method further includes:
[0074] S11: parse the bus message and extract the signal physical quantity in the bus message.
[0075] Optionally, the signal physical quantity includes: vehicle speed, yaw angle, brake, and steering wheel angle.
[0076] It should be noted that by parsing bus messages and extracting key signals (such as vehicle speed, yaw angle, brakes, steering wheel angle, etc.), the system can monitor the vehicle's operating status in real time.
[0077] S12: Determine whether the target function is triggered based on the signal physical quantity. If so, light up the indicator light associated with the function to prompt the tester that the function is triggered.
[0078] It should be noted that if the triggering conditions of the target function (such as advanced driving assistance, emergency braking assistance, lane keeping assistance, etc.) are met, the associated indicator light will be lit immediately. This real-time feedback can help testers quickly understand the current status and response of the system.
[0079] In the present invention, the signal physical quantity and time point of each triggering event are analyzed and recorded, which is helpful for subsequent fault analysis and system tuning. These data can be used to analyze the triggering conditions of the function and the accuracy and timeliness of the vehicle response.
[0080] In a possible implementation, S12 specifically includes:
[0081] S121: Construct a characteristic sequence consisting of the signal physical quantities at each moment:
[0082] X=[x 1 ,x 2 ,L,x t ]
[0083] x=[β 1 a 1 ,β 2 a 2 ,β 3 a 3 ,β 4 a 4 ]
[0084] Among them, X represents the multimodal feature sequence, x t represents the eigenvector at time t, x represents the eigenvector, a 1 represents vehicle speed, β 1 Indicates the fusion coefficient of vehicle speed, a 2 represents the yaw angle, β 2 Indicates the fusion coefficient of the yaw angle, a 3 Indicates brake, β 3 Indicates the fusion coefficient of the brake, a 4 represents the steering wheel angle, β 4 Indicates the fusion coefficient of the steering wheel angle.
[0085] Among them, those skilled in the art can set the vehicle speed fusion coefficient β according to actual conditions. 1 , fusion coefficient β of yaw angle 2 , Braking fusion coefficient β 3 And the fusion coefficient β of the steering wheel angle 4 The present invention does not limit the size.
[0086] It should be noted that the characteristic sequence of signal physical quantities is often time-correlated, and traditional methods may find it difficult to capture these time correlations.
[0087] Furthermore, the use of gated recurrent units (GRUs) can effectively process time series data and remember long-term dependencies, thereby more accurately judging changes in system states and conditions for function triggering.
[0088] S122: Input the feature sequence into the first gated recurrent unit to obtain the first hidden state at each moment.
[0089] Specifically, how to extract the hidden state of time series data through a gated recurrent unit is a very mature prior art, and reference may be made to the literature on the gated recurrent unit. To avoid repetition, the present invention will not go into details.
[0090] S123: Input the first hidden state into the second gated recurrent unit to obtain the second hidden state at each moment.
[0091] It should be noted that through multi-layer gated recurrent units (GRU), the system can extract and represent complex patterns and relationships in the input feature sequence. Hidden states at different levels can capture feature information at different levels and enhance the expressiveness of the model.
[0092] S124: In the fully connected layer, the first hidden state and the second hidden state are fused to obtain a comprehensive hidden state:
[0093] H t =λh 1t+(1-λ)h 2t
[0094] Among them, H t represents the comprehensive hidden state, h 1t represents the first hidden state, h 2t represents the second hidden state, and λ represents the fusion coefficient of the first hidden state.
[0095] It should be noted that by weighted fusion of two layers of hidden states, redundant information that may be contained in a single layer of hidden states can be avoided, making the comprehensive hidden state more representative and concentrated. This fusion helps to extract more accurate features and reduce the impact of noise.
[0096] S125: Determine whether the target function is triggered based on the comprehensive hidden state:
[0097] P = Sigmoid(W h H t +b h )
[0098] Among them, P represents the trigger probability value of the target function, Sigmoid() represents the Sigmoid activation function, and W h represents the weight matrix between the fully connected layer and the prediction layer, b h represents the prediction layer bias term, i = 1, 2, ..., n, and n represents the total number of fault types.
[0099] When the target function trigger probability value is greater than the preset probability value, it indicates that the target function is triggered, otherwise, the target function is not triggered.
[0100] In the present invention, by constructing feature sequences and using a gated recurrent unit network to process and analyze these data, it is possible to more accurately and effectively determine whether the target function is triggered. This method not only improves the accuracy of decision-making, but also enhances the automation and real-time processing capabilities of the system.
[0101] In a possible implementation, after S12, the test data collection method further includes:
[0102] S13: Writing the relevant information of the function trigger into the function trigger description file.
[0103] In the present invention, recording the relevant information of the function trigger (including trigger time, trigger condition, signal physical quantity, etc.) into the description file is helpful for comprehensive recording and archiving of the system. This ensures that all test processes and results are recorded in detail, which is convenient for subsequent analysis and tracking.
[0104] From the above description, it can be seen that the test data acquisition method provided by the present invention can collect video signals from multiple perspectives to ensure the comprehensiveness of the test. It can determine whether the video image frame collected at the current moment is updated based on the video frame sequence number. When an update occurs, the bus timestamp is printed in the upper right corner of the video image frame to form a video image frame containing a bus timestamp, so that the video data and the bus data correspond frame by frame, thereby improving the accuracy of data analysis, and can automatically record and organize the data to improve the efficiency of data acquisition and analysis.
[0105] Reference Manual Attached Figure 3 , showing a structural schematic diagram of a test data acquisition system provided by an embodiment of the present invention.
[0106] An embodiment of the present invention provides a test data acquisition system, comprising: multiple cameras 1, a bus data acquisition module 2, a video acquisition card 3, a video update judgment module 4, a bus data writing module 5, a csv file writing module 6, a video file writing module 7, a video display module 8 and a recording continuation judgment module 9.
[0107] Camera 1 is used to collect video signals from multiple viewing angles.
[0108] The bus data acquisition module 2 is used to acquire bus data and convert the bus data into bus messages, which contain bus timestamps.
[0109] The video capture card 3 is used to convert the video signal into a video image frame, and the video image frame includes a video frame sequence number.
[0110] The video update judgment module 4 is used to judge whether the video image frame collected at the current moment is updated according to the video frame sequence number. If so, the bus timestamp is printed on the upper right of the video image frame to form a video image frame containing the bus timestamp, and the bus timestamp and the video frame sequence number are packaged.
[0111] The bus data writing module 5 is used to write the bus message into the computer memory.
[0112] The csv file writing module 6 is used to write the bus timestamp and the video frame number into the computer memory.
[0113] The video file writing module 7 is used to write the video image frame containing the bus timestamp into the video file in the hard disk.
[0114] The video display module 8 is used to display the video image frames containing the bus timestamp on the display in real time.
[0115] The recording continuation determination module 9 is used to determine whether to continue recording. If yes, continue recording. Otherwise, stop recording, and add the video frame sequence number and bus timestamp stored in the computer memory to the corresponding relationship file.
[0116] In a possible implementation, the camera includes a front-view camera and a wheel-side camera. The front-view camera is used to capture a video signal from the perspective of the front of the vehicle. The wheel-side camera is used to capture a video signal from the perspective of the steering wheel.
[0117] In a possible implementation, the test data acquisition system further includes: an original message parsing module 10 , an ADAS function triggering determination module 11 , and a function performance visualization module 12 .
[0118] The original message parsing module 10 is used to parse the bus message and extract the signal physical quantity in the bus message.
[0119] The ADAS function triggering determination module 11 is used to determine whether the target function is triggered according to the signal physical quantity. If so, the function performance visualization module 12 is started.
[0120] Optionally, the signal physical quantity includes: vehicle speed, yaw angle, brake, and steering wheel angle.
[0121] The function performance visualization module 12 is used to light up the indicator light associated with the function to prompt the tester that the function is triggered.
[0122] Specifically, the ADAS function trigger determination module 11 is specifically used to: construct a feature sequence composed of signal physical quantities at each moment. Input the feature sequence into the first gated loop unit to obtain the first hidden state at each moment. Input the first hidden state into the second gated loop unit to obtain the second hidden state at each moment. In the fully connected layer, the first hidden state and the second hidden state are fused to obtain a comprehensive hidden state. According to the comprehensive hidden state, it is judged whether the target function is triggered.
[0123] In a possible implementation manner, the test data collection system further includes: a text document writing module 13 .
[0124] The text document writing module 13 is used to write the relevant information of the function trigger into the function trigger description file.
[0125] The test data collection system 20 provided in the embodiment of the present invention can implement each step in the above-mentioned test data collection method and can obtain the same technical effect. To avoid repetition, the present invention will not go into details.
[0126] From the above description, it can be seen that the test data acquisition system provided by the present invention can collect video signals from multiple perspectives to ensure the comprehensiveness of the test. It can determine whether the video image frame collected at the current moment has been updated based on the video frame sequence number. When an update occurs, the bus timestamp is printed in the upper right corner of the video image frame to form a video image frame containing a bus timestamp, so that the video data and the bus data correspond frame by frame, thereby improving the accuracy of data analysis, and can automatically record and organize the data to improve the efficiency of data acquisition and analysis.
[0127] Unless otherwise specifically stated, the relative arrangement of the parts and steps described in these embodiments, numerical expressions and numerical values do not limit the scope of the present invention. At the same time, it should be understood that, for ease of description, the sizes of the various parts shown in the accompanying drawings are not drawn according to the actual proportional relationship. The technology, method and equipment known to ordinary technicians in the relevant field may not be discussed in detail, but in appropriate cases, the technology, method and equipment should be regarded as a part of the authorization specification. In all examples shown and discussed here, any specific value should be interpreted as being merely exemplary, rather than as a limitation. Therefore, other examples of exemplary embodiments may have different values. It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once a certain item is defined in an accompanying drawing, it does not need to be further discussed in subsequent drawings.
[0128] For ease of description, spatially relative terms such as "above", "above", "on the upper surface of", "above", etc. may be used here to describe the spatial positional relationship between a device or feature and other devices or features as shown in the figure. It should be understood that spatially relative terms are intended to include different orientations of the device in use or operation in addition to the orientation described in the figure. For example, if the device in the accompanying drawings is inverted, the device described as "above other devices or structures" or "above other devices or structures" will be positioned as "below other devices or structures" or "below other devices or structures". Thus, the exemplary term "above" can include both "above" and "below". The device can also be positioned in other different ways (rotated 90 degrees or in other orientations), and the spatially relative descriptions used here are interpreted accordingly.
[0129] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by directional words such as "front, back, up, down, left, right", "lateral, vertical, perpendicular, horizontal" and "top, bottom" are usually based on the directions or positional relationships shown in the drawings. They are only for the convenience of describing the present invention and simplifying the description. Unless otherwise specified, these directional words do not indicate or imply that the devices or elements referred to must have a specific direction or be constructed and operated in a specific direction. Therefore, they cannot be understood as limiting the scope of protection of the present invention. The directional words "inside and outside" refer to the inside and outside relative to the contours of each component itself.
[0130] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A test data collection method, characterized in that: include: S1: Collect video signals from multiple perspectives; S2: converting the video signal into a video image frame, wherein the video image frame includes a video frame sequence number; S3: collect bus data; S4: converting the bus data into a bus message, wherein the bus message includes a bus timestamp; S5: judging whether the video image frame collected at the current moment is updated according to the video frame sequence number; if so, printing the bus timestamp at the upper right corner of the video image frame to form a video image frame containing the bus timestamp; S6: writing the bus message into the computer memory; S7: writing the bus timestamp and the video frame sequence number into the computer memory; S8: writing the video image frame containing the bus timestamp into a video file in the hard disk; S9: Displaying the video image frame containing the bus timestamp on a display in real time; S10: Determine whether to continue recording; If yes, return to S1 and continue recording; Otherwise, stop recording, and add the video frame sequence number and the bus timestamp stored in the computer memory to the corresponding relationship file.
2. The test data collection method according to claim 1, characterized in that: The video signal includes a video signal of the vehicle's front perspective captured by a front-view camera and a video signal of the steering wheel's perspective captured by a wheel-side camera.
3. The test data collection method according to claim 1, characterized in that: After S4, the method further includes: S11: parsing the bus message and extracting the signal physical quantity in the bus message; S12: judging whether the target function is triggered according to the signal physical quantity; if so, lighting up the indicator light associated with the function to prompt the tester that the function is triggered.
4. The test data collection method according to claim 3, characterized in that: After S12, the method further includes: S13: Writing the relevant information of the function trigger into the function trigger description file.
5. The test data collection method according to claim 3, characterized in that: The signal physical quantities include: vehicle speed, yaw angle, brake, and steering wheel angle.
6. A test data acquisition system, characterized in that: include: Multiple cameras, bus data acquisition module, video acquisition card, video update judgment module, bus data writing module, csv file writing module, video file writing module, video display module and recording continuation judgment module; The camera is used to collect video signals from multiple viewing angles; The bus data acquisition module is used to collect bus data and convert the bus data into bus messages, wherein the bus messages include bus timestamps; The video capture card is used to convert the video signal into a video image frame, wherein the video image frame includes a video frame sequence number; The video update judgment module is used to judge whether the video image frame collected at the current moment is updated according to the video frame sequence number; if so, print the bus timestamp on the upper right of the video image frame to form a video image frame containing the bus timestamp, and pack the bus timestamp and the video frame sequence number; The bus data writing module is used to write the bus message into the computer memory; The csv file writing module is used to write the bus timestamp and the video frame number into the computer memory; The video file writing module is used to write the video image frame containing the bus timestamp into the video file in the hard disk; The video display module is used to display the video image frame containing the bus timestamp on the display in real time; The recording continuation determination module is used to determine whether to continue recording; if so, continue recording; Otherwise, stop recording, and add the video frame sequence number and the bus timestamp stored in the computer memory to the corresponding relationship file.
7. The test data acquisition system according to claim 6, characterized in that: The cameras include a front-view camera and a wheel-side camera; The front-view camera is used to capture the video signal of the vehicle's front view; The wheel side camera is used to capture the video signal of the steering wheel viewing angle.
8. The test data acquisition system according to claim 6, characterized in that: Also includes: Original message parsing module, ADAS function triggering determination module, function performance visualization module; The original message parsing module is used to parse the bus message and extract the signal physical quantity in the bus message; The ADAS function trigger determination module is used to determine whether the target function is triggered according to the signal physical quantity; if so, start the function performance visualization module; The function performance visualization module is used to light up the indicator light associated with the function to prompt the tester that the function is triggered.
9. The test data acquisition system according to claim 8, characterized in that: Also includes: Text document writing module; The text document writing module is used to write the relevant information of the function trigger into the function trigger description file.
10. The test data acquisition system according to claim 8, characterized in that: The signal physical quantities include: vehicle speed, yaw angle, brake, and steering wheel angle.
