CN109029501A - A kind of full-automation engineering test system and method - Google Patents
A kind of full-automation engineering test system and method Download PDFInfo
- Publication number
- CN109029501A CN109029501A CN201810838745.3A CN201810838745A CN109029501A CN 109029501 A CN109029501 A CN 109029501A CN 201810838745 A CN201810838745 A CN 201810838745A CN 109029501 A CN109029501 A CN 109029501A
- Authority
- CN
- China
- Prior art keywords
- test
- host
- engineering
- automatic
- full
- 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
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C25/00—Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass
Landscapes
- Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of full-automatic engineering test systems, include: to test host, auto navigation host and the interface conversion chip connecting for the test host with the auto navigation host, realizes the transmission of the test host test instruction and receive the feedback information and function tracking information of the auto navigation host.Engineering test full-automation test macro is realized using the technical solution, test accuracy is ensure that, reduces artificial input cost.
Description
Technical field
The present invention relates to automatic field, in particular to a kind of full-automatic engineering test system and method.
Background technique
In auto navigation production process, producing line needs the basic function navigated to every finished product to test, to save
Manpower replaces manually, i.e., sending the handoff protocol at basic function interface by computer using automatization test system, and navigation host is held
Row instruction carries out changing interface, and peripheral equipment obtains the data of navigation host, is back to computer by data collecting card and judged,
This process is known as engineering test.
To guarantee that the software of navigation host can be adapted to engineering test, research staff needs to adjust the software of navigation host
Examination and test verifying it is few, expensive, borrowing time is short due to the equipment of producing line the features such as, research staff can only build manually rack into
Row debugging and test.But engine bench test is built manually and is had the disadvantage in that
One, the debugging tool of computer end can only single be sent to navigation host;
Two, the interval time of testing procedure is inconsistent with producing line, causes result to judge inconsistent;
Three, prolonged performance test can not be carried out;
Four, human input is more, and test coverage not can guarantee.
Summary of the invention
The embodiment of the present invention is designed to provide a kind of full-automatic engineering test system, realizes engineering test entirely certainly
Dynamicization test macro, ensure that test accuracy, reduce artificial input cost.
A kind of full-automatic engineering test system provided in an embodiment of the present invention, comprising: test host, auto navigation master
Machine and the interface conversion chip connecting for the test host with the auto navigation host, realize that the test host is surveyed
It tries the transmission of instruction and receives the feedback information and function tracking information of the auto navigation host.
Optionally, the test host is mounted with Labview test program.
Optionally, the interface conversion chip is FT232, for the test host USB interface and the auto navigation
The conversion of serial port of host computer.
Optionally, after the auto navigation host is realized the reception execution of test instruction and is executed instruction by first serial
Feedback information, pass through second serial feedback function tracking information.
Optionally, the first USB interface of the test host connects the first string of the auto navigation host by FT232
Mouthful, it realizes the transmission of test instruction and receives the feedback information of auto navigation host;The secondary USB interface of the test host is logical
The second serial that FT232 connects the auto navigation host is crossed, realizes the function tracking information for receiving auto navigation host.
It optionally, further include test bracket, the effect of test bracket is to fix auto navigation host.
In addition, the present invention also provides a kind of full-automatic engineering test methods, comprising:
Bring into operation test program, automatic to execute selected functional test use-case into automatic test, according to automobile
The instruction of navigation host feedback carries out judging to execute whether fail, if test does not pass through, records the frequency of failure and saves current
Issue track information, if test, by record total number measured, report file is written in test result;Continue to execute next test
Use-case, when the test case of a function is completed, the test case that can jump to next function is continued to execute, when all tests are used
Example is completed, and can be jumped to first test case and be carried out loop test, stopping key in operation test program can directly terminate
Test.
Optionally, after the test program that brings into operation, into before automatic test, further includes:
Judge whether to be selected as manual debugging mode, if it is manually selects instruction and send, while receiving test host
The information of return;If not then further whether judgement is currently engineering mode, if being currently not engineering mode, weight is needed
Auto navigation host is opened, auto navigation host feedback command is waited to be transmitted into engineering mode if feedback command is correct and refer to
It enables, into engineering mode and automatic test;If being currently engineering mode, it is directly entered automatic test.
It optionally, further include the test case for editing different function before the test program that brings into operation, the test is used
Example arranges for the sequence of the test director data sent and interval time.
It optionally, further include initiating port parameter, the related data of read test use-case before running test program.
Therefore guarantee using the present embodiment technical solution due to realizing engineering test full-automation test macro
Test accuracy, reduces artificial input cost.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is a kind of full-automatic engineering test system schematic provided by the invention;
Fig. 2 is a kind of full-automatic engineering test method flow diagram provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Embodiment:
The present embodiment provides a kind of full-automatic engineering test systems, as shown in Figure 1, comprising: test host 10, automobile are led
Boat host 20 and the interface conversion chip 30 connecting for the test host 10 with the auto navigation host 20, realize institute
It states the transmission of the test test instruction of host 10 and receives the feedback information and function tracking information of the auto navigation host 20.It can
With but be not limited to, the interface conversion chip 30 be FT232, for it is described test host 10 USB interface led with the automobile
The conversion of boat 20 serial ports of host.The auto navigation host 20 realizes that the reception of test instruction is executed and held by first serial 21
Feedback information after row instruction, passes through 22 feedback function tracking information of second serial.First USB interface of the test host 10
11 connect the first serial 21 of the auto navigation host 20 by FT232, realize the transmission of test instruction and receive automobile and lead
The feedback information of boat host 20;The secondary USB interface 12 of the test host 10 connects the auto navigation host by FT232
20 second serial 22 realizes the function tracking information for receiving auto navigation host 20.The test host 10 is mounted with
Labview test program.The Labview test program controls the first usb 11 and secondary USB interface 12, by the first USB
Interface 11 is realized the transmission of test instruction and receives automobile and led by the first serial 21 of FT232 connection auto navigation host 20
The feedback information of boat host 20, it is real by secondary USB interface 12 by the second serial 22 of FT232 connection auto navigation host 20
Now receive the function tracking information of auto navigation host 20.
It further include test bracket 40, the effect of test bracket 40 is auto navigation host 20 is fixed, the auto navigation
Host 20 is equipment under test, and supply voltage 12V connects the first serial 21 of auto navigation host 20 and 22 interface of second serial
It is connected to FT232, wherein the effect of FT232 is to realize that USB turns serial ports.The support of the auto navigation host 20 radio reception FM/AM, USB,
The functions such as bluetooth.
The present invention also provides a kind of full-automatic engineering test methods, as shown in Figure 2, comprising:
In the test case of the pre-editing different function for the Labview test program that brings into operation, the test case is hair
The sequence arrangement of the test director data sent and interval time, different function is divided to be stored in labview journey in the form of Excel document
In sequence specified folder.Bring into operation Labview test program, initiating port parameter, the related data of read test use-case.
Judge whether to be selected as manual debugging mode, if it is manually selecting instruction and sending, single step is sent, and is received simultaneously
Test the information that host returns;If not then further whether judgement is currently engineering mode, if being currently not stage die
Formula needs to restart auto navigation host (can feed back an information when auto navigation host-initiated), waits auto navigation host anti-
Feedback instruction is transmitted into engineering mode instruction, into engineering mode and automatic test if feedback command is correct;If worked as
Before be engineering mode, then be directly entered automatic test.
It is automatic to execute selected functional test use-case into automatic test, the finger fed back according to auto navigation host
Order carries out judging to execute whether fail, if test does not pass through, records the frequency of failure and saves current problem tracking information, if
Report file is written by record total number measured, test result in test, and report file is stored in the form of Excel document
In labview test program specified folder;Next test case is continued to execute, when the test case of function is completed,
The test case that next function can be jumped to continues to execute, and when the completion of all test cases, can jump to first test case
Loop test is carried out, stopping key in Labview test program is operated, can directly terminate to test.
The present invention completes engineering test full-automation test macro using the cooperation of Labview test program, realizes engineering
The full-automatic test of test is, it can be achieved that the automatic execution of test case and manual single-step debug, result judgement, issue track information
Interception and report automatic output, can accurate testing time, also can reach manual operation limit time test, complete durable survey
Examination and pressure test.Manpower is largely saved, testing efficiency is promoted, promote the accuracy of test and reduces testing cost.
Embodiments described above does not constitute the restriction to the technical solution protection scope.It is any in above-mentioned implementation
Made modifications, equivalent substitutions and improvements etc., should be included in the protection model of the technical solution within the spirit and principle of mode
Within enclosing.
Claims (10)
1. a kind of full-automation engineering test system characterized by comprising test host, auto navigation host and be used for institute
The interface conversion chip that test host is connect with the auto navigation host is stated, realizes the transmission of the test host test instruction
And receive the feedback information and function tracking information of the auto navigation host.
2. a kind of full-automatic engineering test system as described in claim 1, which is characterized in that the test host is mounted with
Labview test program.
3. a kind of full-automatic engineering test system as claimed in claim 1 or 2, which is characterized in that the interface conversion core
Piece is FT232, the conversion for the test host USB interface and the auto navigation serial port of host computer.
4. a kind of full-automatic engineering test system as claimed in claim 3, which is characterized in that the auto navigation host is logical
Cross first serial and realize that the reception of test instruction executes and the feedback information after executing instruction, by second serial feedback function with
Track information.
5. a kind of full-automatic engineering test system as claimed in claim 4, which is characterized in that the first of the test host
USB interface connects the first serial of the auto navigation host by FT232, realizes the transmission of test instruction and receives automobile and leads
The feedback information of boat host;The secondary USB interface of the test host connects the second of the auto navigation host by FT232
Serial ports realizes the function tracking information for receiving auto navigation host.
6. a kind of full-automatic engineering test system as claimed in claim 5, which is characterized in that further include test bracket, survey
The effect of examination bracket is to fix auto navigation host.
7. a kind of full-automation engineering test method characterized by comprising
Bring into operation test program, automatic to execute selected functional test use-case into automatic test, according to auto navigation
The instruction of host feedback carries out judging to execute whether fail, if test does not pass through, records the frequency of failure and saves current problem
Tracking information, if test, by record total number measured, report file is written in test result;Next test is continued to execute to use
Example, when the test case of a function is completed, the test case that can jump to next function is continued to execute, when all test cases
It completes, first test case can be jumped to and carry out loop test, stopping key in operation test program can directly terminate to survey
Examination.
8. a kind of full-automatic engineering test method as claimed in claim 7, which is characterized in that in the test program that brings into operation
Afterwards, into before automatic test, further includes:
Judge whether to be selected as manual debugging mode, if it is manually select instruction and send, while receiving test host and returning
Information;If not then further whether judgement is currently engineering mode, if being currently not engineering mode, need to restart vapour
Vehicle navigation host waits auto navigation host feedback command, if feedback command is correct, is transmitted into engineering mode instruction, into
Enter engineering mode and automatic test;If being currently engineering mode, it is directly entered automatic test.
9. a kind of full-automatic engineering test method as claimed in claim 8, which is characterized in that in the test program that brings into operation
Before further include edit different function test case, the test case be send test director data sequence arrange and
Interval time.
10. a kind of full-automatic engineering test method as claimed in claim 9, which is characterized in that operation test program it
Before further include initiating port parameter, the related data of read test use-case.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810838745.3A CN109029501A (en) | 2018-07-27 | 2018-07-27 | A kind of full-automation engineering test system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810838745.3A CN109029501A (en) | 2018-07-27 | 2018-07-27 | A kind of full-automation engineering test system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109029501A true CN109029501A (en) | 2018-12-18 |
Family
ID=64645925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810838745.3A Pending CN109029501A (en) | 2018-07-27 | 2018-07-27 | A kind of full-automation engineering test system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109029501A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101509948A (en) * | 2008-10-08 | 2009-08-19 | 上海科世达-华阳汽车电器有限公司 | Automobile electronic test system and test method thereof |
US20090212939A1 (en) * | 2008-02-21 | 2009-08-27 | Richmond Robert C | Dockable wireless remote control |
CN104502743A (en) * | 2014-11-28 | 2015-04-08 | 惠州市亿能电子有限公司 | Automatic testing system and method for power management product based on Labview |
CN105188077A (en) * | 2015-08-12 | 2015-12-23 | 深圳市广和通无线股份有限公司 | Communication module test method and system |
CN108009088A (en) * | 2017-11-30 | 2018-05-08 | 惠州市德赛西威汽车电子股份有限公司 | A kind of automatization test system of underlying protocol |
-
2018
- 2018-07-27 CN CN201810838745.3A patent/CN109029501A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090212939A1 (en) * | 2008-02-21 | 2009-08-27 | Richmond Robert C | Dockable wireless remote control |
CN101509948A (en) * | 2008-10-08 | 2009-08-19 | 上海科世达-华阳汽车电器有限公司 | Automobile electronic test system and test method thereof |
CN104502743A (en) * | 2014-11-28 | 2015-04-08 | 惠州市亿能电子有限公司 | Automatic testing system and method for power management product based on Labview |
CN105188077A (en) * | 2015-08-12 | 2015-12-23 | 深圳市广和通无线股份有限公司 | Communication module test method and system |
CN108009088A (en) * | 2017-11-30 | 2018-05-08 | 惠州市德赛西威汽车电子股份有限公司 | A kind of automatization test system of underlying protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102736615B (en) | Vehicle failure diagnosis method | |
CN109739766B (en) | System and method for rapidly building FPGA digital simulation model | |
CN107038280B (en) | Software and hardware collaborative simulation verification system and method | |
CN103728968B (en) | CAN network and ECU Function Test Automation system | |
CN102331967B (en) | Method for managing chip verification test cases | |
CN105301481A (en) | Circuit testing method and applicable testing system | |
CN101128007A (en) | Testing method for mobile communication terminal | |
CN106407108B (en) | A kind of test method and system of train network logout software | |
WO2011060655A1 (en) | Statistical method and system for software business functional coverage | |
CN103500139A (en) | Communication software integration testing system and method | |
CN111475364A (en) | Method and system for testing system-on-chip | |
CN112532299B (en) | Satellite test automatic execution system based on module splicing | |
CN102234046B (en) | Lift control software field debugging system | |
CN108038054A (en) | A kind of automated testing method and device, computer-readable recording medium | |
CN112596743B (en) | Military FPGA general reconstruction circuit based on JTAG interface | |
CN106611084A (en) | Integrated circuit designing method and apparatus | |
CN102088384B (en) | Standardized multifunctional LXI (LAN based extensions for instrumentation) equipment | |
CN103376340A (en) | Adapter plate, a multi-platform serial test system and method | |
CN109491913A (en) | Battery management system test method and system based on Internet of Things | |
CN114117973A (en) | Logic synthesis method, device and storage medium | |
CN105738739A (en) | Electric power system protective device whole machine intelligent test method and a system | |
CN109029501A (en) | A kind of full-automation engineering test system and method | |
CN114115168A (en) | Fault injection test system | |
CN107404731A (en) | The test system and method for testing of wireless communication module | |
CN115470108A (en) | Gateway route testing method and device for vehicle, electronic 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181218 |
|
RJ01 | Rejection of invention patent application after publication |