Vehicle head-up display test method and system, electronic equipment and storage medium

By constructing test cases and a test system that simulates natural ambient light, the brightness adjustment performance of the automobile head-up display is evaluated, which solves the problem of the inability to realize automated HUD brightness adjustment testing in the existing technology, realizes automated testing of HUD brightness adjustment, and improves efficiency Test efficiency and accuracy.

CN118533512AInactive Publication Date: 2024-08-23CHINA FAW CO LTD

Patent Information

Application Number
CN202410997654.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing technology, due to environmental conditions, it is impossible to test the automatic adjustment of the brightness of the automobile head-up display (HUD).

Method used

By building test cases and preset test systems, simulate natural ambient light, execute test cases to evaluate the HUD's brightness adjustment performance, and generate reports based on the test results to ensure the automatic adjustment effect of the HUD under different lighting conditions.

Benefits of technology

It realizes automated testing of HUD brightness adjustment, solves the problem of being unable to implement automated testing due to environmental conditions, and improves testing efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533512A
    Figure CN118533512A
Patent Text Reader

Abstract

The invention discloses a vehicle head-up display test method and system, electronic equipment and a storage medium, and belongs to the technical field of vehicle test.The vehicle head-up display test method comprises the steps that a test case is constructed according to a preset test requirement; testing the head-up display of the to-be-tested vehicle by using a preset test system based on the preset test parameters and executing the test case to obtain an execution result, the preset test system being used for simulating natural environment light; and according to the execution result, generating a test report according to a preset template. According to the invention, the technical problem that automatic HUD brightness adjustment testing cannot be realized due to limitation of environmental conditions in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of vehicle testing, and in particular, relates to a vehicle head-up display testing method, system, electronic equipment and storage medium. Background Art

[0002] HUD head-up display is a product that was initially used on aircraft to display key parameters and reduce the number of times pilots look down at instruments to ensure flight safety. Now, with the advancement of technology, HUD has gradually become a standard feature of automobiles, which can reduce safety accidents caused by drivers looking at instruments and the central control screen.

[0003] During driving, the brightness of the external environment is constantly changing. When the ambient light is weak (such as at night), the human eye will feel comfortable when the HUD displays a low brightness. On the contrary, high brightness will irritate the human eye and affect driving safety. When the ambient light is strong (such as when the sun is shining directly at noon), the HUD high brightness display can make the human eye see the displayed content clearly. However, if the HUD brightness is manually adjusted during driving, it may distract the driver's attention and affect driving safety. Therefore, HUD has derived the function of automatic brightness adjustment, which can automatically adjust the brightness according to changes in the external environment.

[0004] In the HUD function test of the whole vehicle, the automatic brightness adjustment feature of the HUD is often unable to achieve automated brightness adjustment testing due to environmental conditions. Summary of the invention

[0005] The embodiments of the present invention provide a vehicle head-up display test method, system, electronic device and storage medium to at least solve the technical problem in the related art that automated HUD brightness adjustment test cannot be implemented due to environmental conditions.

[0006] According to a first aspect of an embodiment of the present invention, a vehicle head-up display testing method is provided, comprising: constructing a test case according to preset test requirements; utilizing a preset test system, based on preset test parameters, executing the test case to test the head-up display of a vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light; and generating a test report according to a preset template based on the execution result.

[0007] Optionally, the preset test parameters include the test case execution interval, the number of test case execution repetitions, the head-up display reaction time and the brightness value deviation.

[0008] Optionally, the preset test system covers a color temperature range of 3000 Kelvin to 6000 Kelvin and a light intensity range of 0.1 lux to 2000 lux.

[0009] Optionally, constructing a test case according to preset test requirements includes: extracting scenarios from the preset test requirements to obtain test scenarios; and constructing a test case according to the test scenarios, wherein the test scenarios correspond to the test cases one-to-one.

[0010] Optionally, the test scene includes at least one or more of the following: ambient light continuously changes from bright to dark, ambient light continuously changes from dark to bright, ambient light instantly changes from bright to dark, ambient light instantly changes from dark to bright, backlight scene, and glare scene.

[0011] Optionally, a preset test system is used to execute test cases based on preset test parameters to test the head-up display of the vehicle under test to obtain execution results, including: using the preset test system to parse the test cases to obtain lighting adjustment parameters; adjusting the preset test system according to the lighting adjustment parameters to obtain adjustment results; in response to the adjustment result indicating that the adjustment is successful, testing the head-up display of the vehicle under test based on the preset test parameters and the test cases to obtain execution results.

[0012] Optionally, in response to the adjustment result indicating that the adjustment is successful, the head-up display of the vehicle to be tested is tested based on preset test parameters and test cases to obtain an execution result, including: in response to the adjustment result indicating that the adjustment is successful, the head-up display of the vehicle to be tested is tested based on preset test parameters and test cases to obtain the current response time and the current brightness of the head-up display of the vehicle to be tested; comparing the current response time with the expected response time to obtain a first deviation, wherein the expected response time is included in the test case; and comparing the current brightness with the expected brightness to obtain a second deviation, wherein the expected brightness is included in the test case; determining the execution result according to the first deviation and the second deviation.

[0013] Optionally, determining the execution result based on the first deviation and the second deviation includes: in response to the first deviation being less than a first preset deviation threshold and the second deviation being less than a second preset deviation threshold, determining that the execution result is that the head-up display of the vehicle to be tested passes the test case.

[0014] According to a second aspect of an embodiment of the present invention, a vehicle head-up display test system is also provided, comprising:

[0015] The construction module is used to construct test cases according to preset test requirements; the test module is used to use the preset test system, based on preset test parameters, to execute the test cases to test the head-up display of the vehicle to be tested to obtain execution results, wherein the preset test system is used to simulate natural ambient light; the generation module is used to generate a test report according to the preset template based on the execution results.

[0016] Optionally, the preset test parameters in the test module include the test case execution interval, the number of test case execution repetitions, the head-up display reaction time and the brightness value deviation.

[0017] Optionally, the test module utilizes a preset test system that covers a color temperature range of 3000 Kelvin to 6000 Kelvin and a light intensity range of 0.1 lux to 2000 lux.

[0018] Optionally, the construction module is further used to: extract scenarios for preset test requirements to obtain test scenarios; and construct test cases based on the test scenarios, wherein the test scenarios correspond to the test cases one-to-one.

[0019] Optionally, the test scenes in the construction module include at least one or more of the following: ambient lighting continuously changes from bright to dark, ambient lighting continuously changes from dark to bright, ambient lighting instantly changes from bright to dark, ambient lighting instantly changes from dark to bright, backlight scene, and glare scene.

[0020] Optionally, the test module is also used to: use a preset test system to parse the test case to obtain lighting adjustment parameters; adjust the preset test system according to the lighting adjustment parameters to obtain adjustment results; in response to the adjustment result indicating that the adjustment is successful, test the head-up display of the vehicle to be tested based on the preset test parameters and the test case to obtain an execution result.

[0021] Optionally, the test module is also used to: in response to the adjustment result indicating that the adjustment is successful, test the head-up display of the vehicle to be tested based on preset test parameters and test cases to obtain the current response time and the current brightness of the head-up display of the vehicle to be tested; compare the current response time with the expected response time to obtain a first deviation, wherein the expected response time is included in the test case; and compare the current brightness with the expected brightness to obtain a second deviation, wherein the expected brightness is included in the test case; determine the execution result according to the first deviation and the second deviation.

[0022] Optionally, the test module is further used to: in response to the first deviation being less than a first preset deviation threshold and the second deviation being less than a second preset deviation threshold, determine that the execution result is that the head-up display of the vehicle to be tested passes the test case.

[0023] According to a third aspect of an embodiment of the present invention, there is also provided an electronic device, comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the vehicle head-up display test method described in any embodiment of the first aspect above.

[0024] According to a fourth aspect of an embodiment of the present invention, a non-volatile storage medium is further provided, in which a computer program is stored, wherein the computer program is configured to execute the vehicle head-up display test method described in any embodiment of the first aspect when running on a computer or a processor.

[0025] According to a fifth aspect of an embodiment of the present invention, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the vehicle head-up display test method in any one of the above items is implemented.

[0026] In an embodiment of the present invention, a test case is constructed according to a preset test requirement; a preset test system is used to execute the test case based on preset test parameters to test the head-up display of the vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light; and a test report is generated according to a preset template based on the execution result. The present invention constructs a test case, tests the head-up display of the vehicle to be tested in a preset test system that can simulate the natural ambient light, and obtains the test result. It can simulate different environmental conditions to perform automated testing on the head-up display of the vehicle to be tested, and can solve the technical problem in the related art that the automated HUD brightness adjustment test cannot be achieved due to environmental conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0028] Figure 1 is a flow chart of a vehicle head-up display testing method according to one embodiment of the present invention;

[0029] Figure 2 is a schematic diagram of the structure of a vehicle head-up display testing device according to one embodiment of the present invention;

[0030] Figure 3 is a flowchart of a vehicle head-up display testing method according to one embodiment of the present invention;

[0031] Figure 4 4 is a structural block diagram of a vehicle head-up display testing system according to one embodiment of the present invention. DETAILED DESCRIPTION

[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0034] According to an embodiment of the present invention, an embodiment of a vehicle head-up display testing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system containing at least one set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0035] The method embodiment can also be executed in an electronic device including a memory and a processor, a similar control device or a cloud. Taking an electronic device as an example, the electronic device may include one or more processors and a memory for storing data. Optionally, the electronic device may also include a communication device and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above structural description is only illustrative and does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components than the above structural description, or have a configuration different from the above structural description.

[0036] The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a field-programmable gate array (FPGA), a neural-network processing unit (NPU), a tensor processing unit (TPU), an artificial intelligence (AI) type processor, and other processing devices. Among them, different processing units may be independent components or integrated into one or more processors. In some instances, the electronic device may also include one or more processors.

[0037] The memory can be used to store computer programs, such as storing a computer program corresponding to the vehicle head-up display test method in an embodiment of the present invention. The processor implements the above-mentioned vehicle head-up display test method by running the computer program stored in the memory. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0038] The communication device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the communication device includes a network adapter (network interface controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the communication device can be a radio frequency (radio frequency, RF) module, which is used to communicate with the Internet wirelessly. In some embodiments of the present solution, the communication device is used to connect to mobile devices such as mobile phones and tablets, and instructions can be sent to electronic devices through the mobile device.

[0039] The display device may be a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the electronic device. In some embodiments, the electronic device has a graphical user interface (GUI), and a user may interact with the GUI through finger contacts and / or gestures on a touch-sensitive surface, and executable instructions for executing the above-mentioned human-computer interaction functions are configured / stored in a computer program product or a readable storage medium executable by one or more processors.

[0040] Figure 1 is a flow chart of a vehicle head-up display testing method according to one embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0041] Step S101, constructing a test case according to preset test requirements.

[0042] Specifically, when testing the vehicle head-up display, it is first necessary to construct multiple test cases corresponding to the preset test requirements according to the preset test requirements.

[0043] Step S102, using a preset test system and based on preset test parameters, executing a test case to test the head-up display of the vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light.

[0044] Specifically, after the test cases are constructed in step S101, a preset test system can be used to execute multiple test cases based on preset test parameters to test the head-up display of the vehicle to be tested and obtain execution results.

[0045] It should be noted that the preset test system can simulate natural ambient light with different light intensities and color temperatures according to the test requirements of different test cases.

[0046] It is understandable that after the preset test system simulates the natural ambient light corresponding to the test case, the vehicle's head-up display will automatically adjust the brightness according to the simulated natural ambient light.

[0047] Step S103: Generate a test report according to the execution result and the preset template.

[0048] Specifically, after the test in step S102, a test report may be generated according to a preset template.

[0049] It can be understood that the execution result at least includes whether the test passes or fails.

[0050] In an embodiment of the present invention, a test case is constructed according to a preset test requirement; a preset test system is used to execute the test case based on preset test parameters to test the head-up display of the vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light; and a test report is generated according to a preset template based on the execution result. The present invention constructs a test case, tests the head-up display of the vehicle to be tested in a preset test system that can simulate the natural ambient light, and obtains the test result. It can simulate different environmental conditions to perform automated testing on the head-up display of the vehicle to be tested, and can solve the technical problem in the related art that the automated HUD brightness adjustment test cannot be achieved due to environmental conditions.

[0051] Optionally, the preset test parameters include the test case execution interval, the number of test case execution repetitions, the head-up display reaction time and the brightness value deviation.

[0052] Optionally, the preset test system covers a color temperature range of 3000 Kelvin to 6000 Kelvin and a light intensity range of 0.1 lux to 2000 lux.

[0053] Optionally, constructing a test case according to preset test requirements includes: extracting scenarios from the preset test requirements to obtain test scenarios; and constructing a test case according to the test scenarios, wherein the test scenarios correspond to the test cases one-to-one.

[0054] Optionally, the test scene includes at least one or more of the following: ambient light continuously changes from bright to dark, ambient light continuously changes from dark to bright, ambient light instantly changes from bright to dark, ambient light instantly changes from dark to bright, backlight scene, and glare scene.

[0055] Optionally, a preset test system is used to execute test cases based on preset test parameters to test the head-up display of the vehicle under test to obtain execution results, including: using the preset test system to parse the test cases to obtain lighting adjustment parameters; adjusting the preset test system according to the lighting adjustment parameters to obtain adjustment results; in response to the adjustment result indicating that the adjustment is successful, testing the head-up display of the vehicle under test based on the preset test parameters and the test cases to obtain execution results.

[0056] Optionally, in response to the adjustment result indicating that the adjustment is successful, the head-up display of the vehicle to be tested is tested based on preset test parameters and test cases to obtain an execution result, including: in response to the adjustment result indicating that the adjustment is successful, the head-up display of the vehicle to be tested is tested based on preset test parameters and test cases to obtain the current response time and the current brightness of the head-up display of the vehicle to be tested; comparing the current response time with the expected response time to obtain a first deviation, wherein the expected response time is included in the test case; and comparing the current brightness with the expected brightness to obtain a second deviation, wherein the expected brightness is included in the test case; determining the execution result according to the first deviation and the second deviation.

[0057] Optionally, determining the execution result based on the first deviation and the second deviation includes: in response to the first deviation being less than a first preset deviation threshold and the second deviation being less than a second preset deviation threshold, determining that the execution result is that the head-up display of the vehicle to be tested passes the test case.

[0058] Specifically, refer to Figure 2 , the above embodiment can be Figure 2 The device provided is implemented as follows:

[0059] Figure 2 The vehicle head-up display test device shown includes a host computer and a test device, wherein the host computer is composed of a basic setting module, a use case writing and sending module, a data receiving module, a data synchronization module, a data processing module and a report generation module, and the test device is composed of a test execution module, a data recording module and a data upload module.

[0060] Specifically, the basic setting module includes two parts: execution parameter value setting and judgment parameter setting. The content of the execution parameter setting needs to be determined and written before the test starts, mainly including parameters such as the execution interval duration of the use case and the number of repetitions of the use case execution; the judgment parameter setting mainly includes key parameters such as HUD response time and brightness value deviation.

[0061] Use case writing and sending module: Based on the usage scenario of HUD's automatic brightness adjustment, the test case writing is completed visually on the host computer, and the setting items and use cases are sent with one click.

[0062] Test execution module: Environmental simulation laboratory (preset test system) automatically adjusts the external lighting environment based on the test case settings and test case items. The environmental simulation laboratory includes multiple LED lights, which are calibrated to simulate natural lighting, covering a color temperature range of 3000-6000 Kelvin and an illumination range of 0.1-2000 lux. It can achieve continuously adjustable light intensity, and the step length of brightness adjustment is less than 1s.

[0063] Data recording module: The test equipment installed at the solid line position of the driver's seat automatically records the test results of the automatic brightness change value of the vehicle HUD in the data module. The data recording module has the ability to cache data. When the network status is not good, the data is stored in the cache and uploaded after the network is good.

[0064] Data upload module: encrypts all data of the data recording module and uploads it to the host computer. The data upload module has the ability to upload in real time and cache upload. If there is cache data, the cache data will be uploaded first and then stored and overwritten during this power-on.

[0065] Data receiving module: The host computer receives the test result data uploaded by the test equipment and stores the original data in the database.

[0066] Data synchronization module: Based on the timestamp and HUD response time, the external environment brightness value and test results when the test case is executed are synchronized and output to the data processing module.

[0067] Data processing module: Based on the data from the data synchronization module and the threshold deviation of brightness, data processing is performed to output the test results for each use case.

[0068] Test report generation module: accepts the processing results of the data processing module and generates a test report according to the preset report template.

[0069] Optional, see Figure 3 In some embodiments of the present invention, the method provided by the present invention is Figure 2 The provided device performs the following:

[0070] S201. Before starting the test, the test equipment is installed at the sight line of the vehicle driver. In a test implementation case, the test equipment is a light sensor, and data can be transmitted in real time through a wireless bridge installed on the equipment. The installation position of the light sensor can be selected based on test experience. In this embodiment, the sight line position of a 175cm driver sitting in the driving position is selected, and the height position of the HUD is 0 (middle position);

[0071] S202, test cases are issued. The writing and issuing of test cases are both realized through the visualization system in the upper computer. In a test example, the test cases include various actual scenarios such as ambient light continuously changing from bright to dark, ambient light continuously changing from dark to bright, ambient light changing from bright to dark instantly, changing from dark to bright instantly, backlight scenes, glare scenes, etc. The execution interval of each test case is 10s, the number of repetitions of the test case execution is 3 times, the response time of the HUD is 2s, and the brightness deviation is 15 lux.

[0072] S203, test equipment execution. In a test example, after the test case is issued, the environment simulation device receives the test case, automatically parses it into executable lighting adjustment instructions, and lights up the environment according to the preset brightness adjustment. The HUD screen automatically adjusts the brightness based on the change of ambient light.

[0073] S204, data upload module, the data upload module uploads the HUD brightness data and timestamp collected by the test device to the host computer in real time, and the host computer directly stores the data. The storage method can be but is not limited to local disk storage, cloud storage, etc. In an implementation example, the data is stored in a data table on the cloud in json format.

[0074] S205, data synchronization, the data synchronization module synchronizes the expected value in the test case and the result value uploaded by the data upload module based on the response time difference of the HUD and the real timestamp, and stores the synchronization result for query and inspection of the test result.

[0075] S206, the data processing module performs an automated deviation check on the synchronized expected value and result value. If the deviation is within a preset range, the single execution of this use case is determined to have passed. Otherwise, this use case is considered to have failed. If the single execution passes within the number of executions of the use case, this use case is determined to have passed. In the present invention, the automated test result determination can be performed for each use case or can be performed automatically after the test is completed.

[0076] S207, test report generation: visually click to generate a test report based on a built-in or imported test report template with one click.

[0077] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0078] In this embodiment, a vehicle head-up display test system is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" is a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0079] Figure 4 FIG. 2 is a structural block diagram of a vehicle head-up display test system 200 according to one embodiment of the present invention. Figure 4 As shown, a vehicle head-up display test system 200 is used as an example, including: a construction module 201, which is used to construct a test case according to a preset test requirement; a test module 202, which is used to use a preset test system, based on preset test parameters, to execute the test case to test the head-up display of the vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light; a generation module 203, which is used to generate a test report according to a preset template based on the execution result.

[0080] Optionally, the preset test parameters in the test module 202 include the test case execution interval, the number of test case execution repetitions, the head-up display reaction time and the brightness value deviation.

[0081] Optionally, the preset test system used by the test module 202 covers a color temperature range of 3000 Kelvin to 6000 Kelvin and a light intensity range of 0.1 lux to 2000 lux.

[0082] Optionally, the construction module 201 is further used to: extract scenarios from preset test requirements to obtain test scenarios; and construct test cases according to the test scenarios, wherein the test scenarios correspond to the test cases one by one.

[0083] Optionally, the test scenes in the construction module 201 include at least one or more of the following: ambient lighting continuously changes from bright to dark, ambient lighting continuously changes from dark to bright, ambient lighting instantly changes from bright to dark, ambient lighting instantly changes from dark to bright, backlight scene, and glare scene.

[0084] Optionally, the test module 202 is also used to: utilize a preset test system to parse the test case to obtain lighting adjustment parameters; adjust the preset test system according to the lighting adjustment parameters to obtain an adjustment result; in response to the adjustment result indicating that the adjustment is successful, test the head-up display of the vehicle to be tested based on the preset test parameters and the test case to obtain an execution result.

[0085] Optionally, the test module 202 is also used to: in response to the adjustment result indicating that the adjustment is successful, test the head-up display of the vehicle to be tested based on preset test parameters and test cases to obtain the current response time and the current brightness of the head-up display of the vehicle to be tested; compare the current response time with the expected response time to obtain a first deviation, wherein the expected response time is included in the test case; and compare the current brightness with the expected brightness to obtain a second deviation, wherein the expected brightness is included in the test case; determine the execution result according to the first deviation and the second deviation.

[0086] Optionally, the test module 202 is further used to: in response to the first deviation being less than a first preset deviation threshold, and the second deviation being less than a second preset deviation threshold, determine that the execution result is that the head-up display of the vehicle to be tested passes the test case.

[0087] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the vehicle head-up display test method described in any of the above embodiments.

[0088] Optionally, in this embodiment, the processor in the above electronic device may be configured to run a computer program to perform the following steps:

[0089] Step S101, constructing a test case according to preset test requirements.

[0090] Step S102, using a preset test system and based on preset test parameters, executing a test case to test the head-up display of the vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light.

[0091] Step S103: Generate a test report according to the execution result and the preset template.

[0092] Optionally, the preset test parameters in the above electronic device include the test case execution interval, the number of test case execution repetitions, the head-up display reaction time and the brightness value deviation.

[0093] Optionally, the preset test system used by the above electronic device covers a color temperature range of 3000 Kelvin to 6000 Kelvin and a light intensity range of 0.1 lux to 2000 lux.

[0094] Optionally, the processor in the above electronic device can be configured to run a computer program to perform the following steps: extract scenarios for preset test requirements to obtain test scenarios; and construct test cases based on the test scenarios, wherein the test scenarios correspond to the test cases one-to-one.

[0095] Optionally, the test scene includes at least one or more of the following: ambient light continuously changes from bright to dark, ambient light continuously changes from dark to bright, ambient light instantly changes from bright to dark, ambient light instantly changes from dark to bright, backlight scene, and glare scene.

[0096] Optionally, the processor in the above-mentioned electronic device can be configured to run a computer program to perform the following steps: using a preset test system, parsing the test case to obtain lighting adjustment parameters; adjusting the preset test system according to the lighting adjustment parameters to obtain adjustment results; in response to the adjustment result indicating that the adjustment is successful, testing the head-up display of the vehicle to be tested based on the preset test parameters and the test case to obtain an execution result.

[0097] Optionally, the processor in the above-mentioned electronic device can be configured to run a computer program to perform the following steps: in response to the adjustment result indicating that the adjustment is successful, based on preset test parameters and test cases, the head-up display of the vehicle to be tested is tested to obtain the current response time and the current brightness of the head-up display of the vehicle to be tested; the current response time is compared with the expected response time to obtain a first deviation, wherein the expected response time is included in the test case; and the current brightness is compared with the expected brightness to obtain a second deviation, wherein the expected brightness is included in the test case; and the execution result is determined according to the first deviation and the second deviation.

[0098] Optionally, the processor in the above-mentioned electronic device can be configured to run a computer program to perform the following steps: in response to the first deviation being less than a first preset deviation threshold, and the second deviation being less than a second preset deviation threshold, determining that the execution result is that the head-up display of the vehicle to be tested passes the test case.

[0099] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0100] An embodiment of the present invention further provides a non-volatile storage medium, in which a computer program is stored, wherein the computer program is configured to execute the vehicle head-up display test method described in any of the above embodiments when running on a computer or a processor.

[0101] Optionally, in this embodiment, the above-mentioned computer program may be configured to store a computer program for performing the following steps:

[0102] Step S101, constructing a test case according to preset test requirements.

[0103] Step S102, using a preset test system and based on preset test parameters, executing a test case to test the head-up display of the vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light.

[0104] Step S103: Generate a test report according to the execution result and the preset template.

[0105] Optionally, the preset test parameters in the above-mentioned computer program include the test case execution interval length, the number of test case execution repetitions, the head-up display reaction time and the brightness value deviation.

[0106] Optionally, the preset test system used by the above computer program covers a color temperature range of 3000 Kelvin to 6000 Kelvin and a light intensity range of 0.1 lux to 2000 lux.

[0107] Optionally, the above-mentioned computer program can be configured to store a computer program for executing the following steps: extracting scenarios for preset test requirements to obtain test scenarios; and constructing test cases based on the test scenarios, wherein the test scenarios correspond to the test cases one-to-one.

[0108] Optionally, the test scene includes at least one or more of the following: ambient light continuously changes from bright to dark, ambient light continuously changes from dark to bright, ambient light instantly changes from bright to dark, ambient light instantly changes from dark to bright, backlight scene, and glare scene.

[0109] Optionally, the above-mentioned computer program can be configured to store a computer program for executing the following steps: using a preset test system, parsing the test case to obtain lighting adjustment parameters; adjusting the preset test system according to the lighting adjustment parameters to obtain adjustment results; in response to the adjustment result indicating that the adjustment is successful, testing the head-up display of the vehicle to be tested based on the preset test parameters and the test case to obtain an execution result.

[0110] Optionally, the above-mentioned computer program can be configured to store a computer program for executing the following steps: in response to the adjustment result indicating that the adjustment is successful, based on preset test parameters and test cases, testing the head-up display of the vehicle to be tested to obtain the current response time and the current brightness of the head-up display of the vehicle to be tested; comparing the current response time with the expected response time to obtain a first deviation, wherein the expected response time is included in the test case; and comparing the current brightness with the expected brightness to obtain a second deviation, wherein the expected brightness is included in the test case; determining the execution result according to the first deviation and the second deviation.

[0111] Optionally, the above-mentioned computer program can be configured to store a computer program for performing the following steps: in response to the first deviation being less than a first preset deviation threshold and the second deviation being less than a second preset deviation threshold, determining that the execution result is that the head-up display of the vehicle to be tested passes the test case.

[0112] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0113] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the vehicle head-up display test method described in any of the above embodiments when executed by a processor.

[0114] Optionally, in this embodiment, the above computer program implements the following steps when executed by a processor:

[0115] Step S101, constructing a test case according to preset test requirements.

[0116] Step S102, using a preset test system and based on preset test parameters, executing a test case to test the head-up display of the vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light.

[0117] Step S103: Generate a test report according to the execution result and the preset template.

[0118] Optionally, the preset test parameters in the above-mentioned computer program include the test case execution interval length, the number of test case execution repetitions, the head-up display reaction time and the brightness value deviation.

[0119] Optionally, the preset test system used by the above computer program covers a color temperature range of 3000 Kelvin to 6000 Kelvin and a light intensity range of 0.1 lux to 2000 lux.

[0120] Optionally, the above-mentioned computer program implements the following steps when executed by the processor: extracting scenarios for preset test requirements to obtain test scenarios; and constructing test cases based on the test scenarios, wherein the test scenarios correspond to the test cases one-to-one.

[0121] Optionally, the test scene includes at least one or more of the following: ambient light continuously changes from bright to dark, ambient light continuously changes from dark to bright, ambient light instantly changes from bright to dark, ambient light instantly changes from dark to bright, backlight scene, and glare scene.

[0122] Optionally, the above-mentioned computer program implements the following steps when executed by the processor: using a preset test system, parsing the test case to obtain lighting adjustment parameters; adjusting the preset test system according to the lighting adjustment parameters to obtain adjustment results; in response to the adjustment result indicating that the adjustment is successful, based on the preset test parameters and the test case, testing the head-up display of the vehicle to be tested to obtain an execution result.

[0123] Optionally, the above-mentioned computer program implements the following steps when executed by the processor: in response to the adjustment result indicating that the adjustment is successful, based on preset test parameters and test cases, the head-up display of the vehicle to be tested is tested to obtain the current response time and the current brightness of the head-up display of the vehicle to be tested; the current response time is compared with the expected response time to obtain a first deviation, wherein the expected response time is included in the test case; and the current brightness is compared with the expected brightness to obtain a second deviation, wherein the expected brightness is included in the test case; and the execution result is determined according to the first deviation and the second deviation.

[0124] Optionally, the above-mentioned computer program implements the following steps when executed by the processor: in response to the first deviation being less than a first preset deviation threshold and the second deviation being less than a second preset deviation threshold, determining that the execution result is that the head-up display of the vehicle to be tested passes the test case.

[0125] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0126] In some embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the modules can be a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, modules or indirect coupling or communication connection of modules, which can be electrical or other forms.

[0127] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0128] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of software functional modules.

[0129] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., which can store program code.

[0130] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A vehicle head-up display test method, It is characterized in that include: Build test cases according to preset test requirements; Using a preset test system and based on preset test parameters, executing the test case to test the head-up display of the vehicle to be tested to obtain an execution result, wherein the preset test system is used to simulate natural ambient light; Based on the execution result, a test report is generated according to a preset template.

2. The vehicle head-up display testing method according to claim 1, It is characterized in that The preset test parameters include the test case execution interval, the number of test case execution repetitions, the head-up display response time and the brightness value deviation.

3. The vehicle head-up display testing method according to claim 1, It is characterized in that The preset test system covers a color temperature range of 3000 Kelvin to 6000 Kelvin and a light intensity range of 0.1 lux to 2000 lux.

4. The vehicle head-up display testing method according to claim 1, It is characterized in that The test case is constructed according to the preset test requirements, including: Extracting scenarios from the preset test requirements to obtain test scenarios; The test case is constructed according to the test scenario, wherein the test scenario corresponds to the test case one by one.

5. The vehicle head-up display testing method according to claim 4, It is characterized in that The test scene includes at least one or more of the following: ambient light continuously changes from bright to dark, ambient light continuously changes from dark to bright, ambient light instantly changes from bright to dark, ambient light instantly changes from dark to bright, backlight scene, and glare scene.

6. The vehicle head-up display testing method according to claim 1, It is characterized in that The method of using the preset test system and executing the test case to test the head-up display of the vehicle to be tested based on the preset test parameters to obtain the execution result includes: Utilizing the preset test system, analyzing the test case to obtain lighting adjustment parameters; According to the lighting adjustment parameters, adjusting the preset test system to obtain an adjustment result; In response to the adjustment result indicating that the adjustment is successful, the head-up display of the vehicle to be tested is tested based on the preset test parameters and the test case to obtain the execution result.

7. The vehicle head-up display testing method according to claim 6, It is characterized in that In response to the adjustment result indicating that the adjustment is successful, based on the preset test parameters and the test case, the head-up display of the vehicle to be tested is tested to obtain the execution result, including: In response to the adjustment result indicating that the adjustment is successful, based on the preset test parameters and the test case, the head-up display of the vehicle to be tested is tested to obtain a current response time and a current brightness of the head-up display of the vehicle to be tested; Comparing the current response time with an expected response time to obtain a first deviation, wherein the expected response time is included in the test case; and comparing the current brightness with an expected brightness to obtain a second deviation, wherein the expected brightness is included in the test case; The execution result is determined according to the first deviation and the second deviation.

8. The vehicle head-up display testing method according to claim 7, It is characterized in that The determining the execution result according to the first deviation and the second deviation includes: In response to the first deviation being smaller than a first preset deviation threshold and the second deviation being smaller than a second preset deviation threshold, it is determined that the execution result is that the head-up display of the vehicle to be tested passes the test case.

9. A vehicle head-up display test system, It is characterized in that include: The construction module is used to build test cases according to preset test requirements; A test module, used to execute the test case to test the head-up display of the vehicle to be tested by using a preset test system based on preset test parameters to obtain an execution result, wherein the preset test system is used to simulate natural ambient light; The generating module is used to generate a test report according to the execution result and a preset template.

10. An electronic device comprising a memory and a processor, It is characterized in that The memory stores a computer program, and the processor is configured to run the computer program to execute the vehicle head-up display testing method described in any one of claims 1 to 8.

11. A non-volatile storage medium, It is characterized in that The non-volatile storage medium stores a computer program, wherein the computer program is configured to execute the vehicle head-up display test method described in any one of claims 1 to 8 when running on a computer or a processor.

Citation Information

Patent Citations

  • Automatic test device and method of brightness sensor for head-up display

    CN110779621A

  • HUD stray light environment simulation test equipment and method

    CN112082739A

  • AR-HUD test method and device and storage medium

    CN117268718A

  • Integration method, system and software for automatically testing HUD (Head Up Display)

    CN117851255A

  • Contrast characterization of multi-plane holographic HUD accounting for image artifacts

    US20220342367A1

Cited By

  • Intelligent cockpit evaluation method and system

    CN119647791A

  • HUD software automatic test system and visual troubleshooting method

    CN121166556A