Parking function test methods, electronic devices and storage media
By acquiring vehicle bus data and filtering vehicle parameters using preset conditions, and limiting the test time range, the problems of long testing time and low data utilization of parking function are solved, thus improving testing efficiency and data utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-20
- Publication Date
- 2026-04-03
AI Technical Summary
The parking function testing process was lengthy and the test data utilization rate was low, resulting in low testing and development efficiency.
By acquiring vehicle bus data, using preset parking test conditions and target parameters to filter vehicle parameters, limiting the test time range, and determining the test results within that range, data acquisition and analysis are separated, thereby improving data utilization.
It saves time on data collection and switching operations, and improves the efficiency and data utilization of parking function testing.
Smart Images

Figure CN114923705B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automatic testing technology, and in particular to a parking function testing method, electronic device and storage medium. Background Technology
[0002] With the development of science and technology and the improvement of people's economic level, automobiles are widely used in people's daily lives. Drivers' requirements for vehicle safety are gradually increasing. Therefore, the applicable scenarios for parking functions and their stability in various scenarios have become the focus of vehicle development.
[0003] To ensure the accuracy and stability of the parking function development, researchers need to conduct repeated tests on the function and determine its operational results based on vehicle conditions during testing. Since different parking functions use some or all of the same test conditions during testing, the same conditions must be repeatedly selected for testing. This not only increases testing time but also reduces the utilization rate of the test data generated, resulting in low efficiency in parking function testing and development. Summary of the Invention
[0004] This application provides a parking function testing method, electronic device, and storage medium to solve the technical problem of low efficiency in parking function testing and development.
[0005] Firstly, this application provides a method for testing parking function, the method comprising:
[0006] Acquire vehicle bus data and obtain the vehicle parameters generated when the vehicle runs the parking function to be tested from the vehicle bus data. The vehicle parameters include parking test condition parameters and parking test target parameters.
[0007] Based on the parking test conditions and the corresponding data for the parking test condition parameters, the parking test time range is obtained;
[0008] Within the parking test time range, the parking test results are obtained based on the data corresponding to the parking test target and the parking test target parameters;
[0009] The parking test results are used to generate visualization instructions, which are then sent to the display device. These instructions control the display device to show the parking test results.
[0010] In the above technical solution, the electronic device obtains bus data associated with the parking function from the vehicle running the parking function to be tested. It then uses preset parking test condition parameters and preset parking test target parameters to filter corresponding data from the bus data to reproduce the actual operating state of the vehicle and the parking function. By combining the parking test conditions and parking test target in sequence, it determines the operating status of the parking function to be tested when the vehicle is running according to the preset vehicle operating state, thereby obtaining the parking test results. This not only separates the data acquisition and data analysis processes, saving the time occupied by switching between the two processes and improving test efficiency, but also allows for repeated analysis of the test data and test results, saving the process of acquiring vehicle data under the same vehicle conditions, thus improving the utilization rate of the test results and test data.
[0011] Optionally, after obtaining the vehicle parameter data generated when the vehicle operates the parking function to be tested from the vehicle bus data, the method further includes:
[0012] Obtain the parking test type, which includes parking status adjustment test type or parking anomaly test type;
[0013] Based on the parking test type and type parameter mapping table, determine the vehicle parameters corresponding to the parking test type. The type parameter mapping table represents the mapping relationship between the parking test type and the vehicle parameters.
[0014] Based on the parking test type and type condition mapping table, determine the parking test conditions and parking test objectives corresponding to the parking test type. The type condition mapping table represents the mapping relationship between the parking test type and its corresponding parking test conditions and parking test objectives.
[0015] Optionally, when the parking test type is a parking state adjustment test type, the parking test time range is obtained based on the parking test conditions and the corresponding data of the parking test condition parameters, specifically including:
[0016] When the parking test condition is the first parking test condition, the data corresponding to the parking test condition parameters are obtained within the first parking test time range when the first parking test condition is met; the first parking test condition includes the vehicle's power mode being in drive mode, the Electronic Park Brake (EPB) system and Electronic Stability Controller (ESC) being in a fault-free state, the automatic parking screen soft switch being turned on, the brake pedal being in the depressed state, the vehicle speed being less than the preset vehicle speed threshold and the brake master cylinder pressure being greater than the preset pressure threshold;
[0017] When the parking test condition is the second parking test condition, the data corresponding to the parking test condition parameters are obtained within the second parking test time range when the second parking test condition is met; the second parking test condition includes the power mode being in drive mode, ESC and EPB being in fault-free state, the automatic parking function being activated, and the instrument displaying the automatic parking indicator.
[0018] Optionally, within the parking test time frame, parking test results are obtained based on the data corresponding to the parking test target and the parking test target parameters, specifically including any one of the following:
[0019] When the parking test target is the first parking test target, within the first parking test time range, the first parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel;
[0020] When the parking test target is the second parking test target, within the first parking test time range, based on the adjustment of the gear position, the state of the driver's door, and the state of the driver's seat belt, the corresponding adjusted state of the automatic parking function and the display state of the automatic parking sign on the instrument panel are obtained to determine the second parking test result.
[0021] Optionally, the method further includes:
[0022] When the parking test target is the third parking test target, within the second parking test time range, the duration for which the automatic parking function is continuously active is obtained. When the duration exceeds the parking type conversion duration threshold, the third parking test result is determined based on the request status of EPB parking, the status of the automatic parking function and EPB, and the changes in the display status of the automatic parking sign and EPB sign on the instrument panel.
[0023] When the parking test target is the fourth parking test target, within the second parking test time range, the adjustment status of the driver's seat belt and / or the adjustment status of the driver's door are used to obtain the request status for EPB clamping, the corresponding adjustment of the automatic parking function and the status of EPB, and the display status of the automatic parking sign and EPB sign on the instrument panel, so as to determine the fourth parking test result.
[0024] When the parking test target is the fifth parking test target, within the second parking test time range, when the driver's door is closed, the driver's seat belt is fastened, and the gear is in forward gear, if the accelerator pedal is adjusted to the depressed state and the driving torque generated by the vehicle according to this state is greater than the vehicle holding torque, the fifth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel.
[0025] Optionally, when the parking test type is a parking state adjustment test type, the parking test time range is obtained based on the parking test conditions and the corresponding data of the parking test condition parameters, specifically including:
[0026] When the parking test condition is the third parking test condition, the data corresponding to the gear in the parking test condition parameters is the third parking test time range when the parking gear is in parking position.
[0027] When the parking test condition is the fourth parking test condition, the data corresponding to the parking test condition parameters are obtained within the fourth parking test time range when the fourth parking test condition is met; the fourth parking test condition includes the instrument panel not displaying the automatic parking indicator, the EPB being in the clamped state, and the instrument panel displaying the EPB indicator;
[0028] When the parking test condition is the fifth parking test condition, the data corresponding to the parking test condition parameters are obtained within the fifth parking test time range when the fifth parking test condition is met; the fifth parking test condition includes the power mode being in active mode or drive mode, the driver's door being closed, the driver's seat belt being fastened, and the vehicle speed being less than a preset vehicle speed threshold.
[0029] Optionally, within the parking test time frame, parking test results are obtained based on the data corresponding to the parking test target and the parking test target parameters, specifically including any one of the following:
[0030] When the parking test target is the sixth parking test target, within the third parking test time range, the sixth parking test result is obtained based on the state of EPB and the display state of the EPB mark on the instrument.
[0031] When the parking test target is the seventh parking test target, within the fourth parking test time range, when the gear is adjusted to forward gear, the seventh parking test result is determined based on the status of the automatic parking function, the display status of the automatic parking indicator on the instrument panel, the status of EPB, and the display status of the EPB indicator on the instrument panel.
[0032] Optionally, the method further includes:
[0033] When the parking test target is the eighth parking test target, within the fifth parking test time range, after the electronic pedal function is activated, both the brake pedal and the accelerator pedal are in an unpressed state. The eighth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument.
[0034] When the parking test target is the ninth parking test target, within the fifth parking test time range, when the vehicle is in All Terrain Scooting (ATS) driving mode, the gear is in forward gear, and the slope is greater than the preset slope threshold, the ninth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel.
[0035] Optionally, when the parking test type is a parking anomaly test type, the parking test time range is obtained based on the parking test conditions and the corresponding data of the parking test condition parameters, specifically including:
[0036] When the parking test condition is the first abnormal test condition, the first abnormal test time range is obtained when the data corresponding to the power mode in the parking test condition parameters is the drive mode and the status data corresponding to ESC is the fault-free state.
[0037] When the parking test condition is the second abnormal test condition, within the first abnormal test time range, the second abnormal test time range is obtained when the automatic parking function is activated and the vehicle speed is less than the preset vehicle speed threshold.
[0038] Optionally, within the parking test time range, parking test results are obtained based on the data corresponding to the parking test target and the parking test target parameters, specifically including any one of the following:
[0039] When the parking test target is the first abnormal test target, within the first abnormal test time range, when the automatic parking function is active, the instrument displays the automatic parking indicator, and the EPB is in a fault-free state, if the brake pop-up warning message indicates service brake failure, the first abnormal test result is obtained based on the status of the automatic parking function and EPB, the display status of the automatic parking indicator and EPB indicator on the instrument, and the automatic parking association information displayed on the instrument.
[0040] When the parking test target is the second abnormal test target, within the first abnormal test time range, when the vehicle speed is less than the preset vehicle speed threshold and the brake pedal is in the depressed state, the second abnormal test result is obtained based on the adjustment of the automatic parking indicator displayed on the instrument panel after the EPB is adjusted to the fault state and the automatic parking association information displayed on the instrument panel.
[0041] Optionally, the method further includes:
[0042] When the parking test target is the third abnormal test target, within the second abnormal test time range, when the EPB is adjusted to a fault state, the third abnormal test result is obtained based on the display status of the automatic parking sign on the instrument and the automatic parking association information displayed on the instrument.
[0043] When the parking test target is the fourth abnormal test target, within the second abnormal test time range, when the EPB is adjusted to a fault state, the instrument displays the automatic parking indicator, and the driver's door is adjusted to the open state, the fourth abnormal test result is obtained based on the adjustment of the automatic parking indicator's displayed state on the instrument and the automatic parking association information displayed on the instrument.
[0044] In the above technical solution, the electronic device determines the corresponding test conditions and parameters associated with the conditions according to the different test types of the parking function. After limiting the corresponding test time range according to the data corresponding to the test conditions and associated parameters, at least one test target is tested for each test time range. This not only saves the electronic device from repeatedly setting test conditions, but also realizes repeated testing and analysis of the same test process, improves the utilization rate of bus data generated during the test, and thus improves the testing efficiency and development efficiency of the parking function.
[0045] In a second aspect, this application provides an electronic device, including: a processor and a memory communicatively connected to the processor;
[0046] The memory stores the instructions that the computer executes;
[0047] The processor executes computer execution instructions stored in memory to implement the parking function test method involved in the first aspect.
[0048] Thirdly, this application provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, are used to implement the parking function testing method involved in the first aspect.
[0049] This application provides a parking function testing method, electronic device, and storage medium. It acquires vehicle bus data and obtains data corresponding to vehicle parameters generated when the vehicle operates the parking function under test, namely, data corresponding to parking test condition parameters and parking test target parameters. Based on the parking test conditions and their corresponding data, a parking test time range is obtained. Within the parking test time range, parking test results are obtained based on the parking test target and its corresponding data. A visualization instruction is generated based on the parking test results and sent to a display device to control the display device to show the parking test results. This allows the electronic device to re-acquire the operating status of internal devices during the parking function operation using vehicle bus data. Different preset parking test conditions and targets are used to centrally process the bus data to obtain different test condition time ranges defined by different test conditions and different test results determined according to different test targets within those time ranges. This not only shortens the data acquisition time but also improves the utilization rate of test data, thereby improving the testing efficiency of the parking function. Attached Figure Description
[0050] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0051] Figure 1 This is an application scenario diagram of the parking function testing method provided in one embodiment of this application;
[0052] Figure 2 A flowchart illustrating a parking function testing method provided in an embodiment of this application;
[0053] Figure 3 A flowchart illustrating a parking function testing method according to another embodiment of this application;
[0054] Figure 4 This is a schematic diagram of the structure of a parking function testing device provided in an embodiment of this application;
[0055] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0056] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0057] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0058] With the development of science and technology and the improvement of people's economic level, automobiles are widely used in people's daily lives. Drivers' requirements for vehicle safety are gradually increasing. Therefore, the applicable scenarios for parking functions and their stability in various scenarios have become the focus of vehicle development.
[0059] To ensure the accuracy and stability of the parking function development, researchers need to conduct repeated tests on the function and determine its operational results based on vehicle conditions during testing. Because some or all test conditions for the parking function are identical, the same conditions must be repeatedly selected for testing, increasing testing time and reducing the utilization rate of test data, resulting in low efficiency in parking function testing and development.
[0060] To address the aforementioned technical problems, this application provides a parking function testing method, electronic device, and storage medium, aiming to solve the problem of low efficiency in parking function testing and development. The technical concept of this application is as follows: the electronic device obtains vehicle bus data from a vehicle already operating its parking function, filters out data corresponding to associated vehicle parameters through preset parking test conditions to limit the different vehicle conditions. In each vehicle condition, the state of the vehicle performing different parking functions is determined through preset parking test targets, and the corresponding test results are determined. This enables the reuse of bus data within the same time period, reduces the number of data collection attempts for the same vehicle condition, and improves the efficiency of parking function testing and development.
[0061] Figure 1 This is an application scenario diagram of the parking function testing method provided in one embodiment of this application, such as... Figure 1 As shown, the system includes a vehicle 10, electronic devices 11, and a display device 12. The vehicle 10 has a built-in parking system 101, which includes an electronic parking brake system 102 and an automatic parking system 103. The electronic devices 11 and the display device 12 are connected, and more specifically, the connection includes an electrical connection and a communication connection.
[0062] During the development of the parking function, when testing the aforementioned parking function under development, the vehicle equipped with the parking function to be tested is operated according to a preset vehicle operating state. The vehicle will adjust the operating state of the parking system 101 according to the actual operating state of the vehicle, including the activation and deactivation states of the automatic parking system 103 and the EPB 102. The vehicle transmits bus data representing the vehicle's operating state and / or bus data representing the parking system's operating state via the vehicle bus, and stores this bus data.
[0063] Electronic device 11 obtains the vehicle bus data from vehicle 10, and obtains relevant data during the vehicle's parking function operation from the vehicle bus data. It then analyzes and statistically processes this data to obtain test results. Based on these test results, electronic device 11 generates a visualization command and sends it to display device 12 to control the display device 12 to display the corresponding test results. These test results include, but are not limited to, test result data and corresponding statistical graphs and tables, thereby improving the diversity and intuitiveness of the test results display.
[0064] Figure 2 This is a flowchart illustrating a parking function testing method provided in one embodiment of this application. Figure 2 As shown, the parking function testing method provided in this application includes:
[0065] S201. The electronic device acquires vehicle bus data and obtains data corresponding to vehicle parameters generated when the vehicle operates the parking function to be tested from the vehicle bus data.
[0066] The vehicle bus data acquired by the electronic equipment refers to the data transmitted and stored between the vehicle's control unit and other associated actuators via the vehicle bus during the operation of the parking function under test. This data includes control commands, data generated during the operation of the actuators, and data collected by the actuators. More specifically, the actuators can collect relevant data through sensor units installed on the vehicle.
[0067] Because different types of data are transmitted on the vehicle's bus, the types of vehicle bus data stored in the vehicle also differ. In one embodiment, the bus data formats include: MDF format, DAT format, and BLF format.
[0068] When the electronic device analyzes the vehicle's parking function under test using the aforementioned vehicle bus data, it acquires vehicle bus data from the vehicle that has performed the parking function under test. This vehicle bus data includes data transmitted on the vehicle bus during the operation of the parking function under test. The electronic device can repeatedly acquire the vehicle's operating status at various time points during the operation of the parking function under test based on the aforementioned vehicle bus data.
[0069] More specifically, the vehicle bus data acquired by the vehicle includes data corresponding to various vehicle parameters, which include parking test condition parameters and parking test target parameters. The parking test condition parameters are parameters that define the vehicle's operating state using electronic equipment, while the parking test target parameters are parameters that determine the operating state of the parking function to be tested in the vehicle. The parking functions to be tested include, but are not limited to, the EPB function and the automatic parking function.
[0070] S202. The electronic equipment obtains the parking test time range based on the parking test conditions and the corresponding data of the parking test condition parameters.
[0071] The parking test conditions are those defined by electronic equipment, requiring the vehicle to meet a target operating state. These parking test conditions include parking test condition parameters and the corresponding target data that must be met. The target data refers to the vehicle's target operating state.
[0072] The parking test condition parameters obtained in step S210 correspond to the actual data of the parking test condition parameters at each time point within the total time range corresponding to the acquired vehicle bus data, i.e., the actual operating state of the vehicle. The electronic device compares the obtained actual data with the target data that the parameter needs to meet, and obtains the time points where the actual data falls within the data range defined by the target data. The electronic device counts the above time points to obtain a target time range containing at least one sub-time range, and determines this target time range as the parking test time range.
[0073] The parking test time range is the time range during which the electronic equipment determines the vehicle's operating target state as defined in the parking test conditions based on the vehicle bus data.
[0074] S203. Within the parking test time range, the electronic equipment obtains the parking test results based on the data corresponding to the parking test target and the parking test target parameters.
[0075] The parking test time range is obtained from step S202.
[0076] The parking test target refers to the condition under which the parameters of the parking function under test, defined by the electronic device, meet the target operating state. The parking test target includes the parking test target parameters and the target data that the parameters should meet.
[0077] After determining the parking test range, the electronic device obtains the data corresponding to the parking test target parameters in the parking test time range from the data corresponding to the parking test target parameters in all vehicle bus data in step S201. This data is the actual data corresponding to the parking test target.
[0078] The electronic device compares the actual data corresponding to the target parameters of the parking test with the target data to obtain the parking function to be tested in the vehicle, so as to determine the distribution state of the actual operation of the function in accordance with the target state, and performs statistical analysis on the distribution state to obtain the parking test results.
[0079] S204. Generate visualization instructions based on the parking test results data and send the visualization instructions to the display device.
[0080] The parking test results are obtained from step S203.
[0081] The electronic device obtains statistical and analytical data on the vehicle's parking function operation from the parking test results, and generates a visualization command based on this data. This command is then sent to the display device to control the display device to show the parking test results. The content displayed on the display device includes, but is not limited to, data related to the operating status of the parking function, as well as corresponding statistical charts and tables.
[0082] In the above technical solution, the electronic device obtains bus data associated with the parking function from the vehicle running the parking function to be tested. It then uses preset parking test condition parameters and preset parking test target parameters to filter corresponding data from the bus data to reproduce the actual operating state of the vehicle and the parking function. By combining the parking test conditions and parking test target in sequence, it determines the operating status of the parking function to be tested when the vehicle is running according to the preset vehicle operating state, thereby obtaining the parking test results. This not only separates the data acquisition and data analysis processes, saving the time occupied by switching between the two processes and improving test efficiency, but also allows for repeated analysis of the test data and test results, saving the process of acquiring vehicle data under the same vehicle conditions, thus improving the utilization rate of the test results and test data.
[0083] Figure 3 This is a flowchart illustrating a parking function testing method according to another embodiment of this application, wherein the method is executed by an electronic device. Figure 3 As shown, the parking function testing method provided in this application includes:
[0084] S301. Obtain vehicle bus data and retrieve the vehicle parameter data generated when the vehicle is running the parking function to be tested from the vehicle bus data.
[0085] The vehicle bus data and the vehicle parameters obtained by the electronic devices from the bus data have been explained in detail in step S201, and will not be repeated here.
[0086] More specifically, after obtaining vehicle bus data from the vehicle, the electronic device samples and quantizes the vehicle bus data at a preset time interval to discretize the bus data, thereby obtaining discrete bus data corresponding to the vehicle bus data.
[0087] The discrete bus data includes multiple discrete time points. The data corresponding to the vehicle parameters at each discrete time point represent the actual operating state of the vehicle and the actual state of the vehicle's parking function at that time.
[0088] S302, Obtain the parking test type.
[0089] Parking test types are preset types that define the test objectives and the conditions required for the vehicle to achieve the objectives when electronic devices test and analyze bus data. Parking test types include parking state adjustment test types or parking anomaly test types.
[0090] More specifically, when the parking test type is the parking state adjustment test type, proceed to step S303; when the parking test type is the parking abnormality test type, proceed to step S307.
[0091] S303. Adjust the test type and type parameter mapping table according to the parking status to determine the vehicle parameters corresponding to the test type.
[0092] When the parking test type is the parking state adjustment test type, the type is looked up in the type parameter mapping table to obtain the vehicle parameters corresponding to that test type. The type parameter mapping table represents the mapping relationship between parking test types and their corresponding vehicle parameters, including the mapping relationship between the parking state adjustment test type and its corresponding vehicle parameters.
[0093] The parking status adjustment test type used in this step is determined from step S302.
[0094] S304. Adjust the test type and type condition mapping table according to the parking status, and determine the parking test conditions and parking test objectives corresponding to the test type.
[0095] When the parking test type is the parking state adjustment test type, the type is queried in the type condition mapping table to obtain the corresponding parking test conditions and parking test objectives. The type condition mapping table represents the mapping relationship between parking test types and their corresponding parking test conditions and objectives, including the mapping relationship between the parking state adjustment test type and its corresponding parking test conditions and objectives.
[0096] The parking status adjustment test type used in this step is determined from step S302.
[0097] S305. Adjust the parking test conditions and corresponding vehicle parameters according to the parking status to obtain the parking test time range.
[0098] The parking test conditions corresponding to the parking status adjustment test type are obtained from step S304, and the vehicle parameters corresponding to this test type are obtained from step S303.
[0099] The electronic device uses the vehicle parameters obtained in step S301 to filter out the actual data associated with the parking test conditions from the corresponding data of the vehicle parameters, and compares the actual data with the target data in the parking test conditions to obtain the time range that meets the parking test conditions, and determines the time range as the parking test time range.
[0100] More specifically, the electronic device uses a logic condition mapping table to process each parking test condition, transforming it into a corresponding logical expression. This logical expression includes parking test condition parameters, identifiers corresponding to each parameter, and identifiers corresponding to the states or data that each parameter needs to satisfy. The electronic device obtains the actual data corresponding to the parking test condition parameters based on bus data and processes this actual data using the logical expression to obtain the calculation result of the logical expression, which can be either true or false. More specifically, the electronic device processes the actual data corresponding to each discrete time point using the logical expression to obtain the logical result for each discrete time point, thereby obtaining all target time points where the logical result is true. The electronic device then statistically analyzes these target time points to obtain the parking test time range.
[0101] The parking test conditions include at least one sub-condition. The electronic device uses a logic condition mapping table to process each sub-condition, obtaining the logic expression corresponding to each sub-condition, and thus obtaining the logic result of each logic expression corresponding to each discrete time point. The electronic device determines the discrete time point where the logic results of all logic expressions corresponding to all sub-conditions at the same time point are all true as the target time point. The electronic device obtains all target time points from the bus data, and after statistical aggregation, obtains the parking test time range.
[0102] In one embodiment, when the parking test condition is the first parking test condition, the data corresponding to the parking test condition parameters is obtained to satisfy the first parking test condition, which is the first parking test time range. The first parking test condition includes the vehicle's power mode being in drive mode, both EPB and ESC being in a fault-free state, the automatic parking screen soft switch being turned on, the brake pedal being in the depressed state, the vehicle speed being less than a preset vehicle speed threshold and the brake master cylinder pressure being greater than a preset pressure threshold.
[0103] In this technical solution, the first parking test condition is a prerequisite for activating the vehicle's automatic parking function. The vehicle will only activate the automatic parking function after this prerequisite is met. When the vehicle receives a braking command based on the brake pedal's depressor position, and simultaneously confirms that the vehicle's braking system and related devices maintaining vehicle operation are functioning correctly, it requests activation of the automatic parking function based on the control signal generated by the activated automatic parking screen soft switch, and executes a braking operation. This involves the brake master cylinder pressure exceeding a preset pressure threshold, and the vehicle decelerating to a speed lower than a preset speed threshold. In one embodiment, the preset speed threshold is 0. When vehicle bus data indicates that the vehicle meets all sub-conditions of the first parking test condition, the electronic equipment integrates the moments when all conditions are met to obtain a target time range, and determines this target time range as the first parking test time range.
[0104] In another embodiment, when the parking test condition is the second parking test condition, the data corresponding to the parking test condition parameters is obtained to satisfy the second parking test condition, which is the second parking test time range; the second parking test condition includes the power mode being in the driving state, ESC and EPB being in a fault-free state, the automatic parking function being in the active state, and the instrument displaying the automatic parking indicator.
[0105] In this technical solution, when the vehicle meets the activation conditions for the automatic parking function, the corresponding automatic parking function is activated. The instrument panel displays the corresponding automatic parking indicator based on the activation status of the automatic parking function. At this time, the vehicle remains in drive mode, and ESC and EPB remain in a fault-free state. The electronic equipment integrates the moments when the vehicle meets all the above conditions based on vehicle bus data to obtain the second parking test time range.
[0106] In another embodiment, when the parking test condition is the third parking test condition, the data corresponding to the gear in the parking test condition parameters is obtained as the third parking test time range when the gear is in parking position.
[0107] In this technical solution, the electronic equipment tests the corresponding usage status of the gear position and EPB function, thus defining all times when the vehicle is in the parking gear as the third parking test time range.
[0108] In another embodiment, when the parking test condition is the fourth parking test condition, the data corresponding to the parking test condition parameters is obtained to satisfy the fourth parking test condition, which is the fourth parking test time range; the fourth parking test condition includes the instrument panel not displaying the automatic parking indicator, the EPB being in a clamped state, and the instrument panel displaying the EPB indicator.
[0109] In this technical solution, the electronic device determines the fourth parking test time range according to the fourth parking test conditions. Within this range, the bus data indicates that the vehicle stops using the automatic parking function and begins to activate and use the EPB function. The usage status of the EPB function is manifested as the EPB being in a clamped state and the instrument display showing the EPB mark.
[0110] In another embodiment, when the parking test condition is the fifth parking test condition, the data corresponding to the parking test condition parameters is obtained to satisfy the fifth parking test time range when the fifth parking test condition is met; the fifth parking test condition includes the power mode being in the active mode or drive mode, the driver's door being in the closed state, the driver's seat belt being in the fastened state, and the vehicle speed being less than a preset vehicle speed threshold.
[0111] In this technical solution, the fifth parking test condition is another prerequisite for activating the vehicle's automatic parking function. The electronic equipment determines the fifth parking test time range based on this condition. Within this range, bus data indicates that the vehicle's power supply is in active or driving mode, the vehicle speed is very low or stationary, and the driver's use of the doors and seatbelts is standard. In one embodiment, a preset vehicle speed threshold of 0 is set, indicating that the vehicle is in a parking state.
[0112] S306. Within the parking test time range, adjust the corresponding data of the parking test target and vehicle parameters according to the parking status to obtain the parking test results.
[0113] The parking test target corresponding to the parking status adjustment test type is obtained from step S304, the vehicle parameters corresponding to this test type are obtained from step S303, and the parking test time range determined by the electronic device according to the test type and specific test conditions is obtained from step S305.
[0114] The electronic device uses the vehicle bus data obtained in step S301 based on the parking test time range and the aforementioned vehicle parameters to filter out the actual bus data for the parking test target. It then compares this actual bus data with the target bus data that the vehicle parameters in the parking test target must meet to obtain the time range within which the parking test target is satisfied. Based on this time range and the parking test time range, it determines the vehicle's performance within any sub-range of the parking test time range in achieving the parking test target. The electronic device then statistically analyzes these results to obtain the parking test results.
[0115] The electronic device uses a logic condition mapping table to process the parking test objective, transforming it into a corresponding logical expression. Within the bus data corresponding to the parking test time range, based on the data corresponding to the parameters in each logical expression, it determines whether the logical expression at each discrete time point is true. Based on this, it obtains the discrete time points where all logical expressions are true and the test objective is satisfied, and the discrete time points where the logical expressions are false and the test objective is not satisfied. Using these two types of discrete time points, the electronic device obtains the data distribution of the test vehicle achieving the parking test objective under parking test conditions, thus obtaining the parking test result.
[0116] When the parking test target is the first parking test target, within the first parking test time range, the first parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel.
[0117] In this technical solution, the electronic device determines the activation status of the automatic parking function when the vehicle meets the first parking test conditions based on bus data, and obtains the first parking test result based on the activation status. In one embodiment, the automatic parking function should be in an active state, and the instrument panel should display an automatic parking indicator.
[0118] When the parking test target is the second parking test target, within the first parking test time range, based on the adjustment of the gear position, the state of the driver's door, and the state of the driver's seat belt, the corresponding adjusted state of the automatic parking function and the display state of the automatic parking sign on the instrument panel are obtained to determine the second parking test result.
[0119] In one embodiment of this technical solution, the electronic device determines that the vehicle meets the first parking test conditions based on bus data, obtains the usage status of the vehicle's automatic parking function and the status of the automatic parking indicator displayed on the instrument panel when the vehicle is in a forward gear, and obtains the second parking test result based on this status. In one embodiment, when the vehicle is in a forward gear, the automatic parking function should still be activated, and the instrument panel should display the automatic parking indicator accordingly; when the vehicle is not in a forward gear, the automatic parking function will no longer be activated, and the instrument panel will no longer display the automatic activation indicator.
[0120] In another embodiment of this technical solution, the electronic device obtains the usage status of the vehicle's automatic parking function and the status of the automatic parking indicator on the instrument panel when the vehicle meets the first parking test conditions based on bus data. This condition includes the vehicle not only being in drive, but also having the driver's door closed and the driver's seatbelt fastened. Based on these conditions and statuses, a second parking test result is obtained. In one embodiment, when the vehicle is in drive, and the driver's door is closed and the driver's seatbelt is fastened, the automatic parking function should still be activated, and the instrument panel should display the automatic parking indicator accordingly. When the driver's door is open or the driver's seatbelt is unfastened, the automatic parking function will no longer be activated, and the instrument panel will no longer display the automatic activation indicator.
[0121] When the parking test target is the third parking test target, within the second parking test time range, the duration during which the automatic parking function remains in an active state is obtained. When the duration exceeds the parking type conversion duration threshold, the third parking test result is determined based on the request status of EPB parking, the status of the automatic parking function and EPB, and the changes in the display status of the automatic parking sign and EPB sign on the instrument panel.
[0122] In this technical solution, the electronic device determines that when the vehicle meets the second parking test conditions based on bus data, the automatic parking function is activated. The electronic device obtains the duration of this function's continuous activation from the bus data and determines the parking type conversion status when the duration is greater than or equal to the parking type conversion duration threshold. This conversion status is the conversion status from the automatic parking function to the EPB function. The electronic device obtains the third parking test result based on this conversion status. In one embodiment, when the duration of continuous use of the automatic parking function exceeds the parking type conversion duration threshold, the scenario applicable to the short-term parking automatic parking function is no longer met, and it should be adjusted to the long-term parking EPB. Therefore, the vehicle's static management request for EPB parking is "automatic parking timeout, request EPB parking," the automatic parking function is released and is no longer activated, and the EPB status is also adjusted to the EPB clamping state. Correspondingly, the instrument panel no longer displays the automatic parking indicator, but instead displays the EPB indicator. In another embodiment, when the duration of continuous use of the automatic parking function is less than the parking type conversion duration threshold, the vehicle still meets the usage requirements of the automatic parking function, the automatic parking function will remain active, the instrument panel will still display the automatic parking indicator, the vehicle has not yet met the usage requirements of EPB, therefore no request for EPB parking will be generated, and the EPB function will not be activated to put it in a clamped state and display the EPB indicator on the instrument panel.
[0123] When the parking test target is the fourth parking test target, within the second parking test time range, the adjustment status of the driver's seat belt and / or the adjustment status of the driver's door are used to obtain the request status for EPB clamping, the corresponding adjustment of the automatic parking function and the status of EPB, and the display status of the automatic parking sign and EPB sign on the instrument panel, so as to determine the fourth parking test result.
[0124] In this technical solution, the electronic device determines, based on bus data, that a vehicle meeting the second parking test conditions, when the automatic parking function is activated, and the driver unbuckles the seatbelt and / or opens the driver's door, will adjust the usage status of the EPB and automatic parking functions if the EPB function is fault-free. The electronic device will then adjust the instrument display accordingly based on this adjustment. The electronic device obtains the fourth parking test result based on the changes in the usage status, the static management request content during the switching between the two parking functions, and the changes in the instrument display. In one embodiment, if the vehicle changes the status of at least one of the driver's seatbelt (fastened) or the driver's door (closed), the vehicle should issue a static management request to the EPB parking system, stating "Request EPB parking." The vehicle should deactivate the automatic parking function, rendering it inactive, and activate the EPB function, clamping it in place. Consequently, the instrument display will no longer show the automatic parking indicator but will instead show the EPB indicator. When the vehicle adjusts the driver's seatbelt back to the fastened state and / or adjusts the driver's door back to the closed state, thus meeting the conditions for the vehicle to operate the automatic parking function, but since the vehicle is already operating the EPB function, the vehicle will no longer adjust the parking function state, that is, it will still use the EPB function and not the automatic parking function.
[0125] When the parking test target is the fifth parking test target, within the second parking test time range, when the driver's door is closed, the driver's seat belt is fastened, and the gear is in forward gear, if the accelerator pedal is adjusted to the depressed state and the driving torque generated by the vehicle according to this state is greater than the vehicle holding torque, the fifth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel.
[0126] In this technical solution, the electronic equipment determines, based on bus data, that a vehicle meeting the second parking test conditions is in an auto-parking function activated, with the driver correctly using the driver's door and seatbelt. When the vehicle starts moving again, it acquires the vehicle's auto-parking status and the status of the auto-parking indicator displayed on the instrument panel. More specifically, the vehicle's driver's door is closed, the driver's seatbelt is fastened, and during the use of the auto-parking function, the vehicle speed is 0. At this time, the accelerator pedal's depressing state changes from unpressed to pressed. The vehicle should generate a driving torque corresponding to the degree of accelerator pedal depressing, and this driving torque should be greater than the vehicle's holding torque. Therefore, the vehicle speed will be greater than 0, meaning the vehicle should begin to move forward. The electronic equipment adjusts the auto-parking usage state accordingly based on the above vehicle operating conditions and obtains the fifth parking test result based on this usage state. Specifically, the vehicle should deactivate the auto-parking function, and the instrument panel should no longer display the auto-parking indicator.
[0127] When the parking test target is the sixth parking test target, within the third parking test time range, the sixth parking test result is obtained based on the state of EPB and the display state of the EPB mark on the instrument.
[0128] In this technical solution, the electronic equipment obtains the vehicle's EPB function usage status after the gear is shifted to parking, based on bus data, indicating that the vehicle meets the third parking test conditions. The electronic equipment then obtains the sixth parking test result based on this usage status. More specifically, the vehicle should start operating the EPB function after the gear is shifted to parking, bringing it into a clamped state, and displaying the EPB indicator on the instrument panel.
[0129] When the parking test target is the seventh parking test target, within the fourth parking test time range, when the gear is adjusted to forward gear, the seventh parking test result is determined based on the status of the automatic parking function, the display status of the automatic parking indicator on the instrument panel, the status of EPB, and the display status of the EPB indicator on the instrument panel.
[0130] In this technical solution, the electronic device obtains the vehicle's parking function status when the gear is shifted to drive during the operation of the EPB function, meeting the fourth parking test conditions, based on bus data. The seventh parking test result is then obtained based on this status. The parking function includes the automatic parking function and EPB. More specifically, the vehicle should control the automatic parking function to be inactive, and simultaneously, the vehicle should deactivate the EPB function, preventing it from being clamped. Correspondingly, the instrument panel should no longer display the automatic parking indicator and the EPB indicator.
[0131] When the parking test target is the eighth parking test target, within the fifth parking test time range, after the electronic pedal function is activated, both the brake pedal and the accelerator pedal are in an unpressed state. The eighth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel.
[0132] In this technical solution, the electronic device determines, based on bus data, that a vehicle meeting the fifth parking test condition is in a parking state when the electronic pedal function is activated, and the vehicle speed is less than a preset speed threshold when neither the brake nor accelerator pedal is depressed. At this point, the vehicle's usage status of the automatic parking function is obtained, and the eighth parking test result is derived from this usage status. More specifically, after the vehicle activates the electronic pedal function, the vehicle can control acceleration or braking via the accelerator pedal, and braking via the brake pedal. When the vehicle brakes via the brake pedal, the electronic pedal function is deactivated. When the vehicle does not adjust its current driving force via the accelerator and brake pedals, and the vehicle speed is 0, the vehicle will remain in a parking state, meeting the automatic parking requirements. The vehicle should then activate the automatic parking function and display an automatic parking indicator on the instrument panel.
[0133] When the parking test target is the ninth parking test target, within the fifth parking test time range, when the vehicle is in ATS driving mode, the gear is in forward gear, and the slope is greater than the preset slope threshold, the ninth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument.
[0134] In this technical solution, the electronic equipment determines, based on bus data, that the vehicle meets the fifth parking test conditions when operating ATS driving mode. Specifically, the vehicle is on a slope, in drive, and its speed is below a preset speed threshold. A slope sensor installed on the vehicle obtains slope data. When the slope data exceeds the preset slope threshold, to keep the vehicle stationary on the downhill slope and prevent it from rolling back, the electronic equipment adjusts the automatic parking function. Based on these adjustments, the electronic equipment obtains the ninth parking test result. More specifically, the automatic parking function should be active, and the instrument panel should display an automatic parking indicator.
[0135] After this step is completed, proceed to step S311.
[0136] S307. Determine the vehicle parameters corresponding to the test type based on the parking anomaly test type and type parameter mapping table.
[0137] When the parking test type is a parking anomaly test type, the type is looked up in the type parameter mapping table to obtain the vehicle parameters corresponding to the test type. The type parameter mapping table has been explained in detail in step S303 and will not be repeated here. This mapping table also includes the mapping relationship between the parking anomaly test type and the vehicle parameters corresponding to that type.
[0138] The parking anomaly test type used in this step is determined from step S302.
[0139] S308. Based on the parking anomaly test type and type condition mapping table, determine the parking test conditions and parking test objectives corresponding to this test type.
[0140] When the parking test type is a parking anomaly test type, the type is queried in the type condition mapping table to obtain the corresponding parking test conditions and parking test objectives. The type condition mapping table represents the mapping relationship between parking test types and their corresponding parking test conditions and objectives, including the mapping relationship between parking anomaly test types and their corresponding parking test conditions and objectives.
[0141] The parking status adjustment test type used in this step is determined from step S302.
[0142] S309. Based on the parking test conditions and corresponding vehicle parameter data corresponding to the parking anomaly test type, obtain the anomaly test time range.
[0143] The parking test conditions corresponding to the parking anomaly test type are obtained from step S308, and the vehicle parameters corresponding to this test type are obtained from step S307.
[0144] The process by which the electronic device obtains the abnormal test time range using the corresponding data of the parking test conditions and vehicle parameters is the same as the process of obtaining the parking test time range in step S305, and will not be repeated here.
[0145] In one embodiment, when the parking test condition is the first abnormal test condition, the first abnormal test time range is obtained when the data corresponding to the power mode in the parking test condition parameters is the drive mode and the status data corresponding to ESC is the fault-free state.
[0146] In another embodiment, when the parking test condition is the second abnormal test condition, within the first abnormal test time range, the second abnormal test time range when the automatic parking function is activated and the vehicle speed is less than a preset vehicle speed threshold is obtained.
[0147] In this technical solution, when the automatic parking function is activated, the vehicle is in a parking state when the vehicle speed is less than the preset speed threshold. The electronic equipment obtains the time point that meets the above conditions based on the bus data, and sorts the above time points to obtain the second abnormal test time range.
[0148] S310. Within the abnormal test time range, obtain the abnormal test results based on the corresponding data of the parking test target and vehicle parameters corresponding to the parking abnormal test type.
[0149] The parking test target corresponding to the parking anomaly test type is obtained from step S308, the vehicle parameters corresponding to this test type are obtained from step S307, and the parking test time range determined by the electronic device according to the test type and specific test conditions is obtained from step S309.
[0150] More specifically, the process by which the electronic device obtains the abnormal test result based on the corresponding data of the parking test target and vehicle parameters is the same as the process of obtaining the parking test result in step S306, and will not be repeated here.
[0151] When the parking test target is the first abnormal test target, within the first abnormal test time range, when the automatic parking function is active, the instrument displays the automatic parking indicator, and the EPB is in a fault-free state, if the brake pop-up warning message indicates service brake failure, the first abnormal test result is obtained based on the status of the automatic parking function and EPB, the display status of the automatic parking indicator and EPB indicator on the instrument, and the automatic parking-related information displayed on the instrument.
[0152] In this technical solution, when the vehicle is in driving mode with no faults in EPB and ESC, and the automatic parking function is activated, the service brake fails. The vehicle's brake warning pop-up displays the cause of the abnormality. The vehicle adjusts the operating state of the EPB of the automatic parking function based on the failed brake, and obtains the first abnormality test result based on this operating state. More specifically, the vehicle deactivates the automatic parking function and EPB function, and the automatic parking indicator and EPB indicator are no longer displayed on the instrument panel.
[0153] When the parking test target is the second abnormal test target, within the first abnormal test time range, when the vehicle speed is less than the preset vehicle speed threshold and the brake pedal is in the depressed state, the second abnormal test result is obtained based on the adjustment of the automatic parking indicator displayed on the instrument panel after the EPB is adjusted to the fault state and the automatic parking association information displayed on the instrument panel.
[0154] In this technical solution, when the vehicle is in drive mode, it is in a parked state. The ESC is functioning correctly, but the EPB is faulty. When the brake pedal is depressed, the status of the vehicle's auto-hold function changes. The electronic equipment obtains a second anomaly test result based on this change. More specifically, when the brake pedal is depressed, the vehicle is no longer in a parked state. Consequently, the instrument panel should no longer display the auto-hold indicator; instead, it should display information related to auto-hold failure.
[0155] When the parking test target is the third abnormal test target, within the second abnormal test time range, when the EPB is adjusted to a fault state, the third abnormal test result is obtained based on the display status of the automatic parking indicator on the instrument panel and the automatic parking association information displayed on the instrument panel.
[0156] In this technical solution, when the vehicle is in drive mode, it is in a parked state with the auto-hold function activated. The ESC is functioning correctly, but the EPB is faulty. At this time, the usage status of the auto-hold function changes, and the electronic equipment obtains a third abnormality test result based on this change. More specifically, the instrument cluster should no longer display the auto-hold indicator; instead, it should display information related to auto-hold failure.
[0157] When the parking test target is the fourth abnormal test target, within the second abnormal test time range, when the EPB is adjusted to a fault state, the instrument displays the automatic parking indicator, and the driver's door is adjusted to the open state, the fourth abnormal test result is obtained based on the adjustment of the automatic parking indicator's displayed state on the instrument and the automatic parking association information displayed on the instrument.
[0158] In this technical solution, when the vehicle is in drive mode, it is in a parked state with the auto-hold function activated and the instrument panel displays the auto-hold indicator. If the ESC is functioning correctly but the EPB is faulty, opening the driver's side door will change the status of the auto-hold function. The electronic equipment obtains the fourth anomaly test result based on this change in the auto-hold function's status. More specifically, the instrument panel should no longer display the auto-hold indicator, and the information displayed should be related to auto-hold failure.
[0159] S311. Generate a visualization command based on the parking test result data and send the visualization command to the display device.
[0160] Among them, the parking test result data is the parking test result obtained in step S310 and / or the abnormal test result obtained in step S306.
[0161] The process of generating visualization instructions based on the obtained vehicle test result data and sending the visualization instructions to the display device for corresponding display has been explained in detail in step S204 and will not be repeated here.
[0162] In the above technical solution, the electronic device determines the corresponding test conditions and parameters associated with the conditions according to the different test types of the parking function. After limiting the corresponding test time range according to the data corresponding to the test conditions and associated parameters, at least one test target is tested for each test time range. This not only saves the electronic device from repeatedly setting test conditions, but also realizes repeated testing and analysis of the same test process, improves the utilization rate of bus data generated during the test, and thus improves the testing efficiency and development efficiency of the parking function.
[0163] like Figure 4 As shown, one embodiment of this application provides a parking function testing device 400, which includes:
[0164] The acquisition module 401 is used to acquire vehicle bus data and obtain the data corresponding to the vehicle parameters generated when the vehicle is running the parking function to be tested from the vehicle bus data. The vehicle parameters include parking test condition parameters and parking test target parameters.
[0165] The processing module 402 is used to obtain the parking test time range based on the parking test conditions and the data corresponding to the parking test condition parameters.
[0166] The processing module 402 is also used to obtain the parking test results within the parking test time range based on the data corresponding to the parking test target and the parking test target parameters.
[0167] The processing module 402 is also used to generate visualization instructions based on the parking test results and send the visualization instructions to the display device. The visualization instructions are used to control the display device to display the parking test results.
[0168] In one embodiment, the processing module 402 is specifically used for:
[0169] Obtain the parking test type, which includes parking status adjustment test type or parking anomaly test type;
[0170] Based on the parking test type and type parameter mapping table, determine the vehicle parameters corresponding to the parking test type. The type parameter mapping table represents the mapping relationship between the parking test type and the vehicle parameters.
[0171] Based on the parking test type and type condition mapping table, determine the parking test conditions and parking test objectives corresponding to the parking test type. The type condition mapping table represents the mapping relationship between the parking test type and its corresponding parking test conditions and parking test objectives.
[0172] In one embodiment, the processing module 402 is specifically used for:
[0173] When the parking test condition is the first parking test condition, the data corresponding to the parking test condition parameters are obtained within the first parking test time range when the first parking test condition is met; the first parking test condition includes the vehicle's power mode being in drive mode, EPB and ESC being in a fault-free state, the automatic parking screen soft switch being turned on, the brake pedal being in the depressed state, the vehicle speed being less than the preset vehicle speed threshold and the brake master cylinder pressure being greater than the preset pressure threshold.
[0174] When the parking test condition is the second parking test condition, the data corresponding to the parking test condition parameters are obtained within the second parking test time range when the second parking test condition is met; the second parking test condition includes the power mode being in drive mode, ESC and EPB being in fault-free state, the automatic parking function being activated, and the instrument displaying the automatic parking indicator.
[0175] In one embodiment, the processing module 402 is specifically used for:
[0176] When the parking test target is the first parking test target, within the first parking test time range, the first parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel;
[0177] When the parking test target is the second parking test target, within the first parking test time range, based on the adjustment of the gear position, the state of the driver's door, and the state of the driver's seat belt, the corresponding adjusted state of the automatic parking function and the display state of the automatic parking sign on the instrument panel are obtained to determine the second parking test result.
[0178] In one embodiment, the processing module 402 is specifically used for:
[0179] When the parking test target is the third parking test target, within the second parking test time range, the duration for which the automatic parking function is continuously active is obtained. When the duration exceeds the parking type conversion duration threshold, the third parking test result is determined based on the request status of EPB parking, the status of the automatic parking function and EPB, and the changes in the display status of the automatic parking sign and EPB sign on the instrument panel.
[0180] When the parking test target is the fourth parking test target, within the second parking test time range, the adjustment status of the driver's seat belt and / or the adjustment status of the driver's door are used to obtain the request status for EPB clamping, the corresponding adjustment of the automatic parking function and the status of EPB, and the display status of the automatic parking sign and EPB sign on the instrument panel, so as to determine the fourth parking test result.
[0181] When the parking test target is the fifth parking test target, within the second parking test time range, when the driver's door is closed, the driver's seat belt is fastened, and the gear is in forward gear, if the accelerator pedal is adjusted to the depressed state and the driving torque generated by the vehicle according to this state is greater than the vehicle holding torque, the fifth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel.
[0182] In one embodiment, the processing module 402 is specifically used for:
[0183] When the parking test condition is the third parking test condition, the data corresponding to the gear in the parking test condition parameters is the third parking test time range when the parking gear is in parking position.
[0184] When the parking test condition is the fourth parking test condition, the data corresponding to the parking test condition parameters are obtained within the fourth parking test time range when the fourth parking test condition is met; the fourth parking test condition includes the instrument panel not displaying the automatic parking indicator, the EPB being in the clamped state, and the instrument panel displaying the EPB indicator;
[0185] When the parking test condition is the fifth parking test condition, the data corresponding to the parking test condition parameters are obtained within the fifth parking test time range when the fifth parking test condition is met; the fifth parking test condition includes the power mode being in active mode or drive mode, the driver's door being closed, the driver's seat belt being fastened, and the vehicle speed being less than a preset vehicle speed threshold.
[0186] In one embodiment, the processing module 402 is specifically used for:
[0187] When the parking test target is the sixth parking test target, within the third parking test time range, the sixth parking test result is obtained based on the state of EPB and the display state of the EPB mark on the instrument.
[0188] When the parking test target is the seventh parking test target, within the fourth parking test time range, when the gear is adjusted to forward gear, the seventh parking test result is determined based on the status of the automatic parking function, the display status of the automatic parking indicator on the instrument panel, the status of EPB, and the display status of the EPB indicator on the instrument panel.
[0189] In one embodiment, the processing module 402 is specifically used for:
[0190] When the parking test target is the eighth parking test target, within the fifth parking test time range, after the electronic pedal function is activated, both the brake pedal and the accelerator pedal are in an unpressed state. The eighth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument.
[0191] When the parking test target is the ninth parking test target, within the fifth parking test time range, when the vehicle is in ATS driving mode, the gear is in forward gear, and the slope is greater than the preset slope threshold, the ninth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument.
[0192] In one embodiment, the processing module 402 is specifically used for:
[0193] When the parking test condition is the first abnormal test condition, the first abnormal test time range is obtained when the data corresponding to the power mode in the parking test condition parameters is the drive mode and the status data corresponding to ESC is the fault-free state.
[0194] When the parking test condition is the second abnormal test condition, within the first abnormal test time range, the second abnormal test time range is obtained when the automatic parking function is activated and the vehicle speed is less than the preset vehicle speed threshold.
[0195] In one embodiment, the processing module 402 is specifically used for:
[0196] When the parking test target is the first abnormal test target, within the first abnormal test time range, when the automatic parking function is active, the instrument displays the automatic parking indicator, and the EPB is in a fault-free state, if the brake pop-up warning message indicates service brake failure, the first abnormal test result is obtained based on the status of the automatic parking function and EPB, the display status of the automatic parking indicator and EPB indicator on the instrument, and the automatic parking association information displayed on the instrument.
[0197] When the parking test target is the second abnormal test target, within the first abnormal test time range, when the vehicle speed is less than the preset vehicle speed threshold and the brake pedal is in the depressed state, the second abnormal test result is obtained based on the adjustment of the automatic parking indicator displayed on the instrument panel after the EPB is adjusted to the fault state and the automatic parking association information displayed on the instrument panel.
[0198] In one embodiment, the processing module 402 is specifically used for:
[0199] When the parking test target is the third abnormal test target, within the second abnormal test time range, when the EPB is adjusted to a fault state, the third abnormal test result is obtained based on the display status of the automatic parking sign on the instrument and the automatic parking association information displayed on the instrument.
[0200] When the parking test target is the fourth abnormal test target, within the second abnormal test time range, when the EPB is adjusted to a fault state, the instrument displays the automatic parking indicator, and the driver's door is adjusted to the open state, the fourth abnormal test result is obtained based on the adjustment of the automatic parking indicator's displayed state on the instrument and the automatic parking association information displayed on the instrument.
[0201] like Figure 5 As shown, one embodiment of this application provides an electronic device 500, which includes a memory 501 and a processor 502.
[0202] The memory 501 is used to store computer instructions that can be executed by the processor.
[0203] When executing computer instructions, processor 502 implements each step of the parking function testing method in the above embodiments. For details, please refer to the relevant descriptions in the foregoing method embodiments.
[0204] Optionally, the memory 501 can be either standalone or integrated with the processor 502. When the memory 501 is set up independently, the server 500 also includes a bus for connecting the memory 501 and the processor 502.
[0205] This application also provides a computer-readable storage medium storing computer instructions. When a processor executes the computer instructions, it implements the various steps in the parking function testing method described above.
[0206] This application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the various steps in the parking function testing method described above.
[0207] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0208] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A method for testing parking function, characterized in that, The method includes: Acquire vehicle bus data, and obtain data corresponding to vehicle parameters generated when the vehicle operates the parking function to be tested from the vehicle bus data. The vehicle parameters include parking test condition parameters and parking test target parameters. Based on the parking test conditions and the data corresponding to the parking test condition parameters, the parking test time range is obtained; Within the parking test time range, the parking test results are obtained based on the parking test target and the data corresponding to the parking test target parameters. A visualization command is generated based on the parking test results, and the visualization command is sent to the display device. The visualization command is used to control the display device to display the parking test results. After obtaining the vehicle parameter data generated when the vehicle operates the parking function to be tested from the vehicle bus data, the method further includes: Obtain the parking test type, which includes parking status adjustment test type or parking anomaly test type; Based on the parking test type and type parameter mapping table, the vehicle parameters corresponding to the parking test type are determined, and the type parameter mapping table represents the mapping relationship between the parking test type and the vehicle parameters; Based on the parking test type and type condition mapping table, the parking test conditions and parking test objectives corresponding to the parking test type are determined. The type condition mapping table represents the mapping relationship between the parking test type and its corresponding parking test conditions and parking test objectives.
2. The method according to claim 1, characterized in that, When the parking test type is a parking state adjustment test type, the parking test time range is obtained based on the parking test conditions and the data corresponding to the parking test condition parameters, specifically including: When the parking test condition is the first parking test condition, the data corresponding to the parking test condition parameters is obtained to satisfy the first parking test condition, which is the first parking test time range. The first parking test condition includes the vehicle's power mode being in drive mode, EPB and ESC being in a fault-free state, the automatic parking screen soft switch being turned on, the brake pedal being in the depressed state, the vehicle speed being less than a preset vehicle speed threshold and the brake master cylinder pressure being greater than a preset pressure threshold. When the parking test condition is the second parking test condition, the data corresponding to the parking test condition parameters is obtained to satisfy the second parking test condition, which is the second parking test time range. The second parking test condition includes the power mode being in the driving state, ESC and EPB being in a fault-free state, the automatic parking function being in the active state, and the instrument displaying the automatic parking indicator.
3. The method according to claim 2, characterized in that, Within the parking test time range, parking test results are obtained based on the parking test target and the data corresponding to the parking test target parameters, specifically including any one of the following: When the parking test target is the first parking test target, within the first parking test time range, the first parking test result is obtained according to the state of the automatic parking function and the display state of the automatic parking sign on the instrument. When the parking test target is the second parking test target, within the first parking test time range, based on the adjustment of the gear position, the state of the driver's door, and the state of the driver's seat belt, the corresponding adjusted state of the automatic parking function and the display state of the automatic parking sign on the instrument panel are obtained to determine the second parking test result.
4. The method according to claim 3, characterized in that, The method further includes: When the parking test target is the third parking test target, within the second parking test time range, the duration for which the automatic parking function is continuously activated is obtained. When the duration exceeds the parking type conversion duration threshold, the third parking test result is determined based on the request status of EPB parking, the status of the automatic parking function and EPB, and the changes in the display status of the automatic parking sign and EPB sign on the instrument panel. When the parking test target is the fourth parking test target, within the second parking test time range, the adjustment status of the driver's seat belt and / or the adjustment status of the driver's door are used to obtain the request status for EPB clamping, the corresponding adjustment of the automatic parking function and the status of EPB, and the display status of the automatic parking sign and EPB sign on the instrument panel, so as to determine the fourth parking test result. When the parking test target is the fifth parking test target, within the second parking test time range, when the driver's door is closed, the driver's seat belt is fastened, and the gear is in forward gear, if the accelerator pedal is adjusted to a depressed state and the driving torque generated by the vehicle according to this state is greater than the vehicle holding torque, the fifth parking test result is obtained according to the state described by the automatic parking function and the display state of the automatic parking sign on the instrument panel.
5. The method according to claim 1, characterized in that, When the parking test type is a parking state adjustment test type, the parking test time range is obtained based on the parking test conditions and the data corresponding to the parking test condition parameters, specifically including: When the parking test condition is the third parking test condition, the data corresponding to the gear in the parking test condition parameters is obtained as the third parking test time range when the parking gear is in parking position. When the parking test condition is the fourth parking test condition, the data corresponding to the parking test condition parameters is obtained within the fourth parking test time range when the data meets the fourth parking test condition; the fourth parking test condition includes the instrument panel not displaying the automatic parking indicator, the EPB being in a clamped state, and the instrument panel displaying the EPB indicator; When the parking test condition is the fifth parking test condition, the data corresponding to the parking test condition parameters is obtained within the fifth parking test time range when the fifth parking test condition is met; the fifth parking test condition includes the power mode being in the active mode or drive mode, the driver's door being in the closed state, the driver's seat belt being in the fastened state, and the vehicle speed being less than a preset vehicle speed threshold.
6. The method according to claim 5, characterized in that, Within the parking test time range, parking test results are obtained based on the parking test target and the data corresponding to the parking test target parameters, specifically including any one of the following: When the parking test target is the sixth parking test target, the sixth parking test result is obtained within the third parking test time range based on the state of EPB and the display state of the EPB mark on the instrument panel. When the parking test target is the seventh parking test target, within the fourth parking test time range, when the gear is adjusted to forward gear, the seventh parking test result is determined based on the status of the automatic parking function, the display status of the automatic parking indicator on the instrument panel, the status of EPB, and the display status of the EPB indicator on the instrument panel.
7. The method according to claim 6, characterized in that, The method further includes: When the parking test target is the eighth parking test target, within the fifth parking test time range, after the electronic pedal function is activated, both the brake pedal and the accelerator pedal are in an unpressed state. The eighth parking test result is obtained based on the state of the automatic parking function and the display state of the automatic parking sign on the instrument panel. When the parking test target is the ninth parking test target, within the fifth parking test time range, when the vehicle is in ATS driving mode, the gear is in forward gear, and the slope is greater than the preset slope threshold, the ninth parking test result is obtained based on the status of the automatic parking function and the display status of the automatic parking sign on the instrument panel.
8. The method according to claim 1, characterized in that, When the parking test type is a parking anomaly test type, the parking test time range is obtained based on the parking test conditions and the data corresponding to the parking test condition parameters, specifically including: When the parking test condition is the first abnormal test condition, the first abnormal test time range is obtained when the data corresponding to the power mode in the parking test condition parameters is the drive mode and the status data corresponding to ESC is the fault-free state. When the parking test condition is the second abnormal test condition, within the first abnormal test time range, the second abnormal test time range is obtained when the automatic parking function is activated and the vehicle speed is less than a preset vehicle speed threshold.
9. The method according to claim 8, characterized in that, Within the specified parking test time range, parking test results are obtained based on the parking test target and the data corresponding to the parking test target parameters, specifically including any one of the following: When the parking test target is the first abnormal test target, within the first abnormal test time range, when the automatic parking function is activated, the instrument displays the automatic parking indicator, and the EPB is in a fault-free state, if the brake pop-up warning message indicates service brake failure, the first abnormal test result is obtained based on the status of the automatic parking function and the EPB, the display status of the automatic parking indicator and the EPB indicator on the instrument, and the automatic parking association information displayed on the instrument. When the parking test target is the second abnormal test target, within the first abnormal test time range, when the vehicle speed is less than the preset vehicle speed threshold and the brake pedal is in the depressed state, the second abnormal test result is obtained based on the adjustment of the automatic parking indicator displayed on the instrument panel after the EPB is adjusted to the fault state and the automatic parking association information displayed on the instrument panel.
10. The method according to claim 9, characterized in that, The method further includes: When the parking test target is the third abnormal test target, within the second abnormal test time range, when the EPB is adjusted to a fault state, the third abnormal test result is obtained based on the display status of the automatic parking sign on the instrument and the automatic parking association information displayed on the instrument. When the parking test target is the fourth abnormal test target, within the second abnormal test time range, when the EPB is adjusted to a fault state, the instrument displays the automatic parking indicator, and the driver's door is adjusted to the open state, the fourth abnormal test result is obtained based on the adjustment of the automatic parking indicator's displayed state on the instrument and the automatic parking association information displayed on the instrument.
11. An electronic device, characterized in that, include: A processor and a memory communicatively connected to the processor; The memory stores computer-executed instructions; When executing the computer execution instructions, the processor is used to implement the parking function test method as described in any one of claims 1 to 10.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, are used to implement the parking function test method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Electronic parking braking system and control method thereof
CN103569076A
Vehicle hardware-in-the-loop (HIL) test method, device and system
CN108628280A