×

Method for accessing internet via a vehicle network

  • US 9,391,891 B2
  • Filed: 10/23/2014
  • Issued: 07/12/2016
  • Est. Priority Date: 10/23/2013
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for accessing internet via a vehicle network including an on-board unit (OBU) configured as a Dynamic Host Configuration Protocol (DHCP) server, a roadside unit (RSU) and a Vehicle Ad-Hoc Network (VANET), the OBU having a VANET private network part, comprising the following steps:

  • assigning an IPv4 address to a vehicle terminal equipment through DHCP, the steps of assigning the IPv4 address comprising;

    providing a static IPv4 address, a subnet mask and a default gateway for the OBU;

    when the vehicle terminal equipment applies to the DHCP server for an IPv4 address, DHCP server selecting an unused IPv4 address from a set of IPv4 addresses for dynamic allocating such that a different IPv4 address is assigned to different vehicle terminal equipment;

    sending a packet from the vehicle terminal equipment to the Internet, the steps comprising;

    the vehicle terminal equipment sending an IPv4 packet to the OBU such that the OBU receives and processes the IPv4 packet;

    after receiving an IPv4 packet, the OBU inquiring the destination address of the IPv4 packet to determine how to process the IPv4 packet, such thatwherein, if the destination address is an external internet address, the IPv4 packet is sent to and processed by the RSU, and if the destination address is an internal IPv4 address the IPv4 packet is processed by an upper layer protocol of the OBU, if the destination address is not identified as one of an external internet address and an internal IPv4 address, the IPv4 packet is discarded;

    wherein, if the destination address of the IPv4 packet is an external internet address, the IPv4 packet is processed by tunnel technology in a IPv4 private network part of OBU such that the IPv4 packet is sent to the private network part of OBU, a corresponding layer header of the IPv4 packet is deleted such that a remainder of the IPv4 packet, is an IPv4 layer packet taken as an original IPv4 packet, including sendingthe original IPv4 packet to the VANET private network part of the OBU and encapsulating the original IPv4 packet into a User Diagram Protocol (UDP) data portion in a UDP layer of the VANET private network part of the OBU;

    adding a UDP header to the UDP data portion such that a UDP packet is obtained;

    sending the UDP packet to an IPv6 layer such that the UDP packet is submitted from a higher layer to a lower layer and encapsulating a corresponding layer header in the VANET private network part of the OBU, and sending the UDP packet by a wireless network card working in Ad-hoc mode;

    after receiving the UDP packet from the OBU, the RSU processing the UDP packet with tunnel technology in a private network part of the RSU, such that the UDP packet is submitted from a lower layer to a higher layer with deleting a corresponding layer header and the UDP packet is submitted to the UDP layer and is processed according to the UDP data portion such that, if the UDP data portion is the original IPv4 packet, the UDP packet is processed in the IPv4 private network part of the RSU to remove the original IPv4 packet, and is otherwise submitted to application layer for further processing;

    wherein, the original IPv4 packet is added with a MAC header to obtain a sending packet and the sending packet is submitted to a MAC layer;

    sending the sending packet to the Internet after the Network Address Translation (NAT) transformation such that NAT translates the private IPv4 address of the sending packet into a legitimate public IPv4 address and sends the sending packet to the Internet and records the transmission path information simultaneously;

    returning a packet from internet to the vehicle terminal equipment, comprising the steps of;

    after receiving a packet from the vehicle terminal equipment, the Internet returning a return packet, wherein the return packet is transformed through NAT, whereby NAT will find out the vehicle terminal equipment of the return packet via a previously recorded transmission path information, and translates the public IPv4 address of the return packet into a the private IPv4 address;

    the RSU processing the return packet;

    wherein after receiving the return packet, the RSU processes the return packet through inquiring the private IPv4 address of the return packet, if the private IPv4 address is a local IPv4 address of the RSU, the return packet is submitted to the transport layer to process, if the private IPv4 address is the private IPv4 address of the OBU, then the return packet is submitted to the private network part of the RSU and sent to the OBU;

    otherwise, the return packet is discarded;

    wherein, if the private IPv4 address of the return packet is of the OBU, the return packet enters into the IPv4 private network part of the RSU and is processed with tunnel technology, the corresponding layer header of the return packet is deleted, such that a remainder of return packet is an IPv4 layer packet taken as an original return IPv4 packet;

    encapsulating the original return IPv4 packet into the UDP data portion in the UDP layer of VANET private network part of the RSU, and then, adding a UDP header to the UPD data portion to obtain a UDP packet;

    sending the UDP packet to the IPv6 layer, submitting the UDP packet from a higher layer to a lower layer and encapsulating a corresponding layer header in VANET private network part of the RSU, and sending the UDP packet out by the wireless network card working in Ad-hoc mode;

    after receiving the UDP packet from the RSU, the OBU processing the UDP packet with tunnel technology in the private network part of the OBU;

    submitting the UDP packet from a lower layer to a higher layer and deleting the corresponding layer header in the VANET private network part of the OBU, and submitting the UDP packet to the UDP layer of the VANET private network part of the OBU, and processing the UDP packet according to the UDP data portion, such that, if the UDP data portion is the packet returning from Internet to the vehicle terminal equipment, processing the UDP packet in the IPv4 private network part of OBU to remove the original return IPv4 packet, and otherwise submitting the UDP packet to an application layer for further processing;

    adding the original return IPv4 packet with a MAC header to obtain a final return packet, submitting the final return packet to the MAC layer, and sending the final return packet to the vehicle terminal equipment by the wireless card of the OBU working in Ad Hoc mode.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×