CN107395759B - Reliable intelligent Internet of vehicles data communication implementation method - Google Patents

Reliable intelligent Internet of vehicles data communication implementation method Download PDF

Info

Publication number
CN107395759B
CN107395759B CN201710750811.7A CN201710750811A CN107395759B CN 107395759 B CN107395759 B CN 107395759B CN 201710750811 A CN201710750811 A CN 201710750811A CN 107395759 B CN107395759 B CN 107395759B
Authority
CN
China
Prior art keywords
vehicle
address
base station
vehicle node
message
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
CN201710750811.7A
Other languages
Chinese (zh)
Other versions
CN107395759A (en
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.)
Changshu Institute of Technology
Original Assignee
Changshu Institute of Technology
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 Changshu Institute of Technology filed Critical Changshu Institute of Technology
Priority to CN201710750811.7A priority Critical patent/CN107395759B/en
Publication of CN107395759A publication Critical patent/CN107395759A/en
Application granted granted Critical
Publication of CN107395759B publication Critical patent/CN107395759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/126Shortest path evaluation minimising geographical or physical path length
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Abstract

The invention discloses a reliable intelligent data communication implementation method of an internet of vehicles, wherein the internet of vehicles comprises an access router, a base station and vehicle nodes; the access router is connected with an internet backbone network, the base station is connected with the access router, and the base station is positioned at a road intersection; the vehicle node has a route forwarding function. The vehicle node can rapidly acquire the service data through the data communication implementation method provided by the invention, the delay and cost for acquiring the service data are reduced, the service quality is improved, and the method can be applied to the fields of road condition monitoring, vehicle management and the like and has wide application prospect.

Description

Reliable intelligent Internet of vehicles data communication implementation method
Technical Field
The invention relates to a data communication implementation method, in particular to a reliable intelligent data communication implementation method for the Internet of vehicles.
Background
The internet of vehicles has received much attention due to its practicability, and has become a focus of research. One of the main features of the internet of vehicles is that vehicle nodes move at high speed along roads, and therefore, how to implement high-quality communication of the vehicle nodes is one of the hot spots of research.
The existing communication protocol applied to the vehicle-mounted network has some problems, mainly because of the following reasons:
1) in the existing protocol, a mobile node needs to send and receive a large amount of control information to ensure smooth communication in the moving process and reduce the loss of data packets, and the transmission of the control information consumes a large amount of energy, which can greatly shorten the service life of the mobile node;
2) the control information data packet of the existing protocol has larger overhead and longer mobile transfer delay, thereby improving the data packet loss rate.
Therefore, how to improve the data communication efficiency of the internet of vehicles has yet to be further researched.
Disclosure of Invention
The purpose of the invention is as follows: the invention aims to solve the technical problem of providing a reliable intelligent data communication implementation method for the Internet of vehicles aiming at the defects of the prior art. The invention transmits data through a reliable routing path, thereby reducing delay and cost of data provided by the vehicle-mounted network and effectively improving network service performance.
The technical scheme is as follows: the invention discloses a reliable intelligent data communication implementation method of an internet of vehicles, wherein the internet of vehicles comprises an access router, a base station and vehicle nodes; the access router is connected with an internet backbone network, the base station is connected with the access router, and the base station is positioned at a road intersection; the vehicle node has a route forwarding function; the area enclosed by all the base stations connected with one access router is a domain, and one base station can be connected with two access routers and belongs to more than two domains; if a vehicle node in one domain can communicate with a base station in the domain through single-hop forwarding or multi-hop forwarding, the vehicle node and the base station are represented as a connected relation; if the vehicle node in one domain can not communicate with the base station in the domain through single-hop forwarding or multi-hop forwarding, the vehicle node and the base station are represented as a non-connected relation;
the vehicle nodes realize inter-domain communication through global addresses and carry out intra-domain communication through local addresses; the global address is composed of a network prefix, a base station ID, a vehicle ID and a global address identifier, the global address uniquely identifies one domain, the base station ID uniquely identifies one base station, and the vehicle ID uniquely identifies one vehicle node; the global address identifier of the global address is 1; the base station ID and the vehicle ID of the global address of the access router are 0; the vehicle ID of the global address of the base station is 0;
when the vehicle node registers to obtain the license plate number, a home address is allocated at the same time, and the home address is a global address; if the network prefix of the global address of one router is the same as that of the global address of one vehicle node, the router is called a home router of the vehicle node, and the domain in which the router is located is called a home domain of the vehicle node; if the network prefix and the base station ID of the global address of one base station are the same as the network prefix and the base station ID of the global address of one vehicle node, the base station is called as a home base station of the vehicle node; if the vehicle node leaves the home domain and enters a new domain, the new domain is called an external domain of the vehicle node, an access router of the new domain is called an external router of the vehicle node, and a base station of the new domain is called an external base station of the vehicle node;
the local address is composed of a geographic coordinate, a base station ID, a vehicle ID and a global address identifier; the global address identifier of the local address is 0;
in a domain, an access router is connected with all base stations in the domain through own interfaces, if the access router is connected with a base station through own interface n, the ID of the base station is n; the vehicle ID of the vehicle node is the license plate number of the vehicle node;
the vehicle node stores a base station list, and each base station list item is composed of a local address, a connection state and a time stamp; after a vehicle node starts or enters a new domain, the vehicle node empties the base station list and rebuilds and establishes the base station list;
in the local address of the base station, the geographic coordinate and the base station ID are the geographic coordinate value and the base station ID value of the base station, and the vehicle ID is 0; a base station broadcasts a beacon message periodically, the load of the beacon message is a time stamp, and the source address of the beacon message is the local address of the base station;
after the base station B1 broadcasts the beacon message, the vehicle node establishes a base station entry for the base station B1 by:
step 101: starting;
step 102: if a base station receives the beacon message broadcast by the base station B1, step 103, otherwise, step 104 is executed;
step 103: the base station receiving the beacon message of the base station B1 discards the beacon message, and performs step 110;
step 104: the vehicle node that received the beacon message of base station B1 looks at the timestamp in the beacon message, if a beacon message with the same source address and the same timestamp has been received, then step 105 is performed, otherwise step 106 is performed;
step 105: the vehicle node that received the beacon message of base station B1 discards the beacon message, go to step 110;
step 106: the vehicle node that receives the beacon message of base station B1 checks the base station table, if there is a base station table entry with a local address equal to the source address of the received beacon message, then step 107 is executed, otherwise step 108 is executed;
step 107: the vehicle node that received the beacon message of base station B1 selects a base station entry having a local address equal to the source address of the received beacon message, sets the connection status of the base station entry to connected, sets the timestamp to the timestamp value in the beacon message, and performs step 109;
step 108: the vehicle node receiving the beacon message of the base station B1 creates a base station table entry, the local address field value of which is equal to the source address of the beacon message, the connection status of which is set to connected, and the timestamp is set to the timestamp value in the beacon message;
step 109: the vehicle node receiving the beacon message of the base station B1 forwards the beacon message, and executes step 102;
step 110: finishing;
the vehicle node establishes base station table entries of other base stations in the domain through the process;
if the vehicle node does not receive the beacon message of the base station B1 within a predetermined time (e.g., 1s), the vehicle node sets the connection state of the base station entry corresponding to the base station B1 to unconnected.
The vehicle node can quickly judge the connected base stations through the process, so that reliable communication is realized.
In the method, a base station stores a vehicle list for each affiliated domain, and the name of the vehicle list is the global address of the base station in the domain; the vehicle list item of the vehicle list comprises a local address domain, a home address domain, a mobile management domain and a timestamp;
in the local address of the vehicle node, the geographic coordinate is the current geographic coordinate, the vehicle ID is the license plate number of the vehicle node, and the base station ID is the base station ID of the home address; the method comprises the steps that a vehicle node regularly broadcasts a beacon message after being started, and the load of the beacon message is a timestamp and a home address;
if the vehicle node V1 is located in the domain D1, and the vehicle node V1 broadcasts the beacon message, the base station in the domain D1 establishes the vehicle table entry for the vehicle node V1 by:
step 201: starting;
step 202: if a base station receives the beacon message broadcast by the vehicle node V1, step 203, otherwise, step 204 is executed;
step 203: the base station receiving the beacon message broadcast by the vehicle node V1 selects the vehicle table of domain D1, sets the local address of the vehicle table entry to the source address of the beacon message and the timestamp to the timestamp value in the beacon message if there is a vehicle table entry with a vehicle ID of the local address equal to the vehicle ID of the source address of the received beacon message; if the vehicle list item of which the vehicle ID of the local address is equal to the vehicle ID of the source address of the received beacon message does not exist, the base station creates a vehicle list item, the local address field value of the vehicle list item is equal to the source address of the beacon message, the mobile management state of the vehicle list item is set to be 0, and the home address field value and the timestamp are set to be the home address and the timestamp value in the beacon message; step 208 is executed;
step 204: if the vehicle node that received the beacon message broadcast by the vehicle node V1 has received the beacon message with the same source address and the same timestamp, then step 207 is executed, otherwise step 205 is executed;
step 205: judging whether the vehicle node which receives the beacon message broadcast by the vehicle node V1 is located in the domain D1, if so, executing the step 206, otherwise, executing the step 207;
step 206: the vehicle node which receives the beacon message broadcast by the vehicle node V1 forwards the beacon message, and step 202 is executed;
step 207: the vehicle node that received the beacon message broadcast by vehicle node V1 discards the beacon message;
step 208: finishing;
the base station establishes vehicle list items of other vehicle nodes in the domain through the process;
if a base station does not receive the beacon message of the vehicle node V1 within a prescribed time (e.g., 1s), deleting the vehicle list item of the vehicle node V1 from the vehicle list;
if the base station is connected with the access router located in the domain D1, the base station periodically transmits a beacon message to the access router, wherein the source address of the beacon message is the global address of the base station in the domain D1, the load is a vehicle table in the domain D1, and the table name of the vehicle table is the global address of the base station in the domain D1; after receiving the beacon message sent by the base station, the access router performs the following operations on the vehicle table in the beacon message: if the access router has a vehicle table with the same name as the vehicle table in the beacon message, deleting the vehicle table and saving the vehicle table in the beacon message; otherwise, the access router directly saves the vehicle list in the beacon message.
The base station can quickly judge the connected vehicle nodes through the process, so that reliable communication is realized.
In the method, an access router maintains an address table, and the address table records the address information of a vehicle node which takes the access router as a home router; one address table item comprises a home address domain and a current address domain;
if the access router in the domain D1 is AR1, after the access router AR1 receives the beacon messages of all base stations in the domain D1, the following mobility management operations are performed:
step 301: starting;
step 302: the access router AR1 performs the following for each saved vehicle table: for each vehicle table entry with the mobile management identifier of 0 in the vehicle table, the access router AR1 constructs a global address, the network prefix and the base station ID of the global address are equal to the network prefix and the base station ID of the table name of the vehicle table, the vehicle ID is set as the vehicle ID of the home address in the vehicle table entry, the mobile management identifier of the vehicle table entry is set to 1, the access router constructs an address pair < home address, current address >, wherein the home address field value in the address pair is equal to the home address field value in the vehicle table entry, and the current address is equal to the constructed global address;
step 303: the access router AR1 looks at all constructed address pairs, groups these addresses, each group satisfying condition 1, and performs the following for each group: if the network prefix of the home address of the address pair in the packet is equal to the network prefix of the access router AR1, executing step 304, otherwise executing step 305;
condition 1: the network prefixes of the home address domain values of the address pairs in each group are the same;
step 304: for each address pair in the packet, the access router AR1 performs the following operations: searching an address table entry of which the home address domain value is equal to the home address domain value in the address pair, updating the current address of the address table entry to the current address in the address pair, and executing step 307;
step 305: the access router AR1 creates a global address, the network prefix of the global address is the network prefix of the home address of the address pair in the group, and the base station ID and the vehicle ID are 0; the access router AR1 sends a mobile request message, the source address of the mobile request message is its own global address, the destination address is the constructed global address, and the load is all address pairs in the group;
step 306: after receiving the mobile request message, the destination router performs the following operations for each address pair in the mobile request message: the destination router searches the address table item whose home address is equal to the home address of the address pair in the address table, and updates the current address of the address table item to the current address value of the address pair;
step 307: the access router AR1 sends a beacon message to each base station in the domain D1, wherein the source address of the beacon message is the global address of the access router AR1, the destination address is the global address of the base station in the domain D1, and the load is a vehicle table with the table name of the global address of the base station in the domain D1;
step 308: after receiving the beacon message of the access router AR1, the base station checks the vehicle table VT1 in the domain D1, and performs the following operations for each vehicle table entry E1 in the vehicle table in the beacon message: the base station searches the vehicle table VT1 to select the vehicle table item with the home address domain value equal to the home address of the vehicle table item E1, and sets the mobile management identifier of the vehicle table item to be 1;
step 309: and (6) ending.
The mobility management process can ensure the continuity of data communication of the vehicle node during the movement process.
In the method of the invention, under the condition that a vehicle node V1 and a vehicle node V2 are located in a domain D1, an access router of the domain D1 is AR1, and a home address of the vehicle node V2 is H2, the vehicle node V1 realizes communication with the vehicle node V2 by the following processes:
step 401: starting;
step 402: the vehicle node V1 sends a communication request message, wherein the destination address of the communication request message is a home address H2, the source address is a global address of the vehicle node V1, in the global address of the vehicle node V1, the network prefix and the base station ID are 0, and the vehicle ID is the license plate number of the vehicle node V1; the vehicle node V1 checks the base station list, and selects the base station list item with the connection state as connection and the nearest geographic coordinate of the local address to the vehicle node V1; the vehicle node V1 forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local geology of the base station table entry;
step 403: if the vehicle node receives the communication request message, executing step 404, otherwise executing step 407;
step 404: if the vehicle node is located in domain D1, then step 405 is performed, otherwise step 406 is performed;
step 405: the vehicle node receiving the communication request message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinate of the local address of the table entry of the base station, and step 403 is executed;
step 406: the vehicle node discards the received communication request message, and executes step 412;
step 407: after receiving the communication request message, the base station forwards the communication request message to an access router AR 1; the access router AR1 checks all vehicle tables, selects the vehicle table item E1 whose vehicle ID of home address field value is equal to the vehicle ID of source address of communication request message, the vehicle table item E1 is located in the vehicle table named T1, selects the vehicle table item E2 whose vehicle ID of home address field value is equal to the vehicle ID of destination address of communication request message, the vehicle table item E2 is located in the vehicle table named T2; the access router AR1 updates the source address of the communication request message to the local address in the vehicle table entry E1, updates the destination address of the communication request message to the local address of the vehicle table entry E2, and forwards the communication request message to the base station with the global address of T2, wherein the load is the vehicle table name T1;
step 408: after receiving the communication request message, the target base station forwards the communication request message to a neighbor vehicle node closest to the geographic coordinate in the destination address of the communication request message;
step 409: if the vehicle node V2 receives the communication request message, go to step 411, otherwise go to step 410;
step 410: after receiving the communication request message, the vehicle node forwards the communication request message to a neighboring vehicle node closest to the geographic coordinate in the destination address of the communication request message, and executes step 409;
step 411: the vehicle node V2 sends a communication response message, the source address of the communication response message is the destination address of the received communication request message, the destination address of the communication response message is the source address of the received request message, and the load is the vehicle table name T1 and the response Data 1; the vehicle node V2 forwards the communication response message to a neighbor vehicle node or a neighbor base station closest to the geographical coordinates of the destination address;
step 412: if the base station with the global address of T1 receives the communication response message, execute step 420, otherwise execute step 413;
step 413: if the vehicle node receives the communication response message, then step 414 is performed, otherwise step 418 is performed;
step 414: if the vehicle node receiving the communication response message is the vehicle node V1, executing step 423, otherwise executing step 415;
step 415: the vehicle node receiving the communication response message detects whether a neighbor vehicle node exists, the distance between the neighbor vehicle node and the geographic coordinate of the destination address of the communication response message is smaller than the distance between the neighbor vehicle node and the geographic coordinate of the destination address of the communication response message, if so, step 416 is executed, otherwise, step 417 is executed;
step 416: the vehicle node receiving the communication response message forwards the communication response message to the neighbor vehicle node with the minimum distance from the geographic coordinate of the destination address of the communication response message, and step 412 is executed;
step 417: the vehicle node receiving the communication response message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication response message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local geology of the base station table entry, and step 412 is executed;
step 418: judging whether the global address of the base station receiving the communication response message is T1, if so, executing step 420, otherwise, executing step 419;
step 419: the base station receiving the communication response message forwards the communication response message to the access router AR1, and the access router AR1 forwards the communication response message to the base station with the global address T1 according to the global address T1 in the communication response message;
step 420: after receiving the communication response message, the base station with the global address of T1 forwards the communication response message to the neighbor vehicle node closest to the geographic coordinate in the destination address of the communication response message;
step 421: if the vehicle node V1 receives the communication response message, execute step 423, otherwise execute step 422;
step 422: after receiving the communication response message, the vehicle node forwards the communication response message to the neighboring vehicle node closest to the geographic coordinate in the destination address of the communication response message, and then step 421 is executed;
step 423: the vehicle node V1 saves the response Data1 in the communication response message;
step 424: and (6) ending.
The vehicle node can rapidly acquire data through the process, so that data communication delay and packet loss rate are reduced.
In the method of the invention, under the condition that a vehicle node V1 is located in a domain D1, an access router in the domain D1 is AR1, a vehicle node V3 is located in a domain D3, an access router in the domain D3 is AR3, and a home address of the vehicle node V3 is H3, the vehicle node V1 realizes communication with a vehicle node V3 through the following processes:
step 501: starting;
step 502: the vehicle node V1 sends a communication request message, wherein the destination address of the communication request message is a home address H2, the source address is a global address of the vehicle node V1, in the global address of the vehicle node V1, the network prefix and the base station ID are 0, and the vehicle ID is the license plate number of the vehicle node V1; the vehicle node V1 checks the base station list, and selects the base station list item with the connection state as connection and the nearest geographic coordinate of the local address to the vehicle node V1; the vehicle node V1 forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local geology of the base station table entry;
step 503: if the vehicle node receives the communication request message, executing step 504, otherwise executing step 507;
step 504: if the vehicle node is located in domain D1, then step 505 is performed, otherwise step 506 is performed;
step 505: the vehicle node receiving the communication request message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication request message to a neighbor vehicle node or a base station closest to the geographical coordinate of the local address of the table entry of the base station, and step 503 is executed;
step 506: the vehicle node discards the received communication request message, and performs step 515;
step 507: after receiving the communication request message, the base station forwards the communication request message to an access router AR 1; the access router AR1 checks all vehicle tables, checks the vehicle table item E1 of which the vehicle ID of the home address field value is equal to the vehicle ID of the source address of the communication request message, and the name of the vehicle table in which the vehicle table item E1 is located is T1; the access router AR1 sets the network prefix and the base station ID of the source address of the communication request message as the network prefix and the base station ID of the global address T1, and forwards the communication request message to the Internet; finally, the communication request message reaches a destination access router, and the network prefix of the destination access router is the same as that of the destination address of the communication request message;
step 508: the access router receiving the communication request message checks the vehicle list, if the vehicle list item with the vehicle ID of the home address field value equal to the vehicle ID of the destination address of the communication request message exists, step 510 is executed, otherwise step 509 is executed;
step 509: the access router receiving the communication request message checks the address table, selects the address table entry with the home address equal to the destination address of the communication request message, updates the destination address of the communication request message to the current address field value of the address table entry, forwards the communication request message through the internet, finally the communication request message reaches the destination access router, the network prefix of the destination access router is the same as that of the destination address of the communication request message, and executes step 508;
step 510: the access router checks the vehicle table item E3 that the vehicle ID of the home address field value is equal to the vehicle ID of the destination address of the communication request message, the vehicle table item E3 is positioned in a vehicle table with the table name of T3, then the destination address of the communication request message is updated to the local address of the vehicle table item E3, and the communication request message is forwarded to the base station with the global address of T3;
step 511: after receiving the communication request message, the base station with the global address of T3 forwards the communication request message to the neighbor vehicle node closest to the geographic coordinate in the destination address of the communication request message;
step 512: if the vehicle node V3 receives the communication request message, go to step 514, otherwise go to step 513;
step 513: after receiving the communication request message, the vehicle node forwards the communication request message to a neighboring vehicle node closest to the geographic coordinate in the destination address of the communication request message, and executes step 512;
step 514: the vehicle node V3 sends a communication response message, the source address of which is the destination address of the received communication request message, the destination address of which is the source address of the received communication request message, and the load is response data; the vehicle node V3 checks the base station table, selects the base station table item with the connection state of connection and the nearest geographic coordinate of the local address to itself, and then the vehicle node V3 forwards the communication response message to the neighbor vehicle node or the base station with the nearest geographic coordinate of the local geology of the base station table item;
step 515: if the vehicle node receives the communication response message, executing step 516, otherwise executing step 517;
step 516: the vehicle node receiving the communication response message checks the base station table, selects the base station table entry with the connection state being connection and the geographic coordinate of the local address being closest to itself, then the vehicle node forwards the communication response message to the neighbor vehicle node or the base station closest to the geographic coordinate of the local address of the base station table entry, and step 515 is executed;
517: the base station receiving the communication response message constructs a global address, the network prefix and the base station ID of the global address are equal to the network prefix and the base station ID of the own domain D3, the vehicle ID is equal to the vehicle ID of the source address of the communication response message, then the source address of the communication response message is set as the global address, and the communication response message is forwarded to the access router AR 3; the access router AR3 forwards the communication response message to the Internet, and finally the communication response message reaches the access router AR1 through the Internet; the access router AR1 checks all vehicle tables, selects the vehicle table item E4 of which the vehicle ID of the home address field value is equal to the vehicle ID of the destination address of the communication response message, updates the destination address of the communication response message to the local address of the vehicle table item E4, and forwards the communication response message to the neighbor vehicle node closest to the geographic coordinates in the destination address of the communication response message;
step 518: if the vehicle node V1 receives the communication response message, go to step 520, otherwise go to step 519;
step 519: after receiving the communication response message, the vehicle node forwards the communication response message to the neighboring vehicle node closest to the geographic coordinate in the destination address of the communication response message, and then step 518 is executed;
step 520: the vehicle node V1 saves the response data in the communication response message;
step 521: and (6) ending.
The vehicle node rapidly acquires data through the process, so that data communication delay and packet loss rate are reduced.
Has the advantages that: the invention provides a reliable intelligent Internet of vehicles data communication implementation method, a vehicle node can rapidly acquire service data through the data communication implementation method provided by the invention, the delay and cost for acquiring the service data are reduced, the service quality is improved, the method can be applied to the fields of road condition monitoring, vehicle management and the like, and has wide application prospect.
Drawings
The foregoing and/or other advantages of the invention will become further apparent from the following detailed description of the invention when taken in conjunction with the accompanying drawings.
Fig. 1 is a schematic diagram of a base station table creation process according to the present invention.
FIG. 2 is a schematic diagram of a vehicle list creation process according to the present invention.
Fig. 3 is a schematic diagram of a mobility management process according to the present invention.
Fig. 4 is a schematic flow chart of the local data acquisition according to the present invention.
Fig. 5 is a schematic diagram illustrating a process of remotely acquiring data according to the present invention.
The specific implementation mode is as follows:
the invention provides a reliable intelligent Internet of vehicles data communication implementation method, a vehicle node can rapidly acquire service data through the data communication implementation method provided by the invention, the delay and cost for acquiring the service data are reduced, the service quality is improved, the method can be applied to the fields of road condition monitoring, vehicle management and the like, and has wide application prospect.
Fig. 1 is a schematic diagram of a base station table creation process according to the present invention. In the local address of the base station, the geographic coordinate and the base station ID are the geographic coordinate value and the base station ID value of the base station, and the vehicle ID is 0; a base station broadcasts a beacon message periodically, the load of the beacon message is a time stamp, and the source address of the beacon message is the local address of the base station;
after the base station B1 broadcasts the beacon message, the vehicle node establishes a base station entry for the base station B1 by:
step 101: starting;
step 102: if a base station receives the beacon message broadcast by the base station B1, step 103, otherwise, step 104 is executed;
step 103: the base station receiving the beacon message of the base station B1 discards the beacon message, and performs step 110;
step 104: the vehicle node that received the beacon message of base station B1 looks at the timestamp in the beacon message, if a beacon message with the same source address and the same timestamp has been received, then step 105 is performed, otherwise step 106 is performed;
step 105: the vehicle node that received the beacon message of base station B1 discards the beacon message, go to step 110;
step 106: the vehicle node that receives the beacon message of base station B1 checks the base station table, if there is a base station table entry with a local address equal to the source address of the received beacon message, then step 107 is executed, otherwise step 108 is executed;
step 107: the vehicle node that received the beacon message of base station B1 selects a base station entry having a local address equal to the source address of the received beacon message, sets the connection status of the base station entry to connected, sets the timestamp to the timestamp value in the beacon message, and performs step 109;
step 108: the vehicle node receiving the beacon message of the base station B1 creates a base station table entry, the local address field value of which is equal to the source address of the beacon message, the connection status of which is set to connected, and the timestamp is set to the timestamp value in the beacon message;
step 109: the vehicle node receiving the beacon message of the base station B1 forwards the beacon message, and executes step 102;
step 110: finishing;
the vehicle node establishes base station list items of other base stations of the domain in which the vehicle node is located through the process.
FIG. 2 is a schematic diagram of a vehicle list creation process according to the present invention. If the vehicle node V1 is located in the domain D1, and the vehicle node V1 broadcasts the beacon message, the base station in the domain D1 establishes the vehicle table entry for the vehicle node V1 by:
step 201: starting;
step 202: if a base station receives the beacon message broadcast by the vehicle node V1, step 203, otherwise, step 204 is executed;
step 203: the base station receiving the beacon message broadcast by the vehicle node V1 selects the vehicle table of domain D1, sets the local address of the vehicle table entry to the source address of the beacon message and the timestamp to the timestamp value in the beacon message if there is a vehicle table entry with a vehicle ID of the local address equal to the vehicle ID of the source address of the received beacon message; if the vehicle list item of which the vehicle ID of the local address is equal to the vehicle ID of the source address of the received beacon message does not exist, the base station creates a vehicle list item, the local address field value of the vehicle list item is equal to the source address of the beacon message, the mobile management state of the vehicle list item is set to be 0, and the home address field value and the timestamp are set to be the home address and the timestamp value in the beacon message; step 208 is executed;
step 204: if the vehicle node that received the beacon message broadcast by the vehicle node V1 has received the beacon message with the same source address and the same timestamp, then step 207 is executed, otherwise step 205 is executed;
step 205: judging whether the vehicle node which receives the beacon message broadcast by the vehicle node V1 is located in the domain D1, if so, executing the step 206, otherwise, executing the step 207;
step 206: the vehicle node which receives the beacon message broadcast by the vehicle node V1 forwards the beacon message, and step 202 is executed;
step 207: the vehicle node that received the beacon message broadcast by vehicle node V1 discards the beacon message;
step 208: finishing;
the base station establishes vehicle list items of other vehicle nodes of the domain in which the base station is located through the process.
Fig. 3 is a schematic diagram of a mobility management process according to the present invention. If the access router in the domain D1 is AR1, after the access router AR1 receives the beacon messages of all base stations in the domain D1, the following mobility management operations are performed:
step 301: starting;
step 302: the access router AR1 performs the following for each saved vehicle table: for each vehicle table entry with the mobile management identifier of 0 in the vehicle table, the access router AR1 constructs a global address, the network prefix and the base station ID of the global address are equal to the network prefix and the base station ID of the table name of the vehicle table, the vehicle ID is set as the vehicle ID of the home address in the vehicle table entry, the mobile management identifier of the vehicle table entry is set to 1, the access router constructs an address pair < home address, current address >, wherein the home address field value in the address pair is equal to the home address field value in the vehicle table entry, and the current address is equal to the constructed global address;
step 303: the access router AR1 looks at all constructed address pairs, groups these addresses, each group satisfying condition 1, and performs the following for each group: if the network prefix of the home address of the address pair in the packet is equal to the network prefix of the access router AR1, executing step 304, otherwise executing step 305;
condition 1: the network prefixes of the home address domain values of the address pairs in each group are the same;
step 304: for each address pair in the packet, the access router AR1 performs the following operations: searching an address table entry of which the home address domain value is equal to the home address domain value in the address pair, updating the current address of the address table entry to the current address in the address pair, and executing step 307;
step 305: the access router AR1 creates a global address, the network prefix of the global address is the network prefix of the home address of the address pair in the group, and the base station ID and the vehicle ID are 0; the access router AR1 sends a mobile request message, the source address of the mobile request message is its own global address, the destination address is the constructed global address, and the load is all address pairs in the group;
step 306: after receiving the mobile request message, the destination router performs the following operations for each address pair in the mobile request message: the destination router searches the address table item whose home address is equal to the home address of the address pair in the address table, and updates the current address of the address table item to the current address value of the address pair;
step 307: the access router AR1 sends a beacon message to each base station in the domain D1, wherein the source address of the beacon message is the global address of the access router AR1, the destination address is the global address of the base station in the domain D1, and the load is a vehicle table with the table name of the global address of the base station in the domain D1;
step 308: after receiving the beacon message of the access router AR1, the base station checks the vehicle table VT1 in the domain D1, and performs the following operations for each vehicle table entry E1 in the vehicle table in the beacon message: the base station searches the vehicle table VT1 to select the vehicle table item with the home address domain value equal to the home address of the vehicle table item E1, and sets the mobile management identifier of the vehicle table item to be 1;
step 309: and (6) ending.
Fig. 4 is a schematic flow chart of the local data acquisition according to the present invention. Under the condition that the vehicle node V1 and the vehicle node V2 are located in the domain D1, the access router of the domain D1 is AR1, and the home address of the vehicle node V2 is H2, the vehicle node V1 realizes communication with the vehicle node V2 by the following procedures:
step 401: starting;
step 402: the vehicle node V1 sends a communication request message, wherein the destination address of the communication request message is a home address H2, the source address is a global address of the vehicle node V1, in the global address of the vehicle node V1, the network prefix and the base station ID are 0, and the vehicle ID is the license plate number of the vehicle node V1; the vehicle node V1 checks the base station list, and selects the base station list item with the connection state as connection and the nearest geographic coordinate of the local address to the vehicle node V1; the vehicle node V1 forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local geology of the base station table entry;
step 403: if the vehicle node receives the communication request message, executing step 404, otherwise executing step 407;
step 404: if the vehicle node is located in domain D1, then step 405 is performed, otherwise step 406 is performed;
step 405: the vehicle node receiving the communication request message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinate of the local address of the table entry of the base station, and step 403 is executed;
step 406: the vehicle node discards the received communication request message, and executes step 412;
step 407: after receiving the communication request message, the base station forwards the communication request message to an access router AR 1; the access router AR1 checks all vehicle tables, selects the vehicle table item E1 whose vehicle ID of home address field value is equal to the vehicle ID of source address of communication request message, the vehicle table item E1 is located in the vehicle table named T1, selects the vehicle table item E2 whose vehicle ID of home address field value is equal to the vehicle ID of destination address of communication request message, the vehicle table item E2 is located in the vehicle table named T2; the access router AR1 updates the source address of the communication request message to the local address in the vehicle table entry E1, updates the destination address of the communication request message to the local address of the vehicle table entry E2, and forwards the communication request message to the base station with the global address of T2, wherein the load is the vehicle table name T1;
step 408: after receiving the communication request message, the target base station forwards the communication request message to a neighbor vehicle node closest to the geographic coordinate in the destination address of the communication request message;
step 409: if the vehicle node V2 receives the communication request message, go to step 411, otherwise go to step 410;
step 410: after receiving the communication request message, the vehicle node forwards the communication request message to a neighboring vehicle node closest to the geographic coordinate in the destination address of the communication request message, and executes step 409;
step 411: the vehicle node V2 sends a communication response message, the source address of the communication response message is the destination address of the received communication request message, the destination address of the communication response message is the source address of the received request message, and the load is the vehicle table name T1 and the response Data 1; the vehicle node V2 forwards the communication response message to a neighbor vehicle node or a neighbor base station closest to the geographical coordinates of the destination address;
step 412: if the base station with the global address of T1 receives the communication response message, execute step 420, otherwise execute step 413;
step 413: if the vehicle node receives the communication response message, then step 414 is performed, otherwise step 418 is performed;
step 414: if the vehicle node receiving the communication response message is the vehicle node V1, executing step 423, otherwise executing step 415;
step 415: the vehicle node receiving the communication response message detects whether a neighbor vehicle node exists, the distance between the neighbor vehicle node and the geographic coordinate of the destination address of the communication response message is smaller than the distance between the neighbor vehicle node and the geographic coordinate of the destination address of the communication response message, if so, step 416 is executed, otherwise, step 417 is executed;
step 416: the vehicle node receiving the communication response message forwards the communication response message to the neighbor vehicle node with the minimum distance from the geographic coordinate of the destination address of the communication response message, and step 412 is executed;
step 417: the vehicle node receiving the communication response message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication response message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local geology of the base station table entry, and step 412 is executed;
step 418: judging whether the global address of the base station receiving the communication response message is T1, if so, executing step 420, otherwise, executing step 419;
step 419: the base station receiving the communication response message forwards the communication response message to the access router AR1, and the access router AR1 forwards the communication response message to the base station with the global address T1 according to the global address T1 in the communication response message;
step 420: after receiving the communication response message, the base station with the global address of T1 forwards the communication response message to the neighbor vehicle node closest to the geographic coordinate in the destination address of the communication response message;
step 421: if the vehicle node V1 receives the communication response message, execute step 423, otherwise execute step 422;
step 422: after receiving the communication response message, the vehicle node forwards the communication response message to the neighboring vehicle node closest to the geographic coordinate in the destination address of the communication response message, and then step 421 is executed;
step 423: the vehicle node V1 saves the response Data1 in the communication response message;
step 424: and (6) ending.
Fig. 5 is a schematic diagram illustrating a process of remotely acquiring data according to the present invention. Under the condition that the vehicle node V1 is located in a domain D1, an access router in the domain D1 is AR1, the vehicle node V3 is located in a domain D3, an access router in the domain D3 is AR3, and a home address of the vehicle node V3 is H3, the vehicle node V1 realizes communication with the vehicle node V3 through the following processes:
step 501: starting;
step 502: the vehicle node V1 sends a communication request message, wherein the destination address of the communication request message is a home address H2, the source address is a global address of the vehicle node V1, in the global address of the vehicle node V1, the network prefix and the base station ID are 0, and the vehicle ID is the license plate number of the vehicle node V1; the vehicle node V1 checks the base station list, and selects the base station list item with the connection state as connection and the nearest geographic coordinate of the local address to the vehicle node V1; the vehicle node V1 forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local geology of the base station table entry;
step 503: if the vehicle node receives the communication request message, executing step 504, otherwise executing step 507;
step 504: if the vehicle node is located in domain D1, then step 505 is performed, otherwise step 506 is performed;
step 505: the vehicle node receiving the communication request message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication request message to a neighbor vehicle node or a base station closest to the geographical coordinate of the local address of the table entry of the base station, and step 503 is executed;
step 506: the vehicle node discards the received communication request message, and performs step 515;
step 507: after receiving the communication request message, the base station forwards the communication request message to an access router AR 1; the access router AR1 checks all vehicle tables, checks the vehicle table item E1 of which the vehicle ID of the home address field value is equal to the vehicle ID of the source address of the communication request message, and the name of the vehicle table in which the vehicle table item E1 is located is T1; the access router AR1 sets the network prefix and the base station ID of the source address of the communication request message as the network prefix and the base station ID of the global address T1, and forwards the communication request message to the Internet; finally, the communication request message reaches a destination access router, and the network prefix of the destination access router is the same as that of the destination address of the communication request message;
step 508: the access router receiving the communication request message checks the vehicle list, if the vehicle list item with the vehicle ID of the home address field value equal to the vehicle ID of the destination address of the communication request message exists, step 510 is executed, otherwise step 509 is executed;
step 509: the access router receiving the communication request message checks the address table, selects the address table entry with the home address equal to the destination address of the communication request message, updates the destination address of the communication request message to the current address field value of the address table entry, forwards the communication request message through the internet, finally the communication request message reaches the destination access router, the network prefix of the destination access router is the same as that of the destination address of the communication request message, and executes step 508;
step 510: the access router checks the vehicle table item E3 that the vehicle ID of the home address field value is equal to the vehicle ID of the destination address of the communication request message, the vehicle table item E3 is positioned in a vehicle table with the table name of T3, then the destination address of the communication request message is updated to the local address of the vehicle table item E3, and the communication request message is forwarded to the base station with the global address of T3;
step 511: after receiving the communication request message, the base station with the global address of T3 forwards the communication request message to the neighbor vehicle node closest to the geographic coordinate in the destination address of the communication request message;
step 512: if the vehicle node V3 receives the communication request message, go to step 514, otherwise go to step 513;
step 513: after receiving the communication request message, the vehicle node forwards the communication request message to a neighboring vehicle node closest to the geographic coordinate in the destination address of the communication request message, and executes step 512;
step 514: the vehicle node V3 sends a communication response message, the source address of which is the destination address of the received communication request message, the destination address of which is the source address of the received communication request message, and the load is response data; the vehicle node V3 checks the base station table, selects the base station table item with the connection state of connection and the nearest geographic coordinate of the local address to itself, and then the vehicle node V3 forwards the communication response message to the neighbor vehicle node or the base station with the nearest geographic coordinate of the local geology of the base station table item;
step 515: if the vehicle node receives the communication response message, executing step 516, otherwise executing step 517;
step 516: the vehicle node receiving the communication response message checks the base station table, selects the base station table entry with the connection state being connection and the geographic coordinate of the local address being closest to itself, then the vehicle node forwards the communication response message to the neighbor vehicle node or the base station closest to the geographic coordinate of the local address of the base station table entry, and step 515 is executed;
517: the base station receiving the communication response message constructs a global address, the network prefix and the base station ID of the global address are equal to the network prefix and the base station ID of the own domain D3, the vehicle ID is equal to the vehicle ID of the source address of the communication response message, then the source address of the communication response message is set as the global address, and the communication response message is forwarded to the access router AR 3; the access router AR3 forwards the communication response message to the Internet, and finally the communication response message reaches the access router AR1 through the Internet; the access router AR1 checks all vehicle tables, selects the vehicle table item E4 of which the vehicle ID of the home address field value is equal to the vehicle ID of the destination address of the communication response message, updates the destination address of the communication response message to the local address of the vehicle table item E4, and forwards the communication response message to the neighbor vehicle node closest to the geographic coordinates in the destination address of the communication response message;
step 518: if the vehicle node V1 receives the communication response message, go to step 520, otherwise go to step 519;
step 519: after receiving the communication response message, the vehicle node forwards the communication response message to the neighboring vehicle node closest to the geographic coordinate in the destination address of the communication response message, and then step 518 is executed;
step 520: the vehicle node V1 saves the response data in the communication response message;
step 521: and (6) ending.
Example 1
Based on the simulation parameters in table 1, the present embodiment simulates a reliable implementation method of intelligent data communication in the internet of vehicles, and the performance analysis is as follows: when the speed of the vehicle node is reduced, the network performance is enhanced, the data communication performance is enhanced, and the packet loss rate is reduced. The packet loss rate of the service data acquired by the vehicle node is lower than 3%.
TABLE 1 simulation parameters
Figure BDA0001391094540000151
The invention provides a reliable intelligent car networking data communication implementation method, and a number of methods and ways for implementing the technical scheme are provided, the above description is only a preferred embodiment of the invention, and it should be noted that, for those skilled in the art, a number of improvements and embellishments can be made without departing from the principle of the invention, and these improvements and embellishments should also be regarded as the protection scope of the invention. The components not specified in this embodiment can be implemented by the prior art.

Claims (5)

1. A reliable intelligent data communication implementation method of the Internet of vehicles is characterized in that the Internet of vehicles comprises an access router, a base station and vehicle nodes; the access router is connected with an internet backbone network, the base station is connected with the access router, and the base station is positioned at a road intersection; the vehicle node has a route forwarding function; the area enclosed by all the base stations connected with one access router is a domain, and one base station can be connected with two access routers and belongs to more than two domains; if the vehicle node in one domain can communicate with the base station of the domain in which the vehicle node is located through single-hop forwarding or multi-hop forwarding, the vehicle node and the base station are represented as a connected relation; if the vehicle node in one domain can not communicate with the base station in the domain through single-hop forwarding or multi-hop forwarding, the vehicle node and the base station are represented as a non-connected relation;
the vehicle nodes realize inter-domain communication through global addresses and carry out intra-domain communication through local addresses; the global address is composed of a network prefix, a base station ID, a vehicle ID and a global address identifier, the global address uniquely identifies one domain, the base station ID uniquely identifies one base station, and the vehicle ID uniquely identifies one vehicle node; the global address identifier of the global address is 1; the base station ID and the vehicle ID of the global address of the access router are 0; the vehicle ID of the global address of the base station is 0;
when the vehicle node registers to obtain the license plate number, a home address is allocated at the same time, and the home address is a global address; if the network prefix of the global address of one router is the same as that of the global address of one vehicle node, the router is called a home router of the vehicle node, and the domain in which the router is located is called a home domain of the vehicle node; if the network prefix and the base station ID of the global address of one base station are the same as the network prefix and the base station ID of the global address of one vehicle node, the base station is called as a home base station of the vehicle node; if the vehicle node leaves the home domain and enters a new domain, the new domain is called an external domain of the vehicle node, an access router of the new domain is called an external router of the vehicle node, and a base station of the new domain is called an external base station of the vehicle node;
the local address is composed of a geographic coordinate, a base station ID, a vehicle ID and a global address identifier; the global address identifier of the local address is 0;
in a domain, an access router is connected with all base stations in the domain through own interfaces, if the access router is connected with a base station through own interface n, the ID of the base station is n; the vehicle ID of the vehicle node is the license plate number of the vehicle node;
the vehicle node stores a base station list, and each base station list item is composed of a local address, a connection state and a time stamp; after a vehicle node starts or enters a new domain, the vehicle node empties the base station list and rebuilds and establishes the base station list;
in the local address of the base station, the geographic coordinate and the base station ID are the geographic coordinate value and the base station ID value of the base station, and the vehicle ID is 0; a base station broadcasts a beacon message periodically, the load of the beacon message is a time stamp, and the source address of the beacon message is the local address of the base station;
after the base station B1 broadcasts the beacon message, the vehicle node establishes a base station entry for the base station B1 by:
step 101: starting;
step 102: if a base station receives the beacon message broadcast by the base station B1, step 103, otherwise, step 104 is executed;
step 103: the base station receiving the beacon message of the base station B1 discards the beacon message, and performs step 110;
step 104: the vehicle node that received the beacon message of base station B1 looks at the timestamp in the beacon message, if a beacon message with the same source address and the same timestamp has been received, then step 105 is performed, otherwise step 106 is performed;
step 105: the vehicle node that received the beacon message of base station B1 discards the beacon message, go to step 110;
step 106: the vehicle node that receives the beacon message of base station B1 checks the base station table, if there is a base station table entry with a local address equal to the source address of the received beacon message, then step 107 is executed, otherwise step 108 is executed;
step 107: the vehicle node that received the beacon message of base station B1 selects a base station entry having a local address equal to the source address of the received beacon message, sets the connection status of the base station entry to connected, sets the timestamp to the timestamp value in the beacon message, and performs step 109;
step 108: the vehicle node receiving the beacon message of the base station B1 creates a base station table entry, the local address field value of the base station table entry is equal to the source address of the beacon message, the connection status of the base station table entry is set as connection, the timestamp is set as the timestamp value in the beacon message, and step 109 is executed;
step 109: the vehicle node receiving the beacon message of the base station B1 forwards the beacon message, and executes step 102;
step 110: finishing;
the vehicle node establishes base station table entries of other base stations in the domain through the process;
if the vehicle node does not receive the beacon message of the base station B1 within the predetermined time, the vehicle node sets the connection state of the base station entry corresponding to the base station B1 as unconnected.
2. The reliable intelligent data communication implementation method of the internet of vehicles is characterized in that the base station stores a vehicle list for each affiliated domain, and the name of the vehicle list is the global address of the base station in the domain; the vehicle list item of the vehicle list comprises a local address domain, a home address domain, a mobile management domain and a timestamp;
in the local address of the vehicle node, the geographic coordinate is the current geographic coordinate, the vehicle ID is the license plate number of the vehicle node, and the base station ID is the base station ID of the home address; the method comprises the steps that a vehicle node regularly broadcasts a beacon message after being started, and the load of the beacon message is a timestamp and a home address;
if the vehicle node V1 is located in the domain D1, and the vehicle node V1 broadcasts the beacon message, the base station in the domain D1 establishes the vehicle table entry for the vehicle node V1 by:
step 201: starting;
step 202: if a base station receives the beacon message broadcast by the vehicle node V1, step 203, otherwise, step 204 is executed;
step 203: the base station receiving the beacon message broadcast by the vehicle node V1 selects the vehicle table of domain D1, sets the local address of the vehicle table entry to the source address of the beacon message and the timestamp to the timestamp value in the beacon message if there is a vehicle table entry with a vehicle ID of the local address equal to the vehicle ID of the source address of the received beacon message; if the vehicle list item of which the vehicle ID of the local address is equal to the vehicle ID of the source address of the received beacon message does not exist, the base station creates a vehicle list item, the local address field value of the vehicle list item is equal to the source address of the beacon message, the mobile management state of the vehicle list item is set to be 0, and the home address field value and the timestamp are set to be the home address and the timestamp value in the beacon message; step 208 is executed;
step 204: if the vehicle node that received the beacon message broadcast by the vehicle node V1 has received the beacon message with the same source address and the same timestamp, then step 207 is executed, otherwise step 205 is executed;
step 205: judging whether the vehicle node which receives the beacon message broadcast by the vehicle node V1 is located in the domain D1, if so, executing the step 206, otherwise, executing the step 207;
step 206: the vehicle node which receives the beacon message broadcast by the vehicle node V1 forwards the beacon message, and step 202 is executed;
step 207: the vehicle node that received the beacon message broadcast by vehicle node V1 discards the beacon message;
step 208: finishing;
the base station establishes vehicle list items of other vehicle nodes in the domain through the process;
if a base station does not receive the beacon message of the vehicle node V1 within the specified time, deleting the vehicle list item of the vehicle node V1 from the vehicle list;
if the base station is connected with the access router located in the domain D1, the base station periodically transmits a beacon message to the access router, wherein the source address of the beacon message is the global address of the base station in the domain D1, the load is a vehicle table in the domain D1, and the table name of the vehicle table is the global address of the base station in the domain D1; after receiving the beacon message sent by the base station, the access router performs the following operations on the vehicle table in the beacon message: if the access router has a vehicle table with the same name as the vehicle table in the beacon message, deleting the vehicle table and saving the vehicle table in the beacon message; otherwise, the access router directly saves the vehicle list in the beacon message.
3. The method for realizing reliable intelligent internet-of-vehicle data communication according to claim 2, wherein the access router maintains an address table which records address information of vehicle nodes taking the access router as a home router; one address table item comprises a home address domain and a current address domain;
if the access router in the domain D1 is AR1, after the access router AR1 receives the beacon messages of all base stations in the domain D1, the following mobility management operations are performed:
step 301: starting;
step 302: the access router AR1 performs the following for each saved vehicle table: for each vehicle table entry with the mobile management identifier of 0 in the vehicle table, the access router AR1 constructs a global address, the network prefix and the base station ID of the global address are equal to the network prefix and the base station ID of the table name of the vehicle table, the vehicle ID is set as the vehicle ID of the home address in the vehicle table entry, the mobile management identifier of the vehicle table entry is set to 1, the access router constructs an address pair < home address, current address >, wherein the home address field value in the address pair is equal to the home address field value in the vehicle table entry, and the current address is equal to the constructed global address;
step 303: the access router AR1 looks at all constructed address pairs, groups these addresses, each group satisfying condition 1, and performs the following for each group: if the network prefix of the home address of the address pair in the packet is equal to the network prefix of the access router AR1, executing step 304, otherwise executing step 305;
condition 1: the network prefixes of the home address domain values of the address pairs in each group are the same;
step 304: for each address pair in the packet, the access router AR1 performs the following operations: searching an address table entry of which the home address domain value is equal to the home address domain value in the address pair, updating the current address of the address table entry to the current address in the address pair, and executing step 307;
step 305: the access router AR1 creates a global address, the network prefix of the global address is the network prefix of the home address of the address pair in the group, and the base station ID and the vehicle ID are 0; the access router AR1 sends a mobile request message, the source address of the mobile request message is its own global address, the destination address is the constructed global address, and the load is all address pairs in the group;
step 306: after receiving the mobile request message, the destination router performs the following operations for each address pair in the mobile request message: the destination router searches for an address table entry whose home address is equal to the home address of the address pair in the address table, updates the current address of the address table entry to the current address value of the address pair, and executes step 307;
step 307: the access router AR1 sends a beacon message to each base station in the domain D1, wherein the source address of the beacon message is the global address of the access router AR1, the destination address is the global address of the base station in the domain D1, and the load is a vehicle table with the table name of the global address of the base station in the domain D1;
step 308: after receiving the beacon message of the access router AR1, the base station checks the vehicle table VT1 in the domain D1, and performs the following operations for each vehicle table entry E1 in the vehicle table in the beacon message: the base station searches the vehicle table VT1 to select the vehicle table item with the home address domain value equal to the home address of the vehicle table item E1, and sets the mobile management identifier of the vehicle table item to be 1;
step 309: and (6) ending.
4. The method as claimed in claim 2, wherein under the condition that vehicle node V1 and vehicle node V2 are located in domain D1, the access router of domain D1 is AR1, and the home address of vehicle node V2 is H2, vehicle node V1 implements communication with vehicle node V2 by:
step 401: starting;
step 402: the vehicle node V1 sends a communication request message, wherein the destination address of the communication request message is a home address H2, the source address is a global address of the vehicle node V1, in the global address of the vehicle node V1, the network prefix and the base station ID are 0, and the vehicle ID is the license plate number of the vehicle node V1; the vehicle node V1 checks the base station list, and selects the base station list item with the connection state as connection and the nearest geographic coordinate of the local address to the vehicle node V1; the vehicle node V1 forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local address of the base station table entry;
step 403: if the vehicle node receives the communication request message, executing step 404, otherwise executing step 407;
step 404: if the vehicle node is located in domain D1, then step 405 is performed, otherwise step 406 is performed;
step 405: the vehicle node receiving the communication request message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinate of the local address of the table entry of the base station, and step 403 is executed;
step 406: the vehicle node discards the received communication request message, and executes step 412;
step 407: after receiving the communication request message, the base station forwards the communication request message to an access router AR 1; the access router AR1 checks all vehicle tables, selects the vehicle table item E1 whose vehicle ID of home address field value is equal to the vehicle ID of source address of communication request message, the vehicle table item E1 is located in the vehicle table named T1, selects the vehicle table item E2 whose vehicle ID of home address field value is equal to the vehicle ID of destination address of communication request message, the vehicle table item E2 is located in the vehicle table named T2; the access router AR1 updates the source address of the communication request message to the local address in the vehicle table entry E1, updates the destination address of the communication request message to the local address of the vehicle table entry E2, and forwards the communication request message to the base station with the global address of T2, wherein the load is the vehicle table name T1;
step 408: after receiving the communication request message, the target base station forwards the communication request message to a neighbor vehicle node closest to the geographic coordinate in the destination address of the communication request message;
step 409: if the vehicle node V2 receives the communication request message, go to step 411, otherwise go to step 410;
step 410: after receiving the communication request message, the vehicle node forwards the communication request message to a neighboring vehicle node closest to the geographic coordinate in the destination address of the communication request message, and executes step 409;
step 411: the vehicle node V2 sends a communication response message, the source address of the communication response message is the destination address of the received communication request message, the destination address of the communication response message is the source address of the received request message, and the load is the vehicle table name T1 and the response Data 1; the vehicle node V2 forwards the communication response message to a neighbor vehicle node or a neighbor base station closest to the geographical coordinates of the destination address;
step 412: if the base station with the global address of T1 receives the communication response message, execute step 420, otherwise execute step 413;
step 413: if the vehicle node receives the communication response message, then step 414 is performed, otherwise step 418 is performed;
step 414: if the vehicle node receiving the communication response message is the vehicle node V1, executing step 423, otherwise executing step 415;
step 415: the vehicle node receiving the communication response message detects whether a neighbor vehicle node exists, the distance between the neighbor vehicle node and the geographic coordinate of the destination address of the communication response message is smaller than the distance between the neighbor vehicle node and the geographic coordinate of the destination address of the communication response message, if so, step 416 is executed, otherwise, step 417 is executed;
step 416: the vehicle node receiving the communication response message forwards the communication response message to the neighbor vehicle node with the minimum distance from the geographic coordinate of the destination address of the communication response message, and step 412 is executed;
step 417: the vehicle node receiving the communication response message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication response message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local address of the table entry of the base station, and step 412 is executed;
step 418: judging whether the global address of the base station receiving the communication response message is T1, if so, executing step 420, otherwise, executing step 419;
step 419: the base station receiving the communication response message forwards the communication response message to the access router AR1, and the access router AR1 forwards the communication response message to the base station with the global address T1 according to the global address T1 in the communication response message;
step 420: after receiving the communication response message, the base station with the global address of T1 forwards the communication response message to the neighbor vehicle node closest to the geographic coordinate in the destination address of the communication response message;
step 421: if the vehicle node V1 receives the communication response message, execute step 423, otherwise execute step 422;
step 422: after receiving the communication response message, the vehicle node forwards the communication response message to the neighboring vehicle node closest to the geographic coordinate in the destination address of the communication response message, and then step 421 is executed;
step 423: the vehicle node V1 saves the response Data1 in the communication response message;
step 424: and (6) ending.
5. The method as claimed in claim 2, wherein under the condition that vehicle node V1 is located in domain D1, the access router in domain D1 is AR1, vehicle node V3 is located in domain D3, the access router in domain D3 is AR3, and the home address of vehicle node V3 is H3, vehicle node V1 realizes communication with vehicle node V3 by the following procedures:
step 501: starting;
step 502: the vehicle node V1 sends a communication request message, wherein the destination address of the communication request message is a home address H3, the source address is a global address of the vehicle node V1, in the global address of the vehicle node V1, the network prefix and the base station ID are 0, and the vehicle ID is the license plate number of the vehicle node V1; the vehicle node V1 checks the base station list, and selects the base station list item with the connection state as connection and the nearest geographic coordinate of the local address to the vehicle node V1; the vehicle node V1 forwards the communication request message to the neighbor vehicle node or the base station closest to the geographical coordinates of the local address of the base station table entry;
step 503: if the vehicle node receives the communication request message, executing step 504, otherwise executing step 507;
step 504: if the vehicle node is located in domain D1, then step 505 is performed, otherwise step 506 is performed;
step 505: the vehicle node receiving the communication request message checks the base station list and selects the base station list item with the connection state being connection and the geographic coordinate of the local address being closest to the vehicle node; the vehicle node forwards the communication request message to a neighbor vehicle node or a base station closest to the geographical coordinate of the local address of the table entry of the base station, and step 503 is executed;
step 506: the vehicle node discards the received communication request message, and performs step 515;
step 507: after receiving the communication request message, the base station forwards the communication request message to an access router AR 1; the access router AR1 checks all vehicle tables, checks the vehicle table item E1 of which the vehicle ID of the home address field value is equal to the vehicle ID of the source address of the communication request message, and the name of the vehicle table in which the vehicle table item E1 is located is T1; the access router AR1 sets the network prefix and the base station ID of the source address of the communication request message as the network prefix and the base station ID of the global address T1, and forwards the communication request message to the Internet; finally, the communication request message reaches a destination access router, and the network prefix of the destination access router is the same as that of the destination address of the communication request message;
step 508: the access router receiving the communication request message checks the vehicle list, if the vehicle list item with the vehicle ID of the home address field value equal to the vehicle ID of the destination address of the communication request message exists, step 510 is executed, otherwise step 509 is executed;
step 509: the access router receiving the communication request message checks the address table, selects the address table entry with the home address equal to the destination address of the communication request message, updates the destination address of the communication request message to the current address field value of the address table entry, forwards the communication request message through the internet, finally the communication request message reaches the destination access router, the network prefix of the destination access router is the same as that of the destination address of the communication request message, and executes step 508;
step 510: the access router checks the vehicle table item E3 that the vehicle ID of the home address field value is equal to the vehicle ID of the destination address of the communication request message, the vehicle table item E3 is positioned in a vehicle table with the table name of T3, then the destination address of the communication request message is updated to the local address of the vehicle table item E3, and the communication request message is forwarded to the base station with the global address of T3;
step 511: after receiving the communication request message, the base station with the global address of T3 forwards the communication request message to the neighbor vehicle node closest to the geographic coordinate in the destination address of the communication request message;
step 512: if the vehicle node V3 receives the communication request message, go to step 514, otherwise go to step 513;
step 513: after receiving the communication request message, the vehicle node forwards the communication request message to a neighboring vehicle node closest to the geographic coordinate in the destination address of the communication request message, and executes step 512;
step 514: the vehicle node V3 sends a communication response message, the source address of which is the destination address of the received communication request message, the destination address of which is the source address of the received communication request message, and the load is response data; the vehicle node V3 checks the base station table, selects the base station table item with the connection state of connection and the nearest geographic coordinate of the local address to itself, and then the vehicle node V3 forwards the communication response message to the neighbor vehicle node or the base station with the nearest geographic coordinate of the local address of the base station table item;
step 515: if the vehicle node receives the communication response message, executing step 516, otherwise executing step 517;
step 516: the vehicle node receiving the communication response message checks the base station table, selects the base station table entry with the connection state being connection and the geographic coordinate of the local address being closest to itself, then the vehicle node forwards the communication response message to the neighbor vehicle node or the base station closest to the geographic coordinate of the local address of the base station table entry, and step 515 is executed;
517: the base station receiving the communication response message constructs a global address, the network prefix and the base station ID of the global address are equal to the network prefix and the base station ID of the own domain D3, the vehicle ID is equal to the vehicle ID of the source address of the communication response message, then the source address of the communication response message is set as the global address, and the communication response message is forwarded to the access router AR 3; the access router AR3 forwards the communication response message to the Internet, and finally the communication response message reaches the access router AR1 through the Internet; the access router AR1 checks all vehicle tables, selects the vehicle table item E4 of which the vehicle ID of the home address field value is equal to the vehicle ID of the destination address of the communication response message, updates the destination address of the communication response message to the local address of the vehicle table item E4, and forwards the communication response message to the neighbor vehicle node closest to the geographic coordinates in the destination address of the communication response message;
step 518: if the vehicle node V1 receives the communication response message, go to step 520, otherwise go to step 519;
step 519: after receiving the communication response message, the vehicle node forwards the communication response message to the neighboring vehicle node closest to the geographic coordinate in the destination address of the communication response message, and then step 518 is executed;
step 520: the vehicle node V1 saves the response data in the communication response message;
step 521: and (6) ending.
CN201710750811.7A 2017-08-28 2017-08-28 Reliable intelligent Internet of vehicles data communication implementation method Active CN107395759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710750811.7A CN107395759B (en) 2017-08-28 2017-08-28 Reliable intelligent Internet of vehicles data communication implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710750811.7A CN107395759B (en) 2017-08-28 2017-08-28 Reliable intelligent Internet of vehicles data communication implementation method

Publications (2)

Publication Number Publication Date
CN107395759A CN107395759A (en) 2017-11-24
CN107395759B true CN107395759B (en) 2020-04-21

Family

ID=60345500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710750811.7A Active CN107395759B (en) 2017-08-28 2017-08-28 Reliable intelligent Internet of vehicles data communication implementation method

Country Status (1)

Country Link
CN (1) CN107395759B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650656B (en) * 2018-06-25 2019-12-24 电子科技大学 Distributed city Internet of vehicles routing method based on intersection

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317394A (en) * 2005-11-29 2008-12-03 诺基亚公司 Method, system and arrangements for setting up and maintaining a wlan connection within predictably moving vehicles
CN102905247A (en) * 2012-10-09 2013-01-30 常熟理工学院 Urban vehicle-mounted network moving switching method based on IPv6 (Internet Protocol Version 6)
CN103237326A (en) * 2013-04-07 2013-08-07 常熟理工学院 Cross-layer-based vehicular network mobile handover method
CN106792978A (en) * 2017-03-29 2017-05-31 常熟理工学院 A kind of intelligent vehicle networked data communication method based on cloud

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101373021B1 (en) * 2007-05-10 2014-03-13 삼성전자주식회사 Method and apparatus for communication of mobile terminal using relay device
KR101675306B1 (en) * 2015-03-20 2016-11-11 현대자동차주식회사 Accident information manage apparatus, vehicle having the same and method for managing accident information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317394A (en) * 2005-11-29 2008-12-03 诺基亚公司 Method, system and arrangements for setting up and maintaining a wlan connection within predictably moving vehicles
CN102905247A (en) * 2012-10-09 2013-01-30 常熟理工学院 Urban vehicle-mounted network moving switching method based on IPv6 (Internet Protocol Version 6)
CN103237326A (en) * 2013-04-07 2013-08-07 常熟理工学院 Cross-layer-based vehicular network mobile handover method
CN106792978A (en) * 2017-03-29 2017-05-31 常熟理工学院 A kind of intelligent vehicle networked data communication method based on cloud

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A scheme for connecting vehicular networkers to the Internet;WangXiaonan,HuangHaili,ChengHongbin,ZouRong;《emerging telecommunications technologies》;20131031;全文 *

Also Published As

Publication number Publication date
CN107395759A (en) 2017-11-24

Similar Documents

Publication Publication Date Title
CN106792978B (en) Cloud-based intelligent Internet of vehicles data communication method
CN107333313B (en) Reliable intelligent Internet of vehicles routing implementation method
CN103312811B (en) A kind of implementation method of vehicle-mounted net access IPv6 the Internet
CN105246118A (en) Wireless network communication realization method based on positioning information
CN106993321B (en) Network data communication method based on cluster
CN102202356B (en) Implementation method for mobile handover of vehicle network
CN109257789B (en) Vehicle-mounted network data communication method based on multi-hop cluster
CN103167484B (en) Method for accessing a car connected network to an IPv6 network
CN104717307A (en) Implementation method of vehicle-mounted cloud communication
CN104869563A (en) Communication realization method of next-generation city internet of vehicle
CN105187529A (en) Internet of vehicles implementation method based on positioning information
CN102333118A (en) Automatic Internet protocol version 6 (IPv6) address configuration method for vehicular network
CN104270461A (en) Car network implementation method
CN103475752B (en) What the vehicle-mounted net address of a kind of next generation configured realizes method
CN107508927B (en) Future Internet of vehicles data communication method based on cloud
CN103036785B (en) Routing method of city vehicle-mounted net
CN105188104B (en) A kind of implementation method of wireless communication
CN104869601A (en) Communication realization method of next-generation internet of vehicle
CN109089241B (en) Data communication implementation method for vehicle-mounted network
CN102970393B (en) Address configuration method based on IPv6 (Internet protocol version 6) for in-vehicle network
CN107395759B (en) Reliable intelligent Internet of vehicles data communication implementation method
CN103167057B (en) A kind of vehicle-mounted net address collocation method based on locating information
CN110401911B (en) Vehicle-mounted cloud implementation method based on named data network
CN107484110B (en) Data communication implementation method based on intelligent vehicle-mounted sensor network
CN109041164B (en) Road safety information real-time communication method based on Internet of vehicles

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant