[go: up one dir, main page]

CN114923705A - Parking function test method, electronic device, and storage medium - Google Patents

Parking function test method, electronic device, and storage medium Download PDF

Info

Publication number
CN114923705A
CN114923705A CN202210548904.2A CN202210548904A CN114923705A CN 114923705 A CN114923705 A CN 114923705A CN 202210548904 A CN202210548904 A CN 202210548904A CN 114923705 A CN114923705 A CN 114923705A
Authority
CN
China
Prior art keywords
parking
test
state
vehicle
parking test
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210548904.2A
Other languages
Chinese (zh)
Inventor
吕顺顺
范彬
张泽
刘浩龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Zhejiang Zeekr Intelligent Technology Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202210548904.2A priority Critical patent/CN114923705A/en
Publication of CN114923705A publication Critical patent/CN114923705A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

本申请提供一种驻车功能测试方法、电子设备及存储介质,电子设备获取车辆总线数据后获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据,根据该数据与驻车测试条件获得驻车测试时间范围,并在该时间范围内,根据驻车测试目标和相关数据,获得驻车测试结果,并对其进行可视化,以实现电子设备利用车辆总线数据重新获取车辆运行驻车功能过程中内部装置的运行情况,用不同的预设驻车测试条件和目标集中处理上述总线数据,以获得不同测试条件限定的测试条件时间范围和在该时间范围内根据不同测试目标确定的不同测试结果,不仅缩短了数据采集的时间,还提高了测试数据的利用率,从而提高了驻车功能的测试效率。

Figure 202210548904

The present application provides a parking function testing method, an electronic device and a storage medium. After the electronic device obtains vehicle bus data, it obtains data corresponding to vehicle parameters generated when the vehicle operates the parking function to be tested. According to the data and the parking test conditions Obtain the parking test time range, and within this time range, according to the parking test target and related data, obtain the parking test results, and visualize them, so that the electronic device can use the vehicle bus data to re-obtain the vehicle running and parking function. The operation of the internal devices during the process, the above-mentioned bus data is centrally processed with different preset parking test conditions and targets, so as to obtain the test condition time range defined by different test conditions and the different tests determined according to different test targets within this time range. As a result, not only the time for data collection is shortened, but also the utilization rate of test data is improved, thereby improving the test efficiency of the parking function.

Figure 202210548904

Description

驻车功能测试方法、电子设备及存储介质Parking function test method, electronic device and storage medium

技术领域technical field

本申请涉及自动测试技术领域,尤其涉及一种驻车功能测试方法、电子设备及存储介质。The present application relates to the technical field of automatic testing, and in particular, to a parking function testing method, an electronic device and a storage medium.

背景技术Background technique

随着科技的发展和人民经济水平的提高,汽车被广泛应用于人民的日常生活中,驾驶员对车辆安全性的要求逐渐提高,因此,驻车功能所需要适用的场景和在各场景下的稳定性成为车辆开发的重点。With the development of science and technology and the improvement of people's economic level, cars are widely used in people's daily life, and drivers' requirements for vehicle safety are gradually increasing. Stability becomes the focus of vehicle development.

为了保证驻车功能开发的准确率和稳定性,需要研究人员对该功能进行重复的测试,并在测试过程中根据车辆运行的情况确定驻车功能的运行结果。由于不同的驻车功能在测试过程中应用的部分或全部测试条件相同,导致测试过程中需要重复选择相同的条件进行对应的测试,不仅增加了测试的时间,测试过程中产生的测试数据的利用率也低,导致驻车功能测试和开发的效率低。In order to ensure the accuracy and stability of the development of the parking function, researchers need to perform repeated tests on the function, and determine the operating results of the parking function according to the vehicle's operation during the test. Since some or all of the test conditions applied to different parking functions are the same in the test process, it is necessary to repeatedly select the same conditions for the corresponding test during the test process, which not only increases the test time, but also makes use of the test data generated during the test process. The rate is also low, resulting in inefficient testing and development of the parking function.

发明内容SUMMARY OF THE INVENTION

本申请提供一种驻车功能测试方法、电子设备及存储介质,用以解决驻车功能测试和开发效率低的技术问题。The present application provides a parking function testing method, an electronic device and a storage medium, which are used to solve the technical problem of low parking function testing and development efficiency.

第一方面,本申请提供一种驻车功能测试方法,方法包括:In a first aspect, the present application provides a method for testing a parking function, the method comprising:

获取车辆总线数据,并从车辆总线数据中获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据,车辆参数包括驻车测试条件参数和驻车测试目标参数;Obtain vehicle bus data, and obtain data corresponding to vehicle parameters generated when the vehicle runs the parking function to be tested from the vehicle bus data, and the vehicle parameters include parking test condition parameters and parking test target parameters;

根据驻车测试条件和驻车测试条件参数对应的数据,获得驻车测试时间范围;According to the data corresponding to the parking test conditions and the parameters of the parking test conditions, the time range of the parking test is obtained;

在驻车测试时间范围内,根据驻车测试目标和驻车测试目标参数对应的数据,获得驻车测试结果;Within the time range of the parking test, the parking test result is obtained according to the data corresponding to the parking test target and the parameters of the parking test target;

根据驻车测试结果生成可视化指令,并将可视化指令发送至显示装置,可视化指令用于控制显示装置显示驻车测试结果。A visualization instruction is generated according to the parking test result, and the visualization instruction is sent to the display device, and the visualization instruction is used to control the display device to display the parking test result.

在上述技术方案中,电子设备从运行待测试的驻车功能的车辆中获得与该驻车功能关联的总线数据,并利用预设驻车测试条件参数和预设驻车测试目标参数从该总线数据中进行对应数据的筛选以复现车辆及驻车功能的实际运行状态,并依次结合驻车测试条件和驻车测试目标,确定车辆按照预设车辆运行状态运行时待测试的驻车功能的运行情况,以获得驻车测试结果,不仅实现了数据采集和数据分析过程的分离,节省了两种过程间切换操作占用的时间,提高测试效率,还可重复对该测试数据和测试结果进行分析,节省了对运行于同一车况下车辆数据的采集过程,以提高该测试结果和测试数据的利用率。In the above technical solution, the electronic device obtains the bus data associated with the parking function from the vehicle running the parking function to be tested, and uses the preset parking test condition parameters and the preset parking test target parameters from the bus The corresponding data is filtered in the data to reproduce the actual operating state of the vehicle and the parking function, and the parking test conditions and the parking test target are combined in turn to determine the parking function to be tested when the vehicle runs according to the preset vehicle operating state. It not only realizes the separation of data acquisition and data analysis process, saves the time occupied by switching operations between the two processes, improves the test efficiency, but also repeats the analysis of the test data and test results. , which saves the collection process of vehicle data running under the same vehicle condition, so as to improve the utilization rate of the test results and test data.

可选地,从车辆总线数据中获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据之后,方法还包括:Optionally, after obtaining data corresponding to vehicle parameters generated when the vehicle runs the parking function to be tested from the vehicle bus data, the method further includes:

获取驻车测试类型,驻车测试类型包括驻车状态调整测试类型或驻车异常测试类型;Get the parking test type, which includes the parking state adjustment test type or the parking abnormality test type;

根据驻车测试类型和类型参数映射表,确定驻车测试类型对应的车辆参数,类型参数映射表表示驻车测试类型和车辆参数间的映射关系;According to the parking test type and the type parameter mapping table, determine the vehicle parameters corresponding to the parking test type, and the type parameter mapping table represents the mapping relationship between the parking test type and the vehicle parameters;

根据驻车测试类型和类型条件映射表,确定驻车测试类型对应的驻车测试条件和驻车测试目标,类型条件映射表表示驻车测试类型及其对应的驻车测试条件和驻车测试目标间的映射关系。According to the parking test type and type condition mapping table, determine the parking test condition and parking test target corresponding to the parking test type. The type condition mapping table represents the parking test type and its corresponding parking test condition and parking test target. mapping relationship between.

可选地,当驻车测试类型为驻车状态调整测试类型时,根据驻车测试条件和驻车测试条件参数对应的数据,获得驻车测试时间范围,具体包括:Optionally, when the parking test type is the parking state adjustment test type, the parking test time range is obtained according to the parking test conditions and the data corresponding to the parking test condition parameters, specifically including:

当驻车测试条件为第一驻车测试条件时,获得驻车测试条件参数对应的数据满足第一驻车测试条件时的第一驻车测试时间范围;第一驻车测试条件包括车辆的电源模式处于驱动模式、电子驻车制动系统(Electrical Park Brake,简称:EPB)和汽车电子稳定控制系统(Electronic Stability Controller,简称:ESC)均处于无故障状态、自动驻车的屏幕软开关开启、制动踏板处于踩踏状态、车速小于预设车速阈值且制动主缸压力大于预设压力阈值;When the parking test condition is the first parking test condition, obtain the first parking test time range when the data corresponding to the parking test condition parameter satisfies the first parking test condition; the first parking test condition includes the power supply of the vehicle The mode is in drive mode, the electronic parking brake system (Electrical Park Brake, referred to as: EPB) and the electronic stability control system (referred to as: ESC) are in a trouble-free state, the automatic parking screen soft switch is turned on, The brake pedal is in the depressed state, the vehicle speed is lower than the preset vehicle speed threshold and the brake master cylinder pressure is greater than the preset pressure threshold;

当驻车测试条件为第二驻车测试条件时,获得驻车测试条件参数对应的数据满足第二驻车测试条件时的第二驻车测试时间范围;第二驻车测试条件包括电源模式处于驱动状态、ESC和EPB均处于无故障状态、自动驻车功能处于激活状态、且仪表显示自动驻车标志。When the parking test condition is the second parking test condition, obtain the second parking test time range when the data corresponding to the parking test condition parameter satisfies the second parking test condition; the second parking test condition includes that the power mode is in Drive status, ESC and EPB are all fault free, Auto Park function is active, and the instrument displays the Auto Park sign.

可选地,在驻车测试时间范围内,根据驻车测试目标和驻车测试目标参数对应的数据,获得驻车测试结果,具体包括以下任意一项:Optionally, within the time range of the parking test, the parking test result is obtained according to the data corresponding to the parking test target and the parameters of the parking test target, which specifically includes 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 time range of the first parking test, according to the adjustment of the gear position, the state of the driver's door and the state of the driver's seat belt, the corresponding adjustment is obtained. The state of the automatic parking function and the display state of the automatic parking sign on the instrument panel are used to determine the result of the second parking test.

可选地,方法还包括:Optionally, the method further includes:

当驻车测试目标为第三驻车测试目标时,在第二驻车测试时间范围内,获取自动驻车功能持续处于激活状态的时长,当时长大于驻车类型转换时长阈值时,根据对EPB驻车的请求状态、自动驻车功能和EPB所处的状态、自动驻车标志和EPB标志在仪表上的显示状态的变化情况,确定第三驻车测试结果;When the parking test target is the third parking test target, within the second parking test time range, the duration of the automatic parking function being continuously activated is obtained. When the duration is greater than the parking type conversion duration threshold, the The request state of parking, the state of the automatic parking function and the EPB, the change of the display state of the automatic parking sign and the EPB sign on the instrument, determine the result of the third parking test;

当驻车测试目标为第四驻车测试目标时,在第二驻车测试时间范围内,当驾驶员安全带所处状态的调整情况和/或驾驶员车门所处状态的调整情况,获得对EPB夹紧的请求状态、对应调整的自动驻车功能和EPB所处状态、自动驻车标志和EPB标志在仪表上的显示状态,以确定第四驻车测试结果;When the parking test target is the fourth parking test target, within the second parking test time range, when the adjustment of the state of the driver's seat belt and/or the adjustment of the state of the driver's door, the correct The request state of the EPB clamping, the correspondingly adjusted automatic parking function and the state of the EPB, the automatic parking sign and the display state of the EPB sign on the instrument, 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 the forward gear, if The state of the accelerator pedal is adjusted to the stepping state and the driving torque generated by the vehicle according to this state is greater than the vehicle holding torque, and the fifth 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 .

可选地,当驻车测试类型为驻车状态调整测试类型时,根据驻车测试条件和驻车测试条件参数对应的数据,获得驻车测试时间范围,具体包括:Optionally, when the parking test type is the parking state adjustment test type, the parking test time range is obtained according to 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, obtain the third parking test time range when the data corresponding to the gear in the parking test condition parameter is the parking gear;

当驻车测试条件为第四驻车测试条件时,获得驻车测试条件参数对应的数据满足第四驻车测试条件时的第四驻车测试时间范围;第四驻车测试条件包括仪表未显示自动驻车标志、EPB处于夹紧状态、且仪表显示EPB标志;When the parking test condition is the fourth parking test condition, the obtained data corresponding to the parking test condition parameter satisfies the fourth parking test time range when the fourth parking test condition is satisfied; the fourth parking test condition includes that the meter does not display The automatic parking sign, the EPB is in the clamped state, and the instrument displays the EPB sign;

当驻车测试条件为第五驻车测试条件时,获得驻车测试条件参数对应的数据满足第五驻车测试条件时的第五驻车测试时间范围;第五驻车测试条件包括电源模式处于激活模式或者驱动模式、驾驶员车门处于关闭状态、驾驶员安全带处于系着状态、且车速小于预设车速阈值。When the parking test condition is the fifth parking test condition, the obtained data corresponding to the parking test condition parameter satisfies the fifth parking test time range when the fifth parking test condition is satisfied; the fifth parking test condition includes that the power mode is in Active mode or drive mode, the driver's door is closed, the driver's seat belt is fastened, and the vehicle speed is less than a preset vehicle speed threshold.

可选地,在驻车测试时间范围内,根据驻车测试目标和驻车测试目标参数对应的数据,获得驻车测试结果,具体包括以下任意一项:Optionally, within the time range of the parking test, the parking test result is obtained according to the data corresponding to the parking test target and the parameters of the parking test target, which specifically includes any one of the following:

当驻车测试目标为第六驻车测试目标时,在第三驻车测试时间范围内,根据EPB所处的状态和EPB标志在仪表上的显示状态获得第六驻车测试结果;When the parking test target is the sixth parking test target, within the third parking test time range, obtain the sixth parking test result according to the state of the EPB and the display state of the EPB mark on the instrument;

当驻车测试目标为第七驻车测试目标时,在第四驻车测试时间范围内,当挡位调整为前进挡时,根据自动驻车功能所处状态、自动驻车标志在仪表上的显示状态、EPB所处的状态和EPB标志在仪表上的显示状态,确定第七驻车测试结果。When the parking test target is the seventh parking test target, within the fourth parking test time range, when the gear is adjusted to the forward gear, according to the state of the automatic parking function, the automatic parking mark on the instrument The display state, the state of the EPB and the display state of the EPB mark on the instrument panel determine the result of the seventh parking test.

可选地,方法还包括:Optionally, 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 not stepped on, according to the state of the automatic parking function. And the display status of the automatic parking sign on the instrument to obtain the eighth parking test result;

当驻车测试目标为第九驻车测试目标时,在第五驻车测试时间范围内,当车辆处于全地形滑行(All Terrain Scooting,简称:ATS)驾驶模式、挡位处于前进挡、坡度大于预设坡度阈值时,根据自动驻车功能所处状态和自动驻车标志在仪表上的显示状态获得第九驻车测试结果。When the parking test target is the ninth parking test target, within the fifth parking test time range, when the vehicle is in the All Terrain Scooting (ATS) driving mode, the gear is in the forward gear, and the slope is greater than When the gradient threshold is preset, the ninth 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.

可选地,当驻车测试类型为驻车异常测试类型时,根据驻车测试条件和驻车测试条件参数对应的数据,获得驻车测试时间范围,具体包括:Optionally, when the parking test type is the parking abnormality test type, the parking test time range is obtained according to the parking test conditions and the data corresponding to the parking test condition parameters, specifically including:

当驻车测试条件为第一异常测试条件时,获得驻车测试条件参数中电源模式对应的数据为驱动模式且ESC对应的状态数据为无故障状态时的第一异常测试时间范围;When the parking test condition is the first abnormal test condition, obtain the first abnormal test time range when the data corresponding to the power supply mode in the parking test condition parameter is the driving mode and the state data corresponding to the ESC is the fault-free state;

当驻车测试条件为第二异常测试条件时,在第一异常测试时间范围内,获得自动驻车功能处于激活状态、且车速小于预设车速阈值时的第二异常测试时间范围。When the parking test condition is the second abnormal test condition, within the first abnormal test time range, obtain the second abnormal test time range when the automatic parking function is activated and the vehicle speed is less than the preset vehicle speed threshold.

可选地,驻车测试时间范围内,根据驻车测试目标和驻车测试目标参数对应的数据,获得驻车测试结果,具体包括以下任意一项:Optionally, within the parking test time range, the parking test result is obtained according to the data corresponding to the parking test target and the parameters of the parking test target, which specifically includes any one of the following:

当驻车测试目标为第一异常测试目标时,在第一异常测试时间范围内,当自动驻车功能处于激活状态、仪表显示自动驻车标志、且EPB处于无故障状态时,若制动弹窗警告信息为行车制动失效,根据自动驻车功能和EPB所处的状态、自动驻车标志和EPB标志在仪表上的显示状态、及仪表显示的自动驻车关联信息,获得第一异常测试结果;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 sign, and the EPB is in a fault-free state, if the brake pop-up window The warning information is the service brake failure. According to the automatic parking function and the state of the EPB, the display status of the automatic parking sign and the EPB sign on the instrument, and the automatic parking related information displayed on the instrument, the first abnormal test result is obtained. ;

当驻车测试目标为第二异常测试目标时,在第一异常测试时间范围内,当车速小于预设车速阈值且制动踏板处于踩踏状态时,根据EPB所处状态调整为故障状态后自动驻车标志在仪表上显示状态的调整情况和仪表显示的自动驻车关联信息,获得第二异常测试结果。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 EPB is adjusted to the fault state and then automatically parked The vehicle logo is displayed on the instrument to display the adjustment status of the state and the automatic parking related information displayed by the instrument to obtain the second abnormal test result.

可选地,方法还包括:Optionally, the method further includes:

当驻车测试目标为第三异常测试目标时,在第二异常测试时间范围内,当EPB所处状态调整为故障状态时,根据自动驻车标志在仪表上的显示状态和仪表显示的自动驻车关联信息,获得第三异常测试结果;When the parking test target is the third abnormal test target, within the second abnormal test time range, when the state of the EPB is adjusted to the fault state, according to the display state of the automatic parking sign on the instrument and the automatic parking displayed by the instrument vehicle-related information to obtain the third abnormal test result;

当驻车测试目标为第四异常测试目标时,在第二异常测试时间范围内,当EPB所处状态调整为故障状态、仪表显示自动驻车标志且驾驶员车门调整为开启状态时,根据自动驻车标志在仪表上显示状态的调整情况和仪表显示的自动驻车关联信息,获得第四异常测试结果。When the parking test target is the fourth abnormal test target, within the second abnormal test time range, when the state of the EPB is adjusted to the fault state, the instrument displays the automatic parking sign, and the driver's door is adjusted to the open state, according to the automatic The parking sign displays the adjustment status of the state on the instrument and the automatic parking related information displayed on the instrument to obtain the fourth abnormal test result.

在上述技术方案中,电子设备根据驻车功能的不同测试类型,确定对应的测试条件和该条件关联的参数,根据测试条件及关联参数对应的数据限定对应的测试时间范围后,针对各测试时间范围,对至少一种测试目标进行测试,不仅节省了电子设备重复设定测试条件的过程,还实现了对同一测试过程的重复测试与分析,提高了测试过程中产生的总线数据的利用率,从而提高了对驻车功能的测试效率和开发效率。In the above technical solution, the electronic device determines corresponding test conditions and parameters associated with the conditions according to different test types of the parking function, and after defining the corresponding test time range according to the data corresponding to the test conditions and the associated parameters, for each test time Scope, testing at least one test target not only saves the process of repeatedly setting test conditions for electronic equipment, but also realizes repeated testing and analysis of the same test process, and improves the utilization of bus data generated during the test process. Thus, the test efficiency and development efficiency of the parking function are improved.

第二方面,本申请提供一种电子设备,包括:处理器以及与处理器通信连接的存储器;In a second aspect, the present application provides an electronic device, including: a processor and a memory communicatively connected to the processor;

存储器存储计算机执行指令;memory stores instructions for execution by the computer;

处理器执行存储器存储的计算机执行指令,以实现第一方面涉及的驻车功能测试方法。The processor executes the computer-executed instructions stored in the memory to implement the parking function test method related to the first aspect.

第三方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机指令,计算机指令被处理器执行时用于实现第一方面涉及的驻车功能测试方法。In a third aspect, the present application provides a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed by a processor, are used to implement the parking function testing method involved in the first aspect.

本申请提供一种驻车功能测试方法、电子设备及存储介质,获取车辆总线数据,并从车辆总线数据中获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据,即驻车测试条件参数和驻车测试目标参数对应的数据,根据驻车测试条件和驻车测试条件参数对应的数据,获得驻车测试时间范围,在驻车测试时间范围内,根据驻车测试目标和驻车测试目标参数对应的数据,获得驻车测试结果,根据驻车测试结果生成可视化指令,并将可视化指令发送至显示装置,以控制显示装置显示驻车测试结果,以实现电子设备利用车辆总线数据重新获取车辆运行驻车功能过程中内部装置的运行情况,用不同的预设驻车测试条件和目标集中处理上述总线数据,以获得不同测试条件限定的测试条件时间范围和在该时间范围内根据不同测试目标确定的不同测试结果,不仅缩短了数据采集的时间,还提高了测试数据的利用率,从而提高了驻车功能的测试效率。The present application provides a parking function test method, electronic device and storage medium, which acquires vehicle bus data, and obtains data corresponding to vehicle parameters generated when the vehicle runs the parking function to be tested from the vehicle bus data, that is, the parking test The data corresponding to the condition parameters and the parking test target parameters, according to the data corresponding to the parking test conditions and the parking test condition parameters, the parking test time range is obtained, and within the parking test time range, according to the parking test target and parking Test the data corresponding to the target parameters, obtain the parking test result, generate a visual command according to the parking test result, and send the visual command to the display device to control the display device to display the parking test result, so as to realize the electronic device using the vehicle bus data to restore the data. Obtain the operation of the internal devices during the vehicle running the parking function, and centrally process the above bus data with different preset parking test conditions and targets, so as to obtain the test condition time range limited by different test conditions and according to different test conditions within this time range. The different test results determined by the test target not only shortens the time for data collection, but also improves the utilization of test data, thereby improving the test efficiency of the parking function.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

图1为本申请一实施例提供的驻车功能测试方法的应用场景图;1 is an application scenario diagram of a parking function test method provided by an embodiment of the present application;

图2为本申请一实施例提供的驻车功能测试方法的流程示意图;2 is a schematic flowchart of a parking function testing method provided by an embodiment of the present application;

图3为本申请另一实施例提供驻车功能测试方法的流程示意图;3 is a schematic flowchart of a method for testing a parking function according to another embodiment of the present application;

图4为本申请一实施例提供的驻车功能测试装置的结构示意图;4 is a schematic structural diagram of a parking function testing device provided by an embodiment of the application;

图5为本申请一实施例提供的电子设备的结构示意图。FIG. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Specific embodiments of the present application have been shown by the above-mentioned drawings, and will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the concepts of the present application in any way, but to illustrate the concepts of the present application to those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.

随着科技的发展和人民经济水平的提高,汽车被广泛应用于人民的日常生活中,驾驶员对车辆安全性的要求逐渐提高,因此,驻车功能所需要适用的场景和在各场景下的稳定性成为车辆开发的重点。With the development of science and technology and the improvement of people's economic level, cars are widely used in people's daily life, and drivers' requirements for vehicle safety are gradually increasing. Stability becomes the focus of vehicle development.

为了保证驻车功能开发的准确率和稳定性,需要研究人员对该功能进行重复的测试,并在测试过程中根据车辆运行的情况确定驻车功能的运行结果。由于驻车功能在测试过程中部分或全部测试条件相同,导致测试过程中需要重复选择相同的条件进行对应的测试,不仅增加了测试的时间,测试过程中产生的测试数据的利用率也低,导致驻车功能测试和开发的效率低。In order to ensure the accuracy and stability of the development of the parking function, researchers need to perform repeated tests on the function, and determine the operating results of the parking function according to the vehicle's operation during the test. Since some or all of the test conditions of the parking function are the same during the test process, it is necessary to repeatedly select the same conditions for the corresponding test during the test process, which not only increases the test time, but also reduces the utilization rate of the test data generated during the test process. This leads to low efficiency in the testing and development of the parking function.

针对上述技术问题,本申请实施例提供一种驻车功能测试方法、电子设备及存储介质,旨在解决驻车功能测试和开发效率低的问题。本申请的技术构思是:电子设备从已运行驻车功能的车辆中获得车辆总线数据,通过预设的驻车测试条件筛选出关联的车辆参数对应的数据,以限定车辆所处的不同车况,在各车况中,通过预设的驻车测试目标确定车辆执行不同驻车功能的状态并确定对应的测试结果,以实现对处于同一时段内的总线数据的重复利用,降低了针对同一车况的数据采集次数,提高驻车功能测试和开发的效率。In view of the above technical problems, the embodiments of the present application provide a parking function testing method, an electronic device, and a storage medium, which aim to solve the problem of low parking function testing and development efficiency. The technical idea of the present application is: the electronic device obtains the vehicle bus data from the vehicle running the parking function, and filters out the data corresponding to the associated vehicle parameters through the preset parking test conditions, so as to limit the different vehicle conditions in which the vehicle is located, In each vehicle condition, the state of the vehicle performing different parking functions is determined through the preset parking test target and the corresponding test results are determined, so as to realize the reuse of the bus data in the same period of time and reduce the data for the same vehicle condition. Collection times to improve the efficiency of parking function testing and development.

图1为本申请一实施例提供的驻车功能测试方法的应用场景图,如图1所示,包括车辆10、电子设备11和显示装置12,车辆10内置有驻车系统101,该驻车系统101包括电子驻车制动系统102和自动驻车系统103。其中,电子设备11和显示装置12连接,更具体地,该连接包括电连接和通信连接。FIG. 1 is an application scenario diagram of a parking function testing method provided by an embodiment of the application. As shown in FIG. 1 , it includes a vehicle 10 , an electronic device 11 and a display device 12 . The vehicle 10 has a built-in parking system 101 . The system 101 includes an electronic parking brake system 102 and an automatic parking system 103 . Wherein, the electronic device 11 and the display device 12 are connected, and more specifically, the connection includes electrical connection and communication connection.

在驻车功能开发过程中,对上述正在开发的驻车功能进行测试时,将安装有待测试的驻车功能的车辆按照预设车辆运行状态运行,该车辆会根据车辆所处的实际运行状态对应调整驻车系统101的运行状态,包括自动驻车系统103的激活状态和解除使用状态,EPB102的激活状态和解除使用状态。车辆通过车辆总线传输表示车辆运行状态的总线数据和/或传输表示驻车系统运行状态的总线数据,并将该总线数据进行储存。During the development of the parking function, when the above-mentioned parking function under development is tested, the vehicle with the parking function to be tested is operated according to the preset vehicle operating state, and the vehicle will correspond to the actual operating state of the vehicle. Adjust the operating state of the parking system 101 , including the activation state and deactivation state of the automatic parking system 103 , and the activation state and deactivation state of the EPB 102 . The vehicle transmits bus data representing the operating state of the vehicle and/or transmits bus data representing the operating state of the parking system via the vehicle bus, and stores the bus data.

电子设备11从车辆10中获得上述车辆总线数据,并从车辆总线数据中获得车辆运行驻车功能过程中的相关数据,并对该数据进行分析和统计,获得测试结果。电子设备11根据上述测试结果生成可视化指令,并将该指令发送至显示装置12,以控制该显示装置12显示对应的测试结果,该测试结果包括但不限于测试结果数据及该数据对应的统计图和统计表,以提高该测试结果的显示多样性和直观性。The electronic device 11 obtains the above-mentioned vehicle bus data from the vehicle 10 , and obtains relevant data during the process of running the parking function of the vehicle from the vehicle bus data, and analyzes and counts the data to obtain the test result. The electronic device 11 generates a visual instruction according to the above-mentioned test result, and sends the instruction to the display device 12 to control the display device 12 to display the corresponding test result, which includes but is not limited to the test result data and the statistical graph corresponding to the data. and statistical tables to improve the display diversity and intuitiveness of the test results.

图2为本申请一实施例提供的驻车功能测试方法的流程示意图。如图2所示,本申请提供的驻车功能测试方法,包括:FIG. 2 is a schematic flowchart of a parking function testing method provided by an embodiment of the present application. As shown in Figure 2, the parking function test method provided by this application includes:

S201、电子设备获取车辆总线数据,并从车辆总线数据中获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据。S201. The electronic device obtains vehicle bus data, and obtains, from the vehicle bus data, data corresponding to vehicle parameters generated when the vehicle runs the parking function to be tested.

电子设备获取的车辆总线数据为车辆在运行待测试的驻车功能的过程中,车辆的控制单元和其他关联的执行单元之间通过车辆总线互相传输并进行储存的数据,该数据包括控制指令、执行单元运行过程中产生的数据和执行单元采集的数据。更具体地,执行单元可通过安装在车辆上的传感器单元进行相关数据的采集。The vehicle bus data obtained by the electronic device is the data that is transmitted and stored between the control unit of the vehicle and other associated execution units through the vehicle bus when the vehicle is running the parking function to be tested. The data includes control commands, The data generated during the operation of the execution unit and the data collected by the execution unit. More specifically, the execution unit can collect relevant data through the sensor unit installed on the vehicle.

由于车辆的总线上传输不同类型的数据,车辆对应储存的车辆总线数据的类型也不同。在一实施例中,在一实施例中,总线数据的格式包括:mdf格式、dat格式、blf格式。Since different types of data are transmitted on the bus of the vehicle, the types of vehicle bus data stored by the vehicle are also different. In one embodiment, the format of the bus data includes: mdf format, dat format, and blf format.

当电子设备利用上述车辆总线数据对该车辆运行待测试的驻车功能进行分析时,从运行了待测试驻车功能的车辆中获取车辆总线数据,该车辆总线数据包括该车辆运行待测试驻车功能过程中传输于车辆总线上的数据。电子设备可根据上述车辆总线数据重复获取车辆运行待测试驻车功能过程中各时间点的车辆运行情况。When the electronic device uses the above-mentioned vehicle bus data to analyze the parking function to be tested in the operation of the vehicle, the vehicle bus data is obtained from the vehicle running the parking function to be tested, and the vehicle bus data includes the operation of the vehicle to be tested. Data transferred on the vehicle bus during a function. The electronic device can repeatedly acquire the vehicle operation status at each time point in the process of the vehicle operation to be tested with the parking function according to the above-mentioned vehicle bus data.

更具体地,车辆获取的车辆总线数据中包括各车辆参数对应的数据,该车辆参数包括驻车测试条件参数和驻车测试目标参数。其中,驻车测试条件参数为电子设备限定车辆运行状态的参数,驻车测试目标参数为确定车辆中待测试的驻车功能的运行状态的参数。其中,待测试的驻车功能包括但不限于EPB功能和自动驻车功能。More specifically, the vehicle bus data acquired by the vehicle includes data corresponding to each vehicle parameter, and the vehicle parameter includes a parking test condition parameter and a parking test target parameter. The parking test condition parameter is a parameter for the electronic device to define the running state of the vehicle, and the parking test target parameter is a parameter for determining the running state of the parking function to be tested in the vehicle. Among them, the parking function to be tested includes but is not limited to the EPB function and the automatic parking function.

S202、电子设备根据驻车测试条件和驻车测试条件参数对应的数据,获得驻车测试时间范围。S202, the electronic device obtains the parking test time range according to the parking test conditions and the data corresponding to the parking test condition parameters.

驻车测试条件为电子设备限定的、车辆运行状态应满足目标运行状态时的条件,该驻车测试条件包括驻车测试条件参数及该参数对应的、应满足的目标数据。其中,目标数据为车辆的目标运行状态。The parking test condition is a condition defined by the electronic device when the vehicle operating state should meet the target operating state, and the parking test condition includes the parking test condition parameter and the target data corresponding to the parameter that should be satisfied. The target data is the target running state of the vehicle.

步骤S210中获得的驻车测试条件参数的对应数据是获取的车辆总线数据对应的总时间范围内,各时间点对应的驻车测试条件参数对应的实际数据,即车辆运行的实际状态。电子设备将上述获得的实际数据与该参数需满足的目标数据进行比较,获得实际数据处于目标数据限定的数据范围内的时间点。电子设备统计上述时间点,获得包含至少一个子时间范围的目标时间范围,并将该目标时间范围确定为驻车测试时间范围。The corresponding data of the parking test condition parameters obtained in step S210 is the actual data corresponding to the parking test condition parameters corresponding to each time point within the total time range corresponding to the obtained vehicle bus data, that is, the actual state of vehicle operation. The electronic device compares the obtained actual data with the target data that the parameter needs to satisfy, and obtains a time point when the actual data is within the data range defined by the target data. The electronic device counts the above time points, obtains a target time range including at least one sub-time range, and determines the target time range as the parking test time range.

其中,驻车测试时间范围为电子设备根据车辆总线数据确定车辆运行于驻车测试条件中限定的车辆运行目标状态时所处的时间范围。The parking test time range is the time range in which the electronic device determines, according to the vehicle bus data, that the vehicle runs in the vehicle running target state defined in the parking test conditions.

S203、在驻车测试时间范围内,电子设备根据驻车测试目标和驻车测试目标参数对应的数据,获得驻车测试结果。S203 , within the parking test time range, the electronic device obtains the parking test result according to the parking test target and the data corresponding to the parking test target parameters.

其中,驻车测试时间范围是从步骤S202中获得的。Wherein, the parking test time range is obtained from step S202.

驻车测试目标表示电子设备限定的、待测试的驻车功能的运行状态的参数满足目标运行状态时的条件,该驻车测试目标包括驻车测试目标参数和该参数应满足的目标数据。The parking test target represents the condition when the parameters of the operating state of the parking function to be tested, defined by the electronic device, meet the target operating state, and the parking test target includes the parking test target parameter and the target data that the parameter should satisfy.

电子设备在确定驻车测试间范围后,在步骤S201中获得全部车辆总线数据内驻车测试目标参数对应的数据中,获得处于驻车测试时间范围对应的驻车测试目标参数对应的数据,该数据为驻车测试目标对应的实际数据。After the electronic device determines the range of the parking test room, in step S201, it obtains the data corresponding to the parking test target parameter in all the vehicle bus data, and obtains the data corresponding to the parking test target parameter corresponding to the parking test time range. The data is the actual data corresponding to the parking test target.

电子设备将驻车测试目标参数对应的实际数据与目标数据进行比较,获得车辆在运行待测试的驻车功能,以确定该功能的实际运行情况满足目标情况的分布状态,并对该情况分布状态进行统计学统计与分析,以获得驻车测试结果。The electronic device compares the actual data corresponding to the target parameters of the parking test with the target data, and obtains the parking function to be tested when the vehicle is running, so as to determine the distribution state that the actual operation of the function satisfies the target situation, and the distribution state of the situation. Statistical statistics and analysis are performed to obtain parking test results.

S204、根据驻车测试结果数据生成可视化指令,并将可视化指令发送至显示装置。S204. Generate a visualization instruction according to the parking test result data, and send the visualization instruction to the display device.

其中,驻车测试结果是从步骤S203中获得的。Wherein, the parking test result is obtained from step S203.

电子设备从驻车测试结果获得电子设备对车辆运行驻车功能情况的统计与分析的相关数据,并根据该相关数据生成可视化指令,将该指令发送至显示装置,以控制显示装置将上述驻车测试结果进行显示。其中,显示装置显示的内容包括但不限于驻车功能的运行状态的相关数据及该相关数据对应的统计图和统计表。The electronic device obtains the relevant data of the statistics and analysis of the operation of the parking function of the vehicle by the electronic device from the parking test result, and generates a visual command according to the relevant data, and sends the command to the display device to control the display device to park the above-mentioned parking function. The test results are displayed. Wherein, the content displayed by the display device includes, but is not limited to, the relevant data of the running state of the parking function and the statistical graph and statistical table corresponding to the relevant data.

在上述技术方案中,电子设备从运行待测试的驻车功能的车辆中获得与该驻车功能关联的总线数据,并利用预设驻车测试条件参数和预设驻车测试目标参数从该总线数据中进行对应数据的筛选以复现车辆及驻车功能的实际运行状态,并依次结合驻车测试条件和驻车测试目标,确定车辆按照预设车辆运行状态运行时待测试的驻车功能的运行情况,以获得驻车测试结果,不仅实现了数据采集和数据分析过程的分离,节省了两种过程间切换操作占用的时间,提高测试效率,还可重复对该测试数据和测试结果进行分析,节省了对运行于同一车况下车辆数据的采集过程,以提高该测试结果和测试数据的利用率。In the above technical solution, the electronic device obtains the bus data associated with the parking function from the vehicle running the parking function to be tested, and uses the preset parking test condition parameters and the preset parking test target parameters from the bus The corresponding data is filtered in the data to reproduce the actual operating state of the vehicle and the parking function, and the parking test conditions and the parking test target are combined in turn to determine the parking function to be tested when the vehicle runs according to the preset vehicle operating state. It not only realizes the separation of data acquisition and data analysis process, saves the time occupied by switching operations between the two processes, improves the test efficiency, but also repeats the analysis of the test data and test results. , which saves the collection process of vehicle data running under the same vehicle condition, so as to improve the utilization rate of the test results and test data.

图3为本申请另一实施例提供的驻车功能测试方法的流程示意图,该方法的执行主体为电子设备。如图3所示,本申请提供的驻车功能测试方法,包括:FIG. 3 is a schematic flowchart of a parking function testing method provided by another embodiment of the present application, where the execution subject of the method is an electronic device. As shown in Figure 3, the parking function test method provided by this application includes:

S301、获取车辆总线数据,并从车辆总线数据中获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据。S301. Acquire vehicle bus data, and obtain data corresponding to vehicle parameters generated when the vehicle runs the parking function to be tested from the vehicle bus data.

其中,车辆总线数据及电子设备从该总线数据中获得的车辆参数对应的数据已在步骤S201中详细解释,此处不再赘述。The vehicle bus data and the data corresponding to the vehicle parameters obtained by the electronic device from the bus data have been explained in detail in step S201, and will not be repeated here.

更具体地,电子设备从车辆中获得车辆总线数据后,利用预设时间间隔对该车辆总线数据进行采样和量化后,实现对该总线数据的离散化,以获得该车辆总线数据对应的离散总线数据。More specifically, after the electronic device obtains the vehicle bus data from the vehicle, after sampling and quantizing the vehicle bus data by using a preset time interval, the discretization of the bus data is realized, so as to obtain the discrete bus corresponding to the vehicle bus data. data.

离散总线数据中包括多个离散时间点,各离散时间点对应的车辆参数对应的数据表示该车辆在离散时间点对应的时刻所处的车辆运行实际状态和车辆运行驻车功能的实际状态。The discrete bus data includes a plurality of discrete time points, and the data corresponding to the vehicle parameters corresponding to each discrete time point represents the actual state of the vehicle operation and the actual state of the vehicle operation and parking function at the time corresponding to the discrete time point.

S302、获取驻车测试类型。S302. Obtain the parking test type.

驻车测试类型为电子设备在对总线数据进行测试和分析时,限定测试目标和为实现该目标车辆所需条件的预设类型,驻车测试类型包括驻车状态调整测试类型或驻车异常测试类型。The type of parking test is that when the electronic device tests and analyzes the bus data, it defines the test target and the preset type of the conditions required for the vehicle to achieve the target. The type of parking test includes the type of parking state adjustment test or the abnormal parking test. type.

更具体地,当驻车测试类型为驻车状态调整测试类型时,进入步骤S303;当驻车测试类型为驻车异常测试类型时,进入步骤S307。More specifically, when the parking test type is the parking state adjustment test type, the process goes to step S303; when the parking test type is the parking abnormality test type, the process goes to step S307.

S303、根据驻车状态调整测试类型和类型参数映射表,确定该测试类型对应的车辆参数。S303. Adjust the test type and the type parameter mapping table according to the parking state, and determine the vehicle parameter corresponding to the test type.

当驻车测试类型为驻车状态调整测试类型时,将该类型在类型参数映射表中进行查找,获得该测试类型对应的车辆参数。其中,类型参数映射表表示驻车测试类型及该类型对应的车辆参数间的映射关系,包括驻车状态调整测试类型及该类型对应的车辆参数间的映射关系。When the parking test type is the parking state adjustment test type, the type is searched in the type parameter mapping table to obtain vehicle parameters corresponding to the test type. The type parameter mapping table represents the mapping relationship between the parking test type and the vehicle parameters corresponding to the type, including the mapping relationship between the parking state adjustment test type and the vehicle parameters corresponding to the type.

其中,本步骤使用的驻车状态调整测试类型是从步骤S302中判断得到的。Wherein, the parking state adjustment test type used in this step is determined from step S302.

S304、根据驻车状态调整测试类型和类型条件映射表,确定该测试类型对应的驻车测试条件和驻车测试目标。S304. Adjust the test type and type condition mapping table according to the parking state, and determine the parking test condition and the parking test target corresponding to the test type.

当驻车测试类型为驻车状态调整测试类型时,将该类型在类型条件映射表中查询,获得该测试类型对应的驻车测试条件和驻车测试目标。其中,类型条件映射表表示驻车测试类型和其对应的驻车测试条件和驻车测试目标间的映射关系,包括驻车状态调整测试类型和其对应的驻车测试条件和驻车测试目标间的映射关系。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 parking test condition and the parking test target corresponding to the test type. Among them, the type condition mapping table represents the mapping relationship between the parking test type and its corresponding parking test conditions and parking test targets, including the parking state adjustment test type and its corresponding parking test conditions and parking test targets. mapping relationship.

其中,本步骤使用的驻车状态调整测试类型是从步骤S302中判断得到的。Wherein, the parking state adjustment test type used in this step is determined from step S302.

S305、根据驻车状态调整测试类型对应的驻车测试条件和车辆参数的对应数据,获得驻车测试时间范围。S305 , according to the parking state, adjust the parking test conditions corresponding to the test type and the corresponding data of the vehicle parameters to obtain the parking test time range.

其中,驻车状态调整测试类型对应的驻车测试条件是从步骤S304获得的,该测试类型对应的车辆参数是从步骤S303获得的。The parking test condition corresponding to the parking state adjustment test type is obtained from step S304, and the vehicle parameter corresponding to the test type is obtained from step S303.

电子设备利用上述车辆参数从步骤S301获得的车辆总线数据中获取的车辆参数的对应数据中筛选出与驻车测试条件关联的实际数据,并将该实际数据与驻车测试条件中的目标数据进行比较,获得满足该驻车测试条件的时间范围,将该时间范围确定为驻车测试时间范围。The electronic device uses the above vehicle parameters to filter out the actual data associated with the parking test conditions from the corresponding data of the vehicle parameters obtained from the vehicle bus data obtained in step S301, and compare the actual data with the target data in the parking test conditions. By comparison, a time range satisfying the parking test condition is obtained, and the time range is determined as the parking test time range.

更具体地,电子设备利用逻辑条件映射表处理各驻车测试条件,使该条件转化为对应的逻辑表达式,该逻辑表达式包括驻车测试条件参数、各参数对应的标识和各参数需要满足的状态或数据对应的标识。电子设备根据总线数据获取驻车测试条件参数对应的实际数据,并利用逻辑表达式处理该实际数据,获得逻辑表达式的计算结果,该计算结果包括真或假。更具体的,电子设备利用逻辑表达式分别处理各离散时间点对应的实际数据,以获得各离散时间点对应的逻辑结果,以获得逻辑结果为真的所有目标时间点。电子设备统计该目标时间点,获得驻车测试时间范围。More specifically, the electronic device uses the logical condition mapping table to process each parking test condition, so that the condition is converted into a corresponding logical expression, and the logical expression includes the parking test condition parameters, the identifiers corresponding to the parameters, and the parameters that need to be satisfied. The status or data corresponding to the identifier. The electronic device obtains actual data corresponding to the parameters of the parking test conditions according to the bus data, and processes the actual data with a logical expression to obtain a calculation result of the logical expression, where the calculation result includes true or false. More specifically, the electronic device uses logical expressions to process the actual data corresponding to each discrete time point, respectively, to obtain a logical result corresponding to each discrete time point, and to obtain all target time points that the logical result is true. The electronic device counts the target time point to obtain the parking test time range.

驻车测试条件中包含至少一个子条件,电子设备利用逻辑条件映射表分别处理上述各子条件,获得各子条件对应的逻辑表达式,从而获得各离散时间点对应的各逻辑表达式的逻辑结果。电子设备将同一时间点对应的全部子条件对应的逻辑表达式的逻辑结果全为真的离散时间点确定为目标时间点,电子设备从总线数据中获取所有的目标时间点,统计汇整后获得驻车测试时间范围。The parking test condition includes at least one sub-condition, and the electronic device uses the logical condition mapping table to process each of the above-mentioned sub-conditions, and obtains the logical expression corresponding to each sub-condition, so as to obtain the logical result of each logical expression corresponding to each discrete time point. . The electronic device determines the discrete time points where the logical results of the logical expressions corresponding to all sub-conditions corresponding to the same time point are all true as the target time point, and the electronic device obtains all the target time points from the bus data, and obtains after statistical aggregation Parking test time frame.

在一实施例中,当驻车测试条件为第一驻车测试条件时,获得驻车测试条件参数对应的数据满足第一驻车测试条件时的第一驻车测试时间范围;第一驻车测试条件包括车辆的电源模式处于驱动模式、EPB和ESC均处于无故障状态、自动驻车的屏幕软开关开启、制动踏板处于踩踏状态、车速小于预设车速阈值且制动主缸压力大于预设压力阈值。In one embodiment, when the parking test condition is the first parking test condition, obtain the first parking test time range when the data corresponding to the parking test condition parameter satisfies the first parking test condition; the first parking test Test conditions include the vehicle's power mode in drive mode, both EPB and ESC in a fault-free state, the on-screen soft switch for automatic parking on, the brake pedal depressed, the vehicle speed less than a preset speed threshold, and the brake master cylinder pressure greater than a preset speed threshold. Set the pressure threshold.

在该技术方案中,第一驻车测试条件为激活车辆的自动驻车功能的一种前置条件,即车辆在满足该前置条件之后,车辆才会执行自动驻车功能的激活操作。车辆在根据制动踏板的踩踏情况接收到制动的指令时,同时确定车辆的制动系统无故障,保持车辆运行的关联装置无故障后,根据开启的自动驻车的屏幕软开关产生的控制信号请求自动驻车功能的激活,并执行制动操作,即制动主缸压力大于预设压力阈值,车辆减速至车速小于预设车速阈值。在一实施例中,预设车速阈值为0。当车辆总线数据表示车辆满足第一驻车测试条件中所有子条件时,电子设备将满足全部条件的时刻整合起来获得目标时间范围,并将该目标时间范围确定第一驻车测试时间范围。In this technical solution, the first parking test condition is a precondition for activating the automatic parking function of the vehicle, that is, the vehicle will only execute the activation operation of the automatic parking function after the vehicle satisfies the precondition. When the vehicle receives the braking command according to the stepping of the brake pedal, it also determines that the braking system of the vehicle is faultless, and after the related devices that keep the vehicle running are faultless, the control generated by the on-screen soft switch of automatic parking The signal requests the activation of the automatic parking function and performs a braking operation, that is, the brake master cylinder pressure is greater than the preset pressure threshold, and the vehicle decelerates to a speed less than the preset vehicle speed threshold. In one embodiment, the preset vehicle speed threshold is zero. When the vehicle bus data indicates that the vehicle satisfies all sub-conditions in the first parking test condition, the electronic device integrates the moments satisfying all the conditions to obtain a target time range, and determines the target time range as the first parking test time range.

在另一实施例中,当驻车测试条件为第二驻车测试条件时,获得驻车测试条件参数对应的数据满足第二驻车测试条件时的第二驻车测试时间范围;第二驻车测试条件包括电源模式处于驱动状态、ESC和EPB均处于无故障状态、自动驻车功能处于激活状态、且仪表显示自动驻车标志。In another embodiment, when the parking test condition is the second parking test condition, obtain a second parking test time range when the data corresponding to the parking test condition parameter satisfies the second parking test condition; Vehicle test conditions include power mode in drive state, both ESC and EPB are in a faultless state, auto park function is active, and the instrument displays the auto park sign.

在该技术方案中,车辆在满足自动驻车功能激活条件的情况下,激活对应的自动驻车功能,仪表根据自动驻车功能的激活情况,显示对应的自动驻车标志,此时,车辆仍将电源模式保持在驱动状态、ESC和EPB仍处于无故障状态。电子设备根据车辆总线数据,将车辆满足上述所有条件的时刻整合起来获得第二驻车测试时间范围。In this technical solution, the vehicle activates the corresponding automatic parking function when the conditions for activating the automatic parking function are met, and the meter displays the corresponding automatic parking sign according to the activation of the automatic parking function. Leaving the power mode in drive, ESC and EPB are still fault free. According to the vehicle bus data, the electronic device integrates the moments when the vehicle meets all the above conditions to obtain the second parking test time range.

在另一实施例中,当驻车测试条件为第三驻车测试条件时,获得驻车测试条件参数中挡位对应的数据为驻车挡时的第三驻车测试时间范围。In another embodiment, when the parking test condition is the third parking test condition, the third parking test time range when the data corresponding to the gear in the parking test condition parameter is the parking gear is obtained.

在该技术方案中,电子设备针对挡位和EPB功能的使用状态的对应情况进行测试,因此将车辆的挡位处于驻车挡时的所有时刻确定为第三驻车测试时间范围。In this technical solution, the electronic device tests the corresponding situation of the gear position and the use state of the EPB function, so all the times when the gear position of the vehicle is in the parking gear are determined as the third parking test time range.

在另一实施例中,当驻车测试条件为第四驻车测试条件时,获得驻车测试条件参数对应的数据满足第四驻车测试条件时的第四驻车测试时间范围;第四驻车测试条件包括仪表未显示自动驻车标志、EPB处于夹紧状态、且仪表显示EPB标志。In another embodiment, when the parking test condition is the fourth parking test condition, obtain a fourth parking test time range when the data corresponding to the parking test condition parameter satisfies the fourth parking test condition; the fourth parking test time range is obtained; Vehicle test conditions include no automatic parking sign on the meter, the EPB is clamped, and the meter displays the EPB sign.

在该技术方案中,电子设备根据第四驻车测试条件确定了第四驻车测试时间范围,在该范围内的总线数据表示车辆停止使用自动驻车功能,并开始激活并使用EPB功能,EPB功能的使用状态表现为EPB处于夹紧状态、仪表显示EPB标志。In this technical solution, the electronic device determines a fourth parking test time range according to the fourth parking test condition, and the bus data within this range indicates that the vehicle stops using the automatic parking function, and starts to activate and use the EPB function. The use state of the function shows that the EPB is in the clamped state, and the instrument displays the EPB logo.

在另一实施例中,当驻车测试条件为第五驻车测试条件时,获得驻车测试条件参数对应的数据满足第五驻车测试条件时的第五驻车测试时间范围;第五驻车测试条件包括电源模式处于激活模式或者驱动模式、驾驶员车门处于关闭状态、驾驶员安全带处于系着状态、且车速小于预设车速阈值。In another embodiment, when the parking test condition is the fifth parking test condition, obtain a fifth parking test time range when the data corresponding to the parking test condition parameter satisfies the fifth parking test condition; the fifth parking test time range is obtained; Vehicle test conditions include power mode in active mode or drive mode, driver door closed, driver seat belt fastened, and vehicle speed less than a preset vehicle speed threshold.

在该技术方案中,第五驻车测试条件为激活车辆的自动驻车功能的另一种前置条件。电子设备根据第五驻车测试条件确定了第五驻车测试时间范围,在该范围内的总线数据表示车辆调整电源的使用模式为激活模式或驱动模式、车速很小或静止、且驾驶员对车门和安全带的使用规范。在一实施例中,预设车速阈值为0,该车速表示车辆处于驻车状态。In this technical solution, the fifth parking test condition is another precondition for activating the automatic parking function of the vehicle. The electronic device determines the fifth parking test time range according to the fifth parking test conditions, and the bus data within this range indicates that the use mode of the vehicle to adjust the power supply is the activation mode or the driving mode, the vehicle speed is very small or stationary, and the driver is not satisfied. Specifications for the use of doors and seat belts. In one embodiment, the preset vehicle speed threshold is 0, and the vehicle speed indicates that the vehicle is in a parking state.

S306、在驻车测试时间范围内,根据驻车状态调整测试类型对应的驻车测试目标和车辆参数的对应数据,获得驻车测试结果。S306 , within the parking test time range, adjust the parking test target corresponding to the test type and the corresponding data of the vehicle parameters according to the parking state to obtain the parking test result.

其中,驻车状态调整测试类型对应的驻车测试目标是从步骤S304获得的,该测试类型对应的车辆参数是从步骤S303获得的,电子设备根据测试类型和具体的测试条件确定的驻车测试时间范围是从步骤S305获得的。Wherein, the parking test target corresponding to the parking state adjustment test type is obtained from step S304, the vehicle parameter corresponding to the test type is obtained from step S303, and the electronic device determines the parking test according to the test type and specific test conditions. The time range is obtained from step S305.

电子设备利用驻车测试时间范围和上述车辆参数从步骤S301获得的车辆总线数据,筛选出测试驻车测试目标的实际总线数据,将该实际总线数据与驻车测试目标中车辆参数需要满足的目标总线数据进行比较,获得满足该驻车测试目标的时间范围,并根据该时间范围和驻车测试时间范围,确定处于驻车测试时间范围内任一子范围内的车辆实现驻车测试目标的情况。电子设备对上述情况进行统计和分析,获得驻车测试结果。The electronic device uses the vehicle bus data obtained from step S301 by the parking test time range and the above-mentioned vehicle parameters to filter out the actual bus data for testing the parking test target, and the actual bus data and the vehicle parameters in the parking test target need to be satisfied. The bus data is compared to obtain the time range that meets the parking test target, and according to the time range and the parking test time range, it is determined that the vehicles in any sub-range within the parking test time range achieve the parking test target. . The electronic equipment performs statistics and analysis on the above-mentioned situations, and obtains the parking test results.

电子设备利用逻辑条件映射表处理驻车测试目标,将其转化为对应的逻辑表达式,在驻车测试时间范围对应的总线数据中,根据各逻辑表达式中参数对应的数据,获得各离散时间点对应的逻辑表达式是否为真的情况,并据此获得逻辑表达式全部为真的、满足测试目标的离散时间点和逻辑表达式为假、不满足测试目标的离散时间点。电子设备根据上述两种离散时间点,获得测试车辆在驻车测试条件下实现驻车测试目标的数据的分布情况,以获得驻车测试结果。The electronic device uses the logic condition mapping table to process the parking test target, and converts it into a corresponding logic expression. In the bus data corresponding to the parking test time range, according to the data corresponding to the parameters in each logic expression, each discrete time is obtained. Whether the logical expression corresponding to the point is true or not, and accordingly obtain discrete time points when all the logical expressions are true and satisfy the test target and discrete time points when the logical expression is false and do not satisfy the test target. According to the above two discrete time points, the electronic device obtains the distribution of the data that the test vehicle achieves the parking test target under the parking test condition, so as to obtain the parking test result.

当驻车测试目标为第一驻车测试目标时,在第一驻车测试时间范围内,根据自动驻车功能的状态和自动驻车标志在仪表上的显示状态,获得第一驻车测试结果。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 .

在该技术方案中,电子设备根据总线数据确定车辆满足第一驻车测试条件时,自动驻车功能的激活情况,并根据该激活情况获得第一驻车测试结果。在一实施例中,该自动驻车功能应处于激活状态,且仪表应显示自动驻车标志。In this technical solution, the electronic device determines, according to the bus data, the activation of the automatic parking function when the vehicle meets the first parking test condition, and obtains the first parking test result according to the activation condition. In one embodiment, the automatic parking function should be activated and the meter should display the automatic parking sign.

当驻车测试目标为第二驻车测试目标时,在第一驻车测试时间范围内,根据挡位、驾驶员车门所处状态和驾驶员安全带所处状态的调整情况,获得对应调整的自动驻车功能所处状态和自动驻车标志在仪表上的显示状态,以确定第二驻车测试结果。When the parking test target is the second parking test target, within the time range of the first parking test, according to the adjustment of the gear position, the state of the driver's door and the state of the driver's seat belt, the corresponding adjustment is obtained. The state of the automatic parking function and the display state of the automatic parking sign on the instrument panel are used to determine the result of the second parking test.

在该技术方案对应的一实施例中,电子设备根据总线数据确定车辆满足第一驻车测试条件,获得车辆的挡位处于前进挡时,车辆的自动驻车功能的使用状态和仪表显示自动驻车标志的状态,并根据该状态获得第二驻车测试结果。在一实施例中,挡位处于前进挡时,车辆应仍会激活自动驻车功能,仪表应对应显示自动驻车标志;当车辆未处于前进挡时,车辆将不再激活自动驻车状态,仪表亦不再显示自动激活标志。In an embodiment corresponding to the technical solution, the electronic device determines that the vehicle meets the first parking test condition according to the bus data, and obtains that when the gear of the vehicle is in the forward gear, the use status of the automatic parking function of the vehicle and the instrument display automatic parking The state of the car flag, and obtain the second parking test result according to the state. In one embodiment, when the gear is in the forward gear, the vehicle should still activate the automatic parking function, and the instrument should display the automatic parking sign correspondingly; when the vehicle is not in the forward gear, the vehicle will no longer activate the automatic parking state, The meter also no longer displays the auto-activation sign.

在该技术方案对应的另一实施例中,电子设备根据总线数据获得车辆满足第一驻车测试条件时,获得车辆不仅满足挡位处于前进挡,还满足驾驶员车门处于关闭状态且驾驶员安全带处于系着状态时,车辆的自动驻车功能的使用情况和仪表显示自动驻车标志的状态,并根据上述情况和状态获得第二驻车测试结果。在一实施例中,档位处于前进挡时,当驾驶员车门处于关闭状态且驾驶员安全带处于系着状态时,车辆应仍会激活自动驻车功能,仪表应对应显示自动驻车标志;当驾驶员车门处于开启状态或驾驶员安全带处于断开状态时,车辆将不再激活自动驻车状态,仪表亦不再显示自动激活标志。In another embodiment corresponding to this technical solution, when the electronic device obtains according to the bus data that the vehicle meets the first parking test condition, it obtains that the vehicle not only satisfies that the gear is in the forward gear, but also satisfies that the driver's door is closed and the driver is safe When the belt is in the fastened state, the use of the automatic parking function of the vehicle and the state of the automatic parking sign displayed by the instrument, and the second parking test result is obtained according to the above situation and state. In one embodiment, when the gear is in the forward gear, when the driver's door is closed and the driver's seat belt is fastened, the vehicle should still activate the automatic parking function, and the instrument should display the automatic parking sign correspondingly; When the driver's door is open or the driver's seat belt is disconnected, the vehicle will no longer activate the automatic parking state and the instrument will no longer display the automatic activation symbol.

当驻车测试目标为第三驻车测试目标时,在第二驻车测试时间范围内,获取自动驻车功能持续处于激活状态的时长,当时长大于驻车类型转换时长阈值时,根据对EPB驻车的请求状态、自动驻车功能和EPB所处的状态、自动驻车标志和EPB标志在仪表上的显示状态的变化情况,确定第三驻车测试结果。When the parking test target is the third parking test target, within the second parking test time range, the duration of the automatic parking function being continuously activated is obtained. When the duration is greater than the parking type conversion duration threshold, the The request state of parking, the state of the automatic parking function and the EPB, and the change of the display state of the automatic parking sign and the EPB sign on the instrument, determine the result of the third parking test.

在该技术方案中,电子设备根据总线数据确定车辆满足第二驻车测试条件时,自动驻车功能处于激活状态,电子设备从总线数据获取该功能持续处于激活状态的时长,并确定时长大于等于驻车类型转换时长阈值时,驻车类型的转换情况,该转换情况为自动驻车功能到EPB功能的转换情况。电子设备根据该转换情况获得第三驻车测试结果。在一实施例中,当车辆持续使用自动驻车功能的时长超出驻车类型转换时长阈值时,不再满足短时驻车的自动驻车功能所适用的场景,应调整为长时驻车的EPB,因此,车辆对EPB驻车的静止管理请求为“自动驻车超时,请求EPB驻车”,自动驻车功能解除,不再处于激活状态,EPB所处状态也调整为EPB夹紧状态,相对地,仪表不再显示自动驻车标志,转而显示EPB标志。在另一实施例中,当车辆持续使用自动驻车功能的时长小于驻车类型转换时长阈值时,车辆仍满足自动驻车功能的使用要求,车辆的自动驻车功能仍会处于激活状态,仪表仍会显示自动驻车标志,车辆还未达到EPB的使用要求,因此不会产生对EPB驻车的请求,也不会激活EPB功能,使其处于夹紧状态,并在仪表上显示EPB标志。In this technical solution, when the electronic device determines according to the bus data that the vehicle meets the second parking test condition, the automatic parking function is in an active state, and the electronic device obtains from the bus data the duration of the continuous activation of the function, and determines that the duration is greater than or equal to When the parking type conversion duration threshold is the threshold, the conversion status of the parking type, the conversion status is the conversion status of the automatic parking function to the EPB function. The electronic device obtains the third parking test result according to the conversion. In one embodiment, when the vehicle continues to use the automatic parking function for a duration exceeding the parking type transition time threshold, it no longer meets the applicable scenario of the automatic parking function for short-term parking, and should be adjusted to the long-term parking function. 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 in the active state, and the state of the EPB is also adjusted to the EPB clamping state. In contrast, the instrument no longer displays the automatic parking sign, and instead displays the EPB sign. In another embodiment, when the duration of continuous use of the automatic parking function by the vehicle is less than the parking type switching duration threshold, the vehicle still meets the requirements for the use of the automatic parking function, the automatic parking function of the vehicle is still activated, and the meter The auto park sign will still be displayed, the vehicle has not yet met the requirements for EPB use, so no request for EPB park will be generated, and the EPB function will not be activated, putting it in a clamped state and displaying the EPB sign on the instrument cluster.

当驻车测试目标为第四驻车测试目标时,在第二驻车测试时间范围内,当驾驶员安全带所处状态的调整情况和/或驾驶员车门所处状态的调整情况,获得对EPB夹紧的请求状态、对应调整的自动驻车功能和EPB所处状态、自动驻车标志和EPB标志在仪表上的显示状态,以确定第四驻车测试结果。When the parking test target is the fourth parking test target, within the second parking test time range, when the adjustment of the state of the driver's seat belt and/or the adjustment of the state of the driver's door, the correct The request state of the EPB clamping, the correspondingly adjusted automatic parking function and the state of the EPB, the automatic parking sign and the display state of the EPB sign on the instrument, to determine the fourth parking test result.

在该技术方案中,电子设备根据总线数据确定满足第二驻车测试条件的车辆在自动驻车功能激活的情况下,驾驶员解开安全带和/或打开驾驶员车门,在EPB功能无故障时,车辆将调整EPB和自动驻车功能的使用状态,并根据该使用状态的调整情况对应调整仪表显示标志的情况。电子设备根据上述使用情况的变化状态、两种驻车功能切换过程中静止管理请求内容和仪表的显示情况的变化情况,获得第四驻车测试结果。在一实施例中,车辆改变了处于系着状态的驾驶员安全带和处于关闭状态的驾驶员车门中的至少一种所处的状态,车辆都应对EPB驻车发出静态管理请求,其内容为“请求EPB驻车”,车辆应解除自动驻车功能的使用,使其处于未激活状态,并激活EPB功能,使EPB处于夹紧状态,相对地,仪表将不再显示自动驻车标志,显示EPB标志。当车辆将上述状态变化的驾驶员安全带再调整回系着状态和/或将驾驶员车门调整回关闭状态,使其满足车辆运行自动驻车功能的条件,但由于车辆正在运行EPB功能,将不再对车辆使用驻车功能的状态进行调整,即仍使用EPB功能,而不使用自动驻车功能。In this technical solution, the electronic device determines according to the bus data that the vehicle that meets the second parking test condition is activated when the automatic parking function is activated. , the vehicle will adjust the use status of EPB and automatic parking function, and adjust the status of the instrument display signs according to the adjustment of the use status. The electronic device obtains the fourth parking test result according to the changing state of the above-mentioned usage conditions, the content of the stationary management request and the changing conditions of the display condition of the instrument during the switching process of the two parking functions. In an embodiment, the vehicle changes the state of at least one of the driver's seat belt in the fastened state and the driver's door in the closed state, and the vehicle should send a static management request for EPB parking, the content of which is: "Request EPB parking", the vehicle should release the use of the automatic parking function to make it in an inactive state, and activate the EPB function to make the EPB in a clamped state, on the contrary, the instrument will no longer display the automatic parking sign, display EPB logo. When the vehicle adjusts the driver's seat belt of the above state change back to the fastened state and/or adjusts the driver's door back to the closed state, so that it meets the conditions for the vehicle to run the automatic parking function, but because the vehicle is running the EPB function, the The state of the vehicle using the parking function is no longer adjusted, i.e. the EPB function is still used instead of the automatic parking function.

当驻车测试目标为第五驻车测试目标时,在第二驻车测试时间范围内,当驾驶员车门处于关闭状态、驾驶员安全带处于系着状态、且档位处于前进挡时,若加速踏板的所处状态调整为踩踏状态且车辆根据该状态产生的驱动扭矩大于车辆保持扭矩,根据自动驻车功能的状态和自动驻车标志在仪表上的显示状态,获得第五驻车测试结果。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 the forward gear, if The state of the accelerator pedal is adjusted to the stepping state and the driving torque generated by the vehicle according to this state is greater than the vehicle holding torque, and the fifth 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 .

在该技术方案中,电子设备根据总线数据确定满足第二驻车测试条件的车辆在自动驻车功能激活的情况下,驾驶员正确使用驾驶员车门和驾驶员安全带,当车辆又开始运行时,获取车辆运行自动驻车的状态和仪表显示自动驻车标志的状态。更具体地,车辆的驾驶员车门处于关闭状态,驾驶员安全带处于系着状态,在车辆使用自动驻车功能的过程中,车辆的车速为0,此时,加速踏板的踩踏状态发生了变化,即从未踩踏状态调整为踩踏状态,车辆应根据该加速踏板的踩踏程度对应产生驱动扭矩,且该驱动扭矩大于车辆保持扭矩,因此车辆的车速将大于0,即车辆应开始向前运行。电子设备根据上述车辆运行情况,对应调整自动驻车的使用状态,并根据该使用状态获得第五驻车测试结果。其中,车辆应解除自动驻车功能的使用状态,相对地,仪表不再显示自动驻车标志。In this technical solution, the electronic device determines according to the bus data that the vehicle that meets the second parking test condition is activated when the automatic parking function is activated, the driver uses the driver's door and the driver's seat belt correctly, and when the vehicle starts running again , to obtain the status of the vehicle running automatic parking and the status of the instrument displaying the automatic parking sign. More specifically, the driver's door of the vehicle is closed, the driver's seat belt is fastened, and the vehicle's speed is 0 when the vehicle is using the automatic parking function. At this time, the pressing state of the accelerator pedal has changed. , that is, to adjust from the state of not pedaling to the state of pedaling, the vehicle should generate a corresponding driving torque according to the degree of depression of the accelerator pedal, and the driving torque is greater than the vehicle holding torque, so the vehicle speed will be greater than 0, that is, the vehicle should start to run forward. The electronic device correspondingly adjusts the use state of automatic parking according to the above-mentioned vehicle operation conditions, and obtains the fifth parking test result according to the use state. Among them, the vehicle should release the use state of the automatic parking function, and on the contrary, the instrument no longer displays the automatic parking sign.

当驻车测试目标为第六驻车测试目标时,在第三驻车测试时间范围内,根据EPB所处的状态和EPB标志在仪表上的显示状态获得第六驻车测试结果。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 according to the state of the EPB and the display state of the EPB mark on the instrument.

在该技术方案中,电子设备根据总线数据获的满足第三驻车测试条件的车辆在挡位调整为驻车挡之后,车辆对EPB功能的使用状态。电子设备根据该使用状态获得第六驻车测试结果。更具体地,车辆应在挡位调整为驻车挡之后,开始运行EPB功能,使其处于夹紧状态,并通过仪表显示EPB标志。In this technical solution, the electronic device obtains the use state of the EPB function by the vehicle after the gear is adjusted to the parking gear for the vehicle that meets the third parking test condition according to the bus data. The electronic device obtains the sixth parking test result according to the use state. More specifically, the vehicle should start to run the EPB function after the gear is adjusted to park, so that it is in a clamped state, and the EPB sign is displayed through the meter.

当驻车测试目标为第七驻车测试目标时,在第四驻车测试时间范围内,当挡位调整为前进挡时,根据自动驻车功能所处状态、自动驻车标志在仪表上的显示状态、EPB所处的状态和EPB标志在仪表上的显示状态,确定第七驻车测试结果。When the parking test target is the seventh parking test target, within the fourth parking test time range, when the gear is adjusted to the forward gear, according to the state of the automatic parking function, the automatic parking mark on the instrument The display state, the state of the EPB and the display state of the EPB mark on the instrument panel determine the result of the seventh parking test.

在该技术方案中,电子设备根据总线数据获得满足第四驻车测试条件的车辆在运行EPB功能的过程中,当车辆的挡位调整为前进挡时,车辆运行驻车功能的状态,并根据该状态获得第七驻车测试结果,其中,驻车功能包括自动驻车功能和EPB。更具体地,车辆应控制自动驻车功能处于未激活状态,同时,车辆也应解除EPB功能的使用进程,使其不再处于夹紧状态。相对地,仪表应不再显示自动驻车标志和EPB标志。In this technical solution, the electronic device obtains, according to the bus data, the state of the vehicle running the parking function when the gear of the vehicle is adjusted to the forward gear during the process of running the EPB function of the vehicle that meets the fourth parking test condition, and according to This state obtains the seventh parking test result, wherein the parking function includes the automatic parking function and EPB. More specifically, the vehicle should control the automatic parking function in an inactive state, and at the same time, the vehicle should also release the use process of the EPB function so that it is no longer in a clamped state. Correspondingly, the instrument should no longer display the automatic parking sign and the EPB sign.

当驻车测试目标为第八驻车测试目标时,在第五驻车测试时间范围内,电子踏板功能激活后,制动踏板和加速踏板均处于未踩踏状态,根据自动驻车功能所处状态和自动驻车标志在仪表上的显示状态获得第八驻车测试结果。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 not stepped on, according to the state of the automatic parking function. The eighth parking test result is obtained with the display status of the automatic parking mark on the instrument.

在该技术方案中,电子设备根据总线数据确定满足第五驻车测试条件的车辆在激活电子踏板功能后,当制动踏板和加速踏板均未被踩踏时,车辆的车速小于预设车速阈值,车辆处于驻车状态,此时获得车辆对自动驻车功能的使用状态,并根据该使用状态获得第八驻车测试结果。更具体地,当车辆激活电子踏板功能后,车辆可通过加速踏板控制车辆的加油或制动,也可通过制动踏板控制车辆进行制动,在车辆通过制动踏板控制车辆制动时,车辆将退出电子踏板功能的使用状态。当车辆未通过加速踏板和制动踏板调整车辆当前所持有的驱动力,且车辆的车速为0时,车辆将持续保持在驻车状态,满足自动驻车的情况,车辆应激活自动驻车功能,并在仪表上显示自动驻车标志。In this technical solution, the electronic device determines according to the bus data that after activating the electronic pedal function of the vehicle that meets the fifth parking test condition, when neither the brake pedal nor the accelerator pedal is stepped on, the vehicle speed is less than the preset vehicle speed threshold value, The vehicle is in the parking state, and at this time, the use state of the automatic parking function of the vehicle is obtained, and the eighth parking test result is obtained according to the use state. More specifically, when the vehicle activates the electronic pedal function, the vehicle can use the accelerator pedal to control the refueling or braking of the vehicle, and can also use the brake pedal to control the vehicle to brake. When the vehicle uses the brake pedal to control the vehicle to brake, the vehicle The use of the electronic pedal function will be exited. When the vehicle does not adjust the driving force currently held by the vehicle through the accelerator pedal and brake pedal, and the vehicle speed is 0, the vehicle will continue to remain in the parking state, and the vehicle should activate automatic parking to meet the automatic parking conditions. function and display the automatic parking sign on the instrument panel.

当驻车测试目标为第九驻车测试目标时,在第五驻车测试时间范围内,当车辆处于ATS驾驶模式、挡位处于前进挡、坡度大于预设坡度阈值时,根据自动驻车功能所处状态和自动驻车标志在仪表上的显示状态获得第九驻车测试结果。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 gradient is greater than the preset gradient threshold, according to the automatic parking function The state and the display state of the automatic parking sign on the instrument panel obtain the ninth parking test result.

在该技术方案中,电子设备根据总线数据确定满足第五驻车测试条件的车辆在运行ATS驾驶模式时,车辆处于斜坡上,挡位处于前进挡,车速小于预设车速阈值,安装在车辆上的坡度传感器获得坡度数据,当坡度数据大于预设坡度阈值时,为了保持车辆静止在下坡上不产生溜车现象,调整车辆运行自动驻车功能的状态。电子设备根据上述状态的调整情况,获得第九驻车测试结果。更具体地,自动驻车功能应处于激活状态,仪表应对应显示自动驻车标志。In this technical solution, the electronic device determines according to the bus data that when the vehicle that meets the fifth parking test condition is running the ATS driving mode, the vehicle is on a slope, the gear is in the forward gear, the vehicle speed is less than the preset vehicle speed threshold, and the vehicle is installed on the vehicle The gradient sensor obtains gradient data. When the gradient data is greater than the preset gradient threshold, in order to keep the vehicle stationary on the downhill and not cause the car to slide, adjust the state of the vehicle running the automatic parking function. The electronic device obtains the ninth parking test result according to the adjustment of the above state. More specifically, the automatic parking function should be activated, and the instrument should display the automatic parking sign correspondingly.

本步骤完成后,进入步骤S311。After this step is completed, go to step S311.

S307、根据驻车异常测试类型和类型参数映射表,确定该测试类型对应的车辆参数。S307 , according to the parking abnormality test type and the type parameter mapping table, determine the vehicle parameter corresponding to the test type.

当驻车测试类型为驻车异常测试类型时,将该类型在类型参数映射表中进行查找,获得该测试类型对应的车辆参数。其中,类型参数映射表已在步骤S303中详细解释,此处不再赘述,该映射表还包括驻车异常测试类型及该类型对应的车辆参数间的映射关系。When the parking test type is the parking abnormality test type, the type is searched in the type parameter mapping table to obtain vehicle parameters corresponding to the test type. The type parameter mapping table has been explained in detail in step S303 , which is not repeated here. The mapping table also includes the mapping relationship between the parking abnormality test type and the vehicle parameters corresponding to the type.

其中,本步骤使用的驻车异常测试类型是从步骤S302中判断得到的。Wherein, the parking abnormality test type used in this step is determined from step S302.

S308、根据驻车异常测试类型和类型条件映射表,确定该测试类型对应的驻车测试条件和驻车测试目标。S308 , according to the abnormal parking test type and the type condition mapping table, determine the parking test condition and the parking test target corresponding to the test type.

当驻车测试类型为驻车异常测试类型时,将该类型在类型条件映射表中查询,获得该测试类型对应的驻车测试条件和驻车测试目标。其中,类型条件映射表表示驻车测试类型和其对应的驻车测试条件和驻车测试目标间的映射关系,包括驻车异常测试类型和其对应的驻车测试条件和驻车测试目标间的映射关系。When the parking test type is the abnormal parking test type, the type is queried in the type condition mapping table to obtain the parking test condition and the parking test target corresponding to the test type. Among them, the type condition mapping table represents the mapping relationship between the parking test type and its corresponding parking test condition and the parking test target, including the parking abnormal test type and its corresponding parking test condition and the parking test target. Mapping relations.

其中,本步骤使用的驻车状态调整测试类型是从步骤S302中判断得到的。Wherein, the parking state adjustment test type used in this step is determined from step S302.

S309、根据驻车异常测试类型对应的驻车测试条件和车辆参数的对应数据,获得异常测试时间范围。S309. Obtain the abnormal test time range according to the parking test conditions corresponding to the parking abnormality test type and the corresponding data of the vehicle parameters.

其中,驻车异常测试类型对应的驻车测试条件是从步骤S308获得的,该测试类型对应的车辆参数是从步骤S307获得的。The parking test condition corresponding to the abnormal parking test type is obtained from step S308, and the vehicle parameter corresponding to the test type is obtained from step S307.

电子设备利用驻车测试条件和车辆参数的对应数据获得异常测试时间范围的过程与步骤S305中获得驻车测试时间范围的过程相同,此处不再赘述。The process of obtaining the abnormal test time range by the electronic device using the corresponding data of the parking test conditions and the vehicle parameters is the same as the process of obtaining the parking test time range in step S305, and will not be repeated here.

在一实施例中,当驻车测试条件为第一异常测试条件时,获得驻车测试条件参数中电源模式对应的数据为驱动模式且ESC对应的状态数据为无故障状态时的第一异常测试时间范围。In one embodiment, when the parking test condition is the first abnormal test condition, obtain the first abnormal test when the data corresponding to the power mode in the parking test condition parameter is the driving mode and the state data corresponding to the ESC is the fault-free state time limit.

在另一实施例中,当驻车测试条件为第二异常测试条件时,在第一异常测试时间范围内,获得自动驻车功能处于激活状态、且车速小于预设车速阈值时的第二异常测试时间范围。In another embodiment, when the parking test condition is the second abnormal test condition, within the first abnormal test time range, the second abnormality when the automatic parking function is activated and the vehicle speed is lower than the preset vehicle speed threshold is obtained. Test time frame.

在该技术方案中,自动驻车功能激活,当车辆的车速小于预设车速阈值时,车辆处于驻车状态,电子设备根据总线数据获得满足上述条件的时间点,并整理上述时间点获得第二异常测试时间范围。In this technical solution, the automatic parking function is activated, when the speed of the vehicle is less than the preset speed threshold, the vehicle is in the parking state, and the electronic device obtains the time point that satisfies the above conditions according to the bus data, and sorts the above time point to obtain the second time point. Anomaly test time frame.

S310、在异常测试时间范围内,根据驻车异常测试类型对应的驻车测试目标和车辆参数的对应数据,获得异常测试结果。S310 , within the abnormal test time range, obtain the abnormal test result according to the parking test target corresponding to the parking abnormal test type and the corresponding data of the vehicle parameters.

其中,驻车异常测试类型对应的驻车测试目标是从步骤S308获得的,该测试类型对应的车辆参数是从步骤S307获得的,电子设备根据测试类型和具体的测试条件确定的驻车测试时间范围是从步骤S309获得的。The parking test target corresponding to the abnormal parking test type is obtained from step S308, the vehicle parameter corresponding to the test type is obtained from step S307, and the parking test time determined by the electronic device according to the test type and specific test conditions The range is obtained from step S309.

更具体的,电子设备根据驻车测试目标和车辆参数的对应数据获得异常测试结果的过程与步骤S306中获得驻车测试结果的过程相同,此处不再赘述。More specifically, the process of obtaining the abnormal test result by the electronic device according to the corresponding data of the parking test target and the vehicle parameter is the same as the process of obtaining the parking test result in step S306 , and will not be repeated here.

当驻车测试目标为第一异常测试目标时,在第一异常测试时间范围内,当自动驻车功能处于激活状态、仪表显示自动驻车标志、且EPB处于无故障状态时,若制动弹窗警告信息为行车制动失效,根据自动驻车功能和EPB所处的状态、自动驻车标志和EPB标志在仪表上的显示状态、及仪表显示的自动驻车关联信息,获得第一异常测试结果。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 sign, and the EPB is in a fault-free state, if the brake pop-up window The warning information is the service brake failure. According to the automatic parking function and the state of the EPB, the display status of the automatic parking sign and the EPB sign on the instrument, and the automatic parking related information displayed on the instrument, the first abnormal test result is obtained. .

在该技术方案中,车辆在电源模式处于驱动状态、EPB和ESC均无故障,自动驻车功能激活后,行车制动失效了,车辆的制动警告弹窗对应显示上述异常原因,车辆根据该失效的制动调整自动驻车功能的EPB的运行状态,并根据该运行状态获得第一异常测试结果。更具体的,车辆解除自动驻车功能和EPB功能的使用状态,并不再在仪表上显示自动驻车标志和EPB标志。In this technical solution, the vehicle is in the driving state in the power mode, and the EPB and ESC have no faults. After the automatic parking function is activated, the service brake fails. The brake warning pop-up window of the vehicle corresponds to the above abnormal cause. The failed brake adjusts the operating state of the EPB of the automatic parking function, and obtains the first abnormal test result according to the operating state. More specifically, the vehicle releases the use state of the automatic parking function and the EPB function, and no longer displays the automatic parking sign and the EPB sign on the instrument.

当驻车测试目标为第二异常测试目标时,在第一异常测试时间范围内,当车速小于预设车速阈值且制动踏板处于踩踏状态时,根据EPB所处状态调整为故障状态后自动驻车标志在仪表上显示状态的调整情况和仪表显示的自动驻车关联信息,获得第二异常测试结果。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 EPB is adjusted to the fault state and then automatically parked The vehicle logo is displayed on the instrument to display the adjustment status of the state and the automatic parking related information displayed by the instrument to obtain the second abnormal test result.

在该技术方案中,车辆在电源模式为驱动模式时处于驻车状态,ESC无故障,但EPB存在故障,此时,制动踏板处于踩踏状态时,车辆的自动驻车功能的使用状态也会变化,电子设备根据自动驻车功能使用状态的变化情况,获得第二异常测试结果。更具体地,制动踏板处于踩踏状态,车辆不再处于驻车状态,相对地,仪表应不再显示自动驻车标志,仪表显示自动驻车地关联信息为自动驻车失效相关信息。In this technical solution, the vehicle is in the parking state when the power supply mode is the driving mode, the ESC is not faulty, but the EPB is faulty. At this time, when the brake pedal is in the depressing state, the use state of the automatic parking function of the vehicle will also be change, the electronic device obtains the second abnormal test result according to the change of the use state of the automatic parking function. More specifically, when the brake pedal is in the depressing state, the vehicle is no longer in the parking state. On the contrary, the instrument should no longer display the automatic parking sign, and the information related to the automatic parking location displayed by the instrument is the information related to the automatic parking failure.

当驻车测试目标为第三异常测试目标时,在第二异常测试时间范围内,当EPB所处状态调整为故障状态时,根据自动驻车标志在仪表上的显示状态和仪表显示的自动驻车关联信息,获得第三异常测试结果。When the parking test target is the third abnormal test target, within the second abnormal test time range, when the state of the EPB is adjusted to the fault state, according to the display state of the automatic parking sign on the instrument and the automatic parking displayed by the instrument Vehicle-related information to obtain the third abnormal test result.

在该技术方案中,车辆在电源模式为驱动模式时处于驻车状态,自动驻车功能激活,ESC无故障,但EPB存在故障,此时,车辆的自动驻车功能的使用状态也会变化,电子设备根据自动驻车功能使用状态的变化情况,获得第三异常测试结果。更具体地,仪表应不再显示自动驻车标志,仪表显示自动驻车地关联信息为自动驻车失效相关信息。In this technical solution, the vehicle is in the parking state when the power mode is the driving mode, the automatic parking function is activated, the ESC has no fault, but the EPB has a fault. At this time, the use state of the automatic parking function of the vehicle will also change. The electronic device obtains the third abnormal test result according to the change of the use state of the automatic parking function. More specifically, the instrument should no longer display the automatic parking sign, and the information related to the automatic parking location displayed on the instrument is the information related to the failure of automatic parking.

当驻车测试目标为第四异常测试目标时,在第二异常测试时间范围内,当EPB所处状态调整为故障状态、仪表显示自动驻车标志且驾驶员车门调整为开启状态时,根据自动驻车标志在仪表上显示状态的调整情况和仪表显示的自动驻车关联信息,获得第四异常测试结果。When the parking test target is the fourth abnormal test target, within the second abnormal test time range, when the state of the EPB is adjusted to the fault state, the instrument displays the automatic parking sign, and the driver's door is adjusted to the open state, according to the automatic The parking sign displays the adjustment status of the state on the instrument and the automatic parking related information displayed on the instrument to obtain the fourth abnormal test result.

在该技术方案中,车辆在电源模式为驱动模式时处于驻车状态,自动驻车功能激活,且仪表显示自动驻车标志,在ESC无故障,但EPB存在故障时,此时,打开驾驶员侧车门,车辆的自动驻车功能的使用状态也会对应变化,电子设备根据自动驻车功能使用状态的变化情况,获得第四异常测试结果。更具体地,仪表应不再显示自动驻车标志,仪表显示自动驻车地关联信息为自动驻车失效相关信息。In this technical solution, the vehicle is in the parking state when the power supply mode is the driving mode, the automatic parking function is activated, and the instrument displays the automatic parking sign. The side door, the use state of the automatic parking function of the vehicle will also change correspondingly, and the electronic device obtains the fourth abnormal test result according to the change of the use state of the automatic parking function. More specifically, the instrument should no longer display the automatic parking sign, and the information related to the automatic parking location displayed on the instrument is the information related to the failure of automatic parking.

S311、根据驻车测试结果数据生成可视化指令,并将可视化指令发送至显示装置。S311. Generate a visualization instruction according to the parking test result data, and send the visualization instruction to the display device.

其中,驻车测试结果数据是从步骤S310中获得的驻车测试结果和/或步骤S306获得的异常测试结果。Wherein, the parking test result data is the parking test result obtained in step S310 and/or the abnormal test result obtained in step S306.

电子设备根据获得的车辆测试结果数据生成可视化指令,并将可视化指令发送至显示装置进行对应的显示的过程已在步骤S204中详细解释了,此处不再赘述。The process of the electronic device generating the visualization instruction according to the obtained vehicle test result data, and sending the visualization instruction to the display device for corresponding display has been explained in detail in step S204, and will not be repeated here.

在上述技术方案中,电子设备根据驻车功能的不同测试类型,确定对应的测试条件和该条件关联的参数,根据测试条件及关联参数对应的数据限定对应的测试时间范围后,针对各测试时间范围,对至少一种测试目标进行测试,不仅节省了电子设备重复设定测试条件的过程,还实现了对同一测试过程的重复测试与分析,提高了测试过程中产生的总线数据的利用率,从而提高了对驻车功能的测试效率和开发效率。In the above technical solution, the electronic device determines corresponding test conditions and parameters associated with the conditions according to different test types of the parking function, and after defining the corresponding test time range according to the data corresponding to the test conditions and the associated parameters, for each test time Scope, testing at least one test target not only saves the process of repeatedly setting test conditions for electronic equipment, but also realizes repeated testing and analysis of the same test process, and improves the utilization of bus data generated during the test process. Thus, the test efficiency and development efficiency of the parking function are improved.

如图4所示,本申请一实施例提供一种驻车功能测试装置400,该装置400包括:As shown in FIG. 4 , an embodiment of the present application provides a parking function testing device 400 . The device 400 includes:

获取模块401,用于获取车辆总线数据,并从车辆总线数据中获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据,车辆参数包括驻车测试条件参数和驻车测试目标参数。The acquisition module 401 is used to acquire vehicle bus data, and obtain data corresponding to vehicle parameters generated when the vehicle runs the parking function to be tested from the vehicle bus data, and the vehicle parameters include parking test condition parameters and parking test target parameters.

处理模块402,用于根据驻车测试条件和驻车测试条件参数对应的数据,获得驻车测试时间范围。The processing module 402 is configured to obtain the parking test time range according to the parking test conditions and the data corresponding to the parking test condition parameters.

处理模块402还用于在驻车测试时间范围内,根据驻车测试目标和驻车测试目标参数对应的数据,获得驻车测试结果。The processing module 402 is further configured to obtain the parking test result according to the parking test target and the data corresponding to the parameters of the parking test target within the parking test time range.

处理模块402还用于根据驻车测试结果生成可视化指令,并将可视化指令发送至显示装置,可视化指令用于控制显示装置显示驻车测试结果。The processing module 402 is further configured to generate a visualization instruction according to the parking test result, and send the visualization instruction to the display device, where the visualization instruction is used to control the display device to display the parking test result.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

获取驻车测试类型,驻车测试类型包括驻车状态调整测试类型或驻车异常测试类型;Get the parking test type, which includes the parking state adjustment test type or the parking abnormality test type;

根据驻车测试类型和类型参数映射表,确定驻车测试类型对应的车辆参数,类型参数映射表表示驻车测试类型和车辆参数间的映射关系;According to the parking test type and the type parameter mapping table, determine the vehicle parameters corresponding to the parking test type, and the type parameter mapping table represents the mapping relationship between the parking test type and the vehicle parameters;

根据驻车测试类型和类型条件映射表,确定驻车测试类型对应的驻车测试条件和驻车测试目标,类型条件映射表表示驻车测试类型及其对应的驻车测试条件和驻车测试目标间的映射关系。According to the parking test type and type condition mapping table, determine the parking test condition and parking test target corresponding to the parking test type. The type condition mapping table represents the parking test type and its corresponding parking test condition and parking test target. mapping relationship between.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试条件为第一驻车测试条件时,获得驻车测试条件参数对应的数据满足第一驻车测试条件时的第一驻车测试时间范围;第一驻车测试条件包括车辆的电源模式处于驱动模式、EPB和ESC均处于无故障状态、自动驻车的屏幕软开关开启、制动踏板处于踩踏状态、车速小于预设车速阈值且制动主缸压力大于预设压力阈值;When the parking test condition is the first parking test condition, obtain the first parking test time range when the data corresponding to the parking test condition parameter satisfies the first parking test condition; the first parking test condition includes the power supply of the vehicle The mode is in drive mode, both EPB and ESC are in trouble-free state, the on-screen soft switch of automatic parking is turned on, the brake pedal is in the depressed state, the vehicle speed is less than the preset vehicle speed threshold and the brake master cylinder pressure is greater than the preset pressure threshold;

当驻车测试条件为第二驻车测试条件时,获得驻车测试条件参数对应的数据满足第二驻车测试条件时的第二驻车测试时间范围;第二驻车测试条件包括电源模式处于驱动状态、ESC和EPB均处于无故障状态、自动驻车功能处于激活状态、且仪表显示自动驻车标志。When the parking test condition is the second parking test condition, obtain the second parking test time range when the data corresponding to the parking test condition parameter satisfies the second parking test condition; the second parking test condition includes that the power mode is in Drive status, ESC and EPB are all fault free, Auto Park function is active, and the instrument displays the Auto Park sign.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试目标为第一驻车测试目标时,在第一驻车测试时间范围内,根据自动驻车功能的状态和自动驻车标志在仪表上的显示状态,获得第一驻车测试结果;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 time range of the first parking test, according to the adjustment of the gear position, the state of the driver's door and the state of the driver's seat belt, the corresponding adjustment is obtained. The state of the automatic parking function and the display state of the automatic parking sign on the instrument panel are used to determine the result of the second parking test.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试目标为第三驻车测试目标时,在第二驻车测试时间范围内,获取自动驻车功能持续处于激活状态的时长,当时长大于驻车类型转换时长阈值时,根据对EPB驻车的请求状态、自动驻车功能和EPB所处的状态、自动驻车标志和EPB标志在仪表上的显示状态的变化情况,确定第三驻车测试结果;When the parking test target is the third parking test target, within the second parking test time range, the duration of the automatic parking function being continuously activated is obtained. When the duration is greater than the parking type conversion duration threshold, the The request state of parking, the state of the automatic parking function and the EPB, the change of the display state of the automatic parking sign and the EPB sign on the instrument, determine the result of the third parking test;

当驻车测试目标为第四驻车测试目标时,在第二驻车测试时间范围内,当驾驶员安全带所处状态的调整情况和/或驾驶员车门所处状态的调整情况,获得对EPB夹紧的请求状态、对应调整的自动驻车功能和EPB所处状态、自动驻车标志和EPB标志在仪表上的显示状态,以确定第四驻车测试结果;When the parking test target is the fourth parking test target, within the second parking test time range, when the adjustment of the state of the driver's seat belt and/or the adjustment of the state of the driver's door, the correct The request state of the EPB clamping, the correspondingly adjusted automatic parking function and the state of the EPB, the automatic parking sign and the display state of the EPB sign on the instrument, 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 the forward gear, if The state of the accelerator pedal is adjusted to the stepping state and the driving torque generated by the vehicle according to this state is greater than the vehicle holding torque, and the fifth 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 .

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试条件为第三驻车测试条件时,获得驻车测试条件参数中挡位对应的数据为驻车挡时的第三驻车测试时间范围;When the parking test condition is the third parking test condition, obtain the third parking test time range when the data corresponding to the gear in the parking test condition parameter is the parking gear;

当驻车测试条件为第四驻车测试条件时,获得驻车测试条件参数对应的数据满足第四驻车测试条件时的第四驻车测试时间范围;第四驻车测试条件包括仪表未显示自动驻车标志、EPB处于夹紧状态、且仪表显示EPB标志;When the parking test condition is the fourth parking test condition, the obtained data corresponding to the parking test condition parameter satisfies the fourth parking test time range when the fourth parking test condition is satisfied; the fourth parking test condition includes that the meter does not display The automatic parking sign, the EPB is in the clamped state, and the instrument displays the EPB sign;

当驻车测试条件为第五驻车测试条件时,获得驻车测试条件参数对应的数据满足第五驻车测试条件时的第五驻车测试时间范围;第五驻车测试条件包括电源模式处于激活模式或者驱动模式、驾驶员车门处于关闭状态、驾驶员安全带处于系着状态、且车速小于预设车速阈值。When the parking test condition is the fifth parking test condition, the obtained data corresponding to the parking test condition parameter satisfies the fifth parking test time range when the fifth parking test condition is satisfied; the fifth parking test condition includes that the power mode is in Active mode or drive mode, the driver's door is closed, the driver's seat belt is fastened, and the vehicle speed is less than a preset vehicle speed threshold.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试目标为第六驻车测试目标时,在第三驻车测试时间范围内,根据EPB所处的状态和EPB标志在仪表上的显示状态获得第六驻车测试结果;When the parking test target is the sixth parking test target, within the third parking test time range, obtain the sixth parking test result according to the state of the EPB and the display state of the EPB mark on the instrument;

当驻车测试目标为第七驻车测试目标时,在第四驻车测试时间范围内,当挡位调整为前进挡时,根据自动驻车功能所处状态、自动驻车标志在仪表上的显示状态、EPB所处的状态和EPB标志在仪表上的显示状态,确定第七驻车测试结果。When the parking test target is the seventh parking test target, within the fourth parking test time range, when the gear is adjusted to the forward gear, according to the state of the automatic parking function, the automatic parking mark on the instrument The display state, the state of the EPB and the display state of the EPB mark on the instrument panel determine the result of the seventh parking test.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试目标为第八驻车测试目标时,在第五驻车测试时间范围内,电子踏板功能激活后,制动踏板和加速踏板均处于未踩踏状态,根据自动驻车功能所处状态和自动驻车标志在仪表上的显示状态获得第八驻车测试结果;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 not stepped on, according to the state of the automatic parking function. And the display status of the automatic parking sign on the instrument to obtain the eighth parking test result;

当驻车测试目标为第九驻车测试目标时,在第五驻车测试时间范围内,当车辆处于ATS驾驶模式、挡位处于前进挡、坡度大于预设坡度阈值时,根据自动驻车功能所处状态和自动驻车标志在仪表上的显示状态获得第九驻车测试结果。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 gradient is greater than the preset gradient threshold, according to the automatic parking function The state and the display state of the automatic parking sign on the instrument panel obtain the ninth parking test result.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试条件为第一异常测试条件时,获得驻车测试条件参数中电源模式对应的数据为驱动模式且ESC对应的状态数据为无故障状态时的第一异常测试时间范围;When the parking test condition is the first abnormal test condition, obtain the first abnormal test time range when the data corresponding to the power supply mode in the parking test condition parameter is the driving mode and the state data corresponding to the ESC is the fault-free state;

当驻车测试条件为第二异常测试条件时,在第一异常测试时间范围内,获得自动驻车功能处于激活状态、且车速小于预设车速阈值时的第二异常测试时间范围。When the parking test condition is the second abnormal test condition, within the first abnormal test time range, obtain the second abnormal test time range when the automatic parking function is activated and the vehicle speed is less than the preset vehicle speed threshold.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试目标为第一异常测试目标时,在第一异常测试时间范围内,当自动驻车功能处于激活状态、仪表显示自动驻车标志、且EPB处于无故障状态时,若制动弹窗警告信息为行车制动失效,根据自动驻车功能和EPB所处的状态、自动驻车标志和EPB标志在仪表上的显示状态、及仪表显示的自动驻车关联信息,获得第一异常测试结果;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 sign, and the EPB is in a fault-free state, if the brake pop-up window The warning information is the service brake failure. According to the automatic parking function and the state of the EPB, the display status of the automatic parking sign and the EPB sign on the instrument, and the automatic parking related information displayed on the instrument, the first abnormal test result is obtained. ;

当驻车测试目标为第二异常测试目标时,在第一异常测试时间范围内,当车速小于预设车速阈值且制动踏板处于踩踏状态时,根据EPB所处状态调整为故障状态后自动驻车标志在仪表上显示状态的调整情况和仪表显示的自动驻车关联信息,获得第二异常测试结果。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 EPB is adjusted to the fault state and then automatically parked The vehicle logo is displayed on the instrument to display the adjustment status of the state and the automatic parking related information displayed by the instrument to obtain the second abnormal test result.

在一实施例中,处理模块402具体用于:In one embodiment, the processing module 402 is specifically configured to:

当驻车测试目标为第三异常测试目标时,在第二异常测试时间范围内,当EPB所处状态调整为故障状态时,根据自动驻车标志在仪表上的显示状态和仪表显示的自动驻车关联信息,获得第三异常测试结果;When the parking test target is the third abnormal test target, within the second abnormal test time range, when the state of the EPB is adjusted to the fault state, according to the display state of the automatic parking sign on the instrument and the automatic parking displayed by the instrument vehicle-related information to obtain the third abnormal test result;

当驻车测试目标为第四异常测试目标时,在第二异常测试时间范围内,当EPB所处状态调整为故障状态、仪表显示自动驻车标志且驾驶员车门调整为开启状态时,根据自动驻车标志在仪表上显示状态的调整情况和仪表显示的自动驻车关联信息,获得第四异常测试结果。When the parking test target is the fourth abnormal test target, within the second abnormal test time range, when the state of the EPB is adjusted to the fault state, the instrument displays the automatic parking sign, and the driver's door is adjusted to the open state, according to the automatic The parking sign displays the adjustment status of the state on the instrument and the automatic parking related information displayed on the instrument to obtain the fourth abnormal test result.

如图5所示,本申请一实施例提供一种电子设备500,电子设备500包括存储器501和处理器502。As shown in FIG. 5 , an embodiment of the present application provides an electronic device 500 . The electronic device 500 includes a memory 501 and a processor 502 .

其中,存储器501用于存储处理器可执行的计算机指令。The memory 501 is used for storing computer instructions executable by the processor.

处理器502在执行计算机指令时实现上述实施例中的驻车功能测试方法中的各个步骤。具体可以参见前述方法实施例中的相关描述。The processor 502 implements each step in the parking function testing method in the above embodiment when executing the computer instructions. For details, refer to the relevant descriptions in the foregoing method embodiments.

可选地,上述存储器501既可以是独立的,也可以跟处理器502集成在一起。当存储器501独立设置时,该服务器500还包括总线,用于连接存储器501和处理器502。Optionally, the above-mentioned memory 501 may be independent or integrated with the processor 502 . When the memory 501 is set independently, the server 500 further includes a bus for connecting the memory 501 and the processor 502 .

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机指令,当处理器执行计算机指令时,实现上述实施例中驻车功能测试方法中的各个步骤。Embodiments of the present application further provide a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and when the processor executes the computer instructions, each step in the parking function test method in the foregoing embodiment is implemented.

本申请实施例还提供一种计算机程序产品,包括计算机指令,该计算机指令被处理器执行时实现上述实施例中驻车功能测试方法中的各个步骤。Embodiments of the present application further provide a computer program product, including computer instructions, which, when executed by a processor, implement each step in the parking function testing method in the foregoing embodiments.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Other embodiments of the present 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 conventional techniques in the technical field not disclosed in this application . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the application being indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (13)

1.一种驻车功能测试方法,其特征在于,所述方法包括:1. a parking function test method, is characterized in that, described method comprises: 获取车辆总线数据,并从所述车辆总线数据中获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据,所述车辆参数包括驻车测试条件参数和驻车测试目标参数;Acquiring vehicle bus data, and obtaining data corresponding to vehicle parameters generated when the vehicle runs the parking function to be tested from the vehicle bus data, where the vehicle parameters include parking test condition parameters and parking test target parameters; 根据驻车测试条件和所述驻车测试条件参数对应的数据,获得驻车测试时间范围;According to the parking test conditions and the data corresponding to the parking test condition parameters, obtain the parking test time range; 在所述驻车测试时间范围内,根据驻车测试目标和所述驻车测试目标参数对应的数据,获得驻车测试结果;Within the parking test time range, obtain the parking test result according to the parking test target and the data corresponding to the parking test target parameter; 根据所述驻车测试结果生成可视化指令,并将所述可视化指令发送至显示装置,所述可视化指令用于控制所述显示装置显示所述驻车测试结果。A visualization instruction is generated according to the parking test result, and the visualization instruction is sent to a display device, where the visualization instruction is used to control the display device to display the parking test result. 2.根据权利要求1所述的方法,其特征在于,从所述车辆总线数据中获得车辆运行待测试的驻车功能时产生的车辆参数对应的数据之后,所述方法还包括:2. The method according to claim 1, wherein after obtaining data corresponding to vehicle parameters generated when the vehicle runs the parking function to be tested from the vehicle bus data, the method further comprises: 获取驻车测试类型,所述驻车测试类型包括驻车状态调整测试类型或驻车异常测试类型;obtaining a parking test type, where the parking test type includes a parking state adjustment test type or a parking abnormality test type; 根据所述驻车测试类型和类型参数映射表,确定所述驻车测试类型对应的车辆参数,所述类型参数映射表表示所述驻车测试类型和所述车辆参数间的映射关系;According to the parking test type and type parameter mapping table, determine the vehicle parameter corresponding to the parking test type, and the type parameter mapping table represents the mapping relationship between the parking test type and the vehicle parameter; 根据所述驻车测试类型和类型条件映射表,确定所述驻车测试类型对应的所述驻车测试条件和所述驻车测试目标,所述类型条件映射表表示所述驻车测试类型及其对应的所述驻车测试条件和所述驻车测试目标间的映射关系。According to the parking test type and type condition mapping table, the parking test condition and the parking test target corresponding to the parking test type are determined, and the type condition mapping table indicates the parking test type and the parking test target. The corresponding mapping relationship between the parking test condition and the parking test target. 3.根据权利要求2所述的方法,其特征在于,当所述驻车测试类型为驻车状态调整测试类型时,根据驻车测试条件和所述驻车测试条件参数对应的数据,获得驻车测试时间范围,具体包括:3. The method according to claim 2, wherein when the parking test type is the parking state adjustment test type, the parking test condition and the data corresponding to the parking test condition parameter are obtained. Vehicle test time range, including: 当所述驻车测试条件为第一驻车测试条件时,获得所述驻车测试条件参数对应的数据满足所述第一驻车测试条件时的第一驻车测试时间范围;所述第一驻车测试条件包括车辆的电源模式处于驱动模式、EPB和ESC均处于无故障状态、自动驻车的屏幕软开关开启、制动踏板处于踩踏状态、车速小于预设车速阈值且制动主缸压力大于预设压力阈值;When the parking test condition is the first parking test condition, obtain a first parking test time range when the data corresponding to the parking test condition parameter satisfies the first parking test condition; the first parking test time range is obtained; Park test conditions include vehicle power mode in drive mode, EPB and ESC both in fault-free state, on-screen soft switch for automatic parking on, brake pedal depressed, vehicle speed less than a preset speed threshold and master cylinder pressure greater than the preset pressure threshold; 当所述驻车测试条件为第二驻车测试条件时,获得所述驻车测试条件参数对应的数据满足所述第二驻车测试条件时的第二驻车测试时间范围;所述第二驻车测试条件包括电源模式处于驱动状态、ESC和EPB均处于无故障状态、自动驻车功能处于激活状态、且仪表显示自动驻车标志。When the parking test condition is the second parking test condition, obtain a second parking test time range when the data corresponding to the parking test condition parameter satisfies the second parking test condition; the second parking test time range is obtained; Parking test conditions include power mode being driven, both ESC and EPB fault-free, auto-park activated, and the auto-park sign displayed on the gauges. 4.根据权利要求3所述的方法,其特征在于,在所述驻车测试时间范围内,根据驻车测试目标和所述驻车测试目标参数对应的数据,获得驻车测试结果,具体包括以下任意一项:4 . The method according to claim 3 , wherein, within the parking test time range, the parking test result is obtained according to the parking test target and the data corresponding to the parking test target parameter, which specifically includes: 5 . Any of the following: 当所述驻车测试目标为第一驻车测试目标时,在所述第一驻车测试时间范围内,根据自动驻车功能所述的状态和自动驻车标志在仪表上的显示状态,获得第一驻车测试结果;When the parking test target is the first parking test target, within the first parking test time range, according to the state of the automatic parking function and the display state of the automatic parking sign on the instrument, obtain The results of the first parking test; 当所述驻车测试目标为第二驻车测试目标时,在所述第一驻车测试时间范围内,根据挡位、驾驶员车门所处状态和驾驶员安全带所处状态的调整情况,获得对应调整的自动驻车功能所处状态和自动驻车标志在仪表上的显示状态,以确定第二驻车测试结果。When the parking test target is the second parking test target, within the first parking test time range, according to the adjustment of the gear position, the state of the driver's door and the state of the driver's seat belt, The state of the correspondingly adjusted automatic parking function and the display state of the automatic parking sign on the instrument are obtained to determine the second parking test result. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. The method according to claim 4, wherein the method further comprises: 当所述驻车测试目标为第三驻车测试目标时,在所述第二驻车测试时间范围内,获取自动驻车功能持续处于激活状态的时长,当所述时长大于驻车类型转换时长阈值时,根据对EPB驻车的请求状态、自动驻车功能和EPB所处的状态、自动驻车标志和EPB标志在仪表上的显示状态的变化情况,确定第三驻车测试结果;When the parking test target is the third parking test target, within the second parking test time range, the duration of the continuous activation of the automatic parking function is obtained, and when the duration is greater than the parking type conversion duration At the threshold, the third parking test result is determined according to the state of the request for EPB parking, the state of the automatic parking function and the EPB, and the changes in the display state of the automatic parking sign and the EPB sign on the instrument; 当所述驻车测试目标为第四驻车测试目标时,在所述第二驻车测试时间范围内,当所述驾驶员安全带所处状态的调整情况和/或所述驾驶员车门所处状态的调整情况,获得对EPB夹紧的请求状态、对应调整的自动驻车功能和EPB所处状态、自动驻车标志和EPB标志在仪表上的显示状态,以确定第四驻车测试结果;When the parking test target is the fourth parking test target, within the second parking test time range, when the driver's seat belt is adjusted and/or the driver's door is adjusted The adjustment of the state, obtain the request state of the EPB clamping, the corresponding adjustment of the automatic parking function and the state of the EPB, the automatic parking sign and the display state of the EPB sign on the instrument 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 in a closed state, the driver's seat belt is in a fastened state, and When the gear is in the forward gear, if the state of 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, according to the state described by the automatic parking function and the automatic parking mark on the instrument. Display status, get fifth parking test result. 6.根据权利要求2所述的方法,其特征在于,当所述驻车测试类型为驻车状态调整测试类型时,根据驻车测试条件和所述驻车测试条件参数对应的数据,获得驻车测试时间范围,具体包括:6 . The method according to claim 2 , wherein when the parking test type is a parking state adjustment test type, the parking test condition is obtained according to the data corresponding to the parking test condition and the parking test condition parameter. 7 . Vehicle test time range, including: 当所述驻车测试条件为第三驻车测试条件时,获得所述驻车测试条件参数中挡位对应的数据为驻车挡时的第三驻车测试时间范围;When the parking test condition is the third parking test condition, obtain the third parking test time range when the data corresponding to the gear in the parking test condition parameter is the parking gear; 当所述驻车测试条件为第四驻车测试条件时,获得所述驻车测试条件参数对应的数据满足所述第四驻车测试条件时的第四驻车测试时间范围;所述第四驻车测试条件包括仪表未显示自动驻车标志、EPB处于夹紧状态、且仪表显示EPB标志;When the parking test condition is the fourth parking test condition, obtain a fourth parking test time range when the data corresponding to the parking test condition parameter satisfies the fourth parking test condition; the fourth The parking test conditions include that the meter does not display the automatic parking sign, the EPB is in a clamped state, and the meter displays the EPB sign; 当所述驻车测试条件为第五驻车测试条件时,获得所述驻车测试条件参数对应的数据满足所述第五驻车测试条件时的第五驻车测试时间范围;所述第五驻车测试条件包括电源模式处于激活模式或者驱动模式、驾驶员车门处于关闭状态、驾驶员安全带处于系着状态、且车速小于预设车速阈值。When the parking test condition is the fifth parking test condition, obtain a fifth parking test time range when the data corresponding to the parking test condition parameter satisfies the fifth parking test condition; the fifth Park test conditions include power mode in active mode or drive mode, driver's door closed, driver's seat belt fastened, and vehicle speed less than a preset vehicle speed threshold. 7.根据权利要求6所述的方法,其特征在于,在所述驻车测试时间范围内,根据驻车测试目标和所述驻车测试目标参数对应的数据,获得驻车测试结果,具体包括以下任意一项:7 . The method according to claim 6 , wherein, within the parking test time range, according to the parking test target and the data corresponding to the parking test target parameters, the parking test result is obtained, specifically comprising: 8 . Any of the following: 当所述驻车测试目标为第六驻车测试目标时,在所述第三驻车测试时间范围内,根据EPB所处的状态和EPB标志在仪表上的显示状态获得第六驻车测试结果;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 according to the state of the EPB and the display state of the EPB mark on the instrument ; 当所述驻车测试目标为第七驻车测试目标时,在所述第四驻车测试时间范围内,当所述挡位调整为前进挡时,根据自动驻车功能所处状态、自动驻车标志在仪表上的显示状态、EPB所处的状态和EPB标志在仪表上的显示状态,确定第七驻车测试结果。When the parking test target is the seventh parking test target, within the fourth parking test time range, when the gear is adjusted to the forward gear, according to the state of the automatic parking function, the automatic parking The display state of the car mark on the instrument, the status of the EPB and the display status of the EPB mark on the instrument determine the result of the seventh parking test. 8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, wherein the method further comprises: 当所述驻车测试目标为第八驻车测试目标时,在所述第五驻车测试时间范围内,电子踏板功能激活后,制动踏板和加速踏板均处于未踩踏状态,根据自动驻车功能所处状态和自动驻车标志在仪表上的显示状态获得第八驻车测试结果;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 a non-pressed state, according to the automatic parking test The state of the function and the display state of the automatic parking sign on the instrument panel obtain the eighth parking test result; 当所述驻车测试目标为第九驻车测试目标时,在所述第五驻车测试时间范围内,当车辆处于ATS驾驶模式、挡位处于前进挡、坡度大于预设坡度阈值时,根据自动驻车功能所处状态和自动驻车标志在仪表上的显示状态获得第九驻车测试结果。When the parking test target is the ninth parking test target, within the fifth parking test time range, when the vehicle is in the ATS driving mode, the gear is in the forward gear, and the gradient is greater than the preset gradient threshold, according to The state of the automatic parking function and the display state of the automatic parking sign on the instrument panel obtain the ninth parking test result. 9.根据权利要求2所述的方法,其特征在于,当所述驻车测试类型为驻车异常测试类型时,根据驻车测试条件和所述驻车测试条件参数对应的数据,获得驻车测试时间范围,具体包括:9 . The method according to claim 2 , wherein when the parking test type is a parking abnormality test type, the parking test condition is obtained according to the data corresponding to the parking test condition and the parking test condition parameter. 10 . Test time frame, including: 当所述驻车测试条件为第一异常测试条件时,获得所述驻车测试条件参数中电源模式对应的数据为驱动模式且ESC对应的状态数据为无故障状态时的第一异常测试时间范围;When the parking test condition is the first abnormal test condition, obtain the first abnormal test time range when the data corresponding to the power mode in the parking test condition parameter is the driving mode and the state data corresponding to the ESC is the fault-free state ; 当所述驻车测试条件为第二异常测试条件时,在所述第一异常测试时间范围内,获得自动驻车功能处于激活状态、且车速小于预设车速阈值时的第二异常测试时间范围。When the parking test condition is the second abnormal test condition, within the first abnormal test time range, obtain a second abnormal test time range when the automatic parking function is activated and the vehicle speed is less than the preset vehicle speed threshold . 10.根据权利要求9所述的方法,其特征在于,所述驻车测试时间范围内,根据驻车测试目标和所述驻车测试目标参数对应的数据,获得驻车测试结果,具体包括以下任意一项:10. The method according to claim 9, wherein, within the parking test time range, the parking test result is obtained according to the parking test target and the data corresponding to the parking test target parameter, which specifically includes the following: any one: 当所述驻车测试目标为第一异常测试目标时,在所述第一异常测试时间范围内,当自动驻车功能处于激活状态、仪表显示自动驻车标志、且EPB处于无故障状态时,若制动弹窗警告信息为行车制动失效,根据自动驻车功能和EPB所处的状态、自动驻车标志和EPB标志在仪表上的显示状态、及仪表显示的自动驻车关联信息,获得第一异常测试结果;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 meter displays the automatic parking sign, and the EPB is in a fault-free state, If the warning message of the brake pop-up window is that the service brake is invalid, according to the status of the automatic parking function and the EPB, the display status of the automatic parking sign and the EPB sign on the instrument, and the relevant information of the automatic parking displayed on the instrument, obtain the first an abnormal test result; 当所述驻车测试目标为第二异常测试目标时,在所述第一异常测试时间范围内,当车速小于预设车速阈值且制动踏板处于踩踏状态时,根据EPB所处状态调整为故障状态后自动驻车标志在仪表上显示状态的调整情况和仪表显示的自动驻车关联信息,获得第二异常测试结果。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 a depressed state, the EPB is adjusted to be a fault according to the state of the EPB After the state, the automatic parking sign displays the adjustment status of the state and the automatic parking related information displayed on the meter on the instrument to obtain the second abnormal test result. 11.根据权利要求10所述的方法,其特征在于,所述方法还包括:11. The method of claim 10, wherein the method further comprises: 当所述驻车测试目标为第三异常测试目标时,在所述第二异常测试时间范围内,当EPB所处状态调整为故障状态时,根据自动驻车标志在仪表上的显示状态和仪表显示的自动驻车关联信息,获得第三异常测试结果;When the parking test target is the third abnormal test target, within the second abnormal test time range, when the state of the EPB is adjusted to the fault state, according to the display state of the automatic parking sign on the instrument and the instrument Display the information related to automatic parking, and obtain the third abnormal test result; 当所述驻车测试目标为第四异常测试目标时,在所述第二异常测试时间范围内,当EPB所处状态调整为故障状态、仪表显示自动驻车标志且驾驶员车门调整为开启状态时,根据自动驻车标志在仪表上显示状态的调整情况和仪表显示的自动驻车关联信息,获得第四异常测试结果。When the parking test target is the fourth abnormal test target, within the second abnormal test time range, when the state of the EPB is adjusted to the fault state, the meter displays the automatic parking sign, and the driver's door is adjusted to the open state When , the fourth abnormal test result is obtained according to the adjustment of the display state of the automatic parking sign on the instrument and the automatic parking related information displayed by the instrument. 12.一种电子设备,其特征在于,包括:处理器以及与所述处理器通信连接的存储器;12. An electronic device, comprising: a processor and a memory communicatively connected to the processor; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述处理器在执行所述计算机执行指令时用于实现如权利要求1至11中任意一项所述的驻车功能测试方法。The processor is configured to implement the parking function testing method according to any one of claims 1 to 11 when executing the computer-executed instructions. 13.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机指令,所述计算机指令被处理器执行时用于实现如权利要求1至11中任意一项所述的驻车功能测试方法。13. A computer-readable storage medium, characterized in that, computer instructions are stored in the computer-readable storage medium, and when the computer instructions are executed by a processor, the computer instructions are used to implement the invention as claimed in any one of claims 1 to 11. The parking function test method described above.
CN202210548904.2A 2022-05-20 2022-05-20 Parking function test method, electronic device, and storage medium Pending CN114923705A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210548904.2A CN114923705A (en) 2022-05-20 2022-05-20 Parking function test method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210548904.2A CN114923705A (en) 2022-05-20 2022-05-20 Parking function test method, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN114923705A true CN114923705A (en) 2022-08-19

Family

ID=82809089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210548904.2A Pending CN114923705A (en) 2022-05-20 2022-05-20 Parking function test method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN114923705A (en)

Similar Documents

Publication Publication Date Title
CN109556885B (en) Automatic driving control method and system for electric vehicle performance test
US8319623B2 (en) Brake monitoring system and method
EP1112477B1 (en) Method and apparatus for graphically monitoring and controlling a vehicle anti-lock braking system
US9776613B2 (en) Abnormal detecting system and method for a pneumatic brake
CN108007695B (en) Road spectrum testing device and method for automobile hub rotating test bed
CN103838226B (en) Rail vehicle controls and monitoring system trouble-locating apparatus and method
CN103043049A (en) Vacuum brake boosting control system and vacuum brake boosting control method for electric cars
CN113808299A (en) Vehicle fault snapshot storage method, device and equipment based on fault system
CN203534602U (en) Testing equipment suitable for vehicle-mounted navigation multimedia terminal
CN107696861B (en) Method, device and system for controlling vehicle speed of reversing and reversing safety controller
Hu et al. Developing PC-based automobile diagnostic system based on OBD system
CN114932807B (en) Fault processing method and fault processing system for electric vehicle power system
CN114923705A (en) Parking function test method, electronic device, and storage medium
CN114906117A (en) Method, device, equipment and medium for determining state of brake pedal of vehicle
CN202758238U (en) A multifunctional vehicle diagnosis device
CN116736834A (en) Fault analysis method, controller and vehicle
CN114274940B (en) Parking force testing method and system for vehicle carrying electronic parking system
CN211364533U (en) Control device for detecting electronic parking abuse
CN201694061U (en) Automobile dashboard
CN202294791U (en) Failure alarm of brake shoes
CN116007954B (en) Test device and test method for electromechanical brake system
CN114778138A (en) Single pedal function testing method, electronic device and storage medium
CN222212263U (en) Vehicle detection system and vehicle detection apparatus
CN219495652U (en) Intelligent diagnosis and active error correction system for new energy vehicle
CN115728074A (en) Device and method for detecting rigidity of component

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination