CN102789409A - Embedded system automation module test method on basis of data communication monitoring - Google Patents
Embedded system automation module test method on basis of data communication monitoring Download PDFInfo
- Publication number
- CN102789409A CN102789409A CN2012102202263A CN201210220226A CN102789409A CN 102789409 A CN102789409 A CN 102789409A CN 2012102202263 A CN2012102202263 A CN 2012102202263A CN 201210220226 A CN201210220226 A CN 201210220226A CN 102789409 A CN102789409 A CN 102789409A
- Authority
- CN
- China
- Prior art keywords
- test
- module
- external control
- control module
- embedded system
- 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
Abstract
The invention discloses an embedded system automation module test method on the basis of the data communication monitoring. The method comprises the following steps of: calling a performance function of each functional module inside a vehicle-mounted automobile sound system by an external control module; and monitoring the communication between sub modules inside the vehicle-mounted automobile sound system and the feedback of various state information by the external control module so as to judge whether the performance functions are correctly implemented. Due to the application of the embedded system automation module test method, not only can the interface test work of each functional module inside the vehicle-mounted automobile sound system be automatically completed, a test result is given and a test report is generated, but also a test engineer can keep mind on the design of the test scheme rather than the repeated manual operation. Moreover, various trace log information in the generated test report is helpful for a development engineer to carry out positioning analysis and solve the problems and is helpful for improving the efficiency of software development.
Description
Technical field
The present invention relates to the automatic test of system, be specifically related to a kind of embedded system robotization module test method based on the data communication monitoring.
Background technology
General present in Automobile Electronic Industry, the functional definition of vehicle-mounted car audio system is basic forming.And the test of vehicle-mounted car audio system still mainly relies on manual test to accomplish, and the test of repeatability has taken a large amount of resources.
Summary of the invention
Problem to the prior art existence; The purpose of this invention is to provide a kind of embedded system robotization module test method based on the data communication monitoring, this method is through the power function of inner each functional module of the vehicle-mounted car audio system of external control module invokes; And come the realization of arbitration functions function whether correct through the communication between inner each sub-module of the vehicle-mounted car audio system of external control module monitors and the feedback of various status informations.
The present invention realizes through following technical scheme:
A kind of embedded system robotization module test method based on the data communication monitoring comprises the steps:
(1) creates test cases storehouse separately according to the design documentation of each functional module;
(2) the internal communication agreement between a kind of external control module of definition and the car audio system;
(3) select test cases, send corresponding order according to the functional module of definition, thereby in equipment under test, call the function corresponding function;
(4) after equipment under test is carried out corresponding function, can feed back corresponding inputoutput data;
(5) inputoutput data that external control module monitors equipment under test feeds back to compares with theoretical (expectation) result in the database, draws test result, writes down current data message if the result is inconsistent and is saved in the test report.
In said a kind of embedded system robotization module test method based on the data communication monitoring; According to the actual form of calling of each power function of car audio system inside, utilize one group of communications protocol between external control module and the vehicle-mounted car audio system to realize calling the power function in the car audio system.
In said a kind of embedded system robotization module test method, utilize the external control module to monitor communication and various data feedback between inner each sub-module of car audio system in real time based on the data communication monitoring.
The present invention is owing to take above technical scheme, and it has the following advantages:
1, can independently accomplish the interface testing work of inner each functional module of vehicle-mounted car audio system, and provide test result generation test report;
2, let the Test Engineer be absorbed in the design of test cases rather than the manual operation of repetition;
3, various trace logs (TRACE LOG) information in the test report that generates helps Developmental Engineer's positioning analysis to deal with problems, and improves software development efficiency.
Description of drawings
Fig. 1 adopts test flow chart of the present invention.
Embodiment
Carry out detailed description below in conjunction with accompanying drawing and embodiment to of the present invention.
As shown in Figure 1, a kind of embedded system robotization module test method based on the data communication monitoring may further comprise the steps:
(1) creates test cases storehouse separately according to the design documentation of each functional module;
(2) the internal communication agreement between a kind of external control module of definition and the car audio system;
(3) select test cases, send corresponding order according to the functional module of definition, thereby in tested functional module, call the function corresponding function;
(4) after tested functional module is carried out corresponding function, can feed back corresponding inputoutput data;
(5) inputoutput data that the tested functional module of external control module monitors feeds back to compares with notional result in the database, draws test result, writes down current data message if the result is inconsistent and is saved in the test report.
Embodiment
For example, to the test of the movement module of automobile audio, the design test case library wherein comprises the test of dish (Eject) function, and concrete steps are following:
(1) testing apparatus sends out dish (Eject) order: 0x11; Equipment under test will call and carry out power function: void mmi_cdp_eject_disc () this moment;
(2) watch-dog receives and writes down article one status information that equipment under test returns in 15ms: 0x20 0x01 0x05;
(3) watch-dog receives and writes down the second status information that equipment under test returns in 540ms: 0x20 0x01 0x01; According to communication protocol definition, receive that article one information shows that the movement broadcast state stops, currently going out dish, receive that second information shows that movement stops to play, currently go out dish and accomplish;
(4) watch-dog writes down out dish (Eject) functional test results for passing through according to the judgement of step 3; Show that test result is failure if the status information that equipment under test returns is incorrect, write down this test result and corresponding trace log (Trace log);
The foregoing description is a preferred implementation of the present invention, and in addition, the present invention can also have other implementations.That is to say that under the prerequisite that does not break away from the present invention's design, any conspicuous replacement also should fall within protection scope of the present invention.
Claims (3)
1. the embedded system robotization module test method based on the data communication monitoring comprises the steps:
(1) creates test cases storehouse separately according to the design documentation of each functional module;
(2) the internal communication agreement between a kind of external control module of definition and the car audio system;
(3) select test cases, send corresponding order according to the functional module of definition, thereby in tested functional module, call the function corresponding function;
(4) after tested functional module is carried out corresponding function, can feed back corresponding inputoutput data;
(5) inputoutput data that external control module monitors equipment under test feeds back to compares with notional result in the database, draws test result, writes down current data message if the result is inconsistent and is saved in the test report.
2. according to claims 1 described a kind of embedded system robotization module test method based on the data communication monitoring; It is characterized in that the actual form of calling, utilize one group of communications protocol between external control module and the vehicle-mounted car audio system to realize calling the power function in the car audio system according to each power function of car audio system inside.
3. according to claims 1 said a kind of embedded system robotization module test method based on the data communication monitoring, its characteristic use external control module is monitored communication and the various data feedback between inner each sub-module of car audio system in real time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102202263A CN102789409A (en) | 2012-06-29 | 2012-06-29 | Embedded system automation module test method on basis of data communication monitoring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102202263A CN102789409A (en) | 2012-06-29 | 2012-06-29 | Embedded system automation module test method on basis of data communication monitoring |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102789409A true CN102789409A (en) | 2012-11-21 |
Family
ID=47154816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102202263A Pending CN102789409A (en) | 2012-06-29 | 2012-06-29 | Embedded system automation module test method on basis of data communication monitoring |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102789409A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015097587A1 (en) * | 2013-12-23 | 2015-07-02 | International Business Machines Corporation | Creating trace data from recent software output and activity |
CN105339901A (en) * | 2013-04-20 | 2016-02-17 | 肯赛里克斯公司 | Tracer list for automatically controlling tracer behavior |
US9767006B2 (en) | 2013-02-12 | 2017-09-19 | Microsoft Technology Licensing, Llc | Deploying trace objectives using cost analyses |
US9772927B2 (en) | 2013-11-13 | 2017-09-26 | Microsoft Technology Licensing, Llc | User interface for selecting tracing origins for aggregating classes of trace data |
US9804949B2 (en) | 2013-02-12 | 2017-10-31 | Microsoft Technology Licensing, Llc | Periodicity optimization in an automated tracing system |
US9864672B2 (en) | 2013-09-04 | 2018-01-09 | Microsoft Technology Licensing, Llc | Module specific tracing in a shared module environment |
CN108009088A (en) * | 2017-11-30 | 2018-05-08 | 惠州市德赛西威汽车电子股份有限公司 | A kind of automatization test system of underlying protocol |
US10178031B2 (en) | 2013-01-25 | 2019-01-08 | Microsoft Technology Licensing, Llc | Tracing with a workload distributor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101162146A (en) * | 2007-02-01 | 2008-04-16 | 厦门雅迅网络股份有限公司 | Method for searching interest points according to the first letter of phonation in networking vehicle mounted guidance apparatus |
CN101764641A (en) * | 2009-12-22 | 2010-06-30 | 上海磁浮交通发展有限公司 | Train and ground wireless communication synchronous evaluating system and method |
CN102004489A (en) * | 2010-10-15 | 2011-04-06 | 北京交通大学 | Test system and method of data-driven vehicle-mounted operation control system |
-
2012
- 2012-06-29 CN CN2012102202263A patent/CN102789409A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101162146A (en) * | 2007-02-01 | 2008-04-16 | 厦门雅迅网络股份有限公司 | Method for searching interest points according to the first letter of phonation in networking vehicle mounted guidance apparatus |
CN101764641A (en) * | 2009-12-22 | 2010-06-30 | 上海磁浮交通发展有限公司 | Train and ground wireless communication synchronous evaluating system and method |
CN102004489A (en) * | 2010-10-15 | 2011-04-06 | 北京交通大学 | Test system and method of data-driven vehicle-mounted operation control system |
Non-Patent Citations (1)
Title |
---|
章慧,张勇: "CTCS3级列控系统车载设备测试方法研究", 《铁路计算机应用》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10178031B2 (en) | 2013-01-25 | 2019-01-08 | Microsoft Technology Licensing, Llc | Tracing with a workload distributor |
US9767006B2 (en) | 2013-02-12 | 2017-09-19 | Microsoft Technology Licensing, Llc | Deploying trace objectives using cost analyses |
US9804949B2 (en) | 2013-02-12 | 2017-10-31 | Microsoft Technology Licensing, Llc | Periodicity optimization in an automated tracing system |
CN105339901A (en) * | 2013-04-20 | 2016-02-17 | 肯赛里克斯公司 | Tracer list for automatically controlling tracer behavior |
US9864672B2 (en) | 2013-09-04 | 2018-01-09 | Microsoft Technology Licensing, Llc | Module specific tracing in a shared module environment |
US9772927B2 (en) | 2013-11-13 | 2017-09-26 | Microsoft Technology Licensing, Llc | User interface for selecting tracing origins for aggregating classes of trace data |
WO2015097587A1 (en) * | 2013-12-23 | 2015-07-02 | International Business Machines Corporation | Creating trace data from recent software output and activity |
US10049027B2 (en) | 2013-12-23 | 2018-08-14 | International Business Machines Corporation | Creating trace data from recent software output and activity |
US10095604B2 (en) | 2013-12-23 | 2018-10-09 | International Business Machines Corporation | Creating trace data from recent software output and activity |
US10331544B2 (en) | 2013-12-23 | 2019-06-25 | International Business Machines Corporation | Creating trace data from recent software output and activity |
CN108009088A (en) * | 2017-11-30 | 2018-05-08 | 惠州市德赛西威汽车电子股份有限公司 | A kind of automatization test system of underlying protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102789409A (en) | Embedded system automation module test method on basis of data communication monitoring | |
CN103744761A (en) | Method and system for controlling multiple mobile terminals to automatically execute tasks | |
CN102967815B (en) | Chip testing method, automated testing equipment and system | |
CN102566564B (en) | Vehicle-mounted controller testing system | |
US20150318935A1 (en) | Apparatus and method for testing | |
CN104483959A (en) | Fault simulation and test system | |
CN104933174A (en) | Method for solving model adaption problem of mobile phone APP (Application) on the basis of automatic traversal of control | |
CN104198868A (en) | Intelligent tool capable of being flexibly expanded and dynamically configured | |
CN102214140B (en) | Method and system for automatic software testing | |
CN104699598A (en) | Automatic testing method, device, equipment and system | |
CN103200259A (en) | Massive information push method of vehicle-mounted terminal and massive information push device of vehicle-mounted terminal | |
US20090036115A1 (en) | System and method for testing gsm modules | |
CN105988904A (en) | Self-adaptive testing method and system | |
CN101771894A (en) | Testing system and method for recording track of remote controller and digital television receiving terminal | |
TW200719140A (en) | Automatic testing system and method | |
CN112631937A (en) | Automatic CAN operation testing method and device for T-Box | |
CN105279077A (en) | Method and device for automated testing | |
CN102647293B (en) | The automatic filling mining method and device of telecom network management system north orientation FTP performance files | |
CN104424098A (en) | Application test method and application testing device | |
CN105095063A (en) | Application program testing method, apparatus and system | |
CN103425123A (en) | Automated testing method for CAN (controller area network) bus based on software script | |
CN104834586A (en) | Automatic test method, device and system of Android interface | |
CN114625664A (en) | Automatic testing method, device, equipment and storage medium | |
CN116107893A (en) | Heterogeneous platform embedded software test verification system and method | |
CN114385258B (en) | Automatic test method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20121121 |