CN107276902A - The car networking route addressing method that geographical position is combined with IP address - Google Patents

The car networking route addressing method that geographical position is combined with IP address Download PDF

Info

Publication number
CN107276902A
CN107276902A CN201710438982.6A CN201710438982A CN107276902A CN 107276902 A CN107276902 A CN 107276902A CN 201710438982 A CN201710438982 A CN 201710438982A CN 107276902 A CN107276902 A CN 107276902A
Authority
CN
China
Prior art keywords
obu
rsu
address
packet
information
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.)
Granted
Application number
CN201710438982.6A
Other languages
Chinese (zh)
Other versions
CN107276902B (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201710438982.6A priority Critical patent/CN107276902B/en
Publication of CN107276902A publication Critical patent/CN107276902A/en
Application granted granted Critical
Publication of CN107276902B publication Critical patent/CN107276902B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Abstract

The present invention provides the car networking route addressing method that a kind of geographical position is combined with IP address.The car networking route addressing method that geographical position of the present invention is combined with IP address includes:RSU receives the first request data package that OBU is sent;The RSU stores the corresponding relation of the first interface information and the first position information;The RSU obtains first data division;The RSU sends first data division to the server;The RSU receives the second packet that the OBU is sent;RSU updates the first position information of the OBU;The RSU receives the first response data packet that the server is sent;The RSU obtains the interface message in the IP address of the OBU;The RSU obtains corresponding first position information;The RSU determines next-hop OBU;The RSU sends first response data packet to the next-hop OBU.The present invention is combined by geographical position with IP address so that can be according to the most suitable route approach of other side's geographical location choice during transmission packet between OBU and RSU.

Description

The car networking route addressing method that geographical position is combined with IP address
Technical field
The present invention relates to bus or train route coordination technique, more particularly to a kind of geographical position and Internet protocol (Internet Protocol, hereinafter referred to as IP) address combine car networking route addressing method.
Background technology
Bus or train route coordination technique is intelligent transportation field important component, it be by Internet of Things, cloud computing, mobile interchange and Data communication transmission technology etc. is effectively integrated, and applies to the communication technology that real time data is transmitted between vehicle and server.Car Road collaboration can build vehicle and the extraneous bridge for carrying out information exchange by multiple technologies means, improve transport information interaction Real-time, high efficiency.
In existing car cloud client service communication system, the information that carry out between vehicle network and public network is passed Pass, board units (On Board Unit, hereinafter referred to as OBU) generally require by roadside unit (Road Side Unit, with Lower abbreviation RSU) it is used as the middle channel of communication with the outside world.In the unlapped region of roadside unit, the first board units calculate adjacent The relative distance of board units and roadside unit is occupied, the neighbours nearest apart from roadside unit are given vehicle-mounted list by request data package Member, then proceed the process that request data package is transmitted to roadside unit from neighbours' board units.It is simultaneously first vehicle-mounted to make The Route Selection that unit can be determined when receiving response data packet, the first board units also use current location information pair Raw requests packet is encapsulated again, so that roadside unit can calculate which specific neighbours' board units distance the One board units recently, and then choose neighbours' board units progress response data packet forwarding.
However, using the method for prior art, board units complete high-speed mobile after request data package is sent, and can make please The positional information in packet is asked to fail, route easily occurs when sending response data packet to board units in roadside unit Failure.
The content of the invention
The present invention provides the car networking route addressing method that a kind of geographical position is combined with IP address, to solve prior art Positional information fails when middle board units are route with roadside unit data, and then causes roadside unit sending sound to board units When answering packet, the problem of routing failure easily occurs.
In a first aspect, the present invention provides the car networking route addressing method that a kind of geographical position is combined with IP address, including:
Drive test unit R SU receives the first request data package that board units OBU is sent, and first request data package is included The first position information and first interface information of the OBU is included in first packet header, the first data division, first packet header, First data division includes the IP address kimonos for including the OBU in the second packet header and the second data division, second packet header The IP address of business device, second data division includes port numbers;
The RSU stores the corresponding relation of the first interface information and the first position information;
The RSU obtains first data division;
The RSU sends first data division to the server;
The RSU receive in the second packet that the OBU is sent, second packet comprising second place information and Second interface information;
If the second interface information is identical with the first interface information, the RSU is according to the second confidence Breath updates the first position information of the OBU;
The RSU, which is received, includes institute in the first response data packet that the server is sent, first response data packet State OBU IP address and port numbers;
The RSU obtains the interface message in the IP address of the OBU;
The RSU is obtained and the interface message identical first interface information corresponding first according to the interface message Positional information;
The RSU determines next-hop OBU according to the first position information and the vehicle neighbor table of the RSU;
The RSU sends first response data packet to the next-hop OBU.
Further, the RSU receives the second packet that the OBU is sent with predetermined period.
Further, the RSU broadcasts the position comprising the RSU in the IP address of the RSU, the IP address and believed Breath.
Second aspect, the present invention provides the car networking route addressing method that a kind of geographical position is combined with IP address, including:
OBU sends the first request data package to RSU, and first request data package includes the first packet header, the first data portion Point, the first position information and first interface information of the OBU is included in first packet header, the first data division includes second IP address comprising the OBU and the IP address of server, described second in packet header and the second data division, second packet header Data division includes port numbers;
The OBU sends to the RSU and second place information and second is included in the second packet, second packet Interface message;
The OBU receives the first response data packet that the RSU is sent.
Further, the OBU sends the first request data package to RSU, including:
The OBU obtains the IP address of the RSU;
The OBU obtains next-hop OBU according to the IP address of the RSU and the vehicle neighbor table of the OBU;
The OBU sends first request data package to the next-hop OBU.
Further, the OBU obtains next-hop according to the IP address of the RSU and the vehicle neighbor table of the OBU OBU, including:
The OBU according toObtain each in the vehicle neighbor table The corresponding score value of neighbours;
It is the next-hop OBU to determine the maximum OBU of the score value.
Further, after the RSU of OBU receptions RSU broadcast IP address, in addition to:
The OBU forwards the IP address of the RSU.
Further, the car networking route addressing method that above-mentioned geographical position is combined with IP address also includes:
Media access control (the Media of the OBU is included in the OBU broadcast data links frame, the data link frame Access Control, hereinafter referred to as MAC) address, the positional information of the OBU and received signal strength indicator (Received Signal Strength Indication, hereinafter referred to as RSSI).
The car networking route addressing method that the geographical position that the present invention is provided is combined with IP address, passes through roadside unit RSU The first request data package that board units OBU is sent is received, RSU stores the first interface included in the first request data package The corresponding relation of information and the first position information;RSU obtains the first data division in the first request data package;And to institute State server and send first data division;RSU is received in the second packet that the OBU is sent, second packet Include second place information and second interface information;If the second interface information is identical with the first interface information, institute State RSU OBU according to second place information updating first position information;The RSU receives the server and sent The first response data packet, the IP address and port numbers of the OBU is included in first response data packet;The RSU is obtained Interface message in the IP address of the OBU;The RSU is obtained and the interface message identical the according to the interface message The corresponding first position information of one interface message;The RSU is according to the first position information and the vehicle neighbours of the RSU Table, determines next-hop OBU;The RSU sends first response data packet to the next-hop OBU.Pass through the second data The positional information for the OBU that upgrades in time is wrapped, so that RSU can accurately know OBU when sending the first response data packet to OBU Positional information, to be route according to accurate OBU positional information so that, reduce routing failure probability.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart for the car networking route addressing method embodiment one that geographical position of the present invention is combined with IP address;
Fig. 2 is one kind that the car networking route addressing method embodiment one that geographical position of the present invention is combined with IP address is provided First request data package structure chart;
Fig. 3 is one kind that the car networking route addressing method embodiment one that geographical position of the present invention is combined with IP address is provided The data format figure of keep-alive information table;
Fig. 4 is one kind that the car networking route addressing method embodiment one that geographical position of the present invention is combined with IP address is provided The data format figure of vehicle neighbor table;
Fig. 5 is the another of the offer of car networking route addressing method embodiment one that geographical position of the present invention is combined with IP address Plant the data format figure of the second packet;
Fig. 6 is the flow chart for the car networking route addressing method embodiment two that geographical position of the present invention is combined with IP address;
Fig. 7 is one kind that the car networking route addressing method embodiment three that geographical position of the present invention is combined with IP address is provided The data format figure of RSU IPv6 addresses;
Fig. 8 is the flow chart for the car networking route addressing method example IV that geographical position of the present invention is combined with IP address;
Fig. 9 is the flow chart for the car networking route addressing method embodiment five that geographical position of the present invention is combined with IP address;
Figure 10 is one that the car networking route addressing method embodiment eight that geographical position of the present invention is combined with IP address is provided Plant the maintaining method flow chart of vehicle neighbor table.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart for the car networking route addressing method embodiment one that geographical position of the present invention is combined with IP address, As shown in figure 1, the method for the present embodiment can include:
Step 101, RSU receive the first request data package that OBU is sent.
Wherein, a kind of possible structure of the first request data package is as shown in Fig. 2 Fig. 2 is geographical position of the present invention and IP A kind of first request data package structure chart that the car networking route addressing method embodiment one that address is combined is provided, the first number of request The first position information comprising the OBU and first interface letter in the first packet header, the first data division, first packet header are included according to bag Breath, first position information can carry the subnet fields in IP address.First data division includes the second packet header and the second data IP address comprising the OBU and the IP address of server in part, second packet header, second data division include port numbers, The port numbers are taken from transport layer data packet header.
Wherein, other information can also be included in the first packet header, for example:IP address comprising the RSU is simultaneously used as purpose IP Address, determines whether to receive the first request data package for RSU.
The corresponding relation of step 102, RSU storage first interface information and first position information.
Wherein, the corresponding relation of first interface information and first position information can be stored and tieed up with the form of table Shield.
Optionally, interface message as IP address a part, for example:End 64bit believes for interface in IPv6 addresses Part is ceased, therefore, a kind of possible implementation of corresponding relation of storage first interface information and first position information is:Directly The corresponding relation of first interface information and first position information is stored, for example:Interface 0xD017C2FFFEA68A90:Positional information 0x9C38;Alternatively possible implementation is:The corresponding relation of IP address and first position information is stored, for example:IPV6 Location fe80::fdfd:1faa:1002:41a8:Positional information 0x9C38;In this regard, the present invention is not restricted.
Wherein, the corresponding relation of first interface information and first position information may have the keep-alive information table shown in Fig. 3 In, Fig. 3 is a kind of keep-alive that the car networking route addressing method embodiment one that geographical position of the present invention is combined with IP address is provided The data format figure of information table, as shown in figure 3, every list item of keep-alive information table is believed comprising OBU positional informations and OBU interfaces Breath;Alternatively, port numbers and timer can also be included.
The process of setting up of the keep-alive information table any bar list item is:The OBU positional informations store the first position letter of the OBU Breath, the port numbers are taken from the second data division, and the OBU interface messages store the first interface information of the OBU, and the timer is set Put a update cycle initial value.
Step 103, RSU obtain first data division.
Wherein, a kind of possible implementation of the first data division of RSU acquisitions is:
First packet header that the RSU can be removed in the first request data package obtains first data division.
Step 104, RSU send first data division to server.
Wherein, in second packet header that first data division is included, the IP address of the OBU as source IP address, The IP address of the server is used as purpose IP address.
Step 105, RSU receive the second packet of OBU transmissions.
Wherein, second place information and second interface information are included in second packet.
Second packet is used for the positional information that RSU updates the OBU, without being forwarded to server.
Wherein, in the second packet can also comprising the first kind mark, the first kind identify for indicate this second Type of data packet is position keep-alive packet.Specifically, first kind mark can be particular value, such as:0x0707.RSU According to the corresponding first position information of the second place information updating of position keep-alive packet RSU storages.In addition, the RSU The position keep-alive packet, the positional information for updating OBU, it is not necessary to clothes can be identified by first kind mark Business device forwards the packet.A kind of possible implementation of second packet is as shown in Figure 5.Fig. 5 is geographical position of the present invention The data format figure for another second packet that the car networking route addressing method embodiment one combined with IP address is provided.
If step 106, the second interface information are identical with the first interface information, the RSU is according to the second place The first position information of OBU described in information updating.
Specifically, this step is pair of the first interface information and first position information stored based on step 102 It should be related to or the keep-alive information table, carry out the second interface information and compared with the first interface information with the first position information more New.
For example, the maintenance process of the keep-alive information table any bar list item is:If the second interface information and the keep-alive The first interface information of a certain bar list item record of information table is identical, then according to the second place information updating list item record OBU positional informations, and reset the timer value of the list item;Deleted if the timer value is not reset in certain list item certain time The list item, for example, the timer value of certain list item is arranged to 20 seconds, if not resetting the timer value in 20 seconds, this is determined When device correspondence list item be deleted.
Specifically, because OBU has the characteristics of persistently moving mostly, so step 105 can be with default week with step 106 Phase repeats, and repeatedly updates the first position information of the OBU, so enable the RSU upgrade in time OBU position letter Breath.
Step 107, RSU receive the first response data packet of server transmission.
Wherein, the IP address and port numbers of the OBU is included in the first response data packet.Step 108, the RSU obtain the OBU IP address in interface message.
Step 109, the RSU obtain corresponding with the interface message identical first interface information the according to the interface message One positional information.
Specifically, the RSU is the correspondence of the first interface information and first position information stored according to step 102 Relation searches first position information corresponding with the interface message identical first interface information.
Step 110, the RSU determine next-hop OBU according to the first position information and the vehicle neighbor table of the RSU.
Specifically, other communication apparatus node attributes in the vehicle neighbor table minute book communication apparatus node institute coverage Information, for example, the contents such as MAC Address, the positional information of other communication apparatus nodes can be recorded.Each list item correspondence A neighbours OBU or neighbours RSU in this communication apparatus node institute coverage.For example, the RSU can be in vehicle neighbours Search and recorded with the nearest list item of the first position information distance in table, the list item records corresponding neighbours OBU as next-hop OBU。
Optionally, the RSU can also obtain the target MAC (Media Access Control) address or first response data in first response data packet Interface message corresponding with MAC Address in bag purpose IPv6 addresses, is searched and purpose MAC in the vehicle neighbor table of the RSU Address or the corresponding neighbor entry of interface message, find, and first response data packet directly is issued into the neighbours, complete transmission.
Step 111, the RSU send first response data packet to next-hop OBU.
Optionally, in data link layer there is corresponding first response frame in first response data packet, and the RSU will can be somebody's turn to do Protocol class model in first response frame replaces with default particular value, for example:0x0709, to identify first response data packet It can be received by next-hop OBU or forward process.
The present embodiment, the first request data package that board units OBU is sent is received by drive test unit R SU, RSU storages the The first interface information and the corresponding relation of the first position information included in one request data package;RSU obtains first The first data division in request data package;And send first data division to the server;RSU receives the OBU Second place information and second interface information are included in the second packet sent, second packet;If described second connects Message breath is identical with the first interface information, then the RSU is first of OBU according to the second place information updating Confidence ceases;The RSU is received in the first response data packet that the server is sent, first response data packet comprising described OBU IP address and port numbers;The RSU obtains the interface message in the IP address of the OBU;The RSU connects according to Mouth acquisition of information first position information corresponding with the interface message identical first interface information;The RSU is according to described The vehicle neighbor table of first position information and the RSU, determines next-hop OBU;The RSU sends institute to the next-hop OBU State the first response data packet.Upgraded in time OBU positional information by the second packet, so that RSU sends first to OBU again , can be according to the positional information for accurately knowing OBU, to enter walking along the street according to accurate OBU positional information during response data packet By, so that, reduce the probability of routing failure.
Fig. 6 is the flow chart for the car networking route addressing method embodiment two that geographical position of the present invention is combined with IP address, As shown in fig. 6, a kind of possible implementation of step 105 is:
Step 201, RSU receive the second packet that OBU is sent with predetermined period.
Wherein, second place information and second interface information are included in second packet.
The present embodiment, receives the second packet that OBU is sent with predetermined period by RSU, realizes RSU with predetermined period more New OBU positional information record, the positional information record for solving the OBU in RSU does not upgrade in time and failed, and then causes height The problem of routing error being likely to occur during the OBU the reception server response data packets of speed movement.
The car networking route addressing method embodiment three that geographical position of the present invention is combined with IP address, in figure Fig. 1 or Fig. 6 institutes Show on the basis of embodiment, can also further include:
Step 202, RSU broadcast the IP address of the RSU, and the positional information of the RSU is included in the IP address.
Specifically, there is no sequencing relation between step 202 and other steps 101-111 and step 201.Citing comes Say, Fig. 7 is a kind of RSU that the car networking route addressing method embodiment three that geographical position of the present invention is combined with IP address is provided The data format figure of IPv6 addresses, as shown in fig. 7, the IPv6 addresses include global routing prefix, subnet ID and interface message, its Middle subnet ID includes the positional information of the RSU.Specifically, the positional information of the RSU has determined when disposing the RSU, no Change.
Fig. 8 is the flow chart for the car networking route addressing method example IV that geographical position of the present invention is combined with IP address, As shown in figure 8, the method for the present embodiment can include:
Step 301, OBU send the first request data package to RSU.
Wherein, first request data package is included in the first packet header, the first data division, first packet header comprising described OBU first position information and first interface information, the first data division includes the second packet header and the second data division, described the IP address comprising the OBU and the IP address of server in two packet header, second data division include port numbers.
Optionally, the OBU can by global positioning system (Global Positioning System, hereinafter referred to as GPS the first position information) is obtained, obtaining frequency can be consistent with GPS updating location information frequency.
Optionally, if first packet header is IPv6 packet header, as shown in fig. 7, the subnet ID in the IP address of the OBU can With the positional information comprising the OBU.
Step 302, the OBU send the second packet to the RSU.
Wherein, second place information and second interface information are included in second packet.
Step 303, the OBU receive the first response data packet of RSU transmissions.
Optionally, if protocol class model is default specific in corresponding first response frame of first response data packet Value, for example:0x0709, then the OBU judge interface message in the IP address of first response data packet whether with the OBU itself Interface message is consistent, and upper strata processing is given by the valid data in first response data packet if consistent.
The present embodiment, by OBU to RSU the first request data packages sent and the second packet, realizes OBU through in RSU Turn the request data package and response data packet between transmitting-receiving and server, and update to RSU the positional information of the OBU, solve because The problem of RSU can not know the new positional informations of OBU and cause to be likely to occur routing error during the reception server response data packet.
Fig. 9 is the flow chart for the car networking route addressing method embodiment five that geographical position of the present invention is combined with IP address, As shown in figure 9, the method for the present embodiment is on the basis of embodiment illustrated in fig. 8, for the OBU not in the RSU coverages Situation further refined step 301, can specifically include:
Step 401, the OBU obtain the IP address of the RSU.
Specifically, the OBU default gateways of itself are exactly the IP address of the RSU, can be directly from the routing table of the OBU Obtain.
Step 402, the OBU obtain next-hop OBU according to the IP address of the RSU and the vehicle neighbor table of the OBU.
For example, the OBU will can remember in the positional information for the RSU that included in the IP address and the vehicle neighbor table The positional information of each neighbours of record is compared, and finds out the nearest neighbours of relative distance as next-hop OBU.
Step 403, the OBU send first request data package to next-hop OBU.
Specifically, because the OBU may be distant with the RSU, first request data package is needed by multiple next Jump OBU forwardings and get to the RSU, performed so step 402 may be repeated several times with step 403.
Step 404, the OBU send the second packet to the RSU.
Step 405, the OBU receive the first response data packet of RSU transmissions.
Specifically, in the RSU uncovered areas, first response data packet that the OBU is received is also that may pass through several Individual next-hop OBU forwardings.
Optionally, if protocol class model is default specific in corresponding first response frame of first response data packet Value, for example:0x0709, then the OBU judge interface message in the IP address of first response data packet whether with the OBU itself Interface message is consistent, the positional information if inconsistent in IP address of the OBU according to first response data packet and the OBU from The positional information of each neighbours, selects the position recorded in the IP address of first response data packet in the vehicle neighbor table of body Nearest neighbours are used as next-hop OBU.
The present embodiment, selects next-hop OBU to carry out the first request data package and the first response data packet by relative distance The mode of forwarding, realize RSU without between overlay area OBU and server by being routed and complete apart from optimum way The transmission of request data package and response data packet, solves to cause packet to turn because RSU directly can not communicate with source/destination OBU The problem of hair is unable to reach optimal Route Selection.
The car networking route addressing method embodiment six that geographical position of the present invention is combined with IP address, embodiment six is in reality Apply on the basis of the illustrated embodiment of example five, a kind of possible implementation of step 402 is to be selected down by neighbours' score value formula One jumps OBU, and specific neighbours' score value formula is:
Wherein, DiFor the relative distance of i-th neighbour in the vehicle neighbor table of the OBU and the RSU, by i-th of neighbour Positional information and the RSU IP address in the positional information calculation that includes produce, RSSIiFor the reception letter of i-th of neighbour Number intensity indicates, ScoreiI-th of the neighbours' score value calculated for above-mentioned formula.
Specifically, neighbours' score value formula result of calculation highest ScoreiCorresponding neighbours are used as next-hop OBU.
The present embodiment, by neighbours' score value formula, realizes and selects next-hop OBU by score value, solve RSU uncovered areas The problem of how OBU selects optimal next-hop OBU when forwarding the first request data package.
The car networking route addressing method embodiment seven that geographical position of the present invention is combined with IP address, in geographical position of the invention Put on the basis of the car networking route addressing method embodiment six combined with IP address, can also include:
Step 501, the OBU receive the position for including the RSU in the RSU of RSU broadcast IP address, the IP address Information.
Specifically, the RSU of RSU broadcast IP address is the car combined by correspondence geographical position of the present invention with IP address The step 202 of networking route addressing method embodiment three is completed.
Step 502, the OBU are according to the updating location information of RSU OBU default gateway.
For example, the OBU may receive the IP address of the RSU of multiple RSU broadcast nearby, then the OBU needs solution Each RSU included in the IP address for separating out the multiple RSU received positional information, according to each RSU positional information with being somebody's turn to do OBU relative distance selects a nearest RSU, with the default gateway of the IP address of the RSU as the OBU.If specifically, should OBU uses IPv6 addresses, can also be revised as the global routing prefix in the IPv6 addresses complete in the IP address with the RSU Ball route prefix is identical.
The present embodiment, by calculating OBU and sending broadcast RSU relative distance, is realized with nearest RSU nets by default Close, solve multiple RSU while the problem of how OBU default gateways select when covering.
The car networking route addressing method embodiment eight that geographical position of the present invention is combined with IP address, in geographical position of the invention Put on the basis of the car networking route addressing method embodiment seven combined with IP address, can also include:
Step 601, the OBU forward the IP address of the RSU.Specifically, after step 501 IP address of the OBU to the RSU Broadcast forwarding is carried out, and broadcast storm is prevented using reversely poisoning.
Optionally, the RSU IP address broadcast life cycle be 5 life spans (Time To Live, hereinafter referred to as TTL), the IP address for limiting the RSU at most carries out 5 broadcast forwardings.
The present embodiment, the IP address for forwarding RSU is broadcasted by OBU, the expansion of RSU broadcasting areas is realized, solves RSU not The problem of overlay area OBU default gateways can not update.
The car networking route addressing method embodiment nine that geographical position of the present invention is combined with IP address, in geographical position of the invention Put on the basis of the car networking route addressing method embodiment seven combined with IP address, can also include:
It is MAC Address comprising the OBU in step 701, the OBU broadcast data link frames, the data link frame, described OBU positional information and RSSI.
Specifically, the car networking route addressing method embodiment that step 701 is combined with geographical position of the present invention with IP address Nine other steps do not have sequencing relation.The OBU can be with the periodic broadcast data link frame.Optionally, the Data-Link Can be with containing type number in the frame of road, it is neighbours' declaration frame that such model, which is used to identify the data link frame, for example:0x0708.
Specifically, these information included in the data link frame can be recorded as the list item for vehicle neighbor table And store.For example:Fig. 4 is that the car networking route addressing method embodiment one that geographical position of the present invention is combined with IP address is carried Supply a kind of vehicle neighbor table data format figure, as shown in figure 4, every list item of vehicle neighbor table comprising neighbor MAC address, Positional information, RSSI, timer.
Carried specifically, Figure 10 is the car networking route addressing method embodiment eight that geographical position of the present invention is combined with IP address A kind of maintaining method flow chart of the vehicle neighbor table supplied, as shown in Figure 10, this method can include:
Step 801, OBU or RSU are received in the data link frame of neighbours OBU or neighbours RSU broadcast, the data link frame The positional information and RSSI of MAC Address, the OBU or RSU comprising the described OBU or RSU.
Such model of step 802, the OBU or the RSU in the data link frame is filtrated to get neighbours' declaration frame, example Such as such model:0x0708.
Step 803, the OBU or the RSU obtain the MAC Address of the OBU in neighbours declaration frame.
Step 804, judge the OBU MAC Address whether there is in the OBU or RSU vehicle neighbor table.
If the MAC Address of the OBU is present in the OBU or RSU vehicle neighbor table, performs and update list item mode Step 805-806, if the MAC Address of the OBU is not present in the OBU or RSU vehicle neighbor table, performs addition table Item mode step 807-808.
Step 805, the OBU or the RSU declare the corresponding table in the information updating vehicle neighbor table in frame with the neighbours Item information.
Specifically, declaring the positional information in the updating location information correspondence list item in frame with the neighbours, declared with the neighbours Accuse the RSSI in the RSSI renewal correspondence list items in frame.
Step 806, the timer value for resetting the list item.
Specifically, the update cycle value of the list item can be inserted to the timer value.
Step 807, the OBU or the RSU add a list item in the vehicle neighbor table and recorded in neighbours declaration frame Information.
Specifically, declaring that the MAC Address of the OBU in frame inserts the neighbor MAC address of the list item with the neighbours, with the neighbour The positional information for occupying the OBU in declaration frame inserts the positional information of the list item, declares that the RSSI in frame is inserted with the neighbours The RSSI of the list item.
Step 808, the timer value that the list item is set.
Step 809, the OBU or the RSU judge whether the timer value of any list item in the vehicle neighbor table is 0, if 0 Then delete the list item.
Specifically, there is no sequencing relation between step 809 and other steps 801-808.
The present embodiment, broadcasts neighbours by OBU and declares frame, realize the maintenance of surrounding RSU and OBU vehicle neighbor table, solve RSU and OBU in respective coverage can direct communication node detection problem.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. the car networking route addressing method that a kind of geographical position is combined with internet protocol address, it is characterised in that including:
Drive test unit R SU receives the first request data package that board units OBU is sent, and first request data package includes first The first position information and first interface information of the OBU, first are included in packet header, the first data division, first packet header Data division includes IP address and server comprising the OBU in the second packet header and the second data division, second packet header IP address, second data division include port numbers;
The RSU stores the corresponding relation of the first interface information and the first position information;
The RSU obtains first data division;
The RSU sends first data division to the server;
The RSU, which is received, includes second place information and second in the second packet that the OBU is sent, second packet Interface message;
If the second interface information is identical with the first interface information, the RSU according to the second place information more New OBU first position information;
The RSU, which is received, includes the OBU in the first response data packet that the server is sent, first response data packet IP address and port numbers;
The RSU obtains the interface message in the IP address of the OBU;
The RSU obtains first position corresponding with the interface message identical first interface information according to the interface message Information;
The RSU determines next-hop OBU according to the first position information and the vehicle neighbor table of the RSU;
The RSU sends first response data packet to the next-hop OBU.
2. according to the method described in claim 1, it is characterised in that also identified in second packet comprising the first kind, The first kind is identified for indicating that second type of data packet is position keep-alive packet.
3. method according to claim 2, it is characterised in that the RSU receives the second packet that the OBU is sent, Including:
The RSU receives the second packet that the OBU is sent with predetermined period.
4. method according to claim 3, it is characterised in that also include:
The RSU broadcasts the positional information for including the RSU in the IP address of the RSU, the IP address.
5. the car networking route addressing method that a kind of geographical position is combined with Internet protocol address, it is characterised in that including:
OBU sends the first request data package to RSU, and first request data package includes the first packet header, the first data division, institute The first position information and first interface information that the OBU is included in the first packet header are stated, the first data division includes the second packet header With the second data division, the IP address comprising the OBU and the IP address of server, second data in second packet header Part includes port numbers;
The OBU sends to the RSU and second place information and second interface is included in the second packet, second packet Information;
The OBU receives the first response data packet that the RSU is sent.
6. method according to claim 5, it is characterised in that the OBU sends the first request data package to RSU, including:
The OBU obtains the IP address of the RSU;
The OBU obtains next-hop OBU according to the IP address of the RSU and the vehicle neighbor table of the OBU;
The OBU sends first request data package to the next-hop OBU.
7. method according to claim 6, it is characterised in that the OBU is according to the IP address and the OBU of the RSU Vehicle neighbor table, obtain next-hop OBU, including:
The OBU according toObtain each neighbours in the vehicle neighbor table Corresponding score value;
It is the next-hop OBU to determine the maximum OBU of the score value;
Wherein, DiFor the relative distance of i-th neighbour in the vehicle neighbor table of the OBU and the RSU, by the position of i-th of neighbour Confidence ceases the positional information calculation included in the IP address with the RSU and produced, RSSIiReception signal for i-th of neighbour is strong Degree instruction, ScoreiThe corresponding score value of i-th of neighbour calculated for above-mentioned formula.
8. method according to claim 7, it is characterised in that also include:
The OBU, which receives the position comprising the RSU in the RSU of RSU broadcast IP address, the IP address, to be believed Breath;
OBU OBU according to the updating location information of RSU default gateway.
9. method according to claim 8, it is characterised in that the OBU receives the RSU of RSU broadcast IP After address, in addition to:
The OBU forwards the IP address of the RSU.
10. method according to claim 8, it is characterised in that also include:
MAC address comprising the OBU, institute in the OBU broadcast data links frame, the data link frame State OBU positional information and received signal strength indicator RSSI.
CN201710438982.6A 2017-06-12 2017-06-12 Geographic position and IP address combined routing and addressing method for Internet of vehicles Active CN107276902B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710438982.6A CN107276902B (en) 2017-06-12 2017-06-12 Geographic position and IP address combined routing and addressing method for Internet of vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710438982.6A CN107276902B (en) 2017-06-12 2017-06-12 Geographic position and IP address combined routing and addressing method for Internet of vehicles

Publications (2)

Publication Number Publication Date
CN107276902A true CN107276902A (en) 2017-10-20
CN107276902B CN107276902B (en) 2020-07-07

Family

ID=60066579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710438982.6A Active CN107276902B (en) 2017-06-12 2017-06-12 Geographic position and IP address combined routing and addressing method for Internet of vehicles

Country Status (1)

Country Link
CN (1) CN107276902B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019201257A1 (en) * 2018-04-19 2019-10-24 华为技术有限公司 Device-to-x (d2x) communication method, device, and storage medium
CN110856103A (en) * 2019-11-18 2020-02-28 腾讯科技(深圳)有限公司 Scheduling method, communication method and related equipment
WO2020062101A1 (en) * 2018-09-28 2020-04-02 北京小米移动软件有限公司 Data transmission method and apparatus for direct communication, device, and system
CN113613196A (en) * 2021-06-16 2021-11-05 北京交通大学 Communication method, device and system for geographic area
WO2022033496A1 (en) * 2020-08-11 2022-02-17 华为技术有限公司 Message sending method, message processing method, and device
US20220311644A1 (en) * 2021-03-24 2022-09-29 Boe Technology Group Co., Ltd. Data transmission method and device, electronic apparatus and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530680A (en) * 2015-12-22 2016-04-27 重庆邮电大学 VANET relay vehicle selecting method
US20160174106A1 (en) * 2013-07-30 2016-06-16 Ist International, Inc. Peer to peer vehicle ad hoc network with bandwidth bonding, seamless mobility and flow-based routing
CN106413019A (en) * 2015-07-31 2017-02-15 华为技术有限公司 Internet of vehicles (IOV) data transmission method and first forwarding device
CN106559443A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 The system of selection of car networking V2X service transmission path and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160174106A1 (en) * 2013-07-30 2016-06-16 Ist International, Inc. Peer to peer vehicle ad hoc network with bandwidth bonding, seamless mobility and flow-based routing
CN106413019A (en) * 2015-07-31 2017-02-15 华为技术有限公司 Internet of vehicles (IOV) data transmission method and first forwarding device
CN106559443A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 The system of selection of car networking V2X service transmission path and device
CN105530680A (en) * 2015-12-22 2016-04-27 重庆邮电大学 VANET relay vehicle selecting method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PANAGIOTIS MATZAKOS: "An IPv6 Architecture for Cloud-to-Vehicle Smart Mobility Serives over Heterogeneous Vehicular Networks", 《 2014 INTERNATIONAL CONFERENCE ON CONNECTED VEHICLES AND EXPO (ICCVE)》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019201257A1 (en) * 2018-04-19 2019-10-24 华为技术有限公司 Device-to-x (d2x) communication method, device, and storage medium
WO2020062101A1 (en) * 2018-09-28 2020-04-02 北京小米移动软件有限公司 Data transmission method and apparatus for direct communication, device, and system
CN110856103A (en) * 2019-11-18 2020-02-28 腾讯科技(深圳)有限公司 Scheduling method, communication method and related equipment
CN110856103B (en) * 2019-11-18 2021-11-26 腾讯科技(深圳)有限公司 Scheduling method, communication method and related equipment
WO2022033496A1 (en) * 2020-08-11 2022-02-17 华为技术有限公司 Message sending method, message processing method, and device
EP4113947A4 (en) * 2020-08-11 2023-06-14 Huawei Technologies Co., Ltd. Message sending method, message processing method, and device
US20220311644A1 (en) * 2021-03-24 2022-09-29 Boe Technology Group Co., Ltd. Data transmission method and device, electronic apparatus and storage medium
CN113613196A (en) * 2021-06-16 2021-11-05 北京交通大学 Communication method, device and system for geographic area
WO2022262024A1 (en) * 2021-06-16 2022-12-22 北京交通大学 Geographic area-oriented communication method, apparatus and system

Also Published As

Publication number Publication date
CN107276902B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN107276902A (en) The car networking route addressing method that geographical position is combined with IP address
CN101588293B (en) Full IP communication interconnection system of Ad Hoc network and IPv6 network
CN103179228B (en) Internet Protocol address analytic method and fringe node
CN1855867B (en) Method and apparatus for distributing mobile station information in a wireless mesh network
CN102027462A (en) Methods for collecting and analyzing network performance data
CN105007320A (en) Mobile intelligent tour guiding and navigating system based on cloud server
CN105850223A (en) Peer to peer vehicle ad hoc network with bandwidth bonding, seamless mobility and flow-based routing
CN106413019B (en) Internet of vehicles data transmission method and first forwarding equipment
CN104869563B (en) A kind of Realization Method of Communication of city car networking of future generation
CN107682811A (en) A kind of localization method and device
US20130091250A1 (en) Intermediate node apparatus for configuring sensor network and sensor data processing method using intermediate node apparatus
CN103684959A (en) VPN realization method and PE device
CN108683445A (en) A kind of aircraft formation layering networking management method and system
CN113473398B (en) Mobile phone signaling data stop point identification method, device and storage medium
CN101127758A (en) IP address acquisition method and acquisition system for mobile nodes
CN103813364A (en) Mobile self-organizing network interrupt data recovery method based on area perception
CN110505665A (en) A kind of high-speed rail mobile terminal user cell switching method and system
CN103037360B (en) Mapping request response, information getting method and relevant device based on LISP
CN103106557A (en) Management system and management method of school bicycles based on Internet of things
CN104717142A (en) Method for conducting mobile management based on OpenFlow
Ather et al. Routing protocol for heterogeneous networks in vehicular ad-hoc network for larger coverage area
CN106878973B (en) A kind of network identity mapping method and device
Wang et al. Research on IPv6 address configuration for a VANET
CN107343301A (en) A kind of vehicular ad hoc network high efficient and reliable method for routing based on message polymerization
CN104469876B (en) A kind of method for routing and device based on WLAN Yu mobile network isomery UNE

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