IEEE802.11p protocol based vehicle-to-roadside and vehicle-to-vehicle communication test methods oriented to the internet of vehicles

10652074 ยท 2020-05-12

Assignee

Inventors

Cpc classification

International classification

Abstract

An IEEE 802.11p protocol-based vehicle-to-roadside and vehicle-to-vehicle communication test method oriented to the Internet of Vehicles. The method includes: driving a host vehicle and a target vehicle at a same speed on a road segment; the host vehicle being located behind the target vehicle; a constant distance is maintained between the host vehicle and the target vehicle; the host vehicle is equipped with a host vehicular communication unit, the target vehicle is equipped with a target vehicular communication unit communicating with the host vehicular communication unit; calculating a throughput and a round trip time RTT from the target vehicular communication unit to the host vehicular communication unit; repeating driving the host vehicle and target vehicle N times, and calculating an average throughput and an average round trip time (RTT) of the N times; and calculating a network performance parameter according to the average throughput and the RTT.

Claims

1. An IEEE 802.11p protocol-based vehicle-to-vehicle communication test method oriented to the Internet of Vehicles, comprising the following steps: step 1: randomly selecting two vehicles, wherein one vehicle is a host vehicle, the other vehicle is a target vehicle, the host vehicle and the target vehicle are driven at a same speed per hour on a road segment L, the host vehicle is located behind the target vehicle, a constant distance is maintained between the host vehicle and the target vehicle, the host vehicle is equipped with a host vehicular communication unit, the target vehicle is equipped with a target vehicular communication unit, and the host vehicular communication unit and the target vehicular communication unit are capable of communicating with each other using the vehicular communication units; step 2: calculating a throughput and a round trip time RTT from the target vehicular communication unit to the host vehicular communication unit; step 3: driving the host vehicle and the target vehicle on the road segment L for N times, and calculating an average throughput and an average round trip time RTT of the N times; and step 4: calculating a network performance parameter using an equation (1) according to the average throughput and the average round trip time RTT that are obtained through calculation in the foregoing step: = A T 800 KBps 0.35 + 10 ms R T T 0.65 ; ( 1 ) and if 0.9, considering that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is excellent; if 0.75<0.9, considering that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is good; if 0.6<0.75, considering that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is moderate; or if <0.6, considering that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is poor.

2. The IEEE 802.11p protocol-based vehicle-to-vehicle communication test method oriented to the Internet of Vehicles according to claim 1, wherein calculating an average throughput from the target vehicular communication unit to the host vehicular communication unit comprises: step 21: sending, by the host vehicular communication unit, a throughput test request data packet to the target vehicular communication unit, and starting a timer with 1 s as a period; step 22: after receiving the throughput test request data packet, returning, by the target vehicular communication unit, a UDP data packet continuously, and persisting for 4 s, wherein the UDP data packet comprises a location of the target vehicle and driving status information; and step 23: recording, by the host vehicular communication unit, UDP data packets received in every 1 s period, persisting for three periods, and calculating a throughput of a unidirectional link from the target vehicular communication unit to the host vehicular communication unit according to a quantity of bytes of UDP data packets received in a second period.

3. The IEEE 802.11p protocol-based vehicle-to-vehicle communication test method oriented to the Internet of Vehicles according to claim 1, wherein calculating a round trip time RTT from the target vehicular communication unit to the host vehicular communication unit comprises: step 24: sending, by the host vehicular communication unit, an ICMPv6 data packet to the target vehicular communication unit at an interval of 0.1 s cyclically, persisting for 3 s, and recording a sending time sequence T_Send[i] of sending the ICMPv6 data packet, wherein i=1, 2, . . . , 30; step 25: after receiving the ICMPv6 data packet, returning, by the target vehicular communication unit, an ICMPv6 response data packet; step 26: recording, by the host vehicular communication unit, a receiving time sequence T_Receive[j] of receiving the ICMPv6 response data packet from the target vehicular communication unit, where j=1, 2, . . . , 30; and step 27: when the response data packet is unreachable or times out, setting the corresponding sending time sequence T_Send[i] and the receiving time sequence T_Receive[j] to 0, wherein i=j, increasing a failure count by 1, and calculating the round trip time RTT according to an equation (3), wherein R T T = .Math. i = j = 1 30 ( T_Receive [ j ] - T_Send [ i ] ) 30 - F C . ( 3 )

4. The IEEE 802.11p protocol-based vehicle-to-vehicle communication test method oriented to the Internet of Vehicles according to claim 1, wherein the road segment L is a ring road segment.

5. An IEEE 802.11p protocol-based vehicle-to-roadside communication test method oriented to the Internet of Vehicles, comprising the following steps: step 1: randomly selecting a vehicle as a target vehicle, and driving the target vehicle on a road segment L, wherein a roadside communication unit is disposed near the road segment L, the target vehicle is equipped with a target vehicular communication unit, and the roadside communication unit and the target vehicular communication unit are capable of communicating with each other using a vehicular communication unit; step 2: calculating a throughput and a round trip time RTT from the target vehicular communication unit to the roadside communication unit; and Step 3: driving the target vehicle on the road segment L for N times, and calculating an average throughput and an average round trip time RTT of the N times; wherein = A T 800 KBps 0.35 + 10 ms R T T 0.65 . ( 1 )

6. The IEEE 802.11p protocol-based vehicle-to-roadside communication test method oriented to the Internet of Vehicles according to claim 5, wherein calculating an average throughput from the target vehicular communication unit to the roadside communication unit comprises: step 21: sending, by the roadside communication unit, a throughput test request data packet to the target vehicular communication unit, and starting a timer with 1 s as a period; and step 23: recording, by the roadside communication unit, UDP data packets received in every 1 s period, persisting for three periods, and calculating a throughput of a unidirectional link from the target vehicular communication unit to the roadside communication unit according to a quantity of bytes of UDP data packets received in a second period.

7. The IEEE 802.11p protocol-based vehicle-to-roadside communication test method oriented to the Internet of Vehicles according to claim 5, wherein calculating a round trip time RTT from the target vehicular communication unit to the roadside communication unit comprises: step 24: sending, by the roadside communication unit, an ICMPv6 data packet to the target vehicular communication unit at an interval of 0.1 s cyclically, persisting for 3 s, and recording a sending time sequence T_Send[i] of sending the ICMPv6 data packet, wherein i=1, 2, . . . , 30; and step 26: recording, by the roadside communication unit, a receiving time sequence T_Receive[j] of receiving an ICMPv6 response data packet from the target vehicular communication unit, wherein j=1, 2, . . . , 30; wherein R T T = .Math. i = j = 1 30 ( T_Receive [ j ] - T_Send [ i ] ) 30 - F C . ( 3 )

8. The IEEE 802.11p protocol-based vehicle-to-roadside communication test method oriented to the Internet of Vehicles according to claim 5, wherein the road segment L is a straight road segment.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a flowchart of an IEEE 802.11p protocol-based vehicle-to-vehicle communication test method oriented to the Internet of Vehicles according to the present invention;

(2) FIG. 2 is a flowchart of an IEEE 802.11p protocol-based vehicle-to-roadside communication test method oriented to the Internet of Vehicles according to the present invention;

(3) FIG. 3 is a flowchart of a throughput test according to the present invention; and

(4) FIG. 4 is a flowchart of a round trip time RTT test according to the present invention.

(5) Specific content of the present invention is hereinafter described in detail with reference to accompanying drawings.

DETAILED DESCRIPTION OF EMBODIMENTS

(6) The following provides specific embodiments of the present invention. It should be noted that the present invention is not limited to the following specific embodiments. Any equivalent change made on a basis of the technical solutions of this application shall fall within the protection scope of the present invention.

Embodiment 1

(7) Complying with the foregoing technical solutions, as shown in FIG. 1, this embodiment provides an IEEE 802.11p protocol-based vehicle-to-vehicle communication test method oriented to the Internet of Vehicles, where the method includes the following steps:

(8) Step 1: Randomly select two vehicles, where one vehicle is a host vehicle, the other vehicle is a target vehicle, the host vehicle and the target vehicle are driven at a same speed per hour on a road segment L, the host vehicle is located behind the target vehicle, a constant distance is maintained between the host vehicle and the target vehicle, the host vehicle is equipped with a host vehicular communication unit, the target vehicle is equipped with a target vehicular communication unit, and the host vehicular communication unit and the target vehicular communication unit are capable of communicating with each other using the vehicular communication units.

(9) Step 2: Calculate a throughput and a round trip time RTT from the target vehicular communication unit to the host vehicular communication unit.

(10) Step 3: Drive the host vehicle and the target vehicle on the road segment L for N times, and calculate an average throughput and an average round trip time RTT of the N times.

(11) The road segment L in this embodiment is a ring road segment. The host vehicle and the target vehicle are driven on a ring road segment around a circle. In this embodiment, a quantity N of traveled circles is set to 5.

(12) Step 4: Calculate a network performance parameter using an equation (1) according to the average throughput and the average round trip time RTT that are obtained through calculation in the foregoing step:

(13) = A T 800 KBps 0.35 + 10 ms R T T 0.65 ; ( 1 )
and

(14) if 0.9, consider that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is excellent;

(15) if 0.75<0.9, consider that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is good;

(16) if 0.6<0.75, consider that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is moderate; or

(17) if <0.6, consider that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is poor.

(18) In this embodiment, the throughput and the round trip time RTT are calculated using a software test program. The software test program is arranged in a Windows10 notebook computer in the host vehicle, and is configured to control a throughput test and a round trip time RTT (Round-Trip Time) test of the host vehicular communication unit, and store data sent by the host vehicular communication unit through an Ethernet communication module into a log file; and then analyze the log file, perform averaging on test data of a plurality of times to obtain the average throughput and the average round trip time RTT, and evaluate network performance.

(19) In this embodiment, a power inverter is further disposed, and is configured to convert a 12 V vehicular DC direct current into a 220 V AC alternating current same as a mains supply, and supply power to the vehicular communication units of the host vehicle and the target vehicle, to ensure transmit frequencies of the vehicular communication units, increase a signal-to-noise ratio, and reduce a bit error rate.

(20) As shown in FIG. 3, calculating an average throughput from the target vehicular communication unit to the host vehicular communication unit includes the following steps:

(21) Step 21: The host vehicular communication unit sends a throughput test request data packet to the target vehicular communication unit, and starts a timer with 1 s as a period.

(22) Step 22: After receiving the throughput test request data packet, the target vehicular communication unit returns a UDP data packet continuously, and persists for 4 s, where the UDP data packet includes a location of the target vehicle and driving status information.

(23) Step 23: The host vehicular communication unit records UDP data packets received in every 1 s period, persists for three periods, and calculates a throughput of a unidirectional link from the target vehicular communication unit to the host vehicular communication unit according to a quantity of bytes of UDP data packets received in a second period.

(24) As shown in FIG. 4, calculating a round trip time RTT from the target vehicular communication unit to the host vehicular communication unit includes the following steps:

(25) Step 24: The host vehicular communication unit sends an ICMPv6 data packet to the target vehicular communication unit at an interval of 0.1 s cyclically, persists for 3 s, and records a sending time sequence T_Send[i] of sending the ICMPv6 data packet, where i=1, 2, . . . , 30.

(26) Step 25: After receiving the ICMPv6 data packet, the target vehicular communication unit returns an ICMPv6 response data packet.

(27) Step 26: The host vehicular communication unit records a receiving time sequence T_Receive[j] of receiving the ICMPv6 response data packet from the target vehicular communication unit, where j=1, 2, . . . , 30.

(28) Step 27: When the response data packet is unreachable or times out, set the corresponding sending time sequence T_Send[i] and the receiving time sequence T_Receive[j] to 0, where i=j, increase a failure count by 1, and calculate the round trip time RTT according to an equation (3), where

(29) R T T = .Math. i = j = 1 30 ( T_Receive [ j ] - T_Send [ i ] ) 30 - F C . ( 3 )

Embodiment 2

(30) This embodiment further provides an IEEE 802.11p protocol-based vehicle-to-roadside communication test method oriented to the Internet of Vehicles, as shown in FIG. 2, where the method includes the following steps:

(31) Step 1: Randomly select a vehicle as a target vehicle, and drive the target vehicle on a road segment L, where a roadside communication unit is disposed near the road segment L, the target vehicle is equipped with a target vehicular communication unit, and the roadside communication unit and the target vehicular communication unit are capable of communicating with each other using a vehicular communication unit.

(32) Step 2: Calculate a throughput and a round trip time RTT from the target vehicular communication unit to the roadside communication unit.

(33) Step 3: Drive the target vehicle on the road segment L for N times, and calculate an average throughput and an average round trip time RTT of the N times.

(34) The road segment L in this embodiment is a straight road segment. The target vehicle is driven back and forth on the straight road segment. A quantity of times of driving back and forth is set to 5 in this embodiment.

(35) Step 4: Calculate a network performance parameter using an equation (1) according to the average throughput and the average round trip time RTT that are obtained through calculation in the foregoing step:

(36) = A T 800 KBps 0.35 + 10 ms R T T 0.65 ; ( 1 )
and

(37) if 0.9, consider that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is excellent;

(38) if 0.75<0.9, consider that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is good;

(39) if 0.6<0.75, consider that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is moderate; or

(40) if <0.6, consider that IEEE 802.11p protocol-based wireless network performance of the Internet of Vehicles is poor.

(41) In this embodiment, the throughput and the round trip time RTT are calculated using a software test program. The software test program is arranged in a roadside Windows10 notebook computer, and is configured to control a throughput test and a round trip time RTT (Round-Trip Time) test of the roadside communication unit, and store data sent by the roadside communication unit through an Ethernet communication module into a log file; and then analyze the log file, perform averaging on test data of a plurality of times to obtain the average throughput and the average round trip time RTT, and evaluate network performance.

(42) In this embodiment, a power inverter is further disposed, and is configured to convert a 12 V vehicular DC direct current into a 220 V AC alternating current same as a mains supply, and supply power to the vehicular communication unit of the target vehicle, to ensure transmit frequencies of the vehicular communication unit, increase a signal-to-noise ratio, and reduce a bit error rate.

(43) Calculating an average throughput from the target vehicular communication unit to the roadside communication unit includes the following steps:

(44) Step 21: The roadside communication unit sends a throughput test request data packet to the target vehicular communication unit, and starts a timer with 1 s as a period.

(45) Step 22: After receiving the throughput test request data packet, the target vehicular communication unit returns a UDP data packet continuously, and persists for 4 s, where the UDP data packet includes a location of the target vehicle and driving status information.

(46) Step 23: The roadside communication unit records UDP data packets received in every 1 s period, persists for three periods, and calculates a throughput (TP) of a unidirectional link from the target vehicular communication unit to the roadside communication unit according to a quantity of bytes of UDP data packets received in a second period, as shown in an equation (2):

(47) T P = Q B P R ( S ) P D , ( 2 )

(48) where QBPR(s) is defined as the quantity of bytes of UDP data packets received in the second period and the PD is defined as Period duration.

(49) Calculating a round trip time RTT from the target vehicular communication unit to the roadside communication unit includes the following steps:

(50) Step 24: The roadside communication unit sends an ICMPv6 data packet to the target vehicular communication unit at an interval of 0.1 s cyclically, persists for 3 s, and records a sending time sequence T_Send[i] of sending the ICMPv6 data packet, where i=1, 2, . . . , 30.

(51) Step 25: After receiving the ICMPv6 data packet, the target vehicular communication unit returns an ICMPv6 response data packet.

(52) Step 26: The roadside communication unit records a receiving time sequence T_Receive[j] of receiving the ICMPv6 response data packet from the target vehicular communication unit, where j=1, 2, . . . , 30.

(53) Step 27: When the response data packet is unreachable or times out, set the corresponding sending time sequence T_Send[i] and the receiving time sequence T_Receive[j] to 0, where i=j, increase a failure count by 1, and calculate the round trip time RTT according to an equation (3), where

(54) R T T = .Math. i = j = 1 30 ( T_Receive [ j ] - T_Send [ i ] ) 30 - F C . ( 3 )

(55) A test process is as follows:

(56) Step S110: Set an IP address of a host vehicular communication unit to 192.168.161.123, a port number for communicating with a software test program in a host vehicle to 22, and a port number for communicating with a target vehicular communication unit to 12000; set an IP address of the target vehicular communication unit to 192.168.161.124, and a port number for communicating with the host vehicular communication unit to 12000; connect the host vehicular communication unit to a notebook computer using a network cable, start the software test program in the host vehicle, and establish a communication connection to the host vehicular communication unit (192.168.161.123:22) using the SSH protocol; and set a name of a log file to vehicle-vehicle 30 km/h.

(57) Step S120: Drive both the host vehicle and the target vehicle around a test runway at a speed of 30 km/h for five circles, where the host vehicle is behind the target vehicle, the test runway is 2.4 km long, and a straight lane is a 1.1 km high-speed ring runway, and the host vehicle always keeps a safe trailing distance of 100-150 m from the target vehicle.

(58) Step S130: After the host vehicle enters a southside straight lane, manually operate the software test program in the host vehicle to send a throughput test control command to the host vehicular communication unit.

(59) Step S140: After the host vehicle enters a northside straight lane, manually operate the software test program in the host vehicle to send an RTT test control command to the host vehicular communication unit.

(60) Step S150: In this case, the log file vehicle-vehicle 30 km/h should include five throughput test results and five round trip time RTT test results. Perform averaging to obtain an average throughput and an average round trip time RTT respectively, calculate a network performance parameter using the equation (3), and evaluate network performance.

(61) Step S210: Set an IP address of a roadside communication unit to 192.168.161.120, a port number for communicating with a roadside software test program to 22, and a port number for communicating with a target vehicular communication unit to 12000; set an IP address of the target vehicular communication unit to 192.168.161.124, and a port number for communicating with the roadside communication unit to 12000; connect the roadside communication unit to a notebook computer using a network cable, start the roadside software test program, and establish a communication connection to the roadside communication unit (192.168.161.120:22) using the SSH protocol; and set a name of a log file to vehicle-roadside 30 km/h.

(62) Step S220: Drive the target vehicle back and forth on a test road segment at a speed of 30 km/h for five times, where one round trip is counted as one time, the test road segment is a 400 m straight lane, and the roadside communication unit and the notebook computer are arranged in roadside positions in a center of the straight lane.

(63) Step S230: When the target vehicle runs through the test road segment from west to east, manually operate the roadside software test program to send a throughput test control command to the roadside communication unit.

(64) Step S240: When the target vehicle runs through the test road segment from east to west, manually operate the roadside software test program to send an RTT test control command to the roadside communication unit.

(65) Step S250: In this case, the log file vehicle-roadside 30 km/h should include five throughput test results and five round trip time RTT test results. Perform averaging to obtain an average throughput and an average round trip time RTT respectively, calculate a network performance parameter using the equation (3), and evaluate network performance.

(66) The foregoing are preferred embodiments of the present invention. It should be understood that, the foregoing are merely some specific embodiments and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, and improvement made without departing from the spirit and scope of the present invention shall within the protection scope of the present invention.