CN106413019A - Internet of vehicles (IOV) data transmission method and first forwarding device - Google Patents

Internet of vehicles (IOV) data transmission method and first forwarding device Download PDF

Info

Publication number
CN106413019A
CN106413019A CN201510466703.8A CN201510466703A CN106413019A CN 106413019 A CN106413019 A CN 106413019A CN 201510466703 A CN201510466703 A CN 201510466703A CN 106413019 A CN106413019 A CN 106413019A
Authority
CN
China
Prior art keywords
forwarding unit
message
forwarding
unit
transmission destination
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
CN201510466703.8A
Other languages
Chinese (zh)
Other versions
CN106413019B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510466703.8A priority Critical patent/CN106413019B/en
Priority to PCT/CN2016/091780 priority patent/WO2017020759A1/en
Publication of CN106413019A publication Critical patent/CN106413019A/en
Application granted granted Critical
Publication of CN106413019B publication Critical patent/CN106413019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The invention discloses an Internet of vehicles (IOV) data transmission method and a first forwarding device to solve a problem that a conventional IOV data transmission method in the prior art cannot realize long-distance communication. The method comprises steps that the first forwarding device, after receiving a message transmitted from a terminal and carrying target geographical location information, selects a second forwarding device based on the target geographical location information and the geographical location information of N reserved forwarding devices to be selected, wherein a message transmission destination indicated by the target geographical location information has intersection with second forwarding device coverage indicated by the geographical location information of the second forwarding device; and the first forwarding device sends the message to the second forwarding device. Thus, the first forwarding device does not need to consider the distance between the first forwarding device and the transmission destination and transmits the received message to the transmission destination through the second forwarding device so that the first forwarding device can realize long-distance communication.

Description

A kind of car networking data transmission method and the first forwarding unit
Technical field
The present invention relates to communication technical field, more particularly, to a kind of car networking data transmission method and the first forwarding Equipment.
Background technology
With social continuous development, the popularity also more and more higher of automobile, in order to improve the safety of vehicle, And economy, the intelligent transportation system (Intelligent Transportation System, ITS) of Erecting and improving It is the development need of society.In ITS, vehicle and other vehicles or roadside unit (Roud Side Unit, ) etc. RSU the network that communication between devices use becomes car networking.Vehicle in the process of moving, can pass through The geographical location information of vehicle, fault message etc. are sent to the vehicle of specified range by car networking.
Traditional, European standard committee (European Telecommunications Standards Institute, ETSI) define based on electronic apparatus IEEE (Institute of Electrical and Electronics Engineers, IEEE) 802.11P agreement ITS, this ITS supports the network system based on geographical position (GeoNetworking) support multi-hop communication.As shown in figure 1, the geographical position of vehicle 1 is (x, y), If vehicle 1 needs rearward a range of vehicle 5 and vehicle 6 to send fault message, described certain model Enclose can be 500 meters of vehicle 1 rear geographical position be the center of circle, the scope with 50 meters as radius, then car 1 can broadcast and carries source geographical position, be such as expressed as (x, y, r), target geographic position, such as table It is shown as the GeoNetworking message of (x-500, y, 50) and fault message.Receive GeoNetworking The vehicle of message, such as vehicle 5, vehicle 6 or other vehicles, determine whether to be in GeoNetworking In the scope represented by target geographic position in message.If receiving the vehicle of GeoNetworking message Determine in the scope being in represented by target geographic position, then receive the vehicle of GeoNetworking message Obtain this message entrained fault message carry out respective handling.If receiving GeoNetworking report The vehicle of literary composition determines in the scope being not at represented by target geographic position, then receive GeoNetworking The vehicle of message judges whether the geographical position of itself is in source geographical position and two ground of target geographic position Between reason position.If the geographical position receiving the vehicle of GeoNetworking message is in source address and mesh Between mark geographical position, then the vehicle receiving GeoNetworking message continues to this GeoNetworking Message is forwarded.If the geographical position receiving the vehicle of GeoNetworking message is not at source address And target geographic position between, then the vehicle receiving GeoNetworking message judges the covering model of itself Enclose with whether the scope represented by target geographic position has common factor, and in the case of there is common factor, forwarding should GeoNetworking message.As shown in FIG., GeoNetworking message cannot directly be sent out by vehicle 1 Give vehicle 5 or vehicle 6, vehicle 1 can be by vehicle 2, vehicle 3 and vehicle 4, by GeoNetworking Message is transmitted to vehicle 5 or vehicle 6.
In scene shown in Fig. 2, vehicle A needs to communicate with vehicle D, vehicle E or vehicle F, car A can send GeoNetworking message by vehicle C to vehicle D, due to vehicle C and vehicle D The distance between beyond communication range, vehicle D still cannot receive this GeoNetworking message, Telecommunication cannot be realized.
Content of the invention
The embodiment of the present invention provides a kind of car networking data transmission method and the first forwarding unit, contributes to realizing Telecommunication in car networking.
Concrete technical scheme provided in an embodiment of the present invention is as follows:
In a first aspect, providing a kind of car networking data transmission method, including:
The message carrying target geographic position information that first forwarding unit receiving terminal sends, described target ground Reason positional information is used for indicating the transmission destination of described message;
Described first forwarding unit is according to the forwarding N number of to be selected of described target geographic position information and preservation The geographical location information of equipment, selects the second forwarding unit, the geographical location information of described second forwarding unit For indicating the coverage of described second forwarding unit, the coverage of described second forwarding unit with described There is common factor in transmission destination, N is the integer more than or equal to 1;
Described first forwarding unit sends described message to described second forwarding unit.
In conjunction with a first aspect, in the first possible implementation of first aspect, when described transmission purpose When ground is for a region, described target geographic position information includes the position of the central point of described transmission destination With the radius of described transmission destination, the geographical location information of each forwarding unit to be selected includes:Described every The radius of the coverage of the position of individual forwarding unit to be selected and each forwarding unit to be selected described;
Described first forwarding unit is according to the forwarding N number of to be selected of described target geographic position information and preservation The geographical location information of equipment, selects the second forwarding unit, including:
In position and described transmission destination according to the i-th forwarding unit to be selected for described first forwarding unit The position of heart point, obtains the first distance, the position of the central point for described transmission destination for described first distance Distance and between the position of described i-th forwarding unit to be selected, the described i-th forwarding unit to be selected is described Any one forwarding unit to be selected in N number of forwarding unit to be selected;
The radius of the coverage according to the described i-th forwarding unit to be selected for described first forwarding unit and described The radius of transmission destination, obtains second distance, described second distance is the described i-th forwarding unit to be selected The radius of coverage and described transmission destination radius sum;
If described first distance is treated described i-th less than described second distance, described first forwarding unit The forwarding unit of choosing is as described second forwarding unit.
In conjunction with the first possible implementation of first aspect or first aspect, in the second of first aspect In possible implementation, described first forwarding unit sends described message, bag to described second forwarding unit Include:
Described first forwarding unit by described second forwarding unit between set up tunnel, to described second turn The equipment of sending out sends described message.
Arbitrary to the possible implementation of second in conjunction with the first of first aspect or first aspect Kind, in the third possible implementation of first aspect, described first forwarding unit is to described second turn The equipment of sending out sends described message, including:
Described first forwarding unit obtains the internet protocol address of described second forwarding unit;And
According to the IP address of described second forwarding unit, described message is encapsulated as IP message;
Described first forwarding unit, according to the IP address of described second forwarding unit, forwards to described second and sets Preparation send described IP message.
Any one to the third possible implementation in conjunction with the first of first aspect or first aspect Kind, in the 4th kind of possible implementation of first aspect, described message is the network based on geographical position System GeoNetworking message, carries described target in the heading of described GeoNetworking message Geographical location information.
Any one to the 4th kind of possible implementation in conjunction with the first of first aspect or first aspect Kind, in the 5th kind of possible implementation of first aspect, described first forwarding unit is according to described target Geographical location information and the geographical location information of the forwarding unit N number of to be selected preserving, select second to forward and set For before, methods described also includes:
Described first forwarding unit receives the geographical position of described N number of forwarding unit to be selected that controller sends Confidence ceases;Or
What described first forwarding unit reception the 3rd forwarding unit sent carries described N number of forwarding to be selected The routing protocol packet of the geographical location information of equipment.
In conjunction with the 5th kind of possible implementation of first aspect, in the 6th kind of possible realization of first aspect In mode, described routing protocol packet is ospf ospf protocol message, described OSPF The opaque information Opaque Information that protocol massages include is used for carrying described N number of forwarding to be selected The geographical location information of equipment.
A kind of second aspect, there is provided first forwarding unit, including:
Receiving unit, the message carrying target geographic position information sending for receiving terminal, described target Geographical location information is used for indicating the transmission destination of described message;
Select unit, for the forwarding unit N number of to be selected according to described target geographic position information and preservation Geographical location information, select the second forwarding unit, the geographical location information of described second forwarding unit is used for Indicate the coverage of described second forwarding unit, the coverage of described second forwarding unit and described transmission Destination exists occurs simultaneously, and N is the integer more than or equal to 1;
Transmitting element, for sending described message to described second forwarding unit.
In conjunction with second aspect, in the first possible implementation of second aspect, when described transmission purpose When ground is for a region, described target geographic position information includes the position of the central point of described transmission destination With the radius of described transmission destination, the geographical location information of each forwarding unit to be selected includes:Described every The radius of the coverage of the position of individual forwarding unit to be selected and each forwarding unit to be selected described;
Described select unit, specifically for:
The position of the central point of the position according to the i-th forwarding unit to be selected and described transmission destination, obtains First distance, the position of central point for described transmission destination for described first distance and described i-th to be selected Distance between the position of forwarding unit, the described i-th forwarding unit to be selected is that described N number of forwarding to be selected sets Any one forwarding unit to be selected in standby;
The radius of the coverage according to the described i-th forwarding unit to be selected and the half of described transmission destination Footpath, obtains second distance, and described second distance is the half of the coverage of the described i-th forwarding unit to be selected The radius sum of footpath and described transmission destination;
If described first distance is less than described second distance, using the described i-th forwarding unit to be selected as Described second forwarding unit.
In conjunction with the first possible implementation of second aspect or second aspect, in the second of second aspect In possible implementation, described transmitting element, specifically for:
By the tunnel set up between described first forwarding unit and described second forwarding unit, to described second turn The equipment of sending out sends described message.
Any one to the possible implementation of second in conjunction with the first of second aspect or second aspect Kind, in the third possible implementation of second aspect, described first forwarding unit also includes processing list Unit;
Described processing unit is used for obtaining the internet protocol address of described second forwarding unit;
Described processing unit is used for the IP address according to described second forwarding unit, and described message is encapsulated as IP message;
Described transmitting element specifically for the IP address according to described second forwarding unit, to described second turn The equipment of sending out sends described IP message.
Any one to the third possible implementation in conjunction with the first of second aspect or second aspect Kind, in the 4th kind of possible implementation of second aspect, described message is the network based on geographical position System GeoNetworking message, carries described target in the heading of described GeoNetworking message Geographical location information.
Any one to the 4th kind of possible implementation in conjunction with the first of second aspect or second aspect Kind, in the 5th kind of possible implementation of second aspect, it is used for selecting second turn in described select unit Before the equipment of sending out, described receiving unit is additionally operable to receive described N number of forwarding unit to be selected that controller sends Geographical location information;Or
Before described select unit is used for selecting the second forwarding unit, described receiving unit is additionally operable to receive the The route association of the geographical location information carrying described N number of forwarding unit to be selected that three forwarding units send View message.
In conjunction with the 5th kind of possible implementation of second aspect, in the 6th kind of possible realization of second aspect In mode, described routing protocol packet is ospf ospf protocol message, described OSPF The opaque information Opaque Information that protocol massages include is used for carrying described N number of forwarding to be selected The geographical location information of equipment.
The car networking data transmission method being provided using the present invention, the first forwarding unit sends in receiving terminal After carrying the message of target geographic position information, treated according to described target geographic position information and the N number of of preservation The geographical location information of the forwarding unit of choosing, filters out the second forwarding unit, wherein, described target geographic position Confidence ceases the transmission destination for indicating described message, and the geographical location information of described second forwarding unit is used In the described second forwarding unit coverage of instruction, the coverage of described second forwarding unit and described transmission Destination exists occurs simultaneously;Described first forwarding unit sends described message, so, institute to the second forwarding unit State the distance that the first forwarding unit need not consider described first forwarding unit and described transmission destination, will receive Message, be transferred in described transmission destination by the second forwarding unit, thus described first forwarding unit Telecommunication can be realized.
Brief description
The car networking data transfer schematic diagram that Fig. 1 provides for prior art;
The telecommunication schematic diagram of a scenario that Fig. 2 provides for prior art;
Fig. 3 is a kind of network architecture schematic diagram of car networking provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of car networking data transmission method provided in an embodiment of the present invention;
Fig. 5 is a kind of form schematic diagram of ospf protocol message provided in an embodiment of the present invention;
Fig. 6 is a kind of flow chart of car networking data transmission method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of first forwarding unit provided in an embodiment of the present invention;
Fig. 8 is a kind of structure chart of first forwarding unit provided in an embodiment of the present invention.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing to this Bright be described in further detail it is clear that described embodiment is only 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 are not doing The all other embodiment being obtained under the premise of going out creative work, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of car networking data transmission method and device, in order to solve in prior art The multi-hop communication technology existing cannot realize the problem of telecommunication.Wherein, method and apparatus is based on same One inventive concept, because the principle of method and device solve problem is similar, the therefore enforcement of apparatus and method Can be repeated no more in place of repetition with cross-reference.
Using technical solution of the present invention, the first forwarding unit carries target geographic position what receiving terminal sent After the message of information, according to the ground of described target geographic position information and the forwarding unit N number of to be selected preserving In reason positional information, filter out the second forwarding unit, wherein, described target geographic position information is used for indicating The transmission destination of described message, the geographical location information of described second forwarding unit is used for indicating described second Forwarding unit coverage, the coverage of described second forwarding unit is existed with described transmission destination to be handed over Collection;Described first forwarding unit sends described message to the second forwarding unit, and so, described first forwarding sets The standby distance that need not consider described first forwarding unit and described transmission destination, the message that will receive, passes through Second forwarding unit is transferred in described transmission destination, thus described first forwarding unit can realize long distance From communication.
Refering to Fig. 3, embodiments provide a kind of network architecture of car networking, including:Terminal 301, Forwarding unit 302 and forwarding unit 303.The network architecture of car networking provided in an embodiment of the present invention is including On the basis of described forwarding unit 302 and described forwarding unit 303, may also include at least one forwarding unit, At least one forwarding unit described is the forwarding in addition to described forwarding unit 302 and described forwarding unit 303 Equipment.
Described terminal 301, can be complete for install in board units (On Board Unit, OBU), vehicle Ball alignment system (Global Position System, GPS), radio frequency identification (Radio Frequency Identification Devices, RFID), sensor or image first-class device.Described terminal 301 is used for Collect or generate transport information, described transport information is used for the factor representing traffic or impact traffic, such as Road ahead fault, vehicle trouble etc..Described terminal 301 generates according to described transport information and carries target ground The message of reason positional information.Described target geographic position information is used for indicating the transmission destination of message.Described Terminal 301 can be data message based on the described message that transport information generates or control message, Here is not specifically limited.The described message that described terminal 301 broadcast is generated.
Described forwarding unit 302 and described forwarding unit 303 can be all router, such as RSU, or tool There are the network equipments such as the compound switch of routing function.
Described forwarding unit 302 is used for receiving the described message of terminal 301 broadcast in its coverage, and root According to the described target geographic position information carrying in described message, the described message receiving is forwarded to described turning Send out equipment 303.Exist between the coverage of described forwarding unit 303 and described transmission destination and occur simultaneously.
Described forwarding unit 303 is used for receiving the described message that described forwarding unit 302 sends, and will receive Described message broadcasting, enable the terminal being in the coverage of described forwarding unit 303 to receive institute State message.So, the common factor between the coverage of described forwarding unit 303 and described transmission destination When inside there is terminal 304, described terminal 304 can receive described message it is achieved that described message transmissions To described transmission destination.
Can be by the physical link transmission of entity between described forwarding unit 302 and described forwarding unit 303 It is also possible to wirelessly transmit described message, the present invention does not limit described message to this.
Described message is wirelessly transmitted between described forwarding unit 302 and described terminal 301, with Reason, also by wirelessly transmitting described message between described forwarding unit 303 and described terminal 304.
Refering to shown in Fig. 4, a kind of car networking data transmission method provided in an embodiment of the present invention, from first turn Send out this side of equipment to illustrate.The present embodiments relate to the first forwarding unit, forwarding unit to be selected, And the 3rd forwarding unit etc., can be router, such as RSU, or there is the compound of routing function The network equipments such as switch.The method includes:
Step 401:The message carrying target geographic position information that first forwarding unit receiving terminal sends, Described target geographic position information is used for indicating the transmission destination of described message.
Described first forwarding unit is the forwarding unit 302 in the network architecture of car networking shown in Fig. 3, institute State the terminal 301 that terminal is in the network architecture of car networking shown in Fig. 3.
Illustrate, described message for data message or can control message, and the present invention is not construed as limiting to this. After collecting or generating transport information, described terminal needs for described transport information to be sent to transmission described terminal Destination, the such as regional extent at 500 meters of this terminal rear or the place at 500 meters of this terminal rear, wherein institute Stating transmission destination can be described terminal acquiescence or described terminal setting.Described terminal is according to described Transmission destination determines purpose geographical location information.Described terminal is according to described transport information and described target ground Reason positional information, generates message.Optionally, described message is GeoNetworking message, described Described target geographic position information is carried in the heading of GeoNetworking message.Described terminal broadcast institute The described message generating.When described terminal is in the coverage of described first forwarding unit, described One forwarding unit can receive the message carrying target geographic position information that described terminal sends.
Wherein, the transmission destination of the described message of target geographic position information instruction carrying in described message Can be a region, or be one place.When described transmission destination is a region, described biography Defeated destination can be border circular areas, or rectangular area, or other polygonal region, or Ellipse, or other irregular graphics fields, the present invention does not limit to this.
When described transmission destination is border circular areas, described target geographic position information can comprise institute State the position of the central point of transmission destination and the radius of described transmission destination.Described transmission destination The position of central point can be latitude and longitude information or coordinate information.
When described transmission destination is a rectangular area, described target geographic position information can comprise institute State position, angle, the first distance and the second distance of the central point of transmission destination.Described transmission purpose The position of the central point on ground can be latitude and longitude information or coordinate information.Described angle is used for determining described transmission Certain a line of destination and the angle of assigned direction.Described first distance is relative for described transmission destination The distance between the position of central point of two sides and described transmission destination, described second distance is described Between the relative two other side of transmission destination and the position of central point of described transmission destination away from From.
When described transmission destination is an other polygonal region, described target geographic position information can To comprise at least three latitude and longitude information or at least three coordinate informations.One latitude and longitude information represents described biography The position on one summit of defeated destination.One coordinate information also illustrates that a summit of described transmission destination Position.
When described transmission destination is one place, described target geographic position information can comprise a warp Latitude information or a coordinate information.Described latitude and longitude information is used for representing the position of described transmission destination, Described coordinate information is also used for representing the position of described transmission destination.
Optionally, described coordinate information can pass through transverse axis numerical value and longitudinal axis numerical value, represents described in the planes The position of the central point of transmission destination, the position on first summit of described transmission destination, or described biography The position of defeated destination.Described coordinate information can also pass through transverse axis numerical value, longitudinal axis data and Z axis data, Represent first summit of the position of the central point of described transmission destination, described transmission destination in space Position or described transmission destination position.
Optionally, when described transmission destination is a region and described message is reported for GeoNetworking Wen Shi, the form of described GeoNetworking message broadcasts (Geographically-Scoped for geographic range Broadcast, GBC) encapsulation format or geographic range Anycast (Geographically-Scoped Anycast, GAC) encapsulation format.When described transmission destination, for one place and described message is GeoNetworking During message, the form of described GeoNetworking message is geographic range unicast (Geographically-Scoped Unicast, GUC) encapsulation format.
Step 402:Described first forwarding unit is treated according to described target geographic position information and the N number of of preservation The geographical location information of the forwarding unit of choosing, selects the second forwarding unit, the geography of described second forwarding unit Positional information is used for indicating the coverage of described secondth forwarding unit, the covering of described second forwarding unit Scope is existed with described transmission destination occurs simultaneously, and N is the integer more than or equal to 1.
Described second forwarding unit is the forwarding unit 303 in the network architecture of car networking shown in Fig. 3.
Wherein, the coverage of the second forwarding unit can connect in broadcasting packet for described second forwarding unit Receive the scope that the terminal of the message of described second forwarding unit broadcast is located.Target geographic position information indicates The coverage of transmission destination and described second forwarding unit have common factor.Described first forwarding unit is by institute State message to send to described second forwarding unit, described second forwarding unit can continue to broadcast described message. Such as:Described second forwarding unit broadcasts described message into the coverage of described second forwarding unit, place Terminal within described common factor can receive this message.Therefore, described first forwarding unit passes through to described Second forwarding unit sends described message so that described second forwarding unit broadcasts described message it is achieved that by institute State message transmissions to described transmission destination.
Optionally, in step 402, the geographical location information of a forwarding unit to be selected comprises a warp Latitude information or a coordinate information.Described latitude and longitude information represents the position of described forwarding unit to be selected, Described coordinate information also illustrates that the position of described forwarding unit to be selected.Described first forwarding unit can basis Default described forwarding to be selected in the position of described forwarding unit to be selected and described first forwarding unit The radius of the coverage of equipment, determines the coverage of described forwarding unit to be selected.
The geographical location information of described forwarding unit to be selected can also comprise described forwarding unit to be selected The radius of the coverage of latitude and longitude information and described forwarding unit to be selected, or described forwarding to be selected sets Standby geographical location information can also comprise the coordinate information of described forwarding unit to be selected and described to be selected The radius of the coverage of forwarding unit.Described latitude and longitude information represents the position of described forwarding unit to be selected Put, described coordinate information also illustrates that the position of described forwarding unit to be selected.Described first forwarding unit is permissible The radius of the coverage of the position according to described forwarding unit to be selected and described forwarding unit to be selected, Determine the coverage of described forwarding unit to be selected.
The geographical location information of described forwarding unit to be selected can also comprise at least three latitude and longitude information extremely Few three coordinate informations.One latitude and longitude information represents one in the coverage of described forwarding unit to be selected The position on summit.One coordinate information also illustrates that a summit in the coverage of described forwarding unit to be selected Position.So, described first forwarding unit can be according in the coverage of described forwarding unit to be selected The position on all summits, determines the coverage of described forwarding unit to be selected.
In the present embodiment, only so that the geographical location information of forwarding unit to be selected comprises coordinate information as a example.
The geographical location information of described N number of forwarding unit to be selected can be collected for described first forwarding unit And preserve, or obtain from miscellaneous equipment for described first forwarding unit.
When the geographical location information of described N number of forwarding unit to be selected is described first forwarding unit from other When equipment obtains, optionally, before execution step 402, also include:
Described first forwarding unit obtains the geographical location information of described N number of forwarding unit to be selected, and protects Deposit.Wherein, described N number of forwarding unit to be selected be car networking in except described first forward forwarding unit in addition to Forwarding unit.
Optionally, described first forwarding unit obtains the geographical position letter of described N number of forwarding unit to be selected Breath, including following several ways:
First kind of way:Described N number of forwarding to be selected that described first forwarding unit receives controller transmission sets Standby geographical location information;
The second way:It is described N number of that described first forwarding unit receives carrying of the 3rd forwarding unit transmission The routing protocol packet of the geographical location information of forwarding unit to be selected.Described 3rd forwarding unit is car networking In any one forwarding unit in addition to described first forwarding unit.
Optionally, described controller or described 3rd forwarding unit are sending described N number of forwarding unit to be selected Geographical location information while, before or after, described controller or described 3rd forwarding unit acceptable Send the Internet protocol (Internet of described N number of forwarding unit to be selected to described first forwarding unit Protocol, IP) address.Optionally, described controller or described 3rd forwarding unit are sending described N During the IP address of the geographical location information of individual forwarding unit to be selected and described N number of forwarding unit to be selected, The geographical location information of N number of forwarding unit to be selected and the corresponding relation of IP address can be sent simultaneously, in this regard, The present invention is not construed as limiting.
In first kind of way, in the network architecture of the car networking shown in Fig. 3, also include controller, car networking In each forwarding unit all can send geographical location information and the IP address of itself to described controller.Can Choosing, each forwarding unit described can adopt network configuration (Network Configuration, netconf) Agreement, or open stream (OpenFlow) agreement, send the geographical position letter of itself to described controller Breath and IP address, the present invention does not limit to this.Described controller is receiving each forwarding unit described Geographical location information and IP address after, netconf agreement or OpenFlow agreement can be adopted, respectively Send the ground of the other forwarding units in addition to any one forwarding unit described to any one forwarding unit Reason positional information and IP address.So, each forwarding unit in described car networking all can obtain described car The geographical location information of other forwarding units and IP address in networking, described other forwarding unit is as to be selected Forwarding unit.Each forwarding unit is by the geographical location information of each forwarding unit to be selected obtaining and IP Address is mapped, such as the geographical position of the forwarding unit to be selected preserving in the forwarding unit 1 shown in table 1 Confidence breath and IP address.
Optionally, described controller can pass through a packet, send to any one forwarding unit and remove institute State the geographical location information of other forwarding units beyond any one forwarding unit and IP address.Described number Carry geographical location information and the IP address of described other forwarding unit according to bag.
Optionally, described controller can also pass through multiple packets, send to any one forwarding unit and remove The geographical location information of other forwarding units beyond any one forwarding unit described and IP address, for example, Second forwarding unit geographical location information and IP address are encapsulated into the first packet by described controller, and will 3rd forwarding unit geographical location information and IP address are encapsulated into the second packet, then described controller to Described first forwarding unit sends the first packet and the second packet.
Table 1
The geographical location information of forwarding unit to be selected IP address Remarks
(x2, y2), r2 2001:2::2 Forwarding unit 2
(x3, y3), r3 2001:3::2 Forwarding unit 3
(x4, y4), r4 2001:4::2 Forwarding unit 4
Wherein, coordinate information (xi, yi) is the position of forwarding unit i to be selected, and ri is described to be selected turning Send out the radius of the coverage of equipment i, i is 1,2,3,4.
In the second way, carry the route of the geographical location information of described N number of forwarding unit to be selected Protocol massages can be ospf (Open Shortest Path First, OSPF) agreement report Literary composition or Border Gateway Protocol (Border Gateway Protocol, BGP) message.Described ospf protocol report The form of literary composition can be Link State Advertisement (Link-State Advertisement, LSA) or opaque link State broadcasts (Opaque Link-State Advertisement, OLSA), is provided with the 3rd in car networking Forwarding unit, described 3rd forwarding unit is Designated Router (Designated Router, DR) or any One forwarding unit, described 3rd forwarding unit is any one forwarding in addition to described first forwarding unit Equipment.The other forwarding units in addition to described 3rd forwarding unit in described car networking all can be to described Three forwarding units send the routing protocol packet of the geographical location information comprising itself and IP address.Described Three forwarding units receive geographical location information and the IP address of other forwarding units.Described 3rd forwarding unit After obtaining geographical location information and the IP address of itself, described 3rd forwarding unit forwards to any one again Equipment sends the geographical location information of next-hop forwarding unit comprising any one forwarding unit described and IP The routing protocol packet of address.The next-hop forwarding unit of any one forwarding unit described is and removes described Other forwarding units beyond one forwarding unit of meaning.So, each forwarding unit in described car networking is equal The geographical location information of other forwarding units and IP address in described car networking, described other forwardings can be obtained Equipment is forwarding unit to be selected.Each forwarding to be selected described in acquisition is set by each forwarding unit described Standby geographical location information and IP address are mapped, such as preserve in the forwarding unit 1 shown in table 2 The geographical location information of forwarding unit to be selected and IP address.
Table 2
The geographical location information of forwarding unit to be selected IP address Interface Remarks
(x2, y2), r2 2001:2::2 IF0:2001:1::2 Forwarding unit 2
(x3, y3), r3 2001:3::2 IF0:2001:1::2 Forwarding unit 3
(x4, y4), r4 2001:4::2 IF0:2001:1::2 Forwarding unit 4
Coordinate information (xi, yi) is the position of forwarding unit i to be selected, and ri is described forwarding unit to be selected The radius of the coverage of i, i is 1,2,3,4.
When the routing protocol packet of the geographical location information carrying described N number of forwarding unit to be selected is During ospf protocol message, the form of described ospf protocol message refers to shown in Fig. 5, wherein, described OSPF Protocol massages be OLSA form, the LSA type (LS Type) in described ospf protocol message with pass Value in the ospf protocol message of system is different, and the opaque type in described ospf protocol message (Opaque Type) is also different from the value in traditional ospf protocol message, described ospf protocol report LSA type in literary composition and opaque type are required to for the geographical position letter transmitting forwarding unit to be selected Breath and IP address and redefined.Advertizing router (Advertising in described ospf protocol message Router) field is used for carrying the IP address of at least one forwarding unit to be selected, described ospf protocol report Opaque information (Opaque Information) field in literary composition sets for carrying at least one forwarding to be selected Standby geographical location information.
When the transmission destination of described target geographic position information instruction is one place, described target geographic Positional information comprises a coordinate information, and described coordinate information is also used for representing the position of described transmission destination Put, the geographical location information of each forwarding unit to be selected includes:The position of each forwarding unit to be selected described Put the radius with the coverage of each forwarding unit to be selected described.Step 402, comprises the following steps:
The position according to the i-th forwarding unit to be selected for described first forwarding unit and the position of described transmission destination Put, obtain the first distance, described first distance for described transmission destination position and described i-th to be selected The position of forwarding unit between distance, the described i-th forwarding unit to be selected is described N number of forwarding to be selected Any one forwarding unit to be selected in equipment;
If the radius of the described first distance coverage of forwarding unit to be selected less than described i-th, institute State the first forwarding unit using the described i-th forwarding unit to be selected as described second forwarding unit.
When the transmission destination of target geographic position information instruction is border circular areas, target geographic position Information includes:The position of the central point of described transmission destination and the radius of described transmission destination, as described The position of the central point of transmission destination is (0,500), and the radius of described transmission destination is 100, target With (0,500) for the center of circle, the circle with 100 as radius is as transmission destination for geographical location information instruction;
The geographical position of each forwarding unit to be selected includes:The position of each each forwarding unit to be selected described Put the radius with the coverage of each forwarding unit to be selected described, such as certain forwarding unit to be selected Position is (0,100), and the radius of the coverage of described forwarding unit to be selected is 200, described to be selected The geographical position instruction of forwarding unit is so that with (0,100), for the center of circle, the circle with 200 as radius is for transmitting purpose Ground, the unit of data above can be rice.Optionally, execution step 402, comprise the following steps:
In position and described transmission destination according to the i-th forwarding unit to be selected for described first forwarding unit The position of heart point, obtains the first distance, the position of the central point for described transmission destination for described first distance Distance and between the position of described i-th forwarding unit to be selected, the described i-th forwarding unit to be selected is described Any one forwarding unit to be selected in N number of forwarding unit to be selected;
The radius of the coverage according to the described i-th forwarding unit to be selected for described first forwarding unit and described The radius of transmission destination, obtains second distance, described second distance is the described i-th forwarding unit to be selected The radius of coverage and described transmission destination radius sum;
If described first distance is treated described i-th less than described second distance, described first forwarding unit The forwarding unit of choosing is as described second forwarding unit.
Wherein, when described first distance is less than described second distance, the described i-th forwarding unit to be selected Coverage is existed with described transmission destination occurs simultaneously.
Example 1, forwarding unit 1 receives the message carrying target geographic position information, described target geographic position Information indicates the transmission destination of described message, and described target geographic position information includes described transmission destination The position of central point be (0,450), the radius of described transmission destination is 50, preserves in forwarding unit 1 3 forwarding units to be selected geographical location information, as shown in table 3,
Table 3
Wherein, 0 in the geographical location information of forwarding unit 2 is the x2 in table 1, the ground of forwarding unit 2 In reason positional information 500 are the y2 in table 1, and 100 in the geographical location information of forwarding unit 2 are table R2 in 1.
Forwarding unit 1 can adopt method provided in an embodiment of the present invention, obtains the first distance in table 4 and the Two distances, will not be described here.
Table 4
Forwarding unit to be selected First distance Second distance
Forwarding unit 2 50 150
Forwarding unit 3 502 150
Forwarding unit 4 538 150
As shown in Table 4, corresponding first distance of forwarding unit 2, less than second distance, represents that described forwarding sets Standby 2 coverage is existed with described transmission destination occurs simultaneously, and from above coordinate data, described biography Defeated destination is completely in the coverage of described forwarding unit 2.Therefore, described forwarding unit 1 selects institute State forwarding unit 2, and send described message to described forwarding unit 2.
Example 2, forwarding unit 1 receives the message carrying target geographic position information, described target geographic position Information indicates the transmission destination of described message, and described target geographic position information includes described transmission destination The position of central point be (500,300), the radius of described transmission destination is 200, in forwarding unit 1 The geographical location information of 3 forwarding units to be selected preserving, still as shown in table 3, forwarding unit 1 determines Corresponding first distance of each forwarding unit to be selected and second distance, as shown in table 5:
Table 5
Forwarding unit to be selected First distance Second distance
Forwarding unit 2 538 150
Forwarding unit 3 500 150
Forwarding unit 4 50 150
As shown in Table 5, corresponding first distance of forwarding unit 3, less than second distance, represents that described forwarding sets Standby 3 coverage is existed with described transmission destination occurs simultaneously, and corresponding first distance of forwarding unit 4 is also little In second distance, represent that the coverage of forwarding unit 4 and described transmission destination there is also common factor, and by Above coordinate data understands, described transmission destination part, in the coverage of forwarding unit 3, partly exists In the coverage of described forwarding unit 4.Therefore, described forwarding unit 1 selects forwarding unit 3 and forwards Equipment 4, and send described message to described forwarding unit 3 and forwarding unit 4 respectively.
Step 403:Described first forwarding unit sends described message to described second forwarding unit.
Specifically, in execution step 403, including:Described first forwarding unit by with described second turn Send out the tunnel that equipment room is set up, send described message to described second forwarding unit.
The tunnel set up between described first forwarding unit and described second forwarding unit, can be to pre-build , as received geographical location information and the IP of described second forwarding unit in described first forwarding unit Behind address, or set up before execution step 403, the present invention does not limit to this.
Optionally, described first forwarding unit sets up the tunnel with described second forwarding unit, walks including following Suddenly:
Obtain the IP address of described second forwarding unit;
According to the IP address of described second forwarding unit, set up the tunnel with described second forwarding unit.
Wherein, the IP address of described second forwarding unit can be internet protocol version 4 (Internet Protocol Version 4, IPv4) address or internet protocol version 6 (Internet Protocol Version 6, IPv6) address etc., there are various ways, such as generalized routing protocol encapsulation (Generic Routing in described tunnel Encapsulation, GRE) tunnel, or various two layers or three layers of tunnel, the present invention does not limit to this Fixed.
Optionally, in execution step 403, including:
Described first forwarding unit obtains the IP address of described second forwarding unit;And
According to the IP address of described second forwarding unit, described message is encapsulated as IP message;
Described first forwarding unit, according to the IP address of described second forwarding unit, forwards to described second and sets Preparation send described IP message.
Wherein, because the IP address of described second forwarding unit can be IPv4 address or IPv6 address.When When the IP address of described second forwarding unit is IPv4 address, the IP message of encapsulation is IPv4 message;When When the IP address of described second forwarding unit is IPv6 address, the IP message of encapsulation is IPv6 message.
Specifically, when described message is encapsulated as IP message, this IP message includes source IP address, and Purpose IP address, wherein source IP address as receive the IP address of the first forwarding unit of described message, mesh IP address be described second forwarding unit IP address.
After step 403, after described second forwarding unit receives described message, described message is carried out extensively Broadcast, wherein, when described first forwarding unit sends the IP message after encapsulation to described second forwarding unit, The described IP message receiving is decapsulated by described second forwarding unit, generates original message, described Original message is the described message that described first forwarding unit receives.Described second forwarding unit broadcast institute State original message, so that the terminal being in the coverage of described second forwarding unit is received described Message.So, in the common factor between the coverage of described second forwarding unit and described transmission destination When there is terminal, this terminal can receive described message it is achieved that described message transmissions are to described transmission mesh Ground.
Using the car networking data transmission method in the above embodiment of the present invention, the first forwarding unit is receiving eventually After what end sent carries the message of target geographic position information, according to described target geographic position information and preservation The geographical location information of forwarding unit N number of to be selected in, filter out the second forwarding unit, wherein, described Target geographic position information is used for indicating the transmission destination of described message, the geography of described second forwarding unit Positional information is used for indicating described second forwarding unit coverage, the coverage of described second forwarding unit Exist with described transmission destination and occur simultaneously;Described first forwarding unit sends described report to the second forwarding unit Literary composition, so, described first forwarding unit need not consider described first forwarding unit and described transmission destination Distance, the message that will receive, it is transferred in described transmission destination by described second forwarding unit, thus Described first forwarding unit can realize telecommunication.
In the embodiment above, the first forwarding unit will receive message and pass through forwarding unit (i.e. second Forwarding unit) transmit described message, in actual applications, described first forwarding unit can pass through multiple turns Send out message described in device transmission, in the present embodiment, only taking two forwarding units as a example, described first forwarding Equipment transmits the flow process of described message and above-mentioned reality by any one forwarding unit in described two forwarding units Apply example identical.Refering to shown in Fig. 6, specific flow process includes:
Step 601:The message carrying target geographic position information that first forwarding unit receiving terminal sends, Described target geographic position information is used for indicating the transmission destination of described message.
Wherein, described message can be GeoNetworking message, described GeoNetworking message Described target geographic position information is carried in heading.The target geographic position information carrying in described message refers to The transmission destination of the described message showing can be a region, or is one place, specific expression side Description in formula such as step 401, here is omitted.
Step 602:Described first forwarding unit is treated according to described target geographic position information and the N number of of preservation The geographical location information of the forwarding unit of choosing, selection the second forwarding unit and the 3rd forwarding unit, described two The geographical location information of forwarding unit is used for indicating the coverage of described second forwarding unit, described 3rd turn The geographical location information of the equipment of sending out is used for indicating the coverage of described 3rd forwarding unit, described second forwarding The coverage of equipment is existed with described transmission destination occurs simultaneously, the coverage of described 3rd forwarding unit with There is common factor in described transmission destination, N is the integer more than or equal to 1.
Optionally, before execution step 602, also include:
Described first forwarding unit obtains the geographical location information of described N number of forwarding unit to be selected, and protects Deposit.Wherein, described N number of forwarding unit to be selected be car networking in except described first forward forwarding unit in addition to Forwarding unit.
Optionally, described first forwarding unit obtains the geographical position letter of described N number of forwarding unit to be selected Breath, including following two modes:
First kind of way:Described N number of forwarding to be selected that described first forwarding unit receives controller transmission sets Standby geographical location information;
The second way:It is described N number of that described first forwarding unit receives carrying of the 4th forwarding unit transmission The routing protocol packet of the geographical location information of forwarding unit to be selected.Described 4th forwarding unit is car networking In any one forwarding unit in addition to described first forwarding unit.Wherein, described routing protocol packet can Think ospf protocol message or BGP message etc..When described routing protocol packet is ospf protocol message, Opaque Information in described ospf protocol message sets for carrying at least one forwarding to be selected Standby geographical location information.
When described transmission destination is a region, described target geographic position information includes described transmission mesh The position of the central point on ground and described transmission destination radius, the geographical position of each forwarding unit to be selected Confidence breath includes:The covering of the position of each forwarding unit to be selected described and each forwarding unit to be selected described The radius of lid scope;
Described first forwarding unit is according to the forwarding N number of to be selected of described target geographic position information and preservation The geographical location information of equipment, selects the second forwarding unit, including:
In position and described transmission destination according to the i-th forwarding unit to be selected for described first forwarding unit The position of heart point, obtains the first distance, the position of the central point for described transmission destination for described first distance Distance and between the position of described i-th forwarding unit to be selected, the described i-th forwarding unit to be selected is described Any one forwarding unit to be selected in N number of forwarding unit to be selected;
The radius of the coverage according to the described i-th forwarding unit to be selected for described first forwarding unit and described The radius of transmission destination, obtains second distance, described second distance is the described i-th forwarding unit to be selected The radius of coverage and described transmission destination radius sum;
If described first distance is treated described i-th less than described second distance, described first forwarding unit The forwarding unit of choosing is as described second forwarding unit.
In the same manner, described first forwarding unit is N number of to be selected with preserve according to described target geographic position information The geographical location information of forwarding unit, selects the 3rd forwarding unit, including:
In position and described transmission destination according to the i-th forwarding unit to be selected for described first forwarding unit The position of heart point, obtains the first distance, the position of the central point for described transmission destination for described first distance Distance and between the position of described i-th forwarding unit to be selected, the described i-th forwarding unit to be selected is described Any one forwarding unit to be selected in addition to the second forwarding unit in N number of forwarding unit to be selected;
The radius of the coverage according to the described i-th forwarding unit to be selected for described first forwarding unit and described The radius of transmission destination, obtains second distance, described second distance is the described i-th forwarding unit to be selected The radius of coverage and described transmission destination radius sum;
If described first distance is treated described i-th less than described second distance, described first forwarding unit The forwarding unit of choosing is as described 3rd forwarding unit.
By step 602, described first forwarding unit can determine described transmission destination and described second turn The coverage of the equipment of sending out has common factor, and the coverage of described transmission destination and described 3rd forwarding unit There is common factor;Described message is respectively sent to described second forwarding unit and described by described first forwarding unit After 3rd forwarding unit, after described second forwarding unit and the described 3rd forwarding unit described message of broadcast, make It is in the coverage of described second forwarding unit, and the terminal in the range of described 3rd forwarding unit Described message can be received.It is in described transmission destination and the coverage of described second forwarding unit Terminal in common factor, and it is in the friendship of described transmission destination and the coverage of described 3rd forwarding unit Terminal in collection, all can receive described message.Therefore, described first forwarding unit forwards by second and sets Standby and the 3rd forwarding unit send described message it is achieved that described message transmissions to this message transmission purpose Ground.So, described first forwarding unit need not consider described first forwarding unit and described transmission destination Distance, the message that will receive, described transmission purpose is transferred to by the second forwarding unit and the 3rd forwarding unit In ground, such that it is able to realize telecommunication.
Step 603:Described first forwarding unit is respectively to described second forwarding unit and described 3rd forwarding Equipment sends described message.
Specifically, in execution step 603, including:
Described first forwarding unit by described second forwarding unit between set up tunnel, to described second turn The equipment of sending out sends described message;
Described first forwarding unit by described 3rd forwarding unit between set up tunnel, to described second turn The equipment of sending out sends described message.
Specifically, described first forwarding unit sends described message to described second forwarding unit, including:
Described first forwarding unit obtains the IP address of described second forwarding unit;And
According to the IP address of described second forwarding unit, described message is encapsulated as IP message;
Described first forwarding unit, according to the IP address of described second forwarding unit, forwards to described second and sets Preparation send described IP message.
In the same manner, described first forwarding unit sends described message to described 3rd forwarding unit, including:
Described first forwarding unit obtains the IP address of described 3rd forwarding unit;And
According to the IP address of described 3rd forwarding unit, described message is encapsulated as IP message;
Described first forwarding unit, according to the IP address of described 3rd forwarding unit, forwards to the described 3rd and sets Preparation send described IP message.
After step 603, after described second forwarding unit receives described message, described message is carried out extensively Broadcast, after described 3rd forwarding unit receives described message, described message is broadcasted, wherein, work as institute State the first forwarding unit to send after encapsulation to described second forwarding unit and described 3rd forwarding unit respectively During IP message, the IP message of reception is carried out by described second forwarding unit and described 3rd forwarding unit respectively Decapsulation, generates original message, described original message is the message that the first forwarding unit receives.Institute State the second forwarding unit and broadcast described original message, in the coverage making be in described second forwarding unit Terminal can receive described message;Described 3rd forwarding unit broadcasts described original message, makes to be in Terminal in the coverage of described 3rd forwarding unit can receive described message.So, described When there is terminal in the common factor between the coverage of two forwarding units and described transmission destination, this terminal energy Enough receive described message;Friendship between the coverage of described 3rd forwarding unit and described transmission destination When there is terminal in collection, this terminal can receive described message it is achieved that described message transmissions are to described biography Defeated destination.So, because described first forwarding unit need not consider described first forwarding unit and described biography The distance of defeated destination, the message that will receive, by described second forwarding unit and described 3rd forwarding unit It is transferred in described transmission destination, thus described first forwarding unit can realize telecommunication.
Based on above example, present invention also offers a kind of first forwarding unit, described first forwarding unit The method that can be provided using the corresponding embodiment of Fig. 4, refering to shown in Fig. 7, described first forwarding unit 700 Including:Receiving unit 701, select unit 702 and transmitting element 703.Alternatively, described first turn Send out equipment 700 and also include processing unit 704.
Described receiving unit 701 is used for the message carrying target geographic position information that receiving terminal sends, institute State target geographic position information for indicating the transmission destination of described message.
N number of to be selected the turning that described select unit 702 is used for according to described target geographic position information and preserves The geographical location information of the equipment of sending out, selects the second forwarding unit, the geographical position letter of described second forwarding unit Cease the coverage for indicating described second forwarding unit, the coverage of described second forwarding unit and institute State transmission destination and there is common factor, N is the integer more than or equal to 1.
Described transmitting element 703 is used for sending described message to described second forwarding unit.
Optionally, when described transmission destination is a region, described target geographic position information includes institute State the position of the central point of transmission destination and the radius of described transmission destination, each forwarding unit to be selected Geographical location information include:The position of each forwarding unit to be selected described and each forwarding to be selected described The radius of the coverage of equipment;
Described select unit 702, specifically for:
The position of the central point of the position according to the i-th forwarding unit to be selected and described transmission destination, obtains First distance, the position of central point for described transmission destination for described first distance and described i-th to be selected Distance between the position of forwarding unit, the described i-th forwarding unit to be selected is that described N number of forwarding to be selected sets Any one forwarding unit to be selected in standby;
The radius of the coverage according to the described i-th forwarding unit to be selected and the half of described transmission destination Footpath, obtains second distance, and described second distance is the half of the coverage of the described i-th forwarding unit to be selected The radius sum of footpath and described transmission destination;
If described first distance is less than described second distance, using the described i-th forwarding unit to be selected as Described second forwarding unit.
Optionally, described transmitting element 703, specifically for:
By the tunnel set up between described first forwarding unit and described second forwarding unit, to described second turn The equipment of sending out sends described message.
Optionally, described first forwarding unit 700 also includes processing unit 704;
Described processing unit 704 is used for obtaining the internet protocol address of described second forwarding unit;
Described processing unit 704 is used for the IP address according to described second forwarding unit, and described message is sealed Fill as IP message;
Described transmitting element 703 specifically for the IP address according to described second forwarding unit, to described Two forwarding units send described IP message.
Optionally, described message is the network system GeoNetworking message based on geographical position, described Described target geographic position information is carried in the heading of GeoNetworking message.
Optionally, before described select unit 702 is used for selecting the second forwarding unit, described receiving unit 701 are additionally operable to receive the geographical location information of described N number of forwarding unit to be selected that controller sends;Or
Before described select unit 702 is used for selecting the second forwarding unit, described receiving unit 701 is also used In the geographical location information carrying described N number of forwarding unit to be selected receiving the 3rd forwarding unit transmission Routing protocol packet.
Optionally, described routing protocol packet is ospf ospf protocol message, described The opaque information Opaque Information that ospf protocol message includes is used for carrying described N number of to be selected Forwarding unit geographical location information.
It should be noted that being schematic to the division of unit in the embodiment of the present invention, only one kind is patrolled Volume function divides, and actual can have other dividing mode when realizing.In addition, in each embodiment of the application In each functional unit can be integrated in a processing unit or the independent physics of unit is deposited It is also possible to two or more units are integrated in a unit.Above-mentioned integrated unit both can be adopted Realized with the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If described integrated unit is realized and as independent production marketing using in the form of SFU software functional unit Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this Shen Part that technical scheme please substantially contributes to prior art in other words or this technical scheme complete Portion or partly can be embodied in the form of software product, this computer software product is stored in a storage In medium, including some instructions with so that computer equipment (can be personal computer, server, Or network equipment etc.) or processor (processor) execute each embodiment methods described of the application complete Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic Dish or CD etc. are various can be with the medium of store program codes.
Based on above example, present invention also offers a kind of first forwarding unit, described first forwarding unit The method that can be provided using the corresponding embodiment of Fig. 4, can be identical with the first forwarding unit shown in Fig. 7 Equipment.Refering to shown in Fig. 8, this first forwarding unit equipment 800 includes:Communication interface 801, process Device 802, bus 803 and memorizer 804, wherein:
Communication interface 801, processor 802 and memorizer 804 are connected with each other by bus 803;Bus 803 can be Peripheral Component Interconnect standard (peripheral component interconnect, abbreviation PCI) Bus or EISA (extended industry standard architecture, abbreviation EISA) Bus etc..Described bus can be divided into address bus, data/address bus, controlling bus etc..For ease of representing, Only represented with a thick line in Fig. 8, it is not intended that only one bus or a type of bus.
Communication interface 801 is used for being communicated with terminal and other forwarding units, and terminal as described in receive is sent out The message carrying target geographic position information sending, sends described message to the second forwarding unit.
Processor 802 is used for:
The message carrying target geographic position information that receiving terminal sends, described target geographic position information is used In the transmission destination indicating described message;
Geographical position letter according to described target geographic position information and the forwarding unit N number of to be selected preserving Breath, selects the second forwarding unit, and the geographical location information of described second forwarding unit is used for indicating described second The coverage of forwarding unit, the coverage of described second forwarding unit is existed with described transmission destination to be handed over Collection, N is the integer more than or equal to 1;
Send described message to described second forwarding unit.
Optionally, when described transmission destination is a region, described target geographic position information includes institute State the position of the central point of transmission destination and the radius of described transmission destination, each forwarding unit to be selected Geographical location information include:The position of each forwarding unit to be selected described and each forwarding to be selected described The radius of the coverage of equipment;
Geographical position letter according to described target geographic position information and the forwarding unit N number of to be selected preserving Breath, selects the second forwarding unit, including:
The position of the central point of the position according to the i-th forwarding unit to be selected and described transmission destination, obtains First distance, the position of central point for described transmission destination for described first distance and described i-th to be selected Distance between the position of forwarding unit, the described i-th forwarding unit to be selected is that described N number of forwarding to be selected sets Any one forwarding unit to be selected in standby;
The radius of the coverage according to the described i-th forwarding unit to be selected and the half of described transmission destination Footpath, obtains second distance, and described second distance is the half of the coverage of the described i-th forwarding unit to be selected The radius sum of footpath and described transmission destination;
If described first distance is less than described second distance, using the described i-th forwarding unit to be selected as Described second forwarding unit.
This first forwarding unit 800 also includes memorizer 804, is used for depositing program etc..Specifically, program Program code can be included, this program code includes computer-managed instruction.Memorizer 804 may comprise with Machine access memorizer (random access memory, RAM) is it is also possible to also include non-volatile memories Device (non-volatile memory), for example, at least one disk memory.Processor 802 executes storage The application program that device 804 is deposited, realizes as above car networking data transmission method.
Car networking data transmission method provided in an embodiment of the present invention and the first forwarding unit, the first forwarding unit Receiving terminal send carry the message of target geographic position information after, believed according to described target geographic position In the geographical location information of forwarding unit N number of to be selected of breath and preservation, filter out the second forwarding unit, its In, described target geographic position information is used for indicating the transmission destination of described message, and described second forwarding sets Standby geographical location information is used for indicating described second forwarding unit coverage, described second forwarding unit Coverage is existed with described transmission destination occurs simultaneously;Described first forwarding unit sends to the second forwarding unit Described message, so, described first forwarding unit need not consider described first forwarding unit and described transmission mesh Ground distance, will receive message, be transferred in described transmission destination by described second forwarding unit, Thus described first forwarding unit can realize telecommunication.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know base This creative concept, then can make other change and modification to these embodiments.So, appended right will Ask and be intended to be construed to including preferred embodiment and fall into being had altered and changing of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not take off to the embodiment of the present invention Spirit and scope from the embodiment of the present invention.So, if these modifications of the embodiment of the present invention and modification belong to Within the scope of the claims in the present invention and its equivalent technologies, then the present invention be also intended to comprise these change and Including modification.

Claims (14)

1. a kind of car networking data transmission method is it is characterised in that methods described includes:
The message carrying target geographic position information that first forwarding unit receiving terminal sends, described target ground Reason positional information is used for indicating the transmission destination of described message;
Described first forwarding unit is according to the forwarding N number of to be selected of described target geographic position information and preservation The geographical location information of equipment, selects the second forwarding unit, the geographical location information of described second forwarding unit For indicating the coverage of described second forwarding unit, the coverage of described second forwarding unit with described There is common factor in transmission destination, N is the integer more than or equal to 1;
Described first forwarding unit sends described message to described second forwarding unit.
2. the method for claim 1 is it is characterised in that working as described transmission destination is an area During domain, described target geographic position information includes the position of central point of described transmission destination and described transmission The radius of destination, the geographical location information of each forwarding unit to be selected includes:Each to be selected turning described The radius of the coverage of the position of the equipment of sending out and each forwarding unit to be selected described;
Described first forwarding unit is according to the forwarding N number of to be selected of described target geographic position information and preservation The geographical location information of equipment, selects the second forwarding unit, including:
In position and described transmission destination according to the i-th forwarding unit to be selected for described first forwarding unit The position of heart point, obtains the first distance, the position of the central point for described transmission destination for described first distance Distance and between the position of described i-th forwarding unit to be selected, the described i-th forwarding unit to be selected is described Any one forwarding unit to be selected in N number of forwarding unit to be selected;
The radius of the coverage according to the described i-th forwarding unit to be selected for described first forwarding unit and described The radius of transmission destination, obtains second distance, described second distance is the described i-th forwarding unit to be selected The radius of coverage and described transmission destination radius sum;
If described first distance is treated described i-th less than described second distance, described first forwarding unit The forwarding unit of choosing is as described second forwarding unit.
3. method as claimed in claim 1 or 2 is it is characterised in that described first forwarding unit is to institute State the second forwarding unit and send described message, including:
Described first forwarding unit by described second forwarding unit between set up tunnel, to described second turn The equipment of sending out sends described message.
4. the method as described in any one of claim 1-3 is it is characterised in that described first forwarding unit Send described message to described second forwarding unit, including:
Described first forwarding unit obtains the internet protocol address of described second forwarding unit;And
According to the IP address of described second forwarding unit, described message is encapsulated as IP message;
Described first forwarding unit, according to the IP address of described second forwarding unit, forwards to described second and sets Preparation send described IP message.
5. the method as described in any one of claim 1-4 it is characterised in that described message be based on The network system GeoNetworking message of reason position, in the heading of described GeoNetworking message Carry described target geographic position information.
6. the method as described in any one of claim 1-5 is it is characterised in that described first forwarding unit According to the geographical location information of described target geographic position information and the forwarding unit N number of to be selected preserving, choosing Before selecting the second forwarding unit, methods described also includes:
Described first forwarding unit receives the geographical position of described N number of forwarding unit to be selected that controller sends Confidence ceases;Or
What described first forwarding unit reception the 3rd forwarding unit sent carries described N number of forwarding to be selected The routing protocol packet of the geographical location information of equipment.
7. method as claimed in claim 6 is it is characterised in that described routing protocol packet is open SPF ospf protocol message, opaque information Opaque that described ospf protocol message includes Information is used for carrying the geographical location information of described N number of forwarding unit to be selected.
8. a kind of first forwarding unit is it is characterised in that described first forwarding unit includes:
Receiving unit, the message carrying target geographic position information sending for receiving terminal, described target Geographical location information is used for indicating the transmission destination of described message;
Select unit, for the forwarding unit N number of to be selected according to described target geographic position information and preservation Geographical location information, select the second forwarding unit, the geographical location information of described second forwarding unit is used for Indicate the coverage of described second forwarding unit, the coverage of described second forwarding unit and described transmission Destination exists occurs simultaneously, and N is the integer more than or equal to 1;
Transmitting element, for sending described message to described second forwarding unit.
9. the first forwarding unit as claimed in claim 8 is it is characterised in that work as described transmission destination During for a region, described target geographic position information include described transmission destination the position of central point and The radius of described transmission destination, the geographical location information of each forwarding unit to be selected includes:Described each The radius of the coverage of the position of forwarding unit to be selected and each forwarding unit to be selected described;
Described select unit, specifically for:
The position of the central point of the position according to the i-th forwarding unit to be selected and described transmission destination, obtains First distance, the position of central point for described transmission destination for described first distance and described i-th to be selected Distance between the position of forwarding unit, the described i-th forwarding unit to be selected is that described N number of forwarding to be selected sets Any one forwarding unit to be selected in standby;
The radius of the coverage according to the described i-th forwarding unit to be selected and the half of described transmission destination Footpath, obtains second distance, and described second distance is the half of the coverage of the described i-th forwarding unit to be selected The radius sum of footpath and described transmission destination;
If described first distance is less than described second distance, using the described i-th forwarding unit to be selected as Described second forwarding unit.
10. the first forwarding unit as claimed in claim 8 or 9 is it is characterised in that described transmitting element, Specifically for:
By the tunnel set up between described first forwarding unit and described second forwarding unit, to described second turn The equipment of sending out sends described message.
11. the first forwarding units as described in any one of claim 8-10 are it is characterised in that described first Forwarding unit also includes processing unit;
Described processing unit is used for obtaining the internet protocol address of described second forwarding unit;
Described processing unit is used for the IP address according to described second forwarding unit, and described message is encapsulated as IP message;
Described transmitting element specifically for the IP address according to described second forwarding unit, to described second turn The equipment of sending out sends described IP message.
12. the first forwarding units as described in any one of claim 8-11 are it is characterised in that described message It is the network system GeoNetworking message based on geographical position, described GeoNetworking message Described target geographic position information is carried in heading.
13. the first forwarding units as described in any one of claim 8-12 it is characterised in that
Before described select unit is used for selecting the second forwarding unit, described receiving unit is additionally operable to receive control The geographical location information of described N number of forwarding unit to be selected that device processed sends;Or
Before described select unit is used for selecting the second forwarding unit, described receiving unit is additionally operable to receive the The route association of the geographical location information carrying described N number of forwarding unit to be selected that three forwarding units send View message.
14. first forwarding units as claimed in claim 13 are it is characterised in that described Routing Protocol report Literary composition is ospf ospf protocol message, and it is opaque that described ospf protocol message includes Information Opaque Information is used for carrying the geographical location information of described N number of forwarding unit to be selected.
CN201510466703.8A 2015-07-31 2015-07-31 Internet of vehicles data transmission method and first forwarding equipment Active CN106413019B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510466703.8A CN106413019B (en) 2015-07-31 2015-07-31 Internet of vehicles data transmission method and first forwarding equipment
PCT/CN2016/091780 WO2017020759A1 (en) 2015-07-31 2016-07-26 Internet of vehicles data transmission method and first forwarding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510466703.8A CN106413019B (en) 2015-07-31 2015-07-31 Internet of vehicles data transmission method and first forwarding equipment

Publications (2)

Publication Number Publication Date
CN106413019A true CN106413019A (en) 2017-02-15
CN106413019B CN106413019B (en) 2020-02-11

Family

ID=57942430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510466703.8A Active CN106413019B (en) 2015-07-31 2015-07-31 Internet of vehicles data transmission method and first forwarding equipment

Country Status (2)

Country Link
CN (1) CN106413019B (en)
WO (1) WO2017020759A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276902A (en) * 2017-06-12 2017-10-20 北京邮电大学 The car networking route addressing method that geographical position is combined with IP address
CN109417685A (en) * 2018-09-28 2019-03-01 北京小米移动软件有限公司 Data transmission method, device, equipment and the system of direct-connected communication
CN110784328A (en) * 2018-07-27 2020-02-11 华为技术有限公司 Internet of vehicles communication solution
CN112885095A (en) * 2021-01-29 2021-06-01 北京梧桐车联科技有限责任公司 Road surface information detection method, device, equipment and computer readable storage medium
CN113613196A (en) * 2021-06-16 2021-11-05 北京交通大学 Communication method, device and system for geographic area
WO2022247315A1 (en) * 2021-05-27 2022-12-01 之江实验室 Geographic identifier forwarding method and apparatus for region addressing

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858965B (en) * 2018-08-21 2022-08-02 中兴通讯股份有限公司 Data transmission method and device, terminal and storage medium
CN113923742B (en) * 2021-08-16 2023-09-12 南通大学 Short-distance communication routing method between vehicle nodes of Internet of vehicles

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080151841A1 (en) * 2006-12-20 2008-06-26 Honeywell International Inc. Configuration aware packet routing in an ad-hoc network
CN103546937A (en) * 2013-10-22 2014-01-29 重庆邮电大学 Opportunistic routing method based on drive link state sensing in vehicle self-organizing network
CN104144193A (en) * 2013-05-10 2014-11-12 阳立电子(苏州)有限公司 Distributed distribution method and system of car networking emergent message transmission information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167024A (en) * 2013-02-05 2013-06-19 广东工业大学 Collaborative information transfer method facing car networking

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080151841A1 (en) * 2006-12-20 2008-06-26 Honeywell International Inc. Configuration aware packet routing in an ad-hoc network
CN104144193A (en) * 2013-05-10 2014-11-12 阳立电子(苏州)有限公司 Distributed distribution method and system of car networking emergent message transmission information
CN103546937A (en) * 2013-10-22 2014-01-29 重庆邮电大学 Opportunistic routing method based on drive link state sensing in vehicle self-organizing network

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107276902A (en) * 2017-06-12 2017-10-20 北京邮电大学 The car networking route addressing method that geographical position is combined with IP address
CN107276902B (en) * 2017-06-12 2020-07-07 北京邮电大学 Geographic position and IP address combined routing and addressing method for Internet of vehicles
CN110784328B (en) * 2018-07-27 2021-12-14 华为技术有限公司 Internet of vehicles communication solution
CN110784328A (en) * 2018-07-27 2020-02-11 华为技术有限公司 Internet of vehicles communication solution
US11323850B2 (en) 2018-07-27 2022-05-03 Huawei Cloud Computing Technologies Co., Ltd. Vehicle-to-everything communication solution
CN109417685B (en) * 2018-09-28 2022-07-01 北京小米移动软件有限公司 Data transmission method, device, equipment and system for direct connection communication
WO2020062101A1 (en) * 2018-09-28 2020-04-02 北京小米移动软件有限公司 Data transmission method and apparatus for direct communication, device, and system
CN109417685A (en) * 2018-09-28 2019-03-01 北京小米移动软件有限公司 Data transmission method, device, equipment and the system of direct-connected communication
CN112885095A (en) * 2021-01-29 2021-06-01 北京梧桐车联科技有限责任公司 Road surface information detection method, device, equipment and computer readable storage medium
CN112885095B (en) * 2021-01-29 2022-09-23 北京梧桐车联科技有限责任公司 Road surface information detection method, device, equipment and computer readable storage medium
WO2022247315A1 (en) * 2021-05-27 2022-12-01 之江实验室 Geographic identifier forwarding method and apparatus for region addressing
US11870560B2 (en) 2021-05-27 2024-01-09 Zhejiang Lab Geographical identification forwarding method and device for area-oriented addressing
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
CN106413019B (en) 2020-02-11
WO2017020759A1 (en) 2017-02-09

Similar Documents

Publication Publication Date Title
CN106413019A (en) Internet of vehicles (IOV) data transmission method and first forwarding device
CN102316028B (en) Method and apparatus for sending internet protocol packet
Jeong et al. A comprehensive survey on vehicular networks for smart roads: A focus on IP-based approaches
US20170330457A1 (en) Techniques for vehicle based message transmission and reception
CN102318288B (en) Method, equipment and system of node sorting and selection
CN102932499B (en) Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN103312811B (en) A kind of implementation method of vehicle-mounted net access IPv6 the Internet
CN104869563B (en) A kind of Realization Method of Communication of city car networking of future generation
CN105376162B (en) A kind of link-state information notifying method and equipment
CN103167484B (en) Method for accessing a car connected network to an IPv6 network
CN103731349A (en) Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device
CN104185239B (en) Intersection method for routing based on road section length in vehicle self-organizing network
Tsukada et al. Experimental evaluation for IPv6 over VANET geographic routing
CN104023371A (en) Method and system of multi-path routing of vehicular ad hoc network
CN103546990B (en) The method that the networking of a kind of car accesses internet
Xu et al. COMPASS: directing named data transmission in VANETs by dynamic directional interfaces
CN106576049A (en) Network device configured to track multicast receivers
CN104869601A (en) Communication realization method of next-generation internet of vehicle
KR20120064938A (en) Method and apparatus for collecting and transmitting emergency information based on anycast-multicast communication
CN102957605B (en) Switching realization method and system as well as source outlet tunnel router
CN107659651A (en) The method and system of group-net communication between a kind of vehicle
CN104539530A (en) Host/standby switching uninterrupted forwarding method
CN107592150A (en) A kind of method and device based on LEO mobile satellite communication system
CN107592153A (en) A kind of method and device based on LEO mobile satellite communication system
US8644189B1 (en) Wireless communication device that transmits geographic location information in router advertisement acknowledgement messages

Legal Events

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