CN208956067U - A kind of car-mounted terminal wireless telecommunication protocol automation test macro - Google Patents

A kind of car-mounted terminal wireless telecommunication protocol automation test macro Download PDF

Info

Publication number
CN208956067U
CN208956067U CN201821391668.3U CN201821391668U CN208956067U CN 208956067 U CN208956067 U CN 208956067U CN 201821391668 U CN201821391668 U CN 201821391668U CN 208956067 U CN208956067 U CN 208956067U
Authority
CN
China
Prior art keywords
test
car
protocol
mounted terminal
communication device
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
CN201821391668.3U
Other languages
Chinese (zh)
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.)
FAW Jiefang Automotive Co Ltd
Original Assignee
FAW Jiefang Automotive 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 FAW Jiefang Automotive Co Ltd filed Critical FAW Jiefang Automotive Co Ltd
Priority to CN201821391668.3U priority Critical patent/CN208956067U/en
Application granted granted Critical
Publication of CN208956067U publication Critical patent/CN208956067U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The utility model discloses a kind of car-mounted terminal wireless telecommunication protocol automation test macro and methods;Test macro includes: master control set, programmable power supply, wireless communication device, GPS simulator, CAN communication device;Master control set is connect with programmable power supply, wireless communication device, GPS simulator respectively by Ethernet, and master control set is connect by USB interface with CAN communication device, is carried out test data interaction and is transmitted with instruction;Programmable power supply provides power input by power supply line for car-mounted terminal;Wireless communication device is connect with car-mounted terminal by 4G radio frequency line and carries out data interaction;GPS simulator is connect with car-mounted terminal by GPS radio frequency line to transmit GPS position information;CAN communication device is connect with car-mounted terminal by CAN bus to transmit CAN signal;The utility model improves Test coverage degree and accuracy independent of real vehicles and backstage environment.Simultaneously can automated execution test case and result judgement, improve testing efficiency.

Description

A kind of car-mounted terminal wireless telecommunication protocol automation test macro
Technical field
The utility model relates to a kind of automatization test systems, and in particular to a kind of car-mounted terminal wireless telecommunication agreement Automatization test system and method.
Background technique
With gradualling mature for car networking technology, automobile becomes more and more open from an independent closed entirety.Existing rank Section, most online vehicles by installing wireless vehicle mounted terminal (Telematics Box, abbreviation T-box), realize vehicle data and The exchange of teledata.General car-mounted terminal need to support a variety of local and remote communication modes, comprising: interior CAN bus is accessed, It is communicated with interior ECU;Receive the position signal of GPS positioning satellite;4G network is accessed, is communicated with vehicle background server.Wherein, Car-mounted terminal and background communication need to meet telecommunication protocol requirement, pass down for realizing vehicle data collection, remote command, vehicle Management and configuration etc. remote functionalities.Currently, all new energy vehicles must satisfy national standard, " GB/T32960 electric car is long-range Service and management System Technical Specification ", it is communicated according to the communication protocol of national standard with backstage.
Therefore, it is the correct realization for guaranteeing car networking function, needs to verify the consistency of its telecommunication protocol.
It is by true communication environment: in CAN bus at present to the test method of car-mounted terminal telecommunication protocol True ECU is connected, by GPS connection position location satellite, true backstage is accessed by 4G.All kinds of car networking functions are triggered manually, are led to Cross the correctness of functional test results indirectly testing communication protocol.
This test method has the following problems: dependent on the development progress of vehicle and car networking system, intervention time compared with Evening replaces communication protocol to test by way of function debugging;Under actual communication environment, section communication agreement is difficult to trigger, Positive test cannot be covered;Under actual communication environment, the abnormality of communication link and data cannot be manufactured, mistake cannot be covered The test of effect mode;Manual authentication mode efficiency is lower, it cannot be guaranteed that high-precision and reliability requirement.
Summary of the invention
Technical problem to be solved by the utility model is: providing a kind of raising car-mounted terminal wireless communication protocol testing efficiency With the car-mounted terminal wireless telecommunication protocol automation test macro and method of Test coverage degree.
The technical solution adopted in the utility model are as follows:
A kind of car-mounted terminal wireless telecommunication protocol automation test macro, comprising: master control set, programmable power supply, nothing Line communication device, GPS simulator, CAN communication device and test vehicle terminal;
The master control set is connect with programmable power supply, wireless communication device, GPS simulator respectively by Ethernet, The master control set is connect by USB interface with CAN communication device, is carried out test data interaction and is transmitted with instruction;
The programmable power supply provides power input by power supply line for car-mounted terminal;
The wireless communication device is connect with car-mounted terminal by 4G radio frequency line and carries out data interaction;
The GPS simulator is connect with car-mounted terminal by GPS radio frequency line to transmit GPS position information;
The CAN communication device is connect with car-mounted terminal by CAN bus to transmit CAN signal;
The master control set, for configuring test vehicle terminal and communication protocol by test and management module, selection is related Test case automatically configures corresponding test script library according to the test case of selection, generates dependence test script, holds automatically Row test script inputs drive control programmable power supply according to the test of test script as the power supply of test vehicle terminal, controls simultaneously Wireless communication device, GPS simulator and CAN communication device are communicated with car-mounted terminal, by wireless communication device, are received The communication protocol data that car-mounted terminal is sent, whether the communication protocol data for judging that car-mounted terminal is sent is consistent with expected results, Test report is automatically generated according to test result;
The programmable power supply, for test vehicle terminal provisioning power supply;
The wireless communication device, for sending the relevant communication protocol data of master control set test script to test vehicle Terminal, and the communication protocol data of test vehicle terminal is received to master control set;
The GPS simulator, for sending the relevant GPS positioning data of master control set test script to test vehicle end End;
The CAN communication device, for sending the relevant car CAN emulation data of master control set test script to tested vechicle Mounted terminal, and the CAN data of test vehicle terminal are received to master control set.
Master control set described in technical solution includes test and management module, test script library module, test script execution mould Block and hardware controls drive module;
The test and management module generates test case for receiving test configurations information, and whole based on test vehicle Communication protocol test result is held to generate test report;
The test script library module, for establishing and storing category of test that test vehicle terminal is tested and corresponding Test case;
The test script execution module, the test case for being generated according to the test and management module, configuration test Script bank generates corresponding test script, and executes the test script, generates each communication interface according to test script input and sends Data;And for the received car-mounted terminal wireless communication data of institute to be compared with the default reply data, and it is based on Comparison result generates corresponding test result, and the test result is sent to the test and management module;
The hardware controls drive module, for according to test script, controlling the programmable power supply to be to be tested vehicle-mounted end End power supply, and control wireless communication device, GPS simulator and CAN communication device and send test input to test vehicle terminal Data, and receive the wireless communication protocol data of car-mounted terminal transmission.
It include following classification: base communications protocol test script library, vehicle control in test script library described in technical solution Class protocol test script bank processed, vehicle management class protocol test script bank, information collection class protocol test script bank, multimedia class Protocol test script bank, voice messaging class protocol test script bank and transport protocol test script library.
Base communications protocol test script library described in technical solution includes following category of test: connection communication, encryption are logical Letter, heartbeat message and Message Processing;
The vehicle control protocol test script bank includes following category of test: long-range control, remote diagnosis and long-range mark It is fixed;
The vehicle management class protocol test script bank includes following category of test: Remote configuration, is rung at negative response traversal Answer time-out and null response;
The information collection class protocol test script bank includes following category of test: location information reports, on information of vehicles Report, event information reports and fault information reporting;
The multimedia class protocol test script bank include following category of test: multi-medium data transmission, order issue and Storing data retrieval;
The voice messaging class protocol test script bank includes following category of test: telephone order and information command;
The transport protocol test script library includes following category of test: single packet transmission, more packet transmission, event argument and mistake Effect processing.
A kind of car-mounted terminal wireless telecommunication protocol automation test method, comprising: the vehicle of configuration test vehicle terminal Type information and communication protocol type.Relevant test case is shown according to configuration protocol association, and tester passes through interface The test case needed to be implemented is selected, according to test configurations information and test case information, from configuration test script library module It generates and executes test script.Compiler test script, and automated execution is tested.During the test, it automatically controls to tested vechicle Mounted terminal provides power supply and wireless communication protocol test data is sent to car-mounted terminal and receives its transmission according to test script Wireless communication data, GPS test emulation is sent to car-mounted terminal, will test CAN message be sent to test vehicle terminal simultaneously Receive the CAN message of its transmission.In measuring executing process, the wireless communication data and test script sent according to car-mounted terminal is pre- Issue generates according to being compared and shows test result (PASS/FAIL).According to test result, test report is automatically generated.
Optionally, include following classification in the test script library: base communications protocol test, vehicle control class agreement are surveyed Examination, vehicle management class protocol test, information collection class protocol test, multimedia class protocol test, voice messaging class protocol test It is tested with transport protocol.
Optionally, the base communications protocol test script library include following category of test: connection communication, coded communication, Heartbeat message and Message Processing.
The vehicle control protocol test script bank includes following category of test: long-range control, remote diagnosis and long-range mark It is fixed.
The vehicle management class protocol test script bank includes following category of test: Remote configuration, is rung at negative response traversal Answer time-out and null response.
The information collection class protocol test script bank includes following category of test: location information reports, on information of vehicles Report, event information reports and fault information reporting.
The multimedia class protocol test script bank include following category of test: multi-medium data transmission, order issue and Storing data retrieval.
The voice messaging class protocol test script bank includes following category of test: telephone order and information command.
The transport protocol test script library includes following category of test: single packet transmission, more packet transmission, event argument and mistake Effect processing.
A kind of test method of car-mounted terminal wireless telecommunication protocol automation test macro, comprising the following steps:
S100: by configuring test vehicle terminal and communication protocol, the use-case information of configuration wireless communication protocol test is raw At execution wireless communication protocol test case;According to the use-case information that wireless communication protocol is tested, test script library is configured, is generated Dependence test script;
S200: executing test script, control test vehicle terminal power supply automatically, and the test generated according to script inputs number According to sending the data of wireless communication protocol test to car-mounted terminal wireless communication interface, send GPS emulation location data to vehicle-mounted Terminal GPS communication interface sends CAN test data to car-mounted terminal CAN communication interface;
S300: in test process, receiving the wireless communication data of car-mounted terminal, carries out with the anticipated output in test script Compare, generates test result data;
S400: according to test result data, test report is automatically generated.
The classification of the wireless communication protocol test includes following classification: base communications protocol test, vehicle control class association Discuss test, vehicle management class protocol test, information collection class protocol test, multimedia class protocol test, voice messaging class agreement Test and transport protocol test.
The base communications protocol test includes following test case: connection communication, coded communication, heartbeat message and message Processing;
The vehicle control protocol test includes following test case: long-range control, remote diagnosis and long-range calibration;
The vehicle management class protocol test includes following test case: therefore Remote configuration, negative response traverse, response is super When and null response;
The information collection class protocol test includes following test case: location information reports, information of vehicles reports, event Information reporting and fault information reporting;
The multimedia class protocol test includes following test case: multi-medium data transmission, order issue and store number According to retrieval;
The voice messaging class protocol test includes following test case: telephone order and information command;
The transport protocol test includes following test case: at single packet transmission, more packet transmission, event argument and failure Reason.
Compared with prior art, car-mounted terminal wireless telecommunication protocol automation test macro provided by the utility model It can be in vehicle and car networking system initial stage of development, at CAN, GPS and wireless simulation communication environment, to car-mounted terminal radio remote Journey communication protocol carries out automatic test, independent of real vehicles and backstage environment, improves Test coverage degree and accuracy.Together When can automated execution test case and result judgement, improve testing efficiency.
Detailed description of the invention
Fig. 1 is the structural representation of car-mounted terminal wireless telecommunication protocol automation test macro described in the utility model Figure;
Fig. 2 is the master control set of car-mounted terminal wireless telecommunication protocol automation test macro described in the utility model Structural schematic diagram;
Fig. 3 is the master control set of car-mounted terminal wireless telecommunication protocol automation test macro described in the utility model The structural schematic diagram of test script library module;
Fig. 4 is that the process of car-mounted terminal wireless telecommunication protocol automation test macro described in the utility model is illustrated Figure.
Specific embodiment
In order to make the technical problems, technical solutions and advantages to be solved by the utility model clearer, below in conjunction with attached drawing And specific embodiment is described in detail.
As shown in Figure 1, the utility model embodiment provides car-mounted terminal wireless telecommunication protocol automation test macro, It include: master control set 101, programmable power supply 102, wireless communication device 103, GPS simulator 104,105 and of CAN communication device Test vehicle terminal 106.
Wherein, the master control set generates test case for receiving test configurations information, and the test based on generation is used Example, configuration test script library generates corresponding test script, and executes the test script, is generated according to test script input each logical Believe interface testing data, and the interior CAN emulation data that script generates be sent to CAN bus by CAN communication device 105, The GPS location emulation data that script generates are sent to GPS radio frequency line by GPS simulator 104, script are generated wireless Device 103 is sent to less radio-frequency line to simulation data by wireless communication.
The car CAN emulates data, and the interior ECU including being sent to test vehicle terminal 106 according to test script is imitative True message;
The GPS location emulation data include the GPS location letter that test vehicle terminal 106 is sent to according to test script Breath;
The wireless communication protocol data include that the wireless communication association of test vehicle terminal 106 is sent to according to test script Discuss data.
The programmable power supply 102, for supplying power supply to test vehicle terminal 106.
The wireless communication device 103 is for sending the relevant communication protocol data of 101 test script of master control set to quilt Measuring car mounted terminal 106, and the communication protocol data of test vehicle terminal 106 is received to master control set 101.
The GPS simulator 104, for sending the relevant GPS positioning data of 101 test script of master control set to tested Car-mounted terminal 106.
The CAN communication device 105 for send the relevant car CAN of 101 test script of master control set emulate data to Test vehicle terminal 106, and the CAN data of test vehicle terminal 106 are received to master control set 101.
In addition, the master control set 101 is also used to, by the received 106 wireless protocol communications data of test vehicle terminal of institute It is compared with the preset data, and generates corresponding test report based on comparative result.
Car-mounted terminal wireless telecommunication protocol automation test macro provided by the embodiment of the utility model can be in vehicle And car networking system initial stage of development, at CAN, GPS and wireless simulation communication environment, to car-mounted terminal wireless telecommunication assist View carries out automatic test, independent of real vehicles and backstage environment, improves Test coverage degree and accuracy.It simultaneously can be certainly Dynamicization implementation of test cases and result judgement, improve testing efficiency.
Specifically, as shown in Fig. 2, the master control set may include test and management module, test script execution module, test Script library module and hardware controls drive module.
Further, the test and management module, for matching to test vehicle terminal and telecommunication protocol information It sets and manages, to generate the test configurations information and test case information, the configuration and management are specific can include: tested whole End configuration, communication protocol configuration, test case configuration, test parameter configuration, test terminal management, test record report management and Tester's management etc..In addition, test and management module, which is also used for the test result based on the test vehicle terminal, generates test Report and offer user interface, the information such as test configurations are shown, in order to which user is able to carry out corresponding operation.It surveys Example information on probation can be selected in test script library module, if not whole with test vehicle in test script library module The corresponding test case of the wireless communication protocol at end can then be generated by way of newly-built.The one of the utility model In a example, test and management module can be used such as perseverance profit science and technology INTA software and execute.
Further, the test script execution module, the test for being configured according to the test and management module are matched Confidence breath and test case information, configuration test script library generate test script, generate each communication according to test script input and connect Mouth sends data.Corresponding test case is compiled executable program by the test script.In addition, the test script executes Tested vechicle car-mounted terminal 106 is also sent wireless communication protocol data and is compared with default reply data by module, comparison result Content includes: communications protocol format consistency, communication protocol content consistency, communication protocol policy consistency, crash handling one Cause property etc..And corresponding test result is generated based on comparative result, and the test result is sent to the test and management Test result is embedded into test report template by module, test and management module, to automatically generate and the test result phase Corresponding test report.Test script execution module is generating test script based on test configurations information and test case information When, it can be selected from test script library module, if the not nothing with test vehicle terminal in test script library module The corresponding test case of line communication protocol can then be generated by way of newly-built.Test script execution module compare by Measuring car mounted terminal whether according to communication protocol logic of propositions send wireless communication data, to verify the consistency of communication protocol. In an example of the utility model, permanent profit science and technology INTES software is can be used to execute in test script execution module.
Further, the test script library module, program text of the test script based on permanent profit science and technology INTES software programming Part, for test case sequencing will to be corresponded to.In an example of the utility model, as shown in figure 3, the Base communication is assisted Discussing test script library includes following category of test: connection communication, coded communication, heartbeat message and Message Processing.The vehicle control Protocol test script bank processed includes following category of test: long-range control, remote diagnosis and long-range calibration.The vehicle management class association Discussing test script library includes following category of test: Remote configuration, negative response traversal, response timeout and null response.The letter Breath acquisition class protocol test script bank includes following category of test: location information reports, information of vehicles reports, event information reports And fault information reporting.The multimedia class protocol test script bank includes following category of test: multi-medium data transmission, order It issues and is retrieved with storing data.The voice messaging class protocol test script bank includes following category of test: telephone order and letter Breath instruction.The transport protocol test script library includes following category of test: single packet transmission, more packet transmission, event argument and mistake Effect processing.In this way, the car-mounted terminal wireless telecommunication protocol automation test macro that the example of the utility model provides can be covered All kinds of protocol messages test in lid car-mounted terminal wireless communication protocol, including being difficult to the positive survey covered under actual communication environment The negative tests such as examination and failure mode.
Further, the hardware controls drive module is provided for controlling the programmable power supply for test vehicle terminal Power supply power supply controls the wireless communication device and is carried out wireless communication by radio frequency line and test vehicle terminal, controls the GPS Simulator sends GPS emulation location information to car wireless terminal by radio frequency line, controls the CAN communication device and passes through CAN bus and test vehicle terminal carry out CAN communication, and drive module may include power supply control driving unit, wireless communication driving Unit, GPS Simulation drive unit and CAN communication driving unit.In an example of the utility model, hardware controls drive mould The driving journey such as INTES software transfer programmable power supply, wireless communication device, GPS simulator and CAN communication device can be used in block Sequence executes.
In the present invention, master control set 101 can be industrial application computer or PC machine.Programmable power supply 102 can be Programmable power supply, the e.g. power supply of the model N6702 of Deco skill, the power control can be with the power supplys of offer 220V power supply Supply equipment connection, provides power supply for test vehicle terminal.Wireless communication device 103 can be the channel radio of support 4G simulation communication Comprehensive tester is believed, for example, the CMW500 comprehensive test instrument of R&S.GPS simulator 104 can be the wireless arrow of support GPS positioning emulation Signal generator is measured, for example, the SMBV100A of R&S.CAN communication device 105 can be the CAN emulating instrument of support CAN communication, example Such as, the Vector VN1640 of CANoe software is supported.Wherein, master control set 101 can pass through Ethernet interface and programmable power supply 102 Connection, can be connect with wireless communication device by Ethernet interface, can be connect by Ethernet interface with wireless communication device, can It is connect by USB interface with CAN communication device 105.KL30, KL15 of programmable power supply output power supply and test vehicle terminal 106 It is connected with GND pin, wireless communication device 103 connects the wireless communication interface of car-mounted terminal, GPS simulator by radio frequency line 104 connect the GPS communication interface of car-mounted terminal by radio frequency line, and CAN communication device connects the CAN_ of car-mounted terminal by CAN line H and CAN_L pin.
In one exemplary embodiment, car-mounted terminal wireless telecommunication agreement provided by the embodiment of the utility model from The testing process of dynamicization test macro can comprise the following steps that
Step 1: configuration test vehicle terminal and communication protocol.In the vehicle of test and management module configuration test vehicle terminal Type information and communication protocol type.
Step 2: configuration test case and relevant parameter.Test and management module is associated with display phase according to configuration protocol The test case of pass, tester selects the test case needed to be implemented by interface, and configures test parameter: as secondary in executed Number, test depth, communication information test number etc..
Step 3: test and management configures.Pass through interface typing tester's information of test and management module, such as tester Name, department and rank etc.;Typing test vehicle end message, such as diagnostic device manufacturer, soft or hard version number, development phase Deng;Typing test process management: such as testing time, number of rounds of tests and data storage path.
Step 4: generating test script.After test configurations are completed and are issued, test script execution module is matched according to test Confidence breath and test case information, selection executes test script from test script library module, and configures test script parameter.Tool Body, test script execution module configuration diagnostics database generates test script.
Step 5: collector, test execution.After running test script, testing execution module compiler test script, and from Dynamicization executes test, during the test, can control energy supply control module to test vehicle terminal and provide power supply, according to test foot This, wireless communication protocol test data is sent to car-mounted terminal and receives the wireless communication of its transmission by control wireless communication device GPS test emulation is sent to car-mounted terminal by data, control GPS simulator, and control CAN communication device will test CAN message It is sent to test vehicle terminal and receives the CAN message of its transmission.
Step 6: diagnostic result data record is analyzed.In measuring executing process, according to the wireless communication of car-mounted terminal transmission Data are compared with test script anticipatory data, are generated and are shown test result (PASS/FAIL).
Step 7: generating test report.Test result is uploaded to test and management module, test and management by testing execution module Module fills in test result into test report template, automatically generates test report.
Conceived based on same utility model, the utility model embodiment additionally provides a kind of car-mounted terminal wireless telecommunication Protocol automation test method, since the principle of the solved problem of this method is similar to aforementioned test macro, this method Implementation may refer to the implementation of aforementioned test macro, and overlaps will not be repeated.
The embodiments of the present invention also provide a kind of car-mounted terminal wireless telecommunication protocol automation test method, such as Shown in Fig. 4, it the described method comprises the following steps:
S100, by configuring test vehicle terminal and communication protocol, configure test case information, generate and execute test and use Example.According to test case information, test script library is configured, generates dependence test script;
S200, test script, control test vehicle terminal power supply are executed automatically, the test generated according to script inputs number According to transmission wireless communication protocol test data to car-mounted terminal wireless communication interface sends GPS emulation location data to vehicle-mounted end GPS communication interface is held, sends CAN test data to car-mounted terminal CAN communication interface.The wireless communication protocol test data packet Include various types of messages data in test vehicle terminal wireless communication agreement;
In S300, test process, the wireless communication data of car-mounted terminal is received, is carried out with the anticipated output in test script Compare, generates test result data;
S400, according to test result data, automatically generate test report.
Further, the wireless communication protocol category of test includes in following classification: base communications protocol test, vehicle Control class protocol test, vehicle management class protocol test, information collection class protocol test, multimedia class protocol test, voice letter Cease class protocol test and transport protocol test.
Optionally, the base communications protocol test script library include following category of test: connection communication, coded communication, Heartbeat message and Message Processing.The vehicle control protocol test script bank includes following category of test: long-range control is remotely examined Disconnected and long-range calibration.The vehicle management class protocol test script bank includes following category of test: Remote configuration, negative response time It goes through, response timeout and null response.The information collection class protocol test script bank includes following category of test: on location information Report, information of vehicles reports, event information reports and fault information reporting.The multimedia class protocol test script bank includes as follows Category of test: multi-medium data transmission, order are issued to be retrieved with storing data.The voice messaging class protocol test script bank packet Containing following category of test: telephone order and information command.The transport protocol test script library includes following category of test: single packet Transmission, more packet transmission, event argument and crash handling.
Further, the base communications protocol test includes following test case: connection communication, coded communication, heartbeat Message and Message Processing;
The vehicle control protocol test includes following test case: long-range control, remote diagnosis and long-range calibration;
The vehicle management class protocol test includes following test case: therefore Remote configuration, negative response traverse, response is super When and null response;
The information collection class protocol test includes following test case: location information reports, information of vehicles reports, event Information reporting and fault information reporting;
The multimedia class protocol test includes following test case: multi-medium data transmission, order issue and store number According to retrieval;
The voice messaging class protocol test includes following test case: telephone order and information command;
The transport protocol test includes following test case: at single packet transmission, more packet transmission, event argument and failure Reason.
Above steps can realize that details are not described herein by each device above-mentioned.And in the absence of conflict, The features in the embodiments and the embodiments of the present application can be combined with each other.
Embodiment described above, only specific embodiment of the present utility model, to illustrate the technology of the utility model Scheme, rather than its limitations, the protection scope of the utility model are not limited thereto, although practical to this with reference to the foregoing embodiments It is novel to be described in detail, those skilled in the art should understand that: any technology people for being familiar with the art Member within the technical scope disclosed by the utility model, can still modify to technical solution documented by previous embodiment Or variation or equivalent replacement of some of the technical features can be readily occurred in;And these modifications, variation or replacement, The spirit and scope for the utility model embodiment technical solution that it does not separate the essence of the corresponding technical solution.Should all it cover at this Within the protection scope of utility model.Therefore, the protection scope of the utility model should be with the scope of protection of the claims It is quasi-.

Claims (5)

1. a kind of car-mounted terminal wireless telecommunication protocol automation test macro, it is characterised in that: including master control set, program-controlled Power supply, wireless communication device, GPS simulator, CAN communication device and test vehicle terminal;
The master control set is connect with programmable power supply, wireless communication device, GPS simulator respectively by Ethernet, described Master control set is connect by USB interface with CAN communication device, is carried out test data interaction and is transmitted with instruction;
The programmable power supply provides power input by power supply line for car-mounted terminal;
The wireless communication device is connect with car-mounted terminal by 4G radio frequency line and carries out data interaction;
The GPS simulator is connect with car-mounted terminal by GPS radio frequency line to transmit GPS position information;
The CAN communication device is connect with car-mounted terminal by CAN bus to transmit CAN signal.
2. car-mounted terminal wireless telecommunication protocol automation test macro according to claim 1, it is characterised in that:
The master control set selects dependence test for configuring test vehicle terminal and communication protocol by test and management module Use-case automatically configures corresponding test script library according to the test case of selection, generates dependence test script, executes survey automatically Training sheet inputs drive control programmable power supply according to the test of test script as the power supply of test vehicle terminal, while controlling wireless Communication device, GPS simulator and CAN communication device are communicated with car-mounted terminal, by wireless communication device, are received vehicle-mounted The communication protocol data that terminal is sent, whether the communication protocol data for judging that car-mounted terminal is sent is consistent with expected results, according to Test result automatically generates test report;
The programmable power supply, for test vehicle terminal provisioning power supply;
The wireless communication device, for sending the relevant communication protocol data of master control set test script to test vehicle end End, and the communication protocol data of test vehicle terminal is received to master control set;
The GPS simulator, for sending the relevant GPS positioning data of master control set test script to test vehicle terminal;
The CAN communication device, for sending the relevant car CAN emulation data of master control set test script to test vehicle end End, and the CAN data of test vehicle terminal are received to master control set.
3. car-mounted terminal wireless telecommunication protocol automation test macro according to claim 1 or 2, feature exist In:
The master control set includes that test and management module, test script library module, test script execution module and hardware controls are driven Dynamic model block;
The test and management module generates test case for receiving test configurations information, and logical based on test vehicle terminal Believe that protocol test result generates test report;
The test script library module, for establishing and storing the category of test and corresponding survey that test vehicle terminal is tested Example on probation;
The test script execution module, the test case for being generated according to the test and management module configure test script Library generates corresponding test script, and executes the test script, generates each communication interface according to test script input and sends data; And for the received car-mounted terminal wireless communication data of institute to be compared with default reply data, and give birth to based on comparative result The test and management module is sent at corresponding test result, and by the test result;
The hardware controls drive module, for according to test script, controlling the programmable power supply to be that tested car-mounted terminal supplies Electricity, and control wireless communication device, GPS simulator and CAN communication device and send test input data to test vehicle terminal, And receive the wireless communication protocol data of car-mounted terminal transmission.
4. car-mounted terminal wireless telecommunication protocol automation test macro according to claim 3, it is characterised in that:
It include following classification: base communications protocol test script library, vehicle control class protocol test foot in the test script library This library, vehicle management class protocol test script bank, information collection class protocol test script bank, multimedia class protocol test script Library, voice messaging class protocol test script bank and transport protocol test script library.
5. car-mounted terminal wireless telecommunication protocol automation test macro according to claim 4, it is characterised in that:
The base communications protocol test script library includes following category of test: connection communication, coded communication, heartbeat message and being disappeared Breath processing;
The vehicle control class protocol test script bank includes following category of test: long-range control, remote diagnosis and long-range calibration;
The vehicle management class protocol test script bank includes following category of test: Remote configuration, negative response traversal, response are super When and null response;
The information collection class protocol test script bank includes following category of test: location information reports, information of vehicles reports, thing Part information reporting and fault information reporting;
The multimedia class protocol test script bank includes following category of test: multi-medium data transmission, order are issued and are stored Data retrieval;
The voice messaging class protocol test script bank includes following category of test: telephone order and information command;
The transport protocol test script library includes following category of test: at single packet transmission, more packet transmission, event argument and failure Reason.
CN201821391668.3U 2018-08-27 2018-08-27 A kind of car-mounted terminal wireless telecommunication protocol automation test macro Active CN208956067U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821391668.3U CN208956067U (en) 2018-08-27 2018-08-27 A kind of car-mounted terminal wireless telecommunication protocol automation test macro

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821391668.3U CN208956067U (en) 2018-08-27 2018-08-27 A kind of car-mounted terminal wireless telecommunication protocol automation test macro

Publications (1)

Publication Number Publication Date
CN208956067U true CN208956067U (en) 2019-06-07

Family

ID=66736069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821391668.3U Active CN208956067U (en) 2018-08-27 2018-08-27 A kind of car-mounted terminal wireless telecommunication protocol automation test macro

Country Status (1)

Country Link
CN (1) CN208956067U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447105A (en) * 2020-03-11 2020-07-24 湖北亿咖通科技有限公司 Vehicle machine testing method and readable storage medium
CN112141174A (en) * 2020-09-21 2020-12-29 通号城市轨道交通技术有限公司 ZC simulation system and method in VOBC test environment
CN115225552A (en) * 2022-07-29 2022-10-21 重庆长安汽车股份有限公司 Test method, device, equipment and medium for real-time publishing subscription protocol
CN116261165A (en) * 2023-05-09 2023-06-13 江铃汽车股份有限公司 Reliability test method and system for Internet of vehicles module

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111447105A (en) * 2020-03-11 2020-07-24 湖北亿咖通科技有限公司 Vehicle machine testing method and readable storage medium
CN112141174A (en) * 2020-09-21 2020-12-29 通号城市轨道交通技术有限公司 ZC simulation system and method in VOBC test environment
CN112141174B (en) * 2020-09-21 2023-01-20 通号城市轨道交通技术有限公司 ZC simulation system and method in VOBC test environment
CN115225552A (en) * 2022-07-29 2022-10-21 重庆长安汽车股份有限公司 Test method, device, equipment and medium for real-time publishing subscription protocol
CN116261165A (en) * 2023-05-09 2023-06-13 江铃汽车股份有限公司 Reliability test method and system for Internet of vehicles module
CN116261165B (en) * 2023-05-09 2024-02-09 江铃汽车股份有限公司 Reliability test method and system for Internet of vehicles module

Similar Documents

Publication Publication Date Title
CN109039824A (en) A kind of car-mounted terminal wireless telecommunication protocol automation test macro and method
CN208956067U (en) A kind of car-mounted terminal wireless telecommunication protocol automation test macro
CN107491061B (en) A kind of the network automatically test macro and its method of commercial vehicle OBD diagnostic device
CN108227675A (en) Vehicular diagnostic method, device, terminal and computer readable storage medium
CN109740222B (en) Testing device and system for automobile networking scene
CN111024405B (en) Automobile diagnosis method, related device and system
CN113190454A (en) Real-vehicle test method and system for vehicle-mounted terminal software
CN104503424A (en) New energy automobile overall controller and battery controller joint test system
CN105515911A (en) Gateway automatic test system and method of CAN network
CN105765469B (en) Wireless instruments, wireless communication system, wireless module, interface module and communication means
CN107423492B (en) Forklift diagnosis test method and system based on template
CN108255152A (en) Vehicular diagnostic method, diagnosis box and computer readable storage medium
CN202694145U (en) Testing system for main control board
CN115373981A (en) OTA (over the air) automatic testing system and method for finished automobile in production line environment
CN109783063A (en) The Auto-Test System self-check program development approach and device of signal-oriented
CN110647139A (en) Evaluation test tool and evaluation test method for OBD (on-Board diagnostics) mass production vehicle
CN113589786A (en) Whole vehicle fault detection and diagnosis system for new energy automobile
CN103576667A (en) Main control panel test method, device and system
CN110989554B (en) Method for establishing hardware-in-loop test case library of new energy vehicle integrated controller
CN107729035A (en) Distributed battery management system download program and update method
CN216286313U (en) Remote repair test system
CN204347152U (en) A kind of Multi-bus circuit board test diagnosis system
CN203882164U (en) OBD (on-board diagnostics) technology-based motor vehicle real-time monitoring system
CN102075370A (en) Calibration and verification system of engine control model (ECM) communication based on virtual network and virtual node
CN114578786A (en) Vehicle test system

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant