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

By acquiring and comparing the image stream data of the head-up display module and identifying and evaluating the status of the actual display elements, the problem that the prior art cannot perform a complete head-up display test is solved, and accurate and comprehensive testing of the vehicle head-up display is achieved.

CN119803957APending Publication Date: 2025-04-11CHONGQING CHANGAN TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510035154.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The prior art cannot realize a complete test of vehicle head-up display, and cannot effectively identify and evaluate the display status of different types of display elements in head-up display.

Method used

By obtaining the target test data and sending it to the head-up display module, image acquisition is performed to obtain image stream data, identifying and determining the actual display elements and their status, and comparing the target test data with the actual elements and status to obtain the test results.

Benefits of technology

A complete test of head-up display is realized, which not only detects whether the element is displayed, but also evaluates the display status of the element to ensure the accuracy and comprehensiveness of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119803957A_ABST
    Figure CN119803957A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle head-up display test method and device, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining target test data, and transmitting the target test data to a head-up display module, so that the head-up display module displays the target test data; performing image acquisition on a display area of the head-up display module to obtain image stream data; determining an actual element displayed in a display area of the head-up display module and an actual display state corresponding to the actual element according to the image stream data; and comparing the target test data with the actual element and the corresponding actual display state to obtain a test result. According to the method, the corresponding actual element and the actual display state are obtained in the head-up display, so that the head-up display is performed based on the actual element and the actual display state, whether the element is displayed or not can be tested, the display condition of the element can also be tested, and the complete head-up display test is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In the prior art, the testing method for vehicle HUD (Head-Up Display) is usually to determine whether the corresponding content is displayed; however, in the head-up display, different types of display elements have different display methods. Therefore, the existing testing method cannot achieve a complete test of the head-up display. Summary of the invention

[0003] The main purpose of the present invention is to propose a vehicle head-up display test method, device, electronic device and readable storage medium, aiming to solve the problem that the prior art cannot achieve complete testing of the head-up display.

[0004] To achieve the above object, the present invention provides a vehicle head-up display testing method, the method comprising the steps of:

[0005] Acquire target test data, and send the target test data to a head-up display module, so that the head-up display module displays the target test data;

[0006] Capturing images of a display area of ​​the head-up display module to obtain image stream data;

[0007] Determining, according to the image stream data, an actual element displayed in the display area of ​​the head-up display module and an actual display state corresponding to the actual element, wherein the actual display state is determined by data generated by the actual element during a complete display process;

[0008] The target test data is compared with the actual element and the corresponding actual display state to obtain a test result.

[0009] Optionally, determining the actual element displayed in the display area of ​​the head-up display module according to the image stream data, and the actual display state corresponding to the actual element includes:

[0010] Performing element recognition on the image stream data to determine the actual element in the image stream data;

[0011] For each of the actual elements, determining a total display time corresponding to the actual element according to the image stream data;

[0012] The total display duration is used as the actual display state corresponding to the actual element.

[0013] Optionally, determining the actual element displayed in the display area of ​​the head-up display module according to the image stream data, and the actual display state corresponding to the actual element includes:

[0014] Performing element recognition on the image stream data to determine the actual element in the image stream data;

[0015] For each of the actual elements, determining an element type of the actual element;

[0016] Determine whether the element type is a text type;

[0017] If the element type is a text type, then performing text recognition on the actual element to obtain display text content;

[0018] The displayed text content is used as the actual display state corresponding to the actual element.

[0019] Optionally, determining the actual element displayed in the display area of ​​the head-up display module according to the image stream data, and the actual display state corresponding to the actual element includes:

[0020] Performing element recognition on the image stream data to determine the actual element in the image stream data;

[0021] For each of the actual elements, determining a display period corresponding to the actual element;

[0022] determining a flickering frequency of the actual element within the display period;

[0023] The flickering frequency is used as the actual display state corresponding to the actual element.

[0024] Optionally, the acquiring target test data includes:

[0025] Determine a target simulation function, and obtain target operating parameters corresponding to the target simulation function;

[0026] Performing a function simulation operation corresponding to the target simulation function based on the target operating parameter;

[0027] Acquiring real-time operation data generated by the functional simulation operation;

[0028] The real-time operation data is used as the target test data.

[0029] Optionally, comparing the target test data with the actual element and the corresponding actual display state to obtain a test result includes:

[0030] Acquire a target element corresponding to the target test data, and a target display state corresponding to the target element;

[0031] For each of the target elements, determining a display time of the target element and a display position of the target element in the display area;

[0032] Determining, among the actual elements, a matching actual element that matches both the display time and the display position;

[0033] Comparing the actual display state corresponding to the matched actual element with the target display state to obtain a test sub-result corresponding to the target element;

[0034] The test sub-results corresponding to the target elements are collected to obtain the test result.

[0035] Optionally, comparing the actual display state corresponding to the matched actual element with the target display state to obtain a test sub-result corresponding to the target element includes:

[0036] Determining whether the actual display state is consistent with the target display state;

[0037] If the actual display state is consistent with the target display state, the test sub-result is determined to be passed.

[0038] To achieve the above object, the present invention further provides a vehicle head-up display test device, the vehicle head-up display test device comprising:

[0039] A first acquisition module, used for acquiring target test data, and sending the target test data to a head-up display module, so that the head-up display module displays the target test data;

[0040] A first acquisition module, used for acquiring images of a display area of ​​the head-up display module to obtain image stream data;

[0041] a first determining module, configured to determine, according to the image stream data, an actual element displayed in the display area of ​​the head-up display module and an actual display state corresponding to the actual element, wherein the actual display state is determined by data generated by the actual element during a complete display process;

[0042] The first comparison module is used to compare the target test data with the actual element and the corresponding actual display state to obtain a test result.

[0043] To achieve the above objectives, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the vehicle head-up display testing method as described above when executed by the processor.

[0044] To achieve the above objectives, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the vehicle head-up display testing method as described above are implemented.

[0045] The present invention proposes a vehicle head-up display test method, device, electronic device and readable storage medium, which obtains target test data and sends the target test data to the head-up display module so that the head-up display module displays the target test data; performs image acquisition on the display area of ​​the head-up display module to obtain image stream data; determines the actual elements displayed in the display area of ​​the head-up display module and the actual display state corresponding to the actual elements according to the image stream data, wherein the actual display state is determined by the data generated by the actual elements during the complete display process; compares the target test data with the actual elements and the corresponding actual display state to obtain a test result. By obtaining the corresponding actual elements and the actual display state in the head-up display, the head-up display is performed based on the actual elements and the actual display state, so that not only whether the elements are displayed can be tested, but also the display status of the elements can be tested, thereby realizing a complete head-up display test and ensuring the accuracy of the head-up display test. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0048] Figure 1 A schematic diagram of a flow chart of a first embodiment of a vehicle head-up display testing method of the present invention;

[0049] Figure 2 It is an overall flow chart of the vehicle head-up display testing method of the present invention;

[0050] Figure 3It is a structural schematic diagram of the test environment in the vehicle head-up display test method of the present invention;

[0051] Figure 4 This is a module structure diagram of the vehicle head-up display testing device of the present invention;

[0052] Figure 5 It is a schematic diagram of the module structure of the electronic device of the present invention. DETAILED DESCRIPTION

[0053] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present application.

[0054] The present invention provides a vehicle head-up display test method, referring to Figure 1 , Figure 1 This is a flow chart of a first embodiment of a vehicle head-up display testing method of the present invention, the method comprising the steps of:

[0055] Step S10, acquiring target test data, and sending the target test data to a head-up display module, so that the head-up display module displays the target test data;

[0056] The target test data is used to indicate the relevant data that needs to be displayed on the head-up display module; it can be understood that based on specific display requirements, the corresponding data needs to be displayed on the head-up display module, so the target test data can be set based on specific test needs; the target test data may include but is not limited to vehicle speed, time, and navigation.

[0057] After the target test data is sent to the head-up display module, the head-up display module can display the target test data.

[0058] It should be noted that when the target test data is sent to the head-up display module, it can be sent directly or indirectly triggered by other means; for example, when the test bench where the head-up display module is located is connected to a HIL (Hardware-in-the-Loop) cabinet, a signal corresponding to the target test data is sent to the HIL cabinet to enable the HIL cabinet to perform a simulation, and the relevant data obtained from the simulation is sent to the head-up display module, thereby enabling the target test data to be sent to the head-up display module.

[0059] Step S20, performing image acquisition on the display area of ​​the head-up display module to obtain image stream data;

[0060] When the head-up display module displays the target test data, the display area of ​​the head-up display module is imaged; it can be understood that the target test data is displayed in the display area of ​​the head-up display module, and therefore, the actual display content of the display area can be determined by capturing the image of the display area; the specific image capture method can be set based on actual needs, such as capturing the image of the display area of ​​the head-up display module through a camera.

[0061] The image stream data is a collection of images obtained by capturing the display area of ​​the head-up display module; that is, the image stream data is a combination of multiple frames of images, or video data; the specific image stream data acquisition frequency and period can be set based on actual needs.

[0062] Step S30, determining the actual element displayed in the display area of ​​the head-up display module and the actual display state corresponding to the actual element according to the image stream data, wherein the actual display state is determined by the data generated by the actual element during the complete display process;

[0063] The actual element is a unit complete element actually displayed in the display area; it can be understood that an element is an independent content displayed in the display area that can indicate a complete meaning, such as a separate pattern indicating a number of vehicle speed; one or more actual elements can be displayed in the display area.

[0064] It is understandable that the image stream data includes the state of the display content in the display area during the entire acquisition cycle; in actual applications, the actual elements in the head-up display module have specific display states during their display cycles; and the image stream data is continuously acquired, so the image stream data records the complete display state of the actual elements during their display cycles, that is, the actual display state. When the actual elements are displayed in the display area, the display position and specific conditions are the same or regular, so the same actual elements can be tracked in different image frames of the image stream data, that is, the same actual elements in different image frames can be determined.

[0065] The actual display status indicates the specific display situation of the actual element during the display cycle; it can be understood that due to the different situations in which the specific actual elements need to be displayed, the corresponding parameters indicated by the actual display status are also different. The actual display status can indicate but is not limited to display duration, text content, flashing frequency, display color, display position, and display time.

[0066] Step S40: Compare the target test data with the actual element and the corresponding actual display state to obtain a test result.

[0067] The target test data indicates the content expected to be displayed in the display area, while the actual elements and the actual display status indicate the content actually displayed in the display area. Therefore, by comparing the target test data with the actual elements and the actual display status, the test result of the head-up display module can be obtained; it can be understood that if the content indicated by the target test data is consistent with the content indicated by the actual elements and the actual display status, the head-up display module is considered to be displayed normally and the test result is passed; conversely, if the content indicated by the target test data is inconsistent with the content indicated by the actual elements and the actual display status, the head-up display module is considered to have a display error and the test result is failed.

[0068] This embodiment obtains the corresponding actual elements and actual display status in the head-up display, and thus performs a head-up display based on the actual elements and the actual display status. This makes it possible not only to test whether the elements are displayed, but also to test the display status of the elements, thereby realizing a complete head-up display test and ensuring the accuracy of the head-up display test.

[0069] Further, in the second embodiment of the vehicle head-up display testing method of the present invention proposed based on the first embodiment of the present invention, the step S30 includes the steps of:

[0070] Step S31, performing element recognition on the image stream data to determine the actual element in the image stream data;

[0071] Step S32, for each of the actual elements, determining the total display time corresponding to the actual element according to the image stream data;

[0072] Step S33: taking the total display duration as the actual display state corresponding to the actual element.

[0073] It is understandable that in actual testing, multiple elements may be displayed at the same time, such as the simultaneous display of vehicle speed, time, and navigation corresponding elements; therefore, it is necessary to identify specific elements in the image stream data to determine independent actual elements; the specific identification method can be set based on actual needs.

[0074] It is understandable that the actual element will continue to display for a certain period of time based on specific settings. Therefore, the actual element will be included in the image captured during the display time of the actual element; the actual display time of the actual element can be determined by including the image of the actual element in the image stream data; for example, for each actual element, the earliest displayed frame of the actual element and the latest displayed frame of the actual element can be determined in the image stream data, and by determining the interval between the two frames of images, the specific display time of the actual element, that is, the total display time, can be obtained. It should be noted that the total display time is the display time that the actual element needs to occupy, and for some actual elements that need to flash, the corresponding total display time is also the interval between its earliest appearance and the latest display.

[0075] For different actual elements, the required display time is different. For example, when the actual element is time, it can be displayed continuously, that is, its total display time can be consistent with the display time of the head-up display module; for example, when the actual element is vehicle speed, it can be displayed while the vehicle is driving, and its total display time is the actual driving time of the vehicle; for example, when the actual element is navigation, it can be displayed during the navigation process, and its total display time is the specific usage time of navigation; it should be noted that the total display time corresponding to the above different types of actual elements is for example only, and the total display time corresponding to the specific actual element can be set based on actual test needs.

[0076] Since a specific element has a specific setting for the total display time when it is displayed in the head-up display module, in this embodiment, the total display time of the actual element is determined and used as the actual display state, so that the final display result of the head-up display module can be determined based on the actual display state including the total display time.

[0077] Further, in a third embodiment of the vehicle head-up display testing method of the present invention proposed based on the first embodiment of the present invention, step S30 includes the steps of:

[0078] Step S34, performing element recognition on the image stream data to determine the actual element in the image stream data;

[0079] Step S35, for each of the actual elements, determining the element type of the actual element;

[0080] Step S36, determining whether the element type is a text type;

[0081] Step S37, if the element type is a text type, then perform text recognition on the actual element to obtain display text content;

[0082] Step S38: Using the displayed text content as the actual display state corresponding to the actual element.

[0083] It is understandable that there will be elements of different element types in actual elements, such as patterns, texts, etc., and the specific display situations of elements of different element types are also different. Therefore, it is necessary to determine the element type corresponding to each actual element; the specific method of element identification can be set based on actual needs.

[0084] When the actual element is of a pattern type, the pattern itself or its corresponding meaning is used as the actual display state corresponding to the actual element.

[0085] When the actual element is of text type, it is necessary to perform text recognition on the actual element to determine the specific text content to be displayed, that is, the display text content; it can be understood that for actual elements of different text types, the text to be displayed is different. For example, when the actual element is time, the display text content to be displayed is the current time; for example, when the actual element is vehicle speed, the display text content to be displayed is the current vehicle speed.

[0086] It should be noted that during the display process of the actual element, the corresponding pattern or text may change. Taking text as an example, if the actual element is time, it can be displayed in the format of hours and minutes. Therefore, the displayed text content corresponding to the actual element will be updated with the current time, such as once every minute. Therefore, the actual display state can include all the displayed text content that appears in the display cycle of the actual element, and the time corresponding to each displayed text content, such as the displayed text content of 12:00 is continuously displayed for one minute, and the displayed text content of 12:01 is continuously displayed for one minute; for another example, when the actual element is the vehicle speed, it can be The vehicle speed is displayed, so the display text content corresponding to the actual element will be updated with the current vehicle speed. Therefore, the actual display state can include all the vehicle speeds displayed by the actual element during the display cycle. For example, when the vehicle starts, the speed gradually increases and can be displayed as 0km / h display content text for one second, 18km / h display content text for one second, 31km / h display content text for one second, 44km / h display content text for one second, 54km / h display content text for one second, and 63km / h display content text for one minute. It should be noted that the display text content corresponding to the above different types of actual elements is for example only, and the display text content corresponding to the specific actual element can be set based on actual test needs.

[0087] Since a specific element has specific settings for the actual displayed text content when it is displayed in the head-up display module, in this embodiment, the displayed text content of the actual element is determined and used as the actual display state, so that the final display result of the head-up display module can be determined based on the actual display state including the displayed text content.

[0088] Further, in a fourth embodiment of the vehicle head-up display testing method of the present invention proposed based on the first embodiment of the present invention, step S30 includes the steps of:

[0089] Step S39, performing element recognition on the image stream data to determine the actual element in the image stream data;

[0090] Step S310, for each of the actual elements, determining a display period corresponding to the actual element;

[0091] Step S311, determining the flickering frequency of the actual element in the display period;

[0092] Step S312: Using the flickering frequency as the actual display state corresponding to the actual element.

[0093] For some actual elements, there is a need for flashing display. For example, the actual elements corresponding to reminder information such as lane departure, vehicle distance too close, collision warning, etc. need to be displayed in a flashing form in order to play a warning role.

[0094] The display period is the period consisting of the earliest displayed frame of image and the latest displayed frame of image of the actual element; the specific method for determining the flickering frequency of the actual element can be set based on actual needs, such as determining the number of transitions from display to disappearance of the actual element in the image stream data, and dividing the display period by the number of transitions as the flickering frequency of the actual element.

[0095] Different actual elements need to display different flashing frequencies. For example, the more urgent the scene, the faster the flashing frequency of the corresponding actual element. For example, when the actual element is lane departure, the corresponding flashing frequency is 30 times / s. When the actual element is a collision warning, the corresponding flashing frequency is 50 times / s. It should be noted that the flashing frequencies corresponding to the above different types of actual elements are just examples, and the flashing frequencies corresponding to specific actual elements can be set based on actual test needs.

[0096] Since specific elements have specific settings for the flickering frequency when displayed in the head-up display module, the flickering frequency of the actual element is determined in this embodiment and used as the actual display state, so that the final display result of the head-up display module can be determined based on the actual display state including the flickering frequency.

[0097] It should be noted that, in actual applications, one or more different types of display parameters may be selected as the actual display state; for example, the actual display state may include the total display time, displayed text content, and flickering frequency.

[0098] Further, in a fifth embodiment of the vehicle head-up display test method of the present invention proposed based on the first embodiment of the present invention, step S10 includes the steps of:

[0099] Step S11, determining a target simulation function, and obtaining a target operating parameter corresponding to the target simulation function;

[0100] Step S12, performing a function simulation operation corresponding to the target simulation function based on the target operation parameter;

[0101] Step S13, obtaining real-time operation data generated by the functional simulation operation;

[0102] Step S14: using the real-time operation data as the target test data.

[0103] In this embodiment, the target test data is generated by functional simulation; specifically, see Figure 3 In the test environment, a host computer, a HIL cabinet and a test bench may be included; the host computer is provided with HIL automatic test software and DDS (Data Distribution Service) service simulation tool; the HIL cabinet is provided with I / O boards, Ethernet boards and power modules; the test bench is provided with cameras, cockpit controllers, central control screens and head-up display modules, the cameras are connected to the cockpit controllers through screen harnesses, and the cockpit controllers are connected to the head-up display modules through HUD cables; wherein:

[0104] HIL automated test software can call DDS service simulation tools; HIL automated test software uses a drag-and-drop modular use case construction method with HIL equipment to write, debug, execute test cases, and generate test reports; DDS service simulation tools are mainly used to simulate sending related service interfaces. HIL automated test software can call DDS service simulation tools to change service parameters, trigger HUD information display, and generate real-time operation data, thereby obtaining target test data.

[0105] The boards and power supply in the HIL cabinet are used to provide the communication and power supply basis required by the host computer and the test bench; the HIL cabinet is connected to the host computer through Ethernet cable, USB, and serial port; the HIL cabinet is connected to the test bench through the EDAC connection terminal.

[0106] The camera in the test bench is used for image acquisition, while the central control screen, cockpit controller, and head-up display module simulate the device settings and wiring structure in the actual vehicle; the test bench is connected to the host computer via USB.

[0107] It should be noted that the above test environment is only for illustration. In actual application, the test environment can be specifically configured based on actual needs.

[0108] Further, in a sixth embodiment of the vehicle head-up display test method of the present invention proposed based on the first embodiment of the present invention, step S40 includes the steps of:

[0109] Step S41, obtaining a target element corresponding to the target test data, and a target display state corresponding to the target element;

[0110] Step S42, for each of the target elements, determining the display time of the target element and the display position within the display area;

[0111] Step S43, determining a matching actual element in the actual elements that matches both the display time and the display position;

[0112] Step S44, comparing the actual display state corresponding to the matched actual element with the target display state to obtain a test sub-result corresponding to the target element;

[0113] Step S45, collecting the test sub-results corresponding to the target elements to obtain the test result.

[0114] The target element is the element expected to be displayed corresponding to the target test data; the target display state is the state expected to be displayed by the target element.

[0115] It can be understood that the position and time at which a specific element is displayed in the display area are relatively fixed. For example, if the element is a time display, its corresponding display position is the position corresponding to the time display, and its corresponding display time can be always displayed; if the element is a vehicle speed, its corresponding display position is the position corresponding to the vehicle speed, and its corresponding display time is the time for simulating vehicle driving; therefore, the correspondence between the target element and the actual element is determined according to the display time and the display position, and then the corresponding target element is compared with the actual element to obtain the test sub-result; after obtaining the test sub-results corresponding to all target elements, the final test result can be determined; it can be understood that when all test sub-results indicate a pass, the test result is considered to be a pass, and when there is a test sub-result that indicates a fail, the test result is considered to be a fail; specifically, the corresponding test log can be output based on the actual test situation.

[0116] Furthermore, the step S44 comprises the steps of:

[0117] Step S441, determining whether the actual display state is consistent with the target display state;

[0118] Step S442: If the actual display state is consistent with the target display state, then the test sub-result is determined to be passed.

[0119] It can be understood that when the actual display state is consistent with the target display state, it means that the expected display state is the same as the state actually displayed by the head-up display module, and therefore, the test sub-result is considered to be passed; when the actual display state is inconsistent with the target display state, it means that the expected display state is different from the state actually displayed by the head-up display module, and therefore, the test sub-result is considered to be failed.

[0120] Specifically, specific judgment settings can be made for the parameters contained in the actual display state; if the actual display state also includes the total display time, displayed text content and flashing frequency, it is necessary to judge whether the total display time, displayed text content and flashing frequency in the actual display state are consistent with those in the target display state. When the total display time, displayed text content and flashing frequency are all consistent, it is considered that the target display state is consistent with the actual display state; when there is an inconsistency in the total display time, displayed text content or flashing frequency, it is considered that the target display state is inconsistent with the actual display state.

[0121] For example, if the actual display state includes multiple display text contents displayed at different times, it is necessary to judge whether the actual display state is consistent with each display text content in the target display state. When all display text contents are consistent, it is considered that the target display state is consistent with the actual display state. When any display text content is inconsistent, it is considered that the target display state is inconsistent with the actual display state.

[0122] In this embodiment, accurate judgment of the test sub-results can be achieved.

[0123] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0124] 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 by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, 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 application.

[0125] The present application also provides a vehicle head-up display testing device for implementing the above vehicle head-up display testing method, see Figure 4 , the vehicle head-up display test device includes:

[0126] A first acquisition module, used for acquiring target test data, and sending the target test data to a head-up display module, so that the head-up display module displays the target test data;

[0127] A first acquisition module, used for acquiring images of a display area of ​​the head-up display module to obtain image stream data;

[0128] a first determining module, configured to determine, according to the image stream data, an actual element displayed in the display area of ​​the head-up display module and an actual display state corresponding to the actual element, wherein the actual display state is determined by data generated by the actual element during a complete display process;

[0129] The first comparison module is used to compare the target test data with the actual element and the corresponding actual display state to obtain a test result.

[0130] The vehicle head-up display test device obtains the corresponding actual elements and actual display status in the head-up display, and then performs a head-up display based on the actual elements and the actual display status, so that not only can it test whether the elements are displayed, but also can it test the display status of the elements, thereby realizing a complete head-up display test and ensuring the accuracy of the head-up display test.

[0131] It should be noted that the first acquisition module in this embodiment can be used to execute step S10 in the embodiment of the present application, the first acquisition module in this embodiment can be used to execute step S20 in the embodiment of the present application, the first determination module in this embodiment can be used to execute step S30 in the embodiment of the present application, and the first comparison module in this embodiment can be used to execute step S40 in the embodiment of the present application.

[0132] Furthermore, the first determining module includes:

[0133] A first recognition unit, configured to perform element recognition on the image stream data to determine the actual element in the image stream data;

[0134] A first determining unit, configured to determine, for each of the actual elements, a total display time corresponding to the actual element according to the image stream data;

[0135] The first execution unit is configured to use the total display duration as the actual display state corresponding to the actual element.

[0136] Furthermore, the first determining module includes:

[0137] A second identification unit, configured to perform element identification on the image stream data to determine the actual element in the image stream data;

[0138] A second determining unit, configured to determine, for each of the actual elements, an element type of the actual element;

[0139] A first judging unit, used to judge whether the element type is a text type;

[0140] A third recognition unit is used for performing text recognition on the actual element to obtain display text content if the element type is a text type;

[0141] The second execution unit is used to use the displayed text content as the actual display state corresponding to the actual element.

[0142] Furthermore, the first determining module includes:

[0143] a fourth identification unit, configured to perform element identification on the image stream data to determine the actual element in the image stream data;

[0144] A third determining unit, configured to determine, for each of the actual elements, a display period corresponding to the actual element;

[0145] A fourth determining unit, configured to determine a flickering frequency of the actual element within the display period;

[0146] The third execution unit is configured to use the flickering frequency as the actual display state corresponding to the actual element.

[0147] Furthermore, the first acquisition module includes:

[0148] a fifth determining unit, configured to determine a target simulation function and obtain a target operating parameter corresponding to the target simulation function;

[0149] A first simulation unit, configured to perform a function simulation operation corresponding to the target simulation function based on the target operation parameter;

[0150] A first acquisition unit, used to acquire real-time operation data generated by the functional simulation operation;

[0151] The fourth execution unit is used to use the real-time operation data as the target test data.

[0152] Furthermore, the first comparison module includes:

[0153] A second acquisition unit, used to acquire a target element corresponding to the target test data, and a target display state corresponding to the target element;

[0154] a sixth determining unit, configured to determine, for each of the target elements, a display time of the target element and a display position of the target element in the display area;

[0155] a seventh determining unit, configured to determine, from the actual elements, a matching actual element that matches both the display time and the display position;

[0156] A first comparison unit, configured to compare the actual display state corresponding to the matched actual element with the target display state to obtain a test sub-result corresponding to the target element;

[0157] A first collection unit is used to collect the test sub-results corresponding to each of the target elements to obtain the test result.

[0158] Furthermore, the first comparing unit comprises:

[0159] A first judging subunit, used for judging whether the actual display state is consistent with the target display state;

[0160] The first determining subunit is configured to determine that the test sub-result is passed if the actual display state is consistent with the target display state.

[0161] Reference Figure 5 In terms of hardware structure, the electronic device may include components such as a communication module 10, a memory 20, and a processor 30. In the electronic device, the processor 30 is connected to the memory 20 and the communication module 10 respectively, and a computer program is stored in the memory 20. The computer program is executed by the processor 30 at the same time, and the steps of the above method embodiment are implemented when the computer program is executed.

[0162] The communication module 10 can be connected to an external communication device through a network. The communication module 10 can receive requests from an external communication device, and can also send requests, instructions and information to the external communication device, which can be other electronic devices, servers or Internet of Things devices, such as televisions, etc.

[0163] The memory 20 can be used to store software programs and various data. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function (such as obtaining target test data), etc.; the data storage area can include a database, and the data storage area can store data or information created according to the use of the system, etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0164] The processor 30 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and / or modules stored in the memory 20, and calling data stored in the memory 20, so as to monitor the electronic device as a whole. The processor 30 may include one or more processing units; optionally, the processor 30 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 30.

[0165] although Figure 5 Although not shown, the electronic device may further include a circuit control module, which is used to connect to a power source to ensure the normal operation of other components. Figure 5 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0166] The present invention also provides a computer-readable storage medium on which a computer program is stored. The computer-readable storage medium may be Figure 5The memory 20 in the electronic device may also be at least one of a ROM (Read-Only Memory) / RAM (Random Access Memory), a magnetic disk, and an optical disk. The computer-readable storage medium includes a number of instructions for enabling a terminal device with a processor (which may be a television, a car, a mobile phone, a computer, a server, a terminal, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0167] In the present invention, the terms "first", "second", "third", "fourth" and "fifth" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0168] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0169] Although the embodiments of the present invention have been shown and described above, the scope of protection of the present invention is not limited thereto. It is understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art can change, modify and replace the above embodiments within the scope of the present invention, and these changes, modifications and replacements should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A vehicle head-up display testing method, characterized in that: The vehicle head-up display testing method comprises: Acquire target test data, and send the target test data to a head-up display module, so that the head-up display module displays the target test data; Capturing images of a display area of ​​the head-up display module to obtain image stream data; Determining, according to the image stream data, an actual element displayed in the display area of ​​the head-up display module and an actual display state corresponding to the actual element, wherein the actual display state is determined by data generated by the actual element during a complete display process; The target test data is compared with the actual element and the corresponding actual display state to obtain a test result.

2. The vehicle head-up display testing method according to claim 1, characterized in that: The determining, according to the image stream data, the actual element displayed in the display area of ​​the head-up display module, and the actual display state corresponding to the actual element comprises: Performing element recognition on the image stream data to determine the actual element in the image stream data; For each of the actual elements, determining a total display time corresponding to the actual element according to the image stream data; The total display duration is used as the actual display state corresponding to the actual element.

3. The vehicle head-up display testing method according to claim 1, characterized in that: The determining, according to the image stream data, the actual element displayed in the display area of ​​the head-up display module, and the actual display state corresponding to the actual element comprises: Performing element recognition on the image stream data to determine the actual element in the image stream data; For each of the actual elements, determining an element type of the actual element; Determine whether the element type is a text type; If the element type is a text type, then performing text recognition on the actual element to obtain display text content; The displayed text content is used as the actual display state corresponding to the actual element.

4. The vehicle head-up display testing method according to claim 1, characterized in that: The determining, according to the image stream data, the actual element displayed in the display area of ​​the head-up display module, and the actual display state corresponding to the actual element comprises: Performing element recognition on the image stream data to determine the actual element in the image stream data; For each of the actual elements, determining a display period corresponding to the actual element; determining a flickering frequency of the actual element within the display period; The flickering frequency is used as the actual display state corresponding to the actual element.

5. The vehicle head-up display testing method according to claim 1, characterized in that: The obtaining of target test data comprises: Determine a target simulation function, and obtain target operating parameters corresponding to the target simulation function; Performing a function simulation operation corresponding to the target simulation function based on the target operating parameter; Acquiring real-time operation data generated by the functional simulation operation; The real-time operation data is used as the target test data.

6. The vehicle head-up display testing method according to claim 1, characterized in that: The comparing the target test data with the actual element and the corresponding actual display state to obtain a test result includes: Acquire a target element corresponding to the target test data, and a target display state corresponding to the target element; For each of the target elements, determining a display time of the target element and a display position of the target element in the display area; Determining, among the actual elements, a matching actual element that matches both the display time and the display position; Comparing the actual display state corresponding to the matched actual element with the target display state to obtain a test sub-result corresponding to the target element; The test sub-results corresponding to the target elements are collected to obtain the test result.

7. The vehicle head-up display testing method according to claim 6, characterized in that: The comparing the actual display state corresponding to the matched actual element with the target display state to obtain the test sub-result corresponding to the target element includes: Determining whether the actual display state is consistent with the target display state; If the actual display state is consistent with the target display state, the test sub-result is determined to be passed.

8. A vehicle head-up display test device, characterized in that: The vehicle head-up display testing device comprises: A first acquisition module, used for acquiring target test data, and sending the target test data to a head-up display module, so that the head-up display module displays the target test data; A first acquisition module, used for acquiring images of a display area of ​​the head-up display module to obtain image stream data; a first determining module, configured to determine, according to the image stream data, an actual element displayed in the display area of ​​the head-up display module and an actual display state corresponding to the actual element, wherein the actual display state is determined by data generated by the actual element during a complete display process; The first comparison module is used to compare the target test data with the actual element and the corresponding actual display state to obtain a test result.

9. An electronic device, characterized in that: The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the vehicle head-up display testing method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle head-up display testing method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Software testing method and device, storage medium and electronic equipment

    CN118427075A

  • Flicker detection method, device and equipment for automobile instrument indicator lamp and medium

    CN118706403A

  • Vehicle machine abnormity test method, test bench and computer readable storage medium

    CN119086097A

  • Automatic testing device and system for head-up display

    CN221840712U