[go: up one dir, main page]

CN108197025B - Instrument pressure testing system and instrument pressure testing method - Google Patents

Instrument pressure testing system and instrument pressure testing method Download PDF

Info

Publication number
CN108197025B
CN108197025B CN201711473219.3A CN201711473219A CN108197025B CN 108197025 B CN108197025 B CN 108197025B CN 201711473219 A CN201711473219 A CN 201711473219A CN 108197025 B CN108197025 B CN 108197025B
Authority
CN
China
Prior art keywords
instrument
test
display
images
pressure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711473219.3A
Other languages
Chinese (zh)
Other versions
CN108197025A (en
Inventor
朱学毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Continental Automotive Body Electronic System Wuhu Co Ltd
Original Assignee
Continental Automotive Body Electronic System Wuhu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Continental Automotive Body Electronic System Wuhu Co Ltd filed Critical Continental Automotive Body Electronic System Wuhu Co Ltd
Priority to CN201711473219.3A priority Critical patent/CN108197025B/en
Publication of CN108197025A publication Critical patent/CN108197025A/en
Application granted granted Critical
Publication of CN108197025B publication Critical patent/CN108197025B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30121CRT, LCD or plasma display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30168Image quality inspection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention provides a pressure test system of an instrument, which is used for carrying out pressure test on the instrument with a display screen and comprises a test host and an image acquisition device, wherein the image acquisition device is used for acquiring images of the display screen in the pressure test process and transmitting the acquired images to the test host, and the test host is used for operating an instrument pressure test script to send effective input data of a test case to the instrument, storing the images and correlating the images to the switching of corresponding display pictures so as to identify the display defects of the instrument. The invention also provides a pressure testing method of the instrument. According to the instrument pressure testing system and the instrument pressure testing method, in the pressure testing process, the images are collected and stored, the images are correlated with the switching of the images to the corresponding display pictures, the display defects of the instrument are quickly positioned, and the display problems of the instrument are quickly repaired, so that the complaints of customers to the quality of the instrument can be reduced, and the manpower and material resources consumed for updating instrument software can be reduced.

Description

Instrument pressure testing system and instrument pressure testing method
Technical Field
The invention relates to the field of automobiles, in particular to a system and a method for testing instrument pressure.
Background
With the rapid development of automobile technology, automobile instruments are also developing to larger and clearer instruments with 3.5 inch, 7 inch and even 12.3 full-size display screens, and the instruments with the display screens control the display of the instruments through software.
In addition to completing function tests before software is frozen, a large number of pressure tests are required to verify software reliability, so that the problem that the instrument MCU chip is in a high-load state due to frequent operation and switching in actual use, such as some defects of software architecture design and hardware circuit design, or the problem that the instrument display screen cannot be timely processed under the condition of high load of the MCU due to a certain time gap possibly existing in the switching of display data, and abnormal display such as black screen (without display data), screen splash (incomplete display data, which causes all or part of the display image to be abnormal) and the like can be avoided.
These problems do not occur in normal function tests (usually, the instrument MCU chip is in a low-load state), that is, the instrument function itself has no problem, and the abnormal display is caused because the instrument cannot be processed in time only in a frequently-switched high-load state.
If the problem is discovered after the instrument is delivered to an OEM (original equipment manufacturer), the complaint of the quality of the instrument by a customer is brought, and a large amount of manpower and material resources are consumed for updating instrument software.
It is therefore desirable for the meter provider to pass the stress test and discover and solve the above problems before the meter is shipped.
In the pressure test, various LCD alarms and LED alarms defined by the instrument and the switching of display pictures of a display screen of the instrument are generally triggered circularly, and can messages, key information or other effective inputs are sent to the instrument through a pressure test script, so that the MCU chip of the instrument always works in a high-load state. In this test mode, the meter does not execute any additional code segment for assisting the test, such as outputting the currently displayed image, closer to the actual usage state of the meter.
However, it is difficult for a tester to observe the instrument for a long time and with concentration, and thus it is not easy to capture the phenomenon of abnormal display occurring instantaneously.
Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide an instrument pressure testing system, wherein in the process of running an instrument pressure testing script, the image is collected and stored, and is associated with the switching of the image to a corresponding display picture, so that the display defect of an instrument is quickly positioned, and the display problem of the instrument is quickly repaired, thereby not only reducing the complaint of customers on the quality of the instrument, but also reducing the manpower and material resources required for updating instrument software.
The invention provides a pressure test system of an instrument, which is used for carrying out pressure test on the instrument with a display screen and comprises a test host and an image acquisition device connected with the test host, wherein the image acquisition device is used for acquiring images of the display screen in the pressure test process and transmitting the acquired images to the test host, and the test host is used for operating an instrument pressure test script to send effective input data of a test case to the instrument, controlling the acquisition operation of the image acquisition device, storing the images and correlating the switching of the images to corresponding display pictures so as to identify the display defects of the instrument.
Further, the switching of the display screen comprises switching of the display screen in the test cases and/or switching of the display screen between the test cases.
Further, the images are named by acquisition time, switching of test cases or display screens, and combinations thereof.
Further, the image is associated with the identifier of the corresponding test case in a data record mode, and the data record comprises the image, the identifier of the test case, the identifier of the previous display picture and the identifier of the current display picture.
Further, the display defects include a black screen, a checkered screen, a flicker, or an incorrect color of the display screen.
Furthermore, the test host is provided with an integrated test environment, and can run an instrument pressure test script to test the instrument.
Further, the instrument pressure test script includes a command to control the image capture device to capture and store an image of the display screen.
The invention also provides a method for testing the pressure of the instrument, the system for testing the pressure of the instrument comprises a test host and an image acquisition device connected with the test host, and the method for testing the pressure of the instrument comprises the following steps:
-compiling a meter pressure test script comprising test cases, commands for collecting and storing images of the display screen during the pressure test;
-running a meter pressure test script in an integrated test environment on a test host;
the test host controls the image acquisition device to acquire images of the display screen in the pressure test process through the pressure test script, stores the images and associates the switching of the images to corresponding display pictures;
-identifying the image with display defects and the corresponding switching of the display.
Further, identifying the meter display defect includes manually identifying or automatically identifying.
Further, the automatic identification comprises the following steps:
-building a neural network and a deep learning model;
-training and updating the model with images of the display screen stored in previous gauge pressure tests;
-processing the stored image in the current instrument pressure test with the updated model, identifying the image with display defects.
Compared with the prior art, the instrument pressure testing system and the instrument pressure testing method provided by the invention have the following beneficial effects: in the process of operating the instrument pressure test script, images are collected and stored, the images are correlated with the switching of the corresponding display pictures, and the display defects of the instrument are quickly positioned, so that the display problems of the instrument are quickly repaired, and therefore, the complaints of customers on the quality of the instrument can be reduced, and the manpower and material resources consumed for updating instrument software can be reduced.
Drawings
FIG. 1 is a schematic diagram of a meter pressure test system of one embodiment of the present invention;
fig. 2 is a schematic structural diagram of the instrument pressure test system shown in fig. 1.
Detailed Description
As shown in fig. 1, the instrument pressure test system according to an embodiment of the present invention is used for performing a pressure test on an instrument with a display screen, where the instrument with the display screen may be a combination instrument with a display screen or a full liquid crystal screen instrument, and the instrument to be tested in this embodiment is a full liquid crystal screen instrument.
The instrument pressure testing system comprises a testing host machine 2 and an image acquisition device connected with the testing host machine 2. The image acquisition device is placed at a position where a display picture of the full liquid crystal display instrument CAN be acquired, and the test host 2 is connected with the full liquid crystal display instrument through the debugger, the serial port and the CAN bus.
The image acquisition device is used for acquiring images of a display screen 1 of the full liquid crystal screen instrument in the pressure test process and transmitting the acquired images to the test host 2, and the image acquisition device can be a camera 3 and is connected to the test host 2 through a USB interface. In other embodiments, a network camera may be used to connect with the test host 2 through a network. This connection is used for transmitting instructions for controlling the operation of the camera 3 acquisition and for transmitting images acquired by the camera 3.
The test host 2 is provided with an integrated test environment and can run an instrument pressure test script to test the instrument pressure.
The test host 2 is used for running the instrument pressure test script to send effective input data of a test case of the pressure test to the full liquid crystal screen instrument, controlling the acquisition operation of the camera 3, storing the image and associating the switching of the image to a corresponding display picture so as to identify the display defects of the instrument.
Display defects include a black screen, a checkered screen, flickering, or incorrect color of the display screen.
For example, some defects of software architecture design and hardware circuit design, or a certain time gap may exist during switching of display data, which may cause that the instrument display screen cannot be processed in time under the condition of high load of the MCU, that is, the update of the display cache is not completed, thereby causing abnormal display problems such as black screen (clearing the display cache, not updating yet), and screen splash (updating part of the display cache).
The display defects also include flickering caused by a large difference in brightness of images, and color inconsistency between displayed images and a demand.
The effective input data of the test case of the pressure test is transmitted through the connection between the test host 2 and the full liquid crystal screen instrument, the instrument only receives the effective input data to carry out corresponding display, and no additional code segment for auxiliary test is executed, for example, the currently displayed image is output, and the actual use state of the instrument is closer.
The switching of the display screens comprises switching of the display screens in the test cases and/or switching of the display screens among the test cases.
And switching the associated image to a corresponding display picture, wherein the image refers to the image of the current display picture on the display screen 1 acquired by the image acquisition device, and the switching of the corresponding display picture refers to the process of switching from the last display picture to the current display picture on the display screen 1.
Under the condition of high load, the switching of the display pictures is just a place which is easy to display abnormally, the switching of the associated images to the corresponding display pictures can quickly locate the operation scene with abnormal display when the display problem of the stored images is found, and therefore the display defect of the instrument can be quickly repaired.
By adopting the instrument pressure testing system, the instrument pressure testing method comprises the following steps:
-compiling a meter pressure test script comprising test cases, commands for collecting and storing images of the display screen during the pressure test;
-running a meter pressure test script in an integrated test environment on a test host;
the test host sends valid input data of a test case of the pressure test to the full liquid crystal screen instrument through the pressure test script, controls the operation of image acquisition of the image acquisition device, stores the image and associates the switching of the image to a corresponding display picture;
-identifying the image with display defects and the corresponding switching of the display.
The uTAS3 integrated test environment adopted in this embodiment can identify a test script in an Excel format, where the test script includes an initialization command init _ vision:
Step Conditions Command Parameters
all init_vision
the initialization command init _ vision is used to allocate the global memory of the image and to initialize the camera 3.
The instrument pressure test script further comprises a command for controlling the image acquisition device to acquire and store the image of the display screen-a command for controlling the camera 3 to acquire the image of the display screen 1:
Step Conditions Command Parameters
Take_Picture call_macro take_picture_cyclic
and calling a macro command take _ picture _ cycle to control the operation of the image acquisition device for acquiring the image.
Figure BDA0001532318290000061
The "take _ picture" is a command to capture an image, "save _ acquired _ image" is a command to store an image, "clear _ image" is a command to release a memory occupied by an image, "get _ system _ time," "get _ system _ seconds" is used to record the time to capture an image, and "delay" is a delay command, i.e., the time to wait for the image capture device to execute, because the camera takes time to capture and store an image.
The switching from the image to the corresponding display picture can be associated in different modes, the image is named by the acquisition time, the switching from the test case or the display picture and the combination of the acquisition time and the test case or the switching from the display picture to the display picture, the image is associated to the identifier of the corresponding test case in a data recording mode, and the data recording mode comprises the image, the identifier of the test case, the identifier of the previous display picture and the identifier of the current display picture.
In the embodiment, in the process of the pressure test, for example, the image is named by "acquisition time + switching of the display screen", and if the stored image is found to be displayed abnormally, the position where the display defect occurs can be quickly located through the "switching of the display screen" information in the file name, so that the problem of abnormal display can be quickly repaired.
Images can also be named by 'acquisition time', and the position where the display defect occurs can be located by comparing with the time in the stress test report, so that the problem that the display is abnormal can be quickly repaired.
Specifically, the test script includes the following commands:
Figure BDA0001532318290000071
the WBC is a command for establishing a test environment.
The pictures are named after the acquisition time (in seconds) and executed before the macro command take _ picture _ cycle is called.
Identifying the meter display defect includes manual identification or automatic identification.
The manual identification is to identify the instrument display defects in a manual viewing mode.
The file name of the stored image is the acquisition time, each stored image is manually checked, when the fact that an instrument in one image is displayed as a black screen is found, the time for acquiring the image is obtained through the file name of the image, the corresponding test case and display picture switching of the image are found through the time and a pressure test report, and the information is fed back to developers, so that the developers can quickly locate the position of a code with a display problem, the code is modified, and the problem that the instrument display screen is abnormally displayed under the condition of high load is eliminated.
The method for identifying the instrument display defects can also adopt an image identification method by using artificial intelligence to carry out automatic identification, and comprises the following steps:
-building a neural network and a deep learning model;
-training and updating the model with images of the display screen stored in previous gauge pressure tests;
-processing the stored image in the current instrument pressure test with the updated model, identifying the image with display defects.
The tester obtains images with display defects and switching information of display pictures corresponding to the images, so that a developer can quickly locate the position of a code with the display defects, modify the code and eliminate the problem that the instrument display screen is abnormally displayed under the condition of high load.
As shown in fig. 2, the test host may further be installed with a Labview, which is a general tool for controlling the IO acquisition card and the serial port communication.
A python script environment, namely version 2.7 or version 3.4 can be installed on the test host, and the test integration tool can be started by calling the script to run a corresponding test script to test the pressure of the instrument.
The remote host is connected with the test host through a network, and a tester can be connected to the test host on the remote host to perform test operation.
Although the present invention has been described with reference to the preferred embodiments, it is not limited thereto. Various changes and modifications within the spirit and scope of the present invention will become apparent to those skilled in the art from this disclosure, and it is intended that the scope of the present invention be defined by the appended claims.

Claims (9)

1. The instrument pressure testing system is characterized by being used for carrying out pressure testing on an instrument with a display screen and comprising a testing host and an image acquisition device connected with the testing host, wherein the image acquisition device is used for acquiring images of the display screen in the pressure testing process and transmitting the acquired images to the testing host, the testing host is used for running an instrument pressure testing script to send effective input data of a test case to the instrument, controlling the acquisition operation of the image acquisition device, storing the images and associating the images with the switching of the corresponding display pictures so as to identify the display defects of the instrument, the images are associated with the identifications of the corresponding test cases in a data recording mode, and the data records comprise the images, the identifications of the test cases, the identifications of a previous display picture and the identifications of a current display picture.
2. The instrument pressure test system of claim 1, wherein the switching of the display comprises switching of the display in the test cases and/or switching of the display between the test cases.
3. The meter pressure test system of claim 1, wherein the images are named in terms of acquisition time, test case or display screen switching, and combinations thereof.
4. The gauge pressure test system of claim 1, wherein the display defect comprises a black screen, a checkered screen, a flicker, or an incorrect color of the display screen.
5. The instrument pressure test system of claim 1, wherein the test host is provided with an integrated test environment capable of running instrument pressure test scripts for instrument testing.
6. The gauge pressure testing system of claim 5, wherein the gauge pressure test script comprises commands that control the image capture device to capture and store an image of the display screen.
7. The instrument pressure testing method is characterized in that an instrument pressure testing system comprises a testing host and an image acquisition device connected with the testing host, and the instrument pressure testing method comprises the following steps:
-compiling a meter pressure test script comprising test cases, commands for collecting and storing images of a display screen during a pressure test;
-running the meter pressure test script in an integrated test environment on a test host;
the test host controls the image acquisition device to acquire images of the display screen in the pressure test process through the pressure test script, stores the images, and associates the switching of the images to corresponding display pictures;
-identifying the presence of a display defect in the image and the switching of the corresponding display;
the image is associated to the corresponding test case identifier in a data record mode, and the data record comprises the image, the test case identifier, the last display screen identifier and the current display screen identifier.
8. The meter pressure test method of claim 7, wherein identifying a meter display defect comprises manual identification or automatic identification.
9. The meter pressure testing method of claim 8, wherein said automatically identifying comprises the steps of:
-building a neural network and a deep learning model;
-training and updating the model with images of the display screen stored in previous gauge pressure tests;
-processing the stored image in the current instrument pressure test with the updated model, identifying the image with display defects.
CN201711473219.3A 2017-12-29 2017-12-29 Instrument pressure testing system and instrument pressure testing method Active CN108197025B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711473219.3A CN108197025B (en) 2017-12-29 2017-12-29 Instrument pressure testing system and instrument pressure testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711473219.3A CN108197025B (en) 2017-12-29 2017-12-29 Instrument pressure testing system and instrument pressure testing method

Publications (2)

Publication Number Publication Date
CN108197025A CN108197025A (en) 2018-06-22
CN108197025B true CN108197025B (en) 2021-04-09

Family

ID=62586411

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711473219.3A Active CN108197025B (en) 2017-12-29 2017-12-29 Instrument pressure testing system and instrument pressure testing method

Country Status (1)

Country Link
CN (1) CN108197025B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308346B (en) * 2019-06-24 2021-10-26 中国航空无线电电子研究所 Automatic testing method and system for cockpit display system based on image recognition
CN110686719A (en) * 2019-09-06 2020-01-14 惠州市德赛西威汽车电子股份有限公司 Labview-based automobile instrument road test system and method thereof
CN112834851A (en) * 2021-01-07 2021-05-25 广州亚美智造科技有限公司 Mirror test equipment and systems

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101672663A (en) * 2009-09-18 2010-03-17 中国汽车技术研究中心 Auto meter visual detecting system based on computer and detecting method thereof
CN103155550A (en) * 2010-10-11 2013-06-12 Lg电子株式会社 Image-monitoring device and method for searching for objects therefor
CN106231295A (en) * 2016-08-04 2016-12-14 惠州市德赛西威汽车电子股份有限公司 A kind of display screen image quality automatic checkout system, detection method and application thereof
CN107121616A (en) * 2016-02-24 2017-09-01 西门子公司 A kind of method and apparatus for being used to carry out intelligence instrument fault location

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9058644B2 (en) * 2013-03-13 2015-06-16 Amazon Technologies, Inc. Local image enhancement for text recognition
CN106648519B (en) * 2015-10-28 2020-02-18 大陆汽车车身电子系统(芜湖)有限公司 Method for detecting actual display effect of picture for instrument

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101672663A (en) * 2009-09-18 2010-03-17 中国汽车技术研究中心 Auto meter visual detecting system based on computer and detecting method thereof
CN103155550A (en) * 2010-10-11 2013-06-12 Lg电子株式会社 Image-monitoring device and method for searching for objects therefor
CN107121616A (en) * 2016-02-24 2017-09-01 西门子公司 A kind of method and apparatus for being used to carry out intelligence instrument fault location
CN106231295A (en) * 2016-08-04 2016-12-14 惠州市德赛西威汽车电子股份有限公司 A kind of display screen image quality automatic checkout system, detection method and application thereof

Also Published As

Publication number Publication date
CN108197025A (en) 2018-06-22

Similar Documents

Publication Publication Date Title
US8059788B2 (en) Telephone software testing system and method
US11449980B2 (en) System and method for combined automatic and manual inspection
CN108197025B (en) Instrument pressure testing system and instrument pressure testing method
WO2017005148A1 (en) Automatic software-testing method and device
US20140211021A1 (en) Test system for evaluating mobile device and driving method thereof
CN105955884B (en) App page white screen inspection method and device
CN112783756A (en) Automatic test method, terminal, system and storage medium
US20120131385A1 (en) Testing mehtod for unit under test
CN102789405A (en) Automated testing method and system for mainboard
CN105120259A (en) Detection method and apparatus for digital television
CN105975373A (en) Running monitoring method and apparatus for software program
CN116467110B (en) Method and system for detecting damage of tablet personal computer
CN110297749A (en) A kind of method and terminal for testing new function
CN114721968B (en) Test method, test device and storage medium
CN118348383A (en) Test equipment and system for mobile phone motherboard
CN109581188A (en) A kind of function detecting method, smart machine and the storage medium of mainboard upper terminal
CN112881888B (en) A testing device and method for a server graphics card VGA interface protection circuit
CN112346994B (en) Test information association method, device, computer equipment and storage medium
CN109739752B (en) Built-in resource testing method and device, electronic equipment and readable storage medium
CN113776782B (en) MTF test method, test equipment and computer readable storage medium
CN117667536B (en) Method and device for debugging screen of vehicle-mounted system, computer equipment and storage medium
CN114577442A (en) Car light detection device, method and system
CN111444981A (en) Leakage current fault positioning device and method
CN111885358B (en) Examination terminal positioning and monitoring method, device and system
CN115248761A (en) Video detection method and device, terminal equipment and storage medium

Legal Events

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