CN108075973A - A kind of equipment communication means and device - Google Patents
A kind of equipment communication means and device Download PDFInfo
- Publication number
- CN108075973A CN108075973A CN201610998731.9A CN201610998731A CN108075973A CN 108075973 A CN108075973 A CN 108075973A CN 201610998731 A CN201610998731 A CN 201610998731A CN 108075973 A CN108075973 A CN 108075973A
- Authority
- CN
- China
- Prior art keywords
- epc
- subnet
- address
- packet
- ospf
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
An embodiment of the present invention provides a kind of equipment communication means and device, the equipment, which includes user equipment (UE) and core net EPC, the method, to be included:When the UE is attached to the EPC, the EPC distributes subnet of ip address and subnet mask to the UE;The EPC receives the OSPF messages that UE is sent for the subnet of ip address and subnet mask;Wherein, the OSPF messages are generated by the first OSPF modules in the UE according to the subnet of ip address and subnet mask;The OSPF messages are encapsulated as IP packet by the EPC, and the IP packet is sent to the UE.When wireless (3G nets, 4G nets or 5G nets) is unreachable between UE and EPC, it can in time notify to other EPC or UE, to avoid in network side the business datum of unnecessary redundancy being forwarded to influence the communication between other normal UE and EPC by dynamic routing.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of equipment communication means and a kind of communication apparatus.
Background technology
In LTE (Long Term Evolution, Long Term Evolution) communication network, user equipment (UE, User
Equipment) in addition to communicating in itself and network between communication node (such as PC), other UE, more and more situations
Under, particularly in IOT (Internet of Things, Internet of Things) application scenarios or some trade Special Networks, using UE as net
It is hung under pass realization UE standby with hanging device interoperability under communication node on network and other inter-network UE.Furthermore it is required that UE
The device address of lower extension in the case of UE is moved and be attached to different PGW (Public Data Network GateWay,
Public data network gateway) when it is constant always.This, which has just drawn, hangs standby addressing issue under UE.
With reference to Fig. 1, show communication system of the prior art, wherein, hung under UE standby (such as PC) need and
Hung under the UE of inter-network communication between devices or with the equipment in PDN (public data network, Public Data Network) network
Communication can not be predicted before being attached to network due to UE, and therefore, it is necessary to the artificial configuration of IP (Internet after UE adheres to
Protocol, procotol), it is necessary to illustrate, gtpu tunel are GPRS channel protocols-user plane passage for address,
LogPortTrafficFwd, LogEtherPortMngmt, PhyEthPort, LogPorty for logic port processing module and
OS (Operation System, operating system) Ipstack (network address stack) is OS modules, is used for data exchange.Such as exist
Routing configuration is carried out on UE, intercommunication or and network between terminal device are hung under the enterprising pedestrian's work routing configurations of PGW, realization UE
Middle service (server), which communicates or specified according to the address of terminal distribution, hangs standby IP address under it, but such one
Come, terminal adheres to the IP address of different UE every time, has also just arranged to hang that different IP address must be used under it so that
Each equipment needs the IP address for first obtaining the latter otherwise that can just communicate when communicating with miscellaneous equipment.It can
See, such mode is troublesome, but also obtains and add global device address management entity in a network, and cost is very high.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present invention overcomes the above problem or at least partly in order to provide one kind
A kind of equipment communication means and a kind of corresponding communication apparatus to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of equipment communication means, the equipment includes user
Equipment UE and core net EPC, the UE are configured with the first ospf OSPF modules, and the EPC is used for foundation
IP packet communicates with the UE;The method includes:
When the UE is attached to the EPC, the EPC distributes subnet of ip address and subnet mask to the UE;
The EPC receives the OSPF messages that UE is sent for the subnet of ip address and subnet mask;Wherein, the OSPF
Message is generated by the first OSPF modules in the UE according to the subnet of ip address and subnet mask;
The OSPF messages are encapsulated as IP packet by the EPC, and the IP packet is sent to the UE.
Preferably, described when the UE is attached to the EPC, the EPC distributes subnet of ip address and son to the UE
The step of net mask, includes:
The EPC distributes subnet of ip address to the UE;
For the subnet of ip address, the EPC and UE establishes default bearing;
The EPC sends the subnet mask to the UE by default bearing.
Preferably, the OSPF messages are encapsulated as IP packet by the EPC, and the IP packet is sent to the UE's
Step includes:
The OSPF messages are encapsulated as IP packet by the EPC in GTP-U, and the IP packet are sent to described
UE;Wherein, the IP packet is without Ethernet frame head.
Preferably, the OSPF messages are encapsulated as IP packet by the EPC, and the IP packet is sent to the UE's
Step further includes:
It is unicast message or multicast message to judge the IP packet;
If the IP packet is unicast message, the IP packet is sent to what the purpose IP address of the IP packet was specified
UE;
If the IP packet is multicast message, the IP packet is sent to the multiple UE for being attached to EPC.
Preferably, the EPC is further included including operating system OS, characteristic module and the 2nd OSPF modules, the method:
When the 2nd OSPF modules configuration dynamic routing table gives the OS, the characteristic module filters the dynamic road
Routing entry by the subnet of ip address that next hop address corresponding UE is route in table.
Preferably, the method further includes:
Purpose subnet address in the routing entry of the subnet of ip address of the corresponding UE is added to the correspondence by the EPC
The forwarding allocation list of the downlink business message of UE.
The embodiment of the invention also discloses a kind of equipment communication means, the equipment includes user equipment (UE) and core net
EPC, the UE are configured with the first ospf OSPF modules, and the EPC is used for according to IP packet and the UE
It communicates;The method includes:
When the UE is attached to the EPC, the UE receives the subnet of ip address and subnet mask of the EPC distribution;
The first OSPF modules in the UE generate OSPF messages, and incite somebody to action according to the subnet of ip address and subnet mask
The OSPF messages are sent to the EPC;
The UE receives the EPC and is directed to the IP packet that the OSPF messages return;Wherein, the IP packet is by described
EPC is encapsulated for the OSPF messages, and the IP packet is without Ethernet frame head.
Preferably, described when the UE is attached to the EPC, the EPC distributes subnet of ip address and son to the UE
The step of net mask, includes:
When the UE is attached to EPC, the subnet of ip address of the EPC distribution is received;
The UE receptions default bearing establishes information;
The subnet mask is received by default bearing for the UE.
Preferably, the equipment further includes mobile terminal, and the method further includes:
The UE distributes local ip address to multiple mobile terminals;Wherein, the mobile terminal is using the local IP
Location is in communication with each other with the UE.
The embodiment of the invention also discloses a kind of communication apparatus, the equipment includes user equipment (UE) and core net
EPC, the UE are configured with the first ospf OSPF modules, and the EPC is used for according to IP packet and the UE
It communicates;The device includes:
Subnet of ip address and subnet mask allocation module, for when the UE is attached to the EPC, the EPC is to institute
State UE distribution subnet of ip address and subnet mask;
OSPF messages return to module, receive what UE was returned for the subnet of ip address and subnet mask for the EPC
OSPF messages;Wherein, the OSPF messages are covered by the first OSPF modules in the UE according to the subnet of ip address and subnet
Code generation;
The OSPF messages are encapsulated as IP packet for the EPC, and the IP packet are sent out by IP packet sending module
Give the UE.
Preferably, the subnet of ip address and subnet mask allocation module include:
Subnet of ip address distribution sub module distributes subnet of ip address to the UE for the EPC;
Default bearing setting up submodule, for being directed to the subnet of ip address, the EPC and UE establishes acquiescence and holds
It carries;
Subnet mask sending submodule sends the subnet mask to the UE for the EPC by default bearing.
Preferably, the IP packet sending module includes:
The OSPF messages are encapsulated as IP packet by IP packet sending submodule for the EPC in GTP-U, and will
The IP packet is sent to the UE;Wherein, the IP packet is without Ethernet frame head.
Preferably, the IP packet sending module further includes:
Message format judging submodule, for judging that the IP packet is unicast message or multicast message;
The IP packet if being unicast message for the IP packet, is sent to institute by the first IP packet sending submodule
State the UE that IP packet is specified;
The IP packet if being multicast message for the IP packet, is sent to institute by the first IP packet sending submodule
State the multiple UE adhered on EPC.
Preferably, the EPC is further included including operating system OS, characteristic module and the 2nd OSPF modules, described device:
Subnet of ip address filtering module, for working as the 2nd OSPF modules configuration dynamic routing table clause to the OS
When, the characteristic module filters the routing item for the subnet of ip address that next hop address corresponding UE is route in the dynamic routing table
Mesh.
Preferably, described device further includes:
Allocation list add module is forwarded, is added to the purpose subnet address for the routing entry being filled into for the EPC
The forwarding allocation list of the downlink business message of the corresponding UE.
The embodiment of the invention also discloses a kind of communication apparatus, the equipment includes user equipment (UE) and core net
EPC, the UE are configured with the first ospf OSPF modules, and the EPC is used for according to IP packet and the UE
It communicates;The device includes:
Subnet of ip address and subnet mask receiving module, for when the UE is attached to the EPC, the UE to receive institute
State the subnet of ip address and subnet mask of EPC distribution;
OSPF message sending modules are covered for the first OSPF modules in the UE according to the subnet of ip address and subnet
Code generates OSPF messages, and the OSPF messages is sent to the EPC;
IP packet receiving module receives IP packets of the EPC for OSPF messages return for the UE;Its
In, the IP packet is encapsulated by the EPC for the OSPF messages, and the IP packet is without Ethernet frame head.
Preferably, the subnet of ip address and subnet mask receiving module include:
Subnet of ip address receiving submodule, for when the UE is attached to EPC, receiving the subnet IP of the EPC distribution
Address;
Default bearing establishes information receiving submodule, and information is established for UE reception default bearings;
Subnet mask receiving submodule receives the subnet mask for being directed to the UE by default bearing.
Preferably, the equipment further includes mobile terminal, and described device further includes:
Local ip address distribution module distributes local ip address to multiple mobile terminals for the UE;Wherein, the shifting
Dynamic terminal is in communication with each other using the local ip address and the UE.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention, on the basis of the EPC sides, the EPC and UE, one or more mobile terminals are mutual
It communicates, in the embodiment of the present invention, after the EPC and UE establishes connection using subnet of ip address and subnet mask, the EPC
The first OSPF modules of the 2nd OSPF modules and the UE syntople is established by OSPF messages, the OSPF messages pass through
Default bearing is forwarded to.When the 2nd OSPF modules configuration dynamic routing table gives the OS, the characteristic module filtering
The entry of the subnet of ip address of next hop address corresponding UE is route in the dynamic routing table, the EPC is by the item of the filtering
Purpose purpose subnet address is added to the forwarding allocation list of the downlink business message of the corresponding UE, in the embodiment of the present invention, when
When wireless (3G nets, 4G nets or 5G nets) is unreachable between UE and EPC, can be in time notified by dynamic routing to other EPC or UE,
It avoids in network side the business datum of unnecessary redundancy being forwarded to influence the communication between other normal UE and EPC.
Description of the drawings
Fig. 1 is facility communication system schematic diagram of the prior art;
Fig. 2 is a kind of step flow chart of equipment communication means embodiment one of the embodiment of the present invention;
Fig. 3 is a kind of facility communication system schematic diagram of the embodiment of the present invention;
Fig. 4 is a kind of step flow chart of equipment communication means embodiment two of the embodiment of the present invention;
Fig. 5 is a kind of step flow chart of equipment communication means embodiment three of the embodiment of the present invention;
Fig. 6 is a kind of structure diagram of communication apparatus example IV of the embodiment of the present invention.
Specific embodiment
To enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage more obvious understandable, below in conjunction with the accompanying drawings and
Specific embodiment is described in further detail the embodiment of the present invention.
With reference to Fig. 2, a kind of step flow chart of equipment communication means embodiment one of the embodiment of the present invention is shown, it is described
Equipment includes user equipment (UE, User Equipment) and core net (EPC, Evolved Packet Core), and the UE matches somebody with somebody
The first ospf (OSPF, Open Shortest Path First) module is equipped with, the EPC is used for foundation
IP (Internet Protocol, Internet protocol) message communicates with the UE, specifically may include steps of:
Step 101, when the UE is attached to the EPC, the EPC distributes subnet of ip address to the UE and subnet is covered
Code;
In the embodiment of the present invention, the UE is configured with the first ospf OSPF modules, the OSPF moulds
Block is routing module, and OSPF (Open Shortest Path First ospfs) is an internal gateway association
It discusses (Interior Gateway Protocol, IGP), in single autonomous system (autonomous system, AS)
Decision-making routing.It is a kind of realization to link-state routing protocol, is subordinate to Interior Gateway Protocol (IGP), operates on autonomous system
System is internal.Otto Dix computation system is used to calculate shortest path tree.It is two versions of OSPFv2 and OSPFv3 that OSPF, which is divided to, wherein
OSPFv2 is used in IPv4 (Internet Protocol Version 4, Internet protocol the 4th edition) network, and OSPFv3 is used in
IPv6 (Internet Protocol Version the 6th edition) network.With RIP (Routing Information Protocol,
Routing information protocol) it compares, OSPF is link-state protocol, and RIP is distance vector protocol.Similarly, the EPC is configured with
2nd OSFP modules, the EPC, EPC mainly by MME (Mobility Management Entity, mobility management entity),
SGW (Serving GateWay, gateway), PGW (PDN GateWay, PDN Gateway), PCRF (Policy and
Charging Rules Function, Policy and Charging Rules Function) etc. network elements form, define the core of a full IP
Heart net EPC (Evolved Packet Core), feature be only packet domain and without circuit domain, based on full IP structures, control and hold
Carry separation and network structure flattening.After the UE starts, the broadcast message of cell where receiving, the corresponding base of access cell
It stands, is further attached on the EPC, after the UE is attached to the EPC, EPC establishes default bearing for UE, and EPC is to described
UE distributes subnet of ip address and subnet mask, the UE receive subnet of ip address and subnet mask, by the subnet of ip address
And subnet mask is configured to the first OSPF modules, after distributing subnet of ip address, default bearing can adjust.UE be attached to it is any
Under EPC, with subnet of ip address (the subnet of ip address pond of the UE of core net EPC planning, the i.e. subnet of ip address of UE of EPC distribution
One of pond) with EPC neighborhood is established, briefly, the first OSFP modules and the 2nd OSFP modules establish neighborhood.
Step 102, the EPC receives the OSPF messages that UE is returned for the subnet of ip address and subnet mask;Wherein,
The OSPF messages are generated by the first OSPF modules in the UE according to the subnet of ip address and subnet mask;
In practical application, after the UE establishes connection by subnet of ip address and subnet mask with the EPC, the UE's
First OSFP modules generate and send OSPF messages and receive the OSPF messages that UE is returned to the EPC, the EPC.
Step 103, the OSPF messages are encapsulated as IP packet by the EPC, and the IP packet is sent to the UE;
Wherein, the OSPF messages are without Ethernet frame head.
For reality, the 2nd OSPF modules are sent in EPC IP packet is packaged into Ether frame in operating system OS
Logic port is issued after (unicast or multicast ethernet frame), and (message that logic port processing module receives is comprising Ethernet frame head
OSPF types IP packet), but in logic port processing module Ethernet frame head can be removed, be really encapsulated into GTP-U
(GPRS Tunnel Protocol User Plane, GPRS channel protocol-user planes, wherein, GPRS General
Packet Radio Service, general packet radio service technology) the tunnel IP packet that is sent to UE is no ethernet frame
(being substantially the IP packet without Ethernet frame head) of head.On the contrary, from the OSPF messages that UE is received, handled by logic port
Ethernet frame head is encapsulated also according to unicast or multicast OSPF messages when module hands to OS, the 2nd OSPF moulds are given to by OS again afterwards
Block.In this way, the UE can be in communication with each other with the EPC.
Specifically, reference Fig. 3, shows a kind of facility communication system schematic diagram of the embodiment of the present invention, and the UE matches somebody with somebody
The first OSPF modules are equipped with, the EPC is configured with the 2nd OSPF modules, and above-mentioned the two is established by OSPF modules to be connected, mutually
Communication;Further, multiple mobile terminals are communicated by the local ip address that the UE is distributed with the UE, wherein, institute
Stating mobile terminal includes PC (PC, Personal Computer) etc., and the default gateway of the mobile terminal is configured
For the local ip address of the UE, after above-mentioned process, EPC, UE, mobile terminal three can be in communication with each other, it is necessary to say
It is bright, gtpu tunel be GPRS channel protocols-user plane passage, LogPortTrafficFwd,
LogEtherPortMngmt, PhyEthPort, LogPorty are logic port processing module and OS (Operation
System, operating system) Ipstack (network address stack) be OS modules, there is data exchange.Compared to Figure 1, institute
It states UE and is configured with the first OSPF modules, the EPC is configured with the 2nd OSPF modules, by the OSPF modules of the two, makes mobile whole
End, the UE being connected with mobile terminal and the EPC being connected with UE are in communication with each other, and different interconnections can be attached in UE
When on EPC, the IP address that the mobile terminal that is connected with UE is connected can be constant.
It should be noted that the first OSPF modules be also responsible for the local ip address subnet that the UE is distributed being advertised to it is described
The 2nd OSPF modules on EPC go to the mobile terminal by the 2nd OSPF modules according to local ip address subnet generation
Dynamic routing.Other UE or adjacent EPC are additionally advertised to by the 2nd OSPF modules, in this way, other UE or adjacent EPC
Equipment just may know that the equipment that the service message of affiliated mobile terminal should be sent to.
In the embodiment of the present invention, difference need not be moved to UE with the IP address of the UE mobile terminals being connected
Interconnection EPC under carry out the configuration of IP address again again, can effectively mitigate the entire communication network of manual maintenance, wrap
Include EPC, UE, mobile terminal, the difficulty and labor intensity of routing configuration and the routing for avoiding human configuration routing that from may bringing
The problem of arrangement abnormalities cause business datum that cannot normally forward.When the dynamic increases UE and mobile terminal newly, it is only necessary to again
It plans the IP address of UE and mobile terminal, stresses newly to participate in configuration without core net EPC, save resource, efficiently solve shifting
The addressing issue that dynamic terminal is connected with UE.
With reference to Fig. 4, a kind of step flow chart of equipment communication means embodiment two of the embodiment of the present invention is shown, it is described
Equipment includes user equipment (UE) and core net EPC, and the UE is configured with the first ospf OSPF modules, described
EPC is used to communicate with the UE according to IP packet;Specifically it may include steps of:
Step 201, the EPC distributes subnet of ip address to the UE;
In the embodiment of the present invention, when the UE is attached to the EPC, the EPC distributes the subnet of ip address to institute
State UE.
Step 202, for the subnet of ip address, the EPC and UE establishes default bearing;
In specific implementation, after the UE is attached to the EPC, the EPC and UE establishes default bearing.
Step 203, the EPC sends the subnet mask to the UE by default bearing;
After establishing default bearing, EPC is sent into the subnet mask to the UE by default bearing.
Step 204, the OSPF messages that UE is returned for the subnet of ip address and subnet mask are received;Wherein, it is described
OSPF messages are generated by the first OSPF modules in the UE according to the subnet of ip address and subnet mask;
In concrete application, the first OSPF modules in the UE return to OSPF for the subnet of ip address and subnet mask
Message, the EPC receives the OSPF messages of UE returns, it is necessary to which explanation, the EPC configure subnet of ip address to the UE
When, it is necessary to configure the OS modules in one of subnet of ip address to the EPC, as virtual network interface, get UE
It is configured to after one of subnet of ip address in net IP address pond in the OS, and the virtual network interface is configured to it
In the 2nd OSPF modules.
Step 205, the OSPF messages are encapsulated as IP packet by the EPC in GTP-U, and the IP packet is sent
To the UE;Wherein, the IP packet is without Ethernet frame head;
Step 206, it is unicast message or multicast message to judge the IP packet;
Further, after the 2nd OSPF resume modules, the IP packet is sent to the UE by the EPC, specifically
Step is to first determine whether that the IP packet is unicast message or multicast message, further according to different types of message, is sent to difference
UE.
Step 207, if the IP packet is unicast message, the IP packet is sent to the UE that the IP packet specifies;
Specifically, if the IP packet is unicast message, the IP packet is sent to by the IP by default bearing
The UE that message is specified.
Step 208, if the IP packet is multicast message, the IP packet is sent to adhere on the EPC it is multiple
UE。
Further, if the IP packet is multicast message, the IP packet is sent to by the EPC by default bearing
Multiple UE of upper attachment.It should be noted that the EPC includes operating system OS, characteristic module and the 2nd OSPF modules, work as institute
When stating the 2nd OSPF modules configuration dynamic routing table to the OS, the characteristic module is filtered in the dynamic routing table under routing
One jumps the entry of the subnet of ip address of address corresponding UE;The EPC adds the routing purpose subnet address of the entry of the filtering
The forwarding allocation list of the downlink business message of the corresponding UE is added to, in this way, being gone to and UE when an EPC is received from other EPC
It can be forwarded to after the service message of connected mobile terminal.
The embodiment of the present invention, on the basis of the EPC sides, the EPC and UE, one or more mobile terminals are mutual
It communicates, in the embodiment of the present invention, after the EPC and UE establishes connection using subnet of ip address and subnet mask, the EPC
The first OSPF modules of the 2nd OSPF modules and the UE syntople is established by OSPF messages, the OSPF messages pass through
Default bearing is forwarded to.When the 2nd OSPF modules configuration dynamic routing table gives the OS, the characteristic module filtering
The entry of the subnet of ip address of next hop address corresponding UE is route in the dynamic routing table, the EPC is by the item of the filtering
Purpose routing purpose subnet address is added to the forwarding allocation list of the downlink business message of the corresponding UE, the embodiment of the present invention
In, when wireless (3G nets, 4G nets or 5G nets) is unreachable between UE and EPC, can in time be notified to other EPC by dynamic routing
Or UE, it avoids in network side the business datum of unnecessary redundancy being forwarded to influence the communication between other normal UE and EPC.
With reference to Fig. 5, a kind of step flow chart of equipment communication means embodiment three of the embodiment of the present invention is shown, it is described
Equipment includes user equipment (UE) and core net EPC, and the UE is configured with the first ospf OSPF modules, described
EPC is used to communicate with the UE according to IP packet;Specifically it may include steps of:
Step 301, when the UE is attached to the EPC, the UE receives the subnet of ip address and son of the EPC distribution
Net mask;
It is described when the UE is attached to the EPC in a kind of preferred embodiment of the embodiment of the present invention, the EPC to
The step of UE distribution subnet of ip address and subnet mask, includes:
When the UE is attached to EPC, the subnet of ip address of the EPC distribution is received;
The UE receptions default bearing establishes information;
The subnet mask is received by default bearing for the UE.
In practical application, when the UE is attached to EPC, the subnet of ip address of the EPC distribution is received, the UE is received
Default bearing establishes information, and the subnet mask is received by the default bearing.It should be noted that the subnet of the UE
Mask should netmask corresponding with the virtual network interface of EPC it is consistent.
Step 302, the first OSPF modules in the UE are according to the subnet of ip address and subnet mask, generation OSPF reports
Text, and the OSPF messages are sent to the EPC;
Step 303, the UE receives the EPC and is directed to the IP packet that the OSPF messages return;Wherein, the IP packet
It is encapsulated by the EPC for the OSPF messages, the IP packet is without Ethernet frame head.
Specifically, after the UE and EPC establishes connection, the equipment further includes mobile terminal, the UE distribution
Local ip address is to multiple mobile terminals;Wherein, the mobile terminal is used for mutual for the local ip address and the UE
Communication.In this way, the UE, the EPC and the mobile terminal three can be in communication with each other, wherein, the mobile terminal can be with
Including multiple mobile terminals, it is necessary to illustrate, the SGI interfaces of the UE subnet of ip address, local ip address and the EPC
Location three is respectively at different sub-network.
In the embodiment of the present invention, on the basis of UE sides, the EPC and the mobile terminal are connected, in the embodiment of the present invention,
The UE, the EPC and the mobile terminal three can be in communication with each other, with the IP address of the UE mobile terminals being connected not
It needs to carry out the configuration of IP address again again with being moved under different EPC for UE, it is entire can effectively to mitigate manual maintenance
Communication network avoids the routing configuration that human configuration routing may be brought abnormal, when the dynamic increases UE and mobile terminal newly,
It only needs to plan the IP address of UE and mobile terminal again, efficiently solves the IP address frequent changes that mobile terminal is connected with UE
Problem.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
It closes, but those skilled in the art should know, the embodiment of the present invention and from the limitation of described sequence of movement, because according to
According to the embodiment of the present invention, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
Reference Fig. 6, shows a kind of structure diagram of communication apparatus example IV of the present invention, and the equipment includes
User equipment (UE) and core net EPC, the UE are configured with the first ospf OSPF modules, and the EPC is used for
It communicates according to IP packet with the UE;Following module can specifically be included:
Subnet of ip address and subnet mask allocation module 401, for when the UE is attached to the EPC, the EPC to
The UE distribution subnet of ip address and subnet mask;
OSPF messages return to module 402, for receiving the OSPF that UE is returned for the subnet of ip address and subnet mask
Message;Wherein, the OSPF messages are given birth to by the first OSPF modules in the UE according to the subnet of ip address and subnet mask
Into;
The OSPF messages are encapsulated as IP packet for the EPC, and the IP are reported by IP packet sending module 403
Text is sent to the UE.
Preferably, the subnet of ip address and subnet mask allocation module include:
Subnet of ip address distribution sub module distributes subnet of ip address to the UE for the EPC;
Default bearing setting up submodule, for being directed to the subnet of ip address, the EPC and UE establishes acquiescence and holds
It carries;
Subnet mask sending submodule sends the subnet mask to the UE for the EPC by default bearing.
Preferably, the IP packet sending module includes:
Destination address judging submodule, destination address for judging the OSPF messages are unicast address or multicast
Location;
The OSPF messages are encapsulated as IP packet by IP packet sending submodule for the EPC in GTP-U, and will
The IP packet is sent to the UE;Wherein, the IP packet is without Ethernet frame head.
Preferably, the IP packet sending module further includes:
Message format judging submodule, for judging that the IP packet is unicast message or multicast message;
The IP packet if being unicast message for the IP packet, is sent to institute by the first IP packet sending submodule
State the UE that IP packet is specified;
The IP packet if being multicast message for the IP packet, is sent to institute by the first IP packet sending submodule
State the multiple UE adhered on EPC.
In a kind of preferred embodiment of the embodiment of the present invention, the EPC includes operating system OS, characteristic module and second
OSPF modules, described device further include:
Subnet of ip address filtering module, for when the 2nd OSPF modules configuration dynamic routing table give the OS when, institute
State the entry that characteristic module filters the subnet of ip address that next hop address corresponding UE is route in the dynamic routing table.
In a kind of preferred embodiment of the embodiment of the present invention, described device further includes:
Allocation list add module is forwarded, for the EPC by the road of the routing entry of the subnet of ip address of the corresponding UE
It is added to the forwarding allocation list of the downlink business message of the corresponding UE by purpose subnet address.
The embodiment of the invention also discloses a kind of communication apparatus, the equipment includes user equipment (UE) and core net
EPC, the UE are configured with the first ospf OSPF modules, and the EPC is used for according to IP packet and the UE
It communicates;The device includes:
Subnet of ip address and subnet mask receiving module, for when the UE is attached to the EPC, the UE to receive institute
State the subnet of ip address and subnet mask of EPC distribution;
OSPF message sending modules are covered for the first OSPF modules in the UE according to the subnet of ip address and subnet
Code generates OSPF messages, and the OSPF messages is sent to the EPC;
IP packet receiving module, for receiving the IP packet that the EPC is directed to the OSPF messages and returns;Wherein, it is described
IP packet is encapsulated by the EPC for the OSPF messages, and the IP packet is without Ethernet frame head.
Preferably, the subnet of ip address and subnet mask receiving module include:
Subnet of ip address receiving submodule, for when the UE is attached to EPC, receiving the subnet IP of the EPC distribution
Address;
Default bearing establishes information receiving submodule, and information is established for UE reception default bearings;
Subnet mask receiving submodule receives the subnet mask for being directed to the UE by default bearing.
In a kind of preferred embodiment of the embodiment of the present invention, the equipment further includes mobile terminal, and described device further includes:
Local ip address distribution module distributes local ip address to multiple mobile terminals for the UE;Wherein, the shifting
Dynamic terminal is used to be in communication with each other with the UE for the local ip address.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with
The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be with reference to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that it can realize flowchart and/or the block diagram by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided
Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments
Capable instruction generation is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes
The device for the function of specifying.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments
In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates bag
The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that
Series of operation steps is performed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or multiple flows
And/or specified in one box of block diagram or multiple boxes function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, those skilled in the art once know base
This creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed to
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped
Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited
Element, it is not excluded that also there are other identical elements in the process including the element, method, article or terminal device.
It above to a kind of method provided by the present invention and a kind of device, is described in detail, tool used herein
Body example is set forth the principle of the present invention and embodiment, and the explanation of above example is only intended to help to understand this hair
Bright method and its core concept;Meanwhile for those of ordinary skill in the art, thought according to the invention, specific real
There will be changes in mode and application range are applied, in conclusion this specification content should not be construed as the limit to the present invention
System.
Claims (18)
1. a kind of equipment communication means, which is characterized in that the equipment includes user equipment (UE) and core net EPC, and the UE matches somebody with somebody
The first ospf OSPF modules are equipped with, the EPC is used to communicate with the UE according to IP packet;It is described
Method include:
When the UE is attached to the EPC, the EPC distributes subnet of ip address and subnet mask to the UE;
The EPC receives the OSPF messages that UE is sent for the subnet of ip address and subnet mask;Wherein, the OSPF messages
It is generated by the first OSPF modules in the UE according to the subnet of ip address and subnet mask;
The OSPF messages are encapsulated as IP packet by the EPC, and the IP packet is sent to the UE.
2. according to the method described in claim 1, it is characterized in that, described when the UE is attached to the EPC, the EPC
The step of distributing subnet of ip address and subnet mask to the UE includes:
The EPC distributes subnet of ip address to the UE;
For the subnet of ip address, the EPC and UE establishes default bearing;
The EPC sends the subnet mask to the UE by default bearing.
3. according to the method described in claim 1, it is characterized in that, the OSPF messages are encapsulated as IP packet by the EPC, and
The step of IP packet is sent to the UE includes:
The OSPF messages are encapsulated as IP packet by the EPC in GTP-U, and the IP packet is sent to the UE;Its
In, the IP packet is without Ethernet frame head.
4. according to the method described in claim 1, it is characterized in that, the OSPF messages are encapsulated as IP packet by the EPC, and
The step of IP packet is sent to the UE further includes:
It is unicast message or multicast message to judge the IP packet;
If the IP packet is unicast message, the IP packet is sent to the UE that the purpose IP address of the IP packet specifies;
If the IP packet is multicast message, the IP packet is sent to the multiple UE for being attached to EPC.
5. according to the method described in claim 1, it is characterized in that, the EPC includes operating system OS, characteristic module and second
OSPF modules, the method further include:
When the 2nd OSPF modules configuration dynamic routing table gives the OS, the characteristic module filters the dynamic routing table
The routing entry of the subnet of ip address of middle routing next hop address corresponding UE.
6. method according to claim 1 or 5, which is characterized in that the method further includes:
Purpose subnet address in the routing entry of the subnet of ip address of the corresponding UE is added to the corresponding UE by the EPC
The forwarding allocation list of downlink business message.
7. a kind of equipment communication means, which is characterized in that the equipment includes user equipment (UE) and core net EPC, and the UE matches somebody with somebody
The first ospf OSPF modules are equipped with, the EPC is used to communicate with the UE according to IP packet;It is described
Method include:
When the UE is attached to the EPC, the UE receives the subnet of ip address and subnet mask of the EPC distribution;
The first OSPF modules in the UE generate OSPF messages according to the subnet of ip address and subnet mask, and will described in
OSPF messages are sent to the EPC;
The UE receives the EPC and is directed to the IP packet that the OSPF messages return;Wherein, the IP packet is by the EPC pins
The OSPF messages are encapsulated, the IP packet is without Ethernet frame head.
8. the method according to the description of claim 7 is characterized in that described when the UE is attached to the EPC, the EPC
The step of distributing subnet of ip address and subnet mask to the UE includes:
When the UE is attached to EPC, the subnet of ip address of the EPC distribution is received;
The UE receptions default bearing establishes information;
The subnet mask is received by default bearing for the UE.
9. the method according to the description of claim 7 is characterized in that the equipment further includes mobile terminal, the method is also wrapped
It includes:
The UE distributes local ip address to multiple mobile terminals;Wherein, the mobile terminal using the local ip address with
The UE is in communication with each other.
10. a kind of communication apparatus, which is characterized in that the equipment includes user equipment (UE) and core net EPC, and the UE matches somebody with somebody
The first ospf OSPF modules are equipped with, the EPC is used to communicate with the UE according to IP packet;It is described
Device include:
Subnet of ip address and subnet mask allocation module, for when the UE is attached to the EPC, the EPC is to the UE
Distribute subnet of ip address and subnet mask;
OSPF messages return to module, and UE is received for the subnet of ip address and the OSPF of subnet mask return for the EPC
Message;Wherein, the OSPF messages are given birth to by the first OSPF modules in the UE according to the subnet of ip address and subnet mask
Into;
The OSPF messages are encapsulated as IP packet for the EPC, and the IP packet are sent to by IP packet sending module
The UE.
11. device according to claim 10, which is characterized in that the subnet of ip address and subnet mask allocation module bag
It includes:
Subnet of ip address distribution sub module distributes subnet of ip address to the UE for the EPC;
Default bearing setting up submodule, for being directed to the subnet of ip address, the EPC and UE establishes default bearing;
Subnet mask sending submodule sends the subnet mask to the UE for the EPC by default bearing.
12. device according to claim 10, which is characterized in that the IP packet sending module includes:
The OSPF messages are encapsulated as IP packet by IP packet sending submodule for the EPC in GTP-U, and by described in
IP packet is sent to the UE;Wherein, the IP packet is without Ethernet frame head.
13. device according to claim 10, which is characterized in that the IP packet sending module further includes:
Message format judging submodule, for judging that the IP packet is unicast message or multicast message;
The IP packet if being unicast message for the IP packet, is sent to the IP by the first IP packet sending submodule
The UE that message is specified;
The IP packet if being multicast message for the IP packet, is sent to the EPC by the first IP packet sending submodule
Multiple UE of upper attachment.
14. device according to claim 10, which is characterized in that the EPC includes operating system OS, characteristic module and the
Two OSPF modules, described device further include:
Subnet of ip address filtering module, for when the 2nd OSPF modules configuration dynamic routing table clause gives the OS, institute
State the routing entry that characteristic module filters the subnet of ip address that next hop address corresponding UE is route in the dynamic routing table.
15. the device according to claim 10 or 14, which is characterized in that described device further includes:
Allocation list add module is forwarded, is added to the purpose subnet address for the routing entry being filled into for the EPC described
The forwarding allocation list of the downlink business message of corresponding UE.
16. a kind of communication apparatus, which is characterized in that the equipment includes user equipment (UE) and core net EPC, and the UE matches somebody with somebody
The first ospf OSPF modules are equipped with, the EPC is used to communicate with the UE according to IP packet;It is described
Device include:
Subnet of ip address and subnet mask receiving module, described in when the UE is attached to the EPC, the UE is received
The subnet of ip address and subnet mask of EPC distribution;
OSPF message sending modules, for the first OSPF modules in the UE according to the subnet of ip address and subnet mask,
OSPF messages are generated, and the OSPF messages are sent to the EPC;
IP packet receiving module receives IP packets of the EPC for OSPF messages return for the UE;Wherein, institute
It states IP packet to be encapsulated for the OSPF messages by the EPC, the IP packet is without Ethernet frame head.
17. device according to claim 16, which is characterized in that the subnet of ip address and subnet mask receiving module bag
It includes:
Subnet of ip address receiving submodule, for when the UE is attached to EPC, receiving the subnet of ip address of the EPC distribution;
Default bearing establishes information receiving submodule, and information is established for UE reception default bearings;
Subnet mask receiving submodule receives the subnet mask for being directed to the UE by default bearing.
18. device according to claim 16, which is characterized in that the equipment further includes mobile terminal, and described device is also
Including:
Local ip address distribution module distributes local ip address to multiple mobile terminals for the UE;Wherein, it is described mobile whole
End is in communication with each other using the local ip address and the UE.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610998731.9A CN108075973B (en) | 2016-11-11 | 2016-11-11 | Equipment communication method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610998731.9A CN108075973B (en) | 2016-11-11 | 2016-11-11 | Equipment communication method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108075973A true CN108075973A (en) | 2018-05-25 |
CN108075973B CN108075973B (en) | 2020-11-13 |
Family
ID=62161971
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610998731.9A Active CN108075973B (en) | 2016-11-11 | 2016-11-11 | Equipment communication method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108075973B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110784329A (en) * | 2018-07-30 | 2020-02-11 | 成都鼎桥通信技术有限公司 | Method and system for routing terminal equipment of LTE network |
CN111404816A (en) * | 2020-03-06 | 2020-07-10 | 联想(北京)有限公司 | Method, device, system and storage medium for sending multicast message across network |
CN111918412A (en) * | 2019-05-10 | 2020-11-10 | 大唐移动通信设备有限公司 | Communication system, service processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119304A (en) * | 2007-08-24 | 2008-02-06 | 华为技术有限公司 | Neighbourhood establishing method and router |
WO2014079306A1 (en) * | 2012-11-23 | 2014-05-30 | Hangzhou H3C Technologies Co., Ltd. | Establishing neighbor connection |
CN103873366A (en) * | 2012-12-18 | 2014-06-18 | 瞻博网络公司 | Aggregation network with centralized control |
CN104412548A (en) * | 2013-12-31 | 2015-03-11 | 华为技术有限公司 | Method and device for keeping user device IP address fixed |
-
2016
- 2016-11-11 CN CN201610998731.9A patent/CN108075973B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101119304A (en) * | 2007-08-24 | 2008-02-06 | 华为技术有限公司 | Neighbourhood establishing method and router |
WO2014079306A1 (en) * | 2012-11-23 | 2014-05-30 | Hangzhou H3C Technologies Co., Ltd. | Establishing neighbor connection |
CN103873366A (en) * | 2012-12-18 | 2014-06-18 | 瞻博网络公司 | Aggregation network with centralized control |
CN104412548A (en) * | 2013-12-31 | 2015-03-11 | 华为技术有限公司 | Method and device for keeping user device IP address fixed |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110784329A (en) * | 2018-07-30 | 2020-02-11 | 成都鼎桥通信技术有限公司 | Method and system for routing terminal equipment of LTE network |
CN110784329B (en) * | 2018-07-30 | 2022-04-12 | 成都鼎桥通信技术有限公司 | Method and system for routing terminal equipment of LTE network |
CN111918412A (en) * | 2019-05-10 | 2020-11-10 | 大唐移动通信设备有限公司 | Communication system, service processing method and device |
CN111918412B (en) * | 2019-05-10 | 2022-11-04 | 大唐移动通信设备有限公司 | Communication system, service processing method and device |
CN111404816A (en) * | 2020-03-06 | 2020-07-10 | 联想(北京)有限公司 | Method, device, system and storage medium for sending multicast message across network |
CN111404816B (en) * | 2020-03-06 | 2021-06-15 | 联想(北京)有限公司 | Method, device, system and storage medium for sending multicast message across network |
Also Published As
Publication number | Publication date |
---|---|
CN108075973B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6790132B2 (en) | SDN-based mobile communication systems and how to operate such systems | |
CN106572017B (en) | Sending method, receiving method and device of BIER information | |
CN101573997B (en) | Automatic distribution of server and gateway information for pool configuration | |
CN109617778B (en) | Method, device and system for realizing cross-domain two-layer network service | |
CN102724118B (en) | Label distribution method and device | |
EP2843885A1 (en) | Apparatus and method for implementing a packet gateway user plane | |
CN102055665B (en) | OSPF point-to-multipoint over broadcast or NBMA mode | |
CN109660442B (en) | Method and device for multicast replication in Overlay network | |
CN106488512B (en) | Bandwidth management method and system for base station and backhaul network thereof | |
CN104243270A (en) | Tunnel setup method and tunnel setup device | |
CN103036809A (en) | Methods and apparatus for a scalable network with efficient link utilization | |
CN107534608B (en) | Method and apparatus for processing data streams in a wireless communication network | |
CN112491687B (en) | Method and device for processing message | |
CN105516025B (en) | Path clustering and data transmission method, OpenFlow controller and interchanger end to end | |
CN106656905A (en) | Firewall cluster realization method and apparatus | |
CN105814943A (en) | VPNv4 ROUTE CONTROL FOR LTE X2 SON USING UNIQUE ROUTE TARGETS | |
CN104301252A (en) | Data sending system and method | |
CN111049752A (en) | Load balancing method and device for multiple transmission lines | |
EP3091693A1 (en) | Control method and centralized controller in communication network and wireless communication network system | |
US20180152877A1 (en) | Internet protocol address preservation in mobile operator networks | |
CN102891903B (en) | A kind of NAT method and equipment | |
Salsano et al. | Controller selection in a Wireless Mesh SDN under network partitioning and merging scenarios | |
CN108075973A (en) | A kind of equipment communication means and device | |
CN103947284B (en) | Communication terminal, communication means and communication system | |
CN108617009A (en) | a kind of data transmission method, device, system and packet data network gateway |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |