Vehicle-mounted communication network simulation test method and system

文档序号:1187821 发布日期:2020-09-22 浏览:12次 中文

阅读说明:本技术 车载通讯网络仿真测试方法及系统 (Vehicle-mounted communication network simulation test method and system ) 是由 姜斌 于 2019-03-14 设计创作,主要内容包括:本发明公开了车载通讯网络仿真测试方法及系统,涉及车载网络仿真测试技术领域。本发明待测车载无线通讯终端接收控制器发送的第一测试指令,将第一测试指令进行解析后获取第二测试指令,然后将第二测试指令发送给仿真装置,以使仿真装置根据第二测试指令中的网络参数进行网络配置,并利用配置后的网络,生成第二测试用例对应的第一应答数据,最终待测车载无线通讯终端对第一应答数据进行解析,将获取的第二应答数据发送给控制器,从控制器根据第一测试用例、第二测试用例、第一应答数据和第二应答数据即可确定待测车载无线通讯终端的性能,通过模拟车辆实际运行中的网络环境,并通过模拟车载无线通讯终端的实际收发流程,使测试结果更准确、更全面,测试成本低。(The invention discloses a vehicle-mounted communication network simulation test method and system, and relates to the technical field of vehicle-mounted network simulation tests. The vehicle-mounted wireless communication terminal to be tested receives a first test instruction sent by a controller, analyzes the first test instruction to obtain a second test instruction, then sends the second test instruction to a simulation device, so that the simulation device carries out network configuration according to network parameters in the second test instruction, generates first response data corresponding to a second test case by using a configured network, finally analyzes the first response data by the vehicle-mounted wireless communication terminal to be tested, sends the obtained second response data to a controller, and can determine the performance of the vehicle-mounted wireless communication terminal to be tested according to the first test case, the second test case, the first response data and the second response data by the controller, and the test result is more accurate by simulating the network environment in the actual operation of the vehicle and simulating the actual transceiving flow of the vehicle-mounted wireless communication terminal, More comprehensive and low test cost.)

1. The vehicle-mounted communication network simulation test method is characterized by comprising the following steps:

the method comprises the steps that a to-be-tested vehicle-mounted wireless communication terminal receives a first test instruction sent by a controller, wherein the first test instruction comprises a first test case and network parameters;

the vehicle-mounted wireless communication terminal to be tested analyzes the first test instruction to obtain a second test instruction, wherein the second test instruction comprises a second test case and network parameters;

the vehicle-mounted wireless communication terminal to be tested sends a second test instruction to the simulation device so that the simulation device can carry out network configuration according to the network parameters, and first response data corresponding to the second test case are generated by using the configured network;

and the to-be-tested vehicle-mounted wireless communication terminal analyzes the first response data returned by the simulation device to obtain second response data, and sends the second response data to the controller, so that the controller determines the performance of the to-be-tested vehicle-mounted wireless communication terminal according to the comparison result of the first test case and the second test case and the comparison result of the first response data and the second response data.

2. The method of claim 1, wherein the simulation device comprises: a wireless network simulator and a server simulator;

the on-vehicle wireless communication terminal that awaits measuring will the second test instruction sends simulator, includes:

and the vehicle-mounted wireless communication terminal to be tested sends the second test instruction to a wireless network simulator so that the wireless network simulator performs network configuration according to the network parameters, and sends the second test case to the server simulator by using the configured wireless network so that the server simulator generates first response data according to the second test case.

3. The method according to claim 2, wherein the controller determines the performance of the vehicle-mounted wireless communication terminal to be tested according to the first test case, the second test case, the first response data and the second response data, and comprises:

the controller determines the transmitting performance of the vehicle-mounted wireless communication terminal to be tested according to the first test case and the second test case, and determines the receiving performance of the vehicle-mounted wireless communication terminal to be tested according to the first response data and the second response data.

4. The method according to claim 1, wherein before the receiving of the first test instruction sent by the controller, the vehicle-mounted wireless communication terminal to be tested further comprises:

the controller obtains a configuration file and generates a first test instruction according to the configuration file.

5. The method according to any one of claims 1 to 4, wherein after the controller determines the performance of the vehicle-mounted wireless communication terminal to be tested according to the first test case, the second test case, the first response data and the second response data, the method comprises the following steps:

and the controller outputs the performance of the vehicle-mounted wireless communication terminal to be tested.

6. Vehicle-mounted communication network simulation test system, its characterized in that includes: the system comprises a controller, a vehicle-mounted wireless communication terminal to be tested and a simulation device;

the system comprises a vehicle-mounted wireless communication terminal to be tested, a controller and a communication module, wherein the vehicle-mounted wireless communication terminal to be tested is used for receiving a first test instruction sent by the controller, and the first test instruction comprises a first test case and network parameters;

the vehicle-mounted wireless communication terminal to be tested is also used for analyzing the first test instruction to obtain a second test instruction, wherein the second test instruction comprises a second test case and network parameters;

the vehicle-mounted wireless communication terminal to be tested is also used for sending a second test instruction to the simulation device;

the simulation device is used for carrying out network configuration according to the network parameters and generating first response data corresponding to the second test case by using the configured network;

the vehicle-mounted wireless communication terminal to be tested is further used for analyzing the first response data returned by the simulation device, acquiring second response data and sending the second response data to the controller.

7. And the controller is used for determining the performance of the vehicle-mounted wireless communication terminal to be tested according to the comparison result of the first test case and the second test case and the comparison result of the first response data and the second response data.

Technical Field

The invention belongs to the technical field of vehicle-mounted network simulation testing, and particularly relates to a vehicle-mounted communication network simulation testing method and system.

Background

With the introduction of wireless mobile communication technology in automobile interconnection, the requirements for the data baseband wireless signal transmitting, receiving and demodulating performance and the vehicle-mounted data forwarding performance of the vehicle-mounted wireless communication terminal are more and more obvious. The wireless signal transmitting, receiving, demodulating and vehicle data forwarding part of the vehicle-mounted wireless communication terminal is used as a core structure of the whole vehicle-mounted wireless communication terminal, and the performance of the wireless signal transmitting, receiving, demodulating and vehicle data forwarding part of the vehicle-mounted wireless communication terminal can determine the quality of the whole vehicle-mounted wireless communication system. The performance of the proper and effective radio frequency transmitter and receiver can bring great improvement to the signal quality and data throughput of the whole vehicle-mounted wireless communication terminal. The data forwarding capability of the vehicle-mounted wireless communication terminal determines whether vehicle-mounted interactive signaling and data of the vehicle, people and the service background can be correctly received and transmitted, so that the realization of human-vehicle interaction and vehicle-network interaction is ensured.

At present, when the performance of a vehicle-mounted wireless communication terminal is tested, a single wireless comprehensive tester simulation device is mainly used for roughly judging the radio frequency communication performance of the vehicle-mounted wireless communication terminal, environmental influence caused by vehicle-mounted wireless channel fading is ignored, only the static radio frequency performance of a communication terminal receiver can be tested, the receiving performance of the vehicle-mounted wireless communication terminal in the actual running environment of a vehicle cannot be reflected, meanwhile, the forwarding, coding and decoding of vehicle-mounted data cannot be tested, and the test result is inaccurate and incomplete.

And depending on the road driving of the real vehicle, the method for testing the vehicle-mounted wireless communication terminal can not accurately position the data sending and receiving performance of the vehicle-mounted wireless communication terminal, can only be used as a perception test for the user, and has quite expensive test cost.

Disclosure of Invention

The invention provides a vehicle-mounted communication network simulation test method and system, which are used for solving the problem that the test structure of a vehicle-mounted wireless communication terminal is not accurate and comprehensive in the prior art.

The invention provides a vehicle-mounted communication network simulation test method on the one hand, which comprises the following steps:

the method comprises the steps that a to-be-tested vehicle-mounted wireless communication terminal receives a first test instruction sent by a controller, wherein the first test instruction comprises a first test case and network parameters;

the vehicle-mounted wireless communication terminal to be tested analyzes the first test instruction to obtain a second test instruction, wherein the second test instruction comprises a second test case and network parameters;

the vehicle-mounted wireless communication terminal to be tested sends a second test instruction to the simulation device so that the simulation device can carry out network configuration according to the network parameters, and first response data corresponding to the second test case are generated by using the configured network;

and the to-be-tested vehicle-mounted wireless communication terminal analyzes the first response data returned by the simulation device to obtain second response data, and sends the second response data to the controller, so that the controller determines the performance of the to-be-tested vehicle-mounted wireless communication terminal according to the first test case, the second test case, the first response data and the second response data.

Another aspect of the present invention provides a vehicle-mounted communication network simulation test system, including:

the system comprises a controller, a vehicle-mounted wireless communication terminal to be tested and a simulation device;

the system comprises a vehicle-mounted wireless communication terminal to be tested, a controller and a communication module, wherein the vehicle-mounted wireless communication terminal to be tested is used for receiving a first test instruction sent by the controller, and the first test instruction comprises a first test case and network parameters;

the vehicle-mounted wireless communication terminal to be tested is also used for analyzing the first test instruction to obtain a second test instruction, wherein the second test instruction comprises a second test case and network parameters;

the vehicle-mounted wireless communication terminal to be tested is also used for sending a second test instruction to the simulation device;

the simulation device is used for carrying out network configuration according to the network parameters and generating first response data corresponding to the second test case by using the configured network;

the vehicle-mounted wireless communication terminal to be tested is also used for analyzing the first response data returned by the simulation device, acquiring second response data and sending the second response data to the controller;

and the controller is used for determining the performance of the vehicle-mounted wireless communication terminal to be tested according to the first test case, the second test case, the first response data and the second response data.

The invention provides a vehicle-mounted wireless communication terminal simulation test method and a system, wherein a vehicle-mounted wireless communication terminal to be tested receives a first test instruction sent by a controller, analyzes the first test instruction to obtain a second test instruction, then sends the second test instruction to a simulation device, so that the simulation device carries out network configuration according to network parameters in the second test instruction, generates first response data corresponding to a second test case by using a configured network, finally analyzes the first response data by the vehicle-mounted wireless communication terminal to be tested, sends the obtained second response data to a controller, and the controller can determine the performance of the vehicle-mounted wireless communication terminal to be tested according to the first test case, the second test case, the first response data and the second response data, the performance of the vehicle-mounted wireless communication terminal is subjected to simulation test by simulating the actual receiving and sending process of the vehicle-mounted wireless communication terminal message, so that the performance test of the vehicle-mounted wireless communication terminal in various network environments can be automatically and flexibly finished, the test result is more accurate and comprehensive, and the test cost is low.

Of course, it is not necessary for any product in which the invention is practiced to achieve all of the above-described advantages at the same time.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments 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 obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.

FIG. 1 is a schematic structural diagram of a vehicle-mounted communication network simulation test system provided by the present invention;

fig. 2 is a schematic flow chart of a simulation test method for a vehicle-mounted communication network according to the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Fig. 1 is a schematic structural diagram of a vehicle-mounted communication network simulation test system provided by the invention. As shown in fig. 1, the test system includes: the device comprises a controller 10, a vehicle-mounted wireless communication terminal 11 to be tested and a simulation device 12.

The vehicle-mounted wireless communication terminal 11 to be tested is used for receiving a first test instruction sent by the controller 10, wherein the first test instruction comprises a first test case and network parameters; the vehicle-mounted wireless communication terminal 11 to be tested is further used for analyzing the first test instruction to obtain a second test instruction, wherein the second test instruction comprises a second test case and network parameters; the vehicle-mounted wireless communication terminal 11 to be tested is also used for sending a second test instruction to the simulation device; the simulation device 12 is configured to perform network configuration according to the network parameters, and generate first response data corresponding to the second test case by using the configured network; the vehicle-mounted wireless communication terminal 11 to be tested is further configured to analyze the first response data returned by the simulation device 12, obtain second response data, and send the second response data to the controller 10; the controller 10 is configured to determine the performance of the vehicle-mounted wireless communication terminal 11 to be tested according to the first test case, the second test case, the first response data, and the second response data.

The Controller is a generic term for a device having simulation and Control functions in the test system, and may refer to an Electronic Control Unit (ECU) Controller Area Network (CAN) and a computer group, or may refer to a computer group having a CAN function of the ECU, which is not limited in this embodiment. For convenience of description, the following embodiments of the present invention are described by taking an example in which the controller is composed of a computer group and an ECU CAN.

The specific process of the test system in testing the vehicle-mounted wireless communication terminal to be tested can refer to the detailed description of the test method embodiment shown in fig. 2.

Fig. 2 is a schematic flow chart of a simulation test method for a vehicle-mounted communication network according to the present invention. As shown in fig. 2, the method includes:

and S20, the vehicle-mounted wireless communication terminal to be tested receives a first test instruction sent by the controller, and the first test instruction comprises a first test case and network parameters.

Before testing, the vehicle-mounted wireless communication terminal to be tested is connected with the controller and the simulation device respectively, and after testing is started, the computer CAN send a first test instruction to the vehicle-mounted wireless communication terminal to be tested through the ECU CAN. The first test instruction may be that the computer group monitors a test port of the ECU CAN, after determining that the test port has reliable access to the vehicle-mounted wireless communication terminal to be tested, the computer group automatically triggers to acquire the configuration file, and generates the configuration file according to the configuration file, or that the computer group receives a test request triggered by a user, acquires the configuration file according to the test request, and generates the configuration file according to the configuration file, which is not limited in this embodiment.

Specifically, the test case is a message packet containing vehicle entity information, for example, a message packet including a vehicle speed, a fuel consumption, an engine speed, and the like of the vehicle, and the network parameters are network parameters under a certain scene simulated according to various actual operating environments of the vehicle.

And S21, the vehicle-mounted wireless communication terminal to be tested analyzes the first test instruction to obtain a second test instruction, and the second test instruction comprises a second test case and network parameters.

S22, the vehicle-mounted wireless communication terminal to be tested sends a second test instruction to the simulation device, so that the simulation device performs network configuration according to the network parameters, and generates first response data corresponding to the second test case by using the configured network;

specifically, the vehicle-mounted wireless communication terminal to be tested analyzes the first test instruction, converts the first test instruction into a second test instruction corresponding to the transmitting end of the vehicle-mounted wireless communication terminal to be tested, and then sends the second test instruction to the simulation device.

After receiving the second test instruction, the simulation device can analyze the second test instruction to obtain the network parameters and the second test case, then perform network configuration on each network simulator in the simulation device, such as a duplexer, an integrated tester and the like, according to the network parameters, and then transmit the second test case by using the configured network, thereby generating first response data corresponding to the second test case.

And S23, the vehicle-mounted wireless communication terminal to be tested analyzes the first response data returned by the simulation device to obtain second response data, and the second response data is sent to the controller, so that the controller determines the performance of the vehicle-mounted wireless communication terminal to be tested according to the first test case, the second test case, the first response data and the second response data.

Specifically, after the simulation device generates first response data, the configured network is used for sending the first response data to the vehicle-mounted wireless communication terminal to be tested, the vehicle-mounted wireless communication terminal to be tested analyzes the first response data to obtain second response data, and then the second response data is sent to the computer group through the EUN CAN. Meanwhile, the controller can acquire the second test case and the first response data by monitoring the transmitting and receiving ports of the simulation device. The controller can determine the performance of the vehicle-mounted wireless communication terminal to be tested under the network parameters included in the test instruction by comparing and analyzing the first test case, the second test case, the first response data and the second response data.

It can be understood that, if the controller finds, through comparative analysis, that the first test case and the second test case are the same, it may be determined that the transmission performance of the vehicle-mounted communication terminal to be tested is better in the current network environment, and correspondingly, if the first response data and the second response data are the same, it may be determined that the reception performance of the vehicle-mounted communication terminal to be tested is better in the current network environment. And the controller can also output the performance of the vehicle-mounted wireless communication terminal to be tested, so that a user can debug or perfect the vehicle-mounted wireless communication terminal to be tested according to the test result.

The vehicle-mounted wireless communication terminal simulation test system repeatedly executes the test flow, and the performance test of the vehicle-mounted wireless communication terminal to be tested under different network parameters can be completed.

In the simulation test method for the vehicle-mounted wireless communication terminal provided by this embodiment, the vehicle-mounted wireless communication terminal to be tested receives the first test instruction sent by the controller, analyzes the first test instruction to obtain the second test instruction, then sends the second test instruction to the simulation device, so that the simulation device performs network configuration according to the network parameters in the second test instruction, and generates the first response data corresponding to the second test case by using the configured network, and finally the vehicle-mounted wireless communication terminal to be tested analyzes the first response data, sends the obtained second response data to the controller, and the slave controller can determine the performance of the vehicle-mounted wireless communication terminal to be tested according to the first test case, the second test case, the first response data and the second response data, and the test method specifically simulates the network environment in the actual operation of the vehicle, the performance of the vehicle-mounted wireless communication terminal is subjected to simulation test by simulating the actual receiving and sending process of the vehicle-mounted wireless communication terminal message, so that the performance test of the vehicle-mounted wireless communication terminal in various network environments can be automatically and flexibly finished, the test result is more accurate and comprehensive, and the test cost is low.

It should be noted that, in the above system embodiment, each included unit is only divided according to functional logic, but is not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.

In addition, it is understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing associated hardware, and the corresponding program may be stored in a computer-readable storage medium.

The preferred embodiments of the invention disclosed above are intended to be illustrative only. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

9页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种WTB设备接收器的性能测试方法及系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!