CN115237084A - Test method and device for interaction between central control system and instrument and automobile - Google Patents
Test method and device for interaction between central control system and instrument and automobile Download PDFInfo
- Publication number
- CN115237084A CN115237084A CN202111042740.8A CN202111042740A CN115237084A CN 115237084 A CN115237084 A CN 115237084A CN 202111042740 A CN202111042740 A CN 202111042740A CN 115237084 A CN115237084 A CN 115237084A
- Authority
- CN
- China
- Prior art keywords
- test
- image information
- central control
- vehicle
- instrument panel
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0218—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
- G05B23/0221—Preprocessing measurements, e.g. data collection rate adjustment; Standardization of measurements; Time series or signal analysis, e.g. frequency analysis or wavelets; Trustworthiness of measurements; Indexes therefor; Measurements using easily measured parameters to estimate parameters difficult to measure; Virtual sensor creation; De-noising; Sensor fusion; Unconventional preprocessing inherently present in specific fault detection methods like PCA-based methods
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M17/00—Testing of vehicles
- G01M17/007—Wheeled or endless-tracked vehicles
Abstract
The invention provides a test method and a test device for interaction between a central control system and an instrument and an automobile, wherein the test method comprises the steps of obtaining image information of an on-board central control host interface and image information of an instrument panel; and inputting the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel into a pre-trained test model for testing to obtain a test result. According to the invention, no additional operation is required for a tester, and only the test result is required to be looked up after the test is finished, so that the defect that the traditional test needs manual work to participate all the time can be overcome, the test efficiency is improved, the test cost is reduced, the test parameters are closer to the real road environment, and the accuracy of the test result is improved.
Description
Technical Field
The invention relates to the technical field of automatic testing, in particular to a testing method and device for interaction between a central control system and an instrument and an automobile.
Background
With the popularization of intelligent central control systems and intelligent instrument panels in automobiles in recent years, different product suppliers and automobile manufacturers select various central control systems and instrument panels, which brings certain challenges to traditional manual tests. The traditional manual test has low efficiency, consumes time and labor, further causes low input-output ratio, and especially cannot be competent for the tasks of large-scale pressure test and regression test. In recent years, with the introduction of automated testing techniques, this situation has improved, and the introduction of automated testing has enabled reduction in labor and material costs, and the execution of large-scale pressure tests and the like.
However, many open-source automatic test frameworks provide some basic test functions, and need to perform secondary development on the basis of the basic test functions to realize automatic testing, so that most of the test work is mainly performed manually, and part of the automatic testing is assisted to perform consistency testing on interaction of a vehicle-mounted central control system and an instrument. Therefore, in the test work, a large amount of testers are still required to participate in the test process, the test report cannot be automatically generated, the testers need to compile, the test cost is high, and the working time is long; meanwhile, in the test process, GPS, vehicle speed, steering and the like in the real driving process of the vehicle cannot be simulated, so that errors exist between the test data and the real application scene, and the reference of the test result is reduced.
Disclosure of Invention
The invention aims to provide a method and a device for testing interaction between a central control system and an instrument and an automobile, and solves the technical problems that the existing method is low in automation degree and inaccurate in simulation of an actual driving process.
On one hand, the utility model provides a test method of central control system and instrument interaction, including:
acquiring image information of a vehicle-mounted central control host interface and image information of an instrument panel;
and inputting the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel into a pre-trained test model for testing to obtain a test result.
Preferably, the acquiring the image information of the on-vehicle central control host interface includes:
and connecting the vehicle-mounted central control system through a preset debugging bridge tool, intercepting the image information of the vehicle-mounted central control host interface, and storing the intercepted image information of the vehicle-mounted central control host interface according to a preset format.
Preferably, the image information of the dashboard includes:
and connecting a vehicle-mounted camera corresponding to the instrument panel, adjusting the image information of the display area of the instrument panel shot by the vehicle-mounted camera, and outputting the shot image information of the display area as the image information of the instrument panel according to a preset format.
Preferably, the pre-trained test model is obtained by:
acquiring historical GPS data, historical vehicle speed data and historical rotating speed signal data in the real vehicle road test process;
and inputting the historical GPS data, the historical vehicle speed data and the historical rotating speed signal data serving as input quantities into a preset basic test model for training to obtain a trained test model.
Preferably, the inputting the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel into a pre-trained test model for testing includes:
carrying out pattern recognition on the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel to obtain corresponding test parameter information;
and inputting the test parameter information as input quantity into the trained test model for test operation to obtain a test result and generating a test report according to the test result.
On the other hand, still provide a central control system and mutual testing arrangement of instrument, include:
the image acquisition module is used for acquiring image information of an on-vehicle central control host interface and image information of an instrument panel;
and the test module is used for inputting the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel into a pre-trained test model for testing to obtain a test report.
Preferably, the image acquisition module is further configured to connect to the vehicle-mounted central control system through a preset debugging bridge tool, intercept image information of the vehicle-mounted central control host interface, and store the intercepted image information of the vehicle-mounted central control host interface according to a preset format.
Preferably, the image obtaining module is further configured to connect a vehicle-mounted camera corresponding to an instrument panel, adjust the image information of a display area of the instrument panel shot by the vehicle-mounted camera, and output the shot image information of the display area as the image information of the instrument panel according to a preset format.
Preferably, the test module is further configured to perform pattern recognition on the acquired image information of the on-vehicle central control host interface and the image information of the instrument panel to obtain corresponding test parameter information;
and inputting the test parameter information as input quantity into the trained test model for test operation to obtain a test result and generating a test report according to the test result.
On the other hand, the automobile is also provided, and the interaction between the vehicle-mounted central control system and the instrument is tested by the testing device for the interaction between the central control system and the instrument
In summary, the embodiment of the invention has the following beneficial effects:
according to the method and the device for testing the interaction between the central control system and the instrument and the automobile, provided by the invention, the interaction between the central control system and the instrument can be tested for consistency and a test report can be generated by collecting data such as GPS, speed, steering and the like in the road test process of the real automobile for playback and connecting the central control system to the vehicle-mounted central control system. The tests are repeatable, no additional operation is needed for testers, and only the test report needs to be consulted after the test is finished, so that the defect that the traditional test needs manual work to participate all the time can be overcome, the test efficiency is improved, the test cost is reduced, the test parameters are closer to the real road environment, and the accuracy of the test result is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is within the scope of the present invention for those skilled in the art to obtain other drawings based on the drawings without inventive exercise.
Fig. 1 is a main flow chart of a testing method for interaction between a central control system and a meter according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a testing apparatus for interaction between a central control system and a meter according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an embodiment of a testing method for interaction between a central control system and a meter according to the present invention. In this embodiment, the method comprises:
firstly, acquiring image information of an on-vehicle central control host interface and image information of an instrument panel in a real-vehicle road testing process; specifically, the central control system is connected, and the image acquisition is carried out on the screenshot of the vehicle-mounted central control host interface through an ADB command; and adjusting the camera to acquire images of the instrument panel, wherein the step is to realize linkage test of the instrument panel and the central control host in the test process, acquire states and parameters of the instrument panel and the central control host in the test process in a pattern acquisition mode and supplement test contents in time.
Further, acquiring the image information of the vehicle-mounted central control host interface includes: and connecting the vehicle-mounted central control system through a preset debugging bridge tool, intercepting the image information of the vehicle-mounted central control host interface, and storing the intercepted image information of the vehicle-mounted central control host interface according to a preset format. That is to say, through the adb (android debug bridge) instrument of installation, be connected to on-vehicle central control system through usb data line or local area network wifi and carry out on-vehicle central control screenshot operation.
The image information of the instrument panel includes: the method comprises the steps of connecting a vehicle-mounted camera corresponding to an instrument panel, adjusting the vehicle-mounted camera to shoot image information of a display area of the instrument panel, and outputting the shot image information of the display area as image information of the instrument panel according to a preset format, namely, carrying out image acquisition on the instrument panel through the adjusted camera.
And thirdly, inputting the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel into a pre-trained test model for testing to obtain a test report.
In a specific embodiment, the pre-trained test model is obtained by the following process: acquiring historical GPS data, historical vehicle speed data and historical rotating speed signal data in the real vehicle road testing process; that is, the GPS, the vehicle speed and the rotating speed signals in the real vehicle road test process are played back, and the data in the test process are counted; and inputting the historical GPS data, the historical vehicle speed data and the historical rotating speed signal data as input quantities into a preset basic test model for training to obtain a trained test model. The basic test model is realized by compiling a consistency test script of instrument interaction, and a test report can be automatically generated after the script test is completed.
Specifically, the process of testing through the pre-trained test model includes: carrying out pattern recognition on the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel to obtain corresponding test parameter information; that is, firstly, image information of a vehicle-mounted central control system and an instrument panel is collected; then, analyzing the areas needing to be compared by image processing technologies (such as character recognition and image recognition) to obtain analysis results (test parameter information, namely GPS data, vehicle speed data, rotating speed signal data and the like);
inputting the test parameter information as input quantity into the trained test model for test operation to obtain a test result, generating a test report according to the test result, and then giving a consistency test result according to the analysis result and generating the test report.
Fig. 2 is a schematic diagram of an embodiment of a testing apparatus for interaction between a central control system and a meter according to the present invention. In this embodiment, the method for implementing the test of the interaction between the central control system and the instrument by the device includes:
the image acquisition module is used for acquiring image information of an on-vehicle central control host interface and image information of an instrument panel;
specifically, the graph obtaining module is further configured to connect the vehicle-mounted central control system through a preset debugging bridge tool, intercept image information of the vehicle-mounted central control host interface, and store the intercepted image information of the vehicle-mounted central control host interface according to a preset format. The image acquisition module is also used for connecting a vehicle-mounted camera corresponding to the instrument panel, adjusting the image information of the display area of the instrument panel shot by the vehicle-mounted camera, and outputting the shot image information of the display area as the image information of the instrument panel according to a preset format.
And the test module is used for inputting the acquired image information of the vehicle-mounted central control host interface and the acquired image information of the instrument panel into a pre-trained test model for testing to obtain a test report.
Specifically, the test module is further configured to perform pattern recognition on the acquired image information of the on-vehicle central control host interface and the image information of the instrument panel to obtain corresponding test parameter information;
and inputting the test parameter information as input quantity into the trained test model for test operation to obtain a test result and generating a test report according to the test result.
For the specific implementation process of the testing device for interaction between the central control system and the instrument, reference may be made to the above-mentioned corresponding testing method for interaction between the central control system and the instrument, which is not described herein again.
The automobile provided by the invention is characterized in that the interaction between the vehicle-mounted central control system and the instrument is tested by the testing device for the interaction between the central control system and the instrument.
In summary, the embodiment of the invention has the following beneficial effects:
according to the method and the device for testing the interaction between the central control system and the instrument and the automobile, provided by the invention, the interaction between the central control system and the instrument can be tested for consistency and a test report can be generated by collecting data such as GPS, speed, steering and the like in the road test process of the real automobile for playback and connecting the central control system to the vehicle-mounted central control system. The tests are repeatable, no additional operation is needed for testers, and only the test report needs to be consulted after the test is finished, so that the defect that the traditional test needs manual work to participate all the time can be overcome, the test efficiency is improved, the test cost is reduced, the test parameters are closer to the real road environment, and the accuracy of the test result is improved.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.
Claims (10)
1. A test method for interaction between a central control system and an instrument is characterized by comprising the following steps:
acquiring image information of a vehicle-mounted central control host interface and image information of an instrument panel;
and inputting the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel into a pre-trained test model for testing to obtain a test result.
2. The method of claim 1, wherein the obtaining image information of the in-vehicle central control host interface comprises:
and connecting the vehicle-mounted central control system through a preset debugging bridge tool, intercepting the image information of the vehicle-mounted central control host interface, and storing the intercepted image information of the vehicle-mounted central control host interface according to a preset format.
3. The method of claim 1, wherein the image information of the dashboard comprises:
and connecting a vehicle-mounted camera corresponding to the instrument panel, adjusting the vehicle-mounted camera to shoot image information of a display area of the instrument panel, and outputting the shot image information of the display area as image information of the instrument panel according to a preset format.
4. The method of claim 1, wherein the pre-trained test model is obtained by:
acquiring historical GPS data, historical vehicle speed data and historical rotating speed signal data in the real vehicle road test process;
and inputting the historical GPS data, the historical vehicle speed data and the historical rotating speed signal data as input quantities into a preset basic test model for training to obtain a trained test model.
5. The method of claim 4, wherein inputting the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel into a pre-trained test model for testing comprises:
carrying out pattern recognition on the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel to obtain corresponding test parameter information;
and inputting the test parameter information serving as input quantity into the trained test model for test operation to obtain a test result, and generating a test report according to the test result.
6. A test device for interaction between a central control system and a meter, which is used for realizing the method according to any one of claims 1-5, and is characterized by comprising:
the image acquisition module is used for acquiring image information of an on-vehicle central control host interface and image information of an instrument panel;
and the test module is used for inputting the acquired image information of the vehicle-mounted central control host interface and the image information of the instrument panel into a pre-trained test model for testing to obtain a test result.
7. The device of claim 6, wherein the image acquisition module is further configured to connect to the on-board central control system through a preset debugging bridge tool, intercept image information of the on-board central control host interface, and store the intercepted image information of the on-board central control host interface according to a preset format.
8. The device of claim 6, wherein the image obtaining module is further configured to connect a vehicle-mounted camera corresponding to an instrument panel, adjust the vehicle-mounted camera to capture image information of a display area of the instrument panel, and output the captured image information of the display area as image information of the instrument panel according to a preset format.
9. The device of claim 6, wherein the test module is further configured to perform pattern recognition on the acquired image information of the on-board central control host interface and the image information of the dashboard to obtain corresponding test parameter information;
and inputting the test parameter information as input quantity into the trained test model for test operation to obtain a test result and generating a test report according to the test result.
10. An automobile, characterized in that the interaction between the vehicle-mounted central control system and the instrument is tested through the test device for the interaction between the central control system and the instrument according to any one of claims 6-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111042740.8A CN115237084A (en) | 2021-09-07 | 2021-09-07 | Test method and device for interaction between central control system and instrument and automobile |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111042740.8A CN115237084A (en) | 2021-09-07 | 2021-09-07 | Test method and device for interaction between central control system and instrument and automobile |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115237084A true CN115237084A (en) | 2022-10-25 |
Family
ID=83666443
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111042740.8A Pending CN115237084A (en) | 2021-09-07 | 2021-09-07 | Test method and device for interaction between central control system and instrument and automobile |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115237084A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180093674A1 (en) * | 2016-09-30 | 2018-04-05 | Ford Global Technologies, Llc | Method and apparatus for testing a driver assistance system |
CN110887518A (en) * | 2018-09-11 | 2020-03-17 | 广州汽车集团股份有限公司 | Test method of combination instrument |
JP6667706B1 (en) * | 2019-09-30 | 2020-03-18 | 株式会社小野測器 | Vehicle test system |
CN111006687A (en) * | 2019-10-15 | 2020-04-14 | 惠州市德赛西威汽车电子股份有限公司 | Vehicle-mounted instrument and central control interactive control testing system and method based on LabVIEW |
CN112182785A (en) * | 2020-11-03 | 2021-01-05 | 浙江天行健智能科技有限公司 | Automobile steering wheel force sense modeling method based on data driving |
CN112418230A (en) * | 2020-11-14 | 2021-02-26 | 武汉光庭信息技术股份有限公司 | Automatic testing method and system based on vehicle-mounted display |
-
2021
- 2021-09-07 CN CN202111042740.8A patent/CN115237084A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180093674A1 (en) * | 2016-09-30 | 2018-04-05 | Ford Global Technologies, Llc | Method and apparatus for testing a driver assistance system |
CN110887518A (en) * | 2018-09-11 | 2020-03-17 | 广州汽车集团股份有限公司 | Test method of combination instrument |
JP6667706B1 (en) * | 2019-09-30 | 2020-03-18 | 株式会社小野測器 | Vehicle test system |
CN111006687A (en) * | 2019-10-15 | 2020-04-14 | 惠州市德赛西威汽车电子股份有限公司 | Vehicle-mounted instrument and central control interactive control testing system and method based on LabVIEW |
CN112182785A (en) * | 2020-11-03 | 2021-01-05 | 浙江天行健智能科技有限公司 | Automobile steering wheel force sense modeling method based on data driving |
CN112418230A (en) * | 2020-11-14 | 2021-02-26 | 武汉光庭信息技术股份有限公司 | Automatic testing method and system based on vehicle-mounted display |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110794810A (en) | Method for carrying out integrated test on intelligent driving vehicle | |
US7275184B2 (en) | Software verification method for control units and verification system | |
CN102890503A (en) | Automatic CAN (Controller Area Network) interface function test system and test analysis method | |
CN106338978A (en) | CAN bus communication function test system and test method thereof | |
CN113190454A (en) | Real-vehicle test method and system for vehicle-mounted terminal software | |
US7047174B2 (en) | Method for producing test patterns for testing an integrated circuit | |
CN113567778A (en) | Scene-based real-vehicle automatic testing method for vehicle-mounted information entertainment system | |
CN113835410A (en) | Finished automobile testing method and system based on signal simulation device | |
KR20200101441A (en) | Environmental sensor behavior model | |
CN107885186A (en) | A kind of automatic test approach and system of automotive air-conditioning controller human-computer interaction function | |
CN115237084A (en) | Test method and device for interaction between central control system and instrument and automobile | |
CN110567503A (en) | Automobile instrument testing system and method based on Arduino | |
JP4574894B2 (en) | Program debugging device for semiconductor testing | |
CN112729366B (en) | Test evaluation method and device for weather simulation equipment for automatic driving field test | |
CN214096607U (en) | Integrated test bench for three-electric-system of pure electric vehicle | |
CN112214003B (en) | CANOE-based automatic parking actuator function and performance test system | |
CN109960238B (en) | Automatic test system and method for vehicle diagnostic instrument | |
Naithani et al. | Development of an Automobile Hardware-inthe-Loop Test System with CAN Communication | |
CN111983991B (en) | Debugging method and system for vehicle-mounted micro control unit | |
CN113433921A (en) | Method and device for testing real vehicle function and control equipment | |
CN113758514B (en) | Automatic test method and system for automobile instrument, readable storage medium and vehicle | |
CN116136662B (en) | Vehicle-mounted system simulation platform and testing method and device thereof | |
CN112326221B (en) | Valve clamping stagnation simulation equipment and control method | |
CN209927148U (en) | Automatic test equipment of vehicle navigation | |
Kis et al. | ATS-PCB: An Effective Automated Testing System for Advanced Driver Assistance Systems |
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 |