Method and device for automatically testing display function of automobile instrument

By parsing and sending CAN signals, and combining machine vision technology with automated testing of automobile instrument display functions, the problem of low efficiency and poor accuracy of traditional testing methods is solved, and efficient and accurate instrument display function detection is achieved.

CN118565843APending Publication Date: 2024-08-30SAIC MOTOR
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310178022.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

In the context of increasingly complex automotive instrumentation, traditional real vehicle/bench testing and manual testing methods have low detection efficiency, poor accuracy of results, high costs, and are prone to missed tests and misjudgments due to manual fatigue and negligence.

Method used

By parsing test cases, extracting CAN signals and display data, creating them based on standard test case templates, sending CAN signals to the instruments under test, and combining image acquisition with machine vision technology to determine whether the display content in the identification area meets the standard comparison information. Use the pre-established standard library or alarm classical Chinese library for comparison.

Benefits of technology

Significantly shorten the execution time of test cases, improve test accuracy, reduce manual intervention errors, improve test efficiency and reduce costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118565843A
    Figure CN118565843A
Patent Text Reader

Abstract

The invention discloses an automobile instrument display function automatic test method and device, and the method comprises the steps: analyzing an obtained test case, extracting a CAN signal and corresponding display data, the display data at least representing an area number of a target prompt object, and the test case being created based on a quasi test case template; issuing the CAN signal to a tested instrument; receiving a display image of the tested instrument after receiving the CAN signal; determining an identification area based on the display data; and determining whether the display content in the identification area accords with standard comparison information or not, wherein the standard comparison information comes from a pre-established standard image library or an alarm disatellites library. According to the scheme, in the implementation process, the real vehicle simulation signal can be issued to the tested instrument, automatic testing of the display function of the automobile instrument can be achieved in the mode that image collection is combined with machine vision, the execution time of the test case is greatly shortened, and the execution accuracy of the test case is stably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automated testing technology, and more specifically to an automated testing method and device for an automobile instrument display function. Background Art

[0002] As the degree of automobile electrification increases year by year, the vehicle status signals directly or indirectly detected by various sensors, the control strategies implemented by various controllers and the prompts to the driver are becoming increasingly complex, and the complexity of automobile instrument display functions has increased sharply.

[0003] As automotive instruments become increasingly complex, traditional instrument testing methods that rely on real vehicle / bench tests and manual tests are becoming increasingly limited. If only real vehicle / bench tests are performed, or special equipment is used to simulate the transmission and reception of signals and then the instrument display is analyzed and judged based on manual observation results, the detection efficiency, test result accuracy, missed detection probability, and investment costs will increase. Therefore, automated testing of instrument display functions has certain practical significance for improving work efficiency and reducing development costs. Summary of the invention

[0004] In view of this, the present invention provides the following technical solutions:

[0005] An automatic testing method for automobile instrument display function, comprising:

[0006] Parsing the obtained test case, extracting the CAN signal and the corresponding display data, wherein the display data at least represents the area number of the target prompt object, and the test case is created based on the standard test case template;

[0007] Sending the CAN signal to the instrument under test;

[0008] Receiving a display image of the instrument under test after receiving the CAN signal;

[0009] determining an identification area based on the display data;

[0010] Determine whether the display content in the identification area conforms to standard comparison information, where the standard comparison information comes from a pre-established standard image library or alarm language library.

[0011] Optionally, it also includes:

[0012] Predetermine the area division and area number of the instrument to be tested;

[0013] Establish a standard image library and alarm text library for comparison;

[0014] Create standard test case templates.

[0015] Optionally, sending the CAN signal to the instrument under test includes:

[0016] The CAN signal is used as the input of the CAPL script and sent to the instrument under test through CANoe.

[0017] Optionally, determining the identification area based on the display data includes:

[0018] Parsing the display data to obtain at least the area number of the target prompt object;

[0019] An image region corresponding to the region number is determined as a recognition region.

[0020] Optionally, determining whether the display content in the recognition area conforms to standard comparison information includes:

[0021] It is determined whether the matching degree between the display content in the recognition area and the standard comparison information meets a set value.

[0022] Optionally, the display state of the target prompt object is a constant light, and determining whether the matching degree between the display content in the recognition area and the standard comparison information meets a set value includes:

[0023] Using pattern recognition in the identification area to obtain a lighted area;

[0024] The lighted area is compared with the standard comparison information to obtain a similarity score.

[0025] Optionally, the display state of the target prompt object is a flashing light, the display image includes multiple frames of continuously acquired images, and determining whether the matching degree between the display content in the recognition area and the standard comparison information meets a set value includes:

[0026] Determine the time interval between two lighting of the target prompt object in the recognition area according to the pattern matching method;

[0027] Determine the flashing frequency of the target prompt object based on the time interval and the image acquisition frequency;

[0028] The flicker frequency is compared with standard comparison information to obtain a matching degree.

[0029] Optionally, the target prompt object is an alarm text, and determining whether the matching degree between the display content in the recognition area and the standard comparison information meets a set value includes:

[0030] Obtaining a first recognized character by optical character recognition in the recognition area;

[0031] The first recognized character is compared with the standard comparison information to obtain a character matching degree.

[0032] Optionally, the target prompt object is variable information, and determining whether the matching degree between the display content in the recognition area and the standard comparison information satisfies a set value includes:

[0033] Obtaining a second recognized character by optical character recognition in the recognition area;

[0034] The second recognized character is compared with the expected value recorded in the CAN signal to obtain a second character matching degree.

[0035] An automatic test device for display function of automobile instrument, comprising:

[0036] A case analysis module, used to analyze the obtained test case, extract the CAN signal and the corresponding display data, wherein the display data at least represents the area number of the target prompt object, and the test case is created based on the quasi-test case template;

[0037] A signal sending module, used for sending the CAN signal to the instrument under test;

[0038] An image receiving module, used for receiving a display image of the instrument under test after receiving the CAN signal;

[0039] A region determination module, configured to determine an identification region based on the display data;

[0040] The matching determination module is used to determine whether the display content in the recognition area conforms to the standard comparison information, and the standard comparison information comes from a pre-established standard image library or an alarm text library.

[0041] It can be known from the above technical scheme that the embodiment of the present invention discloses a method and device for automatic testing of the display function of an automobile instrument, the method comprising: parsing the obtained test case, extracting the CAN signal and the corresponding display data, the display data at least representing the area number of the target prompt object, the test case is created based on the quasi-test case template; sending the CAN signal to the instrument under test; receiving the display image of the instrument under test after receiving the CAN signal; determining the identification area based on the display data; determining whether the display content in the identification area meets the standard comparison information, the standard comparison information comes from a pre-established standard library or alarm text library. During the implementation of the above scheme, a simulated real vehicle signal can be sent to the instrument under test, and the automatic testing of the display function of the automobile instrument can be realized by combining image acquisition with machine vision, which will greatly shorten the execution time of the test case, steadily improve the accuracy of the test case execution, and effectively avoid the test execution failure caused by fatigue, negligence, etc. of the test personnel, thereby improving the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] 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, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0043] Figure 1 A flowchart of an automated testing method for an automobile instrument display function disclosed in an embodiment of the present invention;

[0044] Figure 2 A schematic diagram of an automated test architecture for an automobile instrument display function disclosed in an embodiment of the present invention;

[0045] Figure 3 A schematic diagram of the partitioning of an automobile instrument disclosed in an embodiment of the present invention;

[0046] Figure 4 The present invention is a schematic diagram of the structure of an automatic testing device for automobile instrument display function disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] For the purpose of reference and clarity, the descriptions, abbreviations or acronyms of the technical terms used below are summarized as follows:

[0048] CANoe: CANopenenvironment is a bus development environment developed for the development of automotive buses.

[0049] CAPL: Communication Access Programming Language, which is communication access programming language.

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0051] Figure 1 This is a flow chart of an automated testing method for an automobile instrument display function disclosed in an embodiment of the present invention. Figure 1 As shown, the automated testing method for the automobile instrument display function may include:

[0052] Step 101: parse the obtained test case, extract the CAN signal and the corresponding display data, wherein the display data at least represents the area number of the target prompt object.

[0053] Among them, the test case is created based on a standard test case template, and the standard test case template can be pre-built. When instrument testing is required, the user can fill in and edit the corresponding content based on the standard test case template to obtain a test case for a specific target prompt object.

[0054] By parsing the test case obtained based on the standard test case template, CAN (Controller Area Network) signals and display data can be extracted therefrom. The display data at least includes the area number representing the target prompt object, and may also include but is not limited to any one or more of the indicator / alarm light number and display status, and the alarm text number.

[0055] Step 102: Send the CAN signal to the instrument under test.

[0056] In a specific implementation, the CAN signal can be used as the input of the CAPL script and sent to the instrument under test through CANoe, so that the instrument under test that receives the CAN signal lights up the corresponding indicator / alarm light or alarm text. After receiving the CAN signal, the instrument under test will light up a certain light position according to the preset logic, and determine whether the test has passed by identifying and judging the display status or display content of the lit light position.

[0057] Step 103: receiving a display image of the tested instrument after receiving the CAN signal.

[0058] In the embodiment of the present application, the image of the instrument under test can be captured by a camera installed in advance. The camera can capture images or videos. In the implementation of different requirements, the requirements for capturing images or videos are also different.

[0059] Step 104: Determine a recognition area based on the display data.

[0060] The instrument under test can be divided into several fixed areas, and different areas have different types of signal lights. The display data at least represents the area number of the target prompt object. By parsing the display data, the area number of the instrument panel where the target prompt object corresponding to the test case is located can be obtained. When processing the display image of the instrument under test later, only the image content corresponding to the identification area can be identified.

[0061] Step 105: Determine whether the display content in the recognition area conforms to standard comparison information, where the standard comparison information comes from a pre-established standard image library or alarm text library.

[0062] After the identification area is determined, the display content corresponding to the identification area in the display image is extracted separately and compared with the standard comparison information, and then it can be determined whether the current test is passed according to the comparison result.

[0063] During the implementation of the automated testing method for the automobile instrument display function described in this embodiment, a simulated real vehicle signal can be sent to the instrument under test, and automated testing of the automobile instrument display function can be achieved through image acquisition combined with machine vision, which will greatly shorten the execution time of test cases, steadily improve the accuracy of test case execution, and effectively avoid situations such as inadequate test execution due to fatigue, negligence, etc. of testers, thereby improving test efficiency.

[0064] In the aforementioned embodiment, determining whether the display content in the recognition area conforms to the standard comparison information may include: determining whether the matching degree between the display content in the recognition area and the standard comparison information satisfies a set value.

[0065] In one implementation, the display state of the target prompt object is a constantly lit light, and determining whether the degree of match between the display content in the recognition area and the standard comparison information meets a set value may include: using pattern recognition in the recognition area to obtain a lit area; comparing the lit area with the standard comparison information to obtain a similarity score.

[0066] In one implementation, the display state of the target prompt object is a flashing light, and the display image includes multiple frames of continuously captured images. Determining whether the degree of matching between the display content in the recognition area and the standard comparison information meets a set value may include: determining the time interval between two successive lighting of the target prompt object in the recognition area according to a pattern matching method; determining the flashing frequency of the target prompt object based on the time interval and the image acquisition frequency, and comparing the flashing frequency with the standard comparison information to obtain a match.

[0067] In one implementation, the target prompt object is an alarm text, and determining whether the matching degree between the display content in the recognition area and the standard comparison information meets a set value may include: using optical character recognition in the recognition area to obtain a first recognized character; comparing the first recognized character with the standard comparison information to obtain a character matching degree.

[0068] In one implementation, the target prompt object is variable information, and determining whether the degree of match between the display content in the recognition area and the standard comparison information meets a set value may include: using optical character recognition in the recognition area to obtain a second recognized character; comparing the second recognized character with an expected value recorded in the CAN signal to obtain a second character match.

[0069] This application uses CANoe's CAPL script to automatically send the simulated real vehicle signals required by the test case to the instrument to be tested, uses a camera to collect instrument display images and videos and transmits them back to the host computer, uses machine vision technology to process the collected images, compares the indicator lights and warning lights with standardized icons, and determines the correctness of the warning lights turning on / off and flashing. At the same time, text recognition technology is used to identify the text information displayed on the instrument, compares it with the standard text, and determines the correctness of the alarm information display and text.

[0070] In a specific implementation, the schematic diagram of the automated test architecture of the automobile instrument display function is as follows: Figure 2 As shown. Combined Figure 2 The automatic test method for the display function of an automobile instrument disclosed in the embodiment of the present application is implemented in a PC terminal, which includes a preprocessing module, a signal sending module and an image processing module. Among them:

[0071] 1. Preprocessing module

[0072] In the above embodiments, the standard image library, alarm text library, standard test case template and other contents are mentioned. These contents can be predetermined so that they can be used smoothly during the automated test to ensure the test efficiency. Therefore, in other implementations, the automated test method for the display function of the automobile instrument can also include: predetermining the area division and area numbering of the instrument to be tested; establishing a standard image library and alarm text library for comparison; and establishing a standard test case template. These functions can be implemented by the preprocessing module.

[0073] Specifically, for the instrument under test, the following preprocessing can be performed:

[0074] 1. Input the image of the instrument interface without any indicator / warning light as the base image for test dependency comparison.

[0075] 2. Divide the base map into 7 different image recognition areas and label them from area 1 to area 7 in sequence; Figure 3 This is a schematic diagram of the partitioning of the automobile instrument panel disclosed in the embodiment of the present invention; it should be noted that the partitioning method and the number of partitions are different for different models of instrument panels, and this application does not limit this. Figure 3 As shown, in this example, it can be divided into warning light area A, area B, and area C (depending on the specific instrument, here is area 1 / 5 / 7), vehicle body display area (area 3), navigation information area (area 4), warning information area A, and area B (depending on the specific instrument, here is area 2 / 6).

[0076] 3. Establish a standard library of indication / alarm lights and an alarm text library, mark the areas where indication / alarm lights and alarm text are located in the base map, and the standard library and alarm text library are replaceable / expandable. Among them, the alarm text on the instrument has a standard text library, which is determined according to the HMI (Human Machine Interface) requirement table. What kind of alarm text should be displayed under what warning conditions, the text and punctuation should be consistent with the HMI, and the text library organized into these alarm texts is called the alarm text library.

[0077] 4. Establish a standard test case template. Before executing the test, you need to enter the test case filled in according to the template, including the CAN signal required for the case, the indicator / alarm light number and display status (steady on / flashing) involved in the display, the alarm text number, etc. The standard test case template is expandable.

[0078] Among them, the warning lights and warning texts required to be displayed for different vehicle models and vehicle configurations are not the same, and need to be adjusted according to each specific project, that is, the picture library and text library can be replaced / expanded according to needs, rather than being fixed.

[0079] Based on the above, determining the recognition area based on the display data may include: parsing the display data to obtain at least the area number of the target prompt object; and determining the image area corresponding to the area number as the recognition area.

[0080] 2. Signal sending module

[0081] 1. Parse the test cases entered according to the template, extract the required CAN signals, indicator / alarm light numbers and display status, and alarm text numbers.

[0082] 2. When executing the test cases in sequence, the extracted CAN signal is used as the input of the CAPL script and sent to the instrument end through CANoe to light up the corresponding indicator / alarm light and alarm text of the instrument.

[0083] 3. Input the extracted indicator / alarm light number and display status, and alarm text number into the image processing module, and extract the corresponding indicator / alarm light and alarm text resources from the standard image library and alarm text library for comparison in the subsequent image processing module.

[0084] For example, for engine emission failure, the use case should be that CANoe simulates the input of the CAN signal received by the instrument when the engine emission failure actually occurs. The instrument displays the engine emission fault light at the corresponding position according to the corresponding CAN signal, and displays the words "Engine emission failure, please repair!" in the corresponding area in the warning area. Then the signal sending module needs to send the CAN signal that can theoretically simulate the engine emission failure, the area number of the alarm light, and the number area of ​​the alarm text.

[0085] 3. Image Processing Module

[0086] 1. The acquisition starts when the signal sending module starts sending signals. The camera captures the area image and transmits it back to the PC image processing module. The module processes the image to a display area close to the base map and divides the captured image into 7 different image recognition areas. They are numbered from area 1 to area 7 in sequence, and the area range is the same as the base map.

[0087] 2. The image processing module analyzes the area where the indication / alarm light or alarm text is located from the input resources (indication / alarm light number and display status and alarm text number) of the signal sending module.

[0088] 3. For the normally on indicator / warning light, the image processing module uses pattern recognition in the recognition area according to the analyzed location area, compares the detected lighted area with the icon input for this use case, outputs a similarity score, and takes the average of the three recognition results. When the similarity score is greater than 85%, it is determined that the indicator / warning light is correctly lit.

[0089] 4. For flashing indicator / alarm lights, the camera collects a series of images at a rate of 24 frames, finds the last image frame of the light being lit for the first time based on the pattern matching method, and then finds the last image frame of the light being lit for the second time. Calculate the number of images showing the indicator light off between the two frames, and calculate the flashing frequency of the light position in combination with the 24-frame acquisition frequency. Calculate the three groups of interval time and take the average as the final output.

[0090] 5. For the alarm text, the image processing module uses optical character recognition technology in the recognized area according to the analyzed location area to scan and recognize the text, compare it with the standard text library, output the text matching degree, take three recognition results, and the alarm text is considered correct if the average matching degree is greater than 99%.

[0091] 6. For information such as vehicle speed / rotational speed / power / cruise range / total mileage, use optical character recognition technology to scan and recognize text in the area where this type of information is located, and compare it with the expected value sent by the CAN signal. 100% means the data is correct.

[0092] 7. Output test results and test reports.

[0093] In combination with the above content, taking the 12.3-inch automobile instrument panel equipped with the 8155 chip for the first time in a certain car model as an example, after the 8155 chip is enabled, the performance of the instrument panel is greatly improved, and the content displayed on the instrument panel is greatly increased compared to the traditional broken code screen or LCD screen. The demand for testing manpower has increased sharply, resulting in a large gap in testing manpower after the project started, and the testing process is extremely dependent on manual testing. Long-term high-intensity testing work often leads to missed tests and misjudgments. It is necessary to design a solution that can improve test efficiency and test accuracy. The use of the automated testing solution for the display function of automobile instruments disclosed in the embodiment of the present application, and the introduction of automated testing technology in instrument-side testing can significantly improve work efficiency, reduce labor costs, and improve test accuracy, avoiding retesting due to negligence of personnel.

[0094] For the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the order of the actions described, because according to the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0095] The above embodiments disclosed in the present invention describe the method in detail. The method of the present invention can be implemented by various devices. Therefore, the present invention also discloses a device, and a specific embodiment is given below for detailed description.

[0096] Figure 4 This is a schematic diagram of the structure of the automatic test device for the display function of an automobile instrument disclosed in an embodiment of the present invention. Figure 4 As shown, the automobile instrument display function automatic testing device 40 may include:

[0097] The use case analysis module 401 is used to analyze the obtained test case, extract the CAN signal and the corresponding display data, wherein the display data at least represents the area number of the target prompt object, and the test case is created based on the quasi-test case template.

[0098] The signal sending module 402 is used to send the CAN signal to the instrument under test.

[0099] The image receiving module 403 is used to receive the display image of the tested instrument after receiving the CAN signal.

[0100] The region determination module 404 is configured to determine a recognition region based on the display data.

[0101] The matching determination module 405 is used to determine whether the display content in the recognition area conforms to standard comparison information, and the standard comparison information comes from a pre-established standard image library or alarm text library.

[0102] During the implementation of the automated testing device for the automobile instrument display function described in this embodiment, a simulated real vehicle signal can be sent to the instrument under test, and automated testing of the automobile instrument display function can be achieved through image acquisition combined with machine vision, which will greatly shorten the execution time of test cases, steadily improve the accuracy of test case execution, and effectively avoid situations such as inadequate test execution due to fatigue, negligence, etc. of testers, thereby improving test efficiency.

[0103] Any one of the automobile instrument display function automated testing devices described in the above embodiments includes a processor and a memory. The use case analysis module, signal sending module, image receiving module, area determination module, matching determination module, etc. in the above embodiments are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to realize corresponding functions.

[0104] The processor includes a kernel, which retrieves the corresponding program module from the memory. One or more kernels can be set, and the processing of the access data can be realized by adjusting the kernel parameters.

[0105] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0106] In an exemplary embodiment, a computer-readable storage medium is also provided, which can be directly loaded into the internal memory of a computer and contains software code. After being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the above-mentioned method for automatically testing the display function of an automobile instrument.

[0107] In an exemplary embodiment, a computer program product is also provided, which can be directly loaded into the internal memory of a computer and contains software code. After being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the above-mentioned method for automated testing of automobile instrument display functions.

[0108] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0109] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0110] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0111] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An automated testing method for automobile instrument display function, It is characterized in that include: Parsing the obtained test case, extracting the CAN signal and the corresponding display data, wherein the display data at least represents the area number of the target prompt object, and the test case is created based on the standard test case template; Sending the CAN signal to the instrument under test; Receiving a display image of the instrument under test after receiving the CAN signal; determining an identification area based on the display data; Determine whether the display content in the identification area conforms to standard comparison information, where the standard comparison information comes from a pre-established standard image library or alarm language library.

2. The method for automatically testing the display function of an automobile instrument according to claim 1, It is characterized in that Also includes: Predetermine the area division and area number of the instrument to be tested; Establish a standard image library and alarm text library for comparison; Create standard test case templates.

3. The method for automatically testing the display function of an automobile instrument according to claim 1, It is characterized in that The step of sending the CAN signal to the instrument under test includes: The CAN signal is used as the input of the CAPL script and sent to the instrument under test through CANoe.

4. The method for automatically testing the display function of an automobile instrument according to claim 1, It is characterized in that The determining of the identification area based on the display data comprises: Parsing the display data to obtain at least the area number of the target prompt object; An image region corresponding to the region number is determined as a recognition region.

5. The method for automatically testing the display function of an automobile instrument according to claim 1, It is characterized in that The determining whether the display content in the identification area conforms to the standard comparison information includes: It is determined whether the matching degree between the display content in the recognition area and the standard comparison information meets a set value.

6. The method for automatically testing the display function of an automobile instrument according to claim 5, It is characterized in that The display state of the target prompt object is a constant light, and determining whether the matching degree between the display content in the recognition area and the standard comparison information meets the set value includes: Using pattern recognition in the identification area to obtain a lighted area; The lighted area is compared with the standard comparison information to obtain a similarity score.

7. The method for automatically testing the display function of an automobile instrument according to claim 5, It is characterized in that The display state of the target prompt object is a flashing light, the display image includes multiple frames of continuously acquired images, and determining whether the matching degree between the display content in the recognition area and the standard comparison information meets the set value includes: Determine the time interval between two lighting of the target prompt object in the recognition area according to the pattern matching method; Determine the flashing frequency of the target prompt object based on the time interval and the image acquisition frequency; The flicker frequency is compared with standard comparison information to obtain a matching degree.

8. The method for automatically testing the display function of an automobile instrument according to claim 5, It is characterized in that The target prompt object is an alarm text, and determining whether the matching degree between the display content in the recognition area and the standard comparison information meets a set value includes: Obtaining a first recognized character by optical character recognition in the recognition area; The first recognized character is compared with the standard comparison information to obtain a character matching degree.

9. The method for automatically testing the display function of an automobile instrument according to claim 5, It is characterized in that The target prompt object is variable information, and determining whether the matching degree between the display content in the recognition area and the standard comparison information meets the set value includes: Obtaining a second recognized character by optical character recognition in the recognition area; The second recognized character is compared with the expected value recorded in the CAN signal to obtain a second character matching degree.

10. An automatic test device for automobile instrument display function, It is characterized in that include: A case analysis module, used to analyze the obtained test case, extract the CAN signal and the corresponding display data, wherein the display data at least represents the area number of the target prompt object, and the test case is created based on the quasi-test case template; A signal sending module, used for sending the CAN signal to the instrument under test; An image receiving module, used for receiving a display image of the instrument under test after receiving the CAN signal; A region determination module, configured to determine an identification region based on the display data; A matching determination module is used to determine whether the display content in the recognition area conforms to the standard comparison information, The standard comparison information is derived from a pre-established standard image library or alarm text library.

Citation Information

Cited By

  • Display equipment detection method and device

    CN120495191A

  • Automobile instrument desk display abnormity automatic detection system based on big data

    CN121316571A