CN110784329A - Method and system for routing terminal equipment of LTE network - Google Patents

Method and system for routing terminal equipment of LTE network Download PDF

Info

Publication number
CN110784329A
CN110784329A CN201810852004.0A CN201810852004A CN110784329A CN 110784329 A CN110784329 A CN 110784329A CN 201810852004 A CN201810852004 A CN 201810852004A CN 110784329 A CN110784329 A CN 110784329A
Authority
CN
China
Prior art keywords
address
lte core
core network
lte
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
Application number
CN201810852004.0A
Other languages
Chinese (zh)
Other versions
CN110784329B (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.)
Chengdu Dingqiao Communication Technology Co Ltd
Original Assignee
Chengdu Dingqiao Communication Technology 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 Chengdu Dingqiao Communication Technology Co Ltd filed Critical Chengdu Dingqiao Communication Technology Co Ltd
Priority to CN201810852004.0A priority Critical patent/CN110784329B/en
Publication of CN110784329A publication Critical patent/CN110784329A/en
Application granted granted Critical
Publication of CN110784329B publication Critical patent/CN110784329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/08Learning-based routing, e.g. using neural networks or artificial intelligence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects

Abstract

The invention discloses a method and a system for routing terminal equipment of an LTE network, which comprises the following steps: an LTE core network starts an OSPF routing protocol and configures and leads a direct connection route into the OSPF; starting an OSPF routing protocol by a router connected to the LTE core network; when terminal equipment (UE) accesses to the LTE core network, the LTE core network generates an IP address of the UE and creates a loopback interface of the IP address; the router learns routing information to the IP address of the UE through an OSPF routing protocol. The invention realizes that the router dynamically learns the routing information of the IP address of the UE and ensures the router to configure the UE routing.

Description

Method and system for routing terminal equipment of LTE network
Technical Field
The present invention relates to the field of data communications, and in particular, to a method and a system for routing a terminal device in an LTE network.
Background
In an LTE (Long Term Evolution) network, when a UE (User Equipment or terminal Equipment) accesses the network, an IP (Internet Protocol) address allocated by a core network is obtained. And the UE carries out IP communication with the application Server APP Server by using the allocated IP address. As shown in fig. 1, assuming that the current UE accesses to the LTE core network eCNS a, the allocated IP address is IP1, the UE may obtain the IP address of the application Server APP Server as IP2 through a DNS (Domain Name System) service, and the data communication process is described as follows:
data uplink:
the UE sends a data packet with an IP1 source address and an IP2 destination address; the data packets are packaged into GTPU data packets when passing through a base station eNodeB and are sent to an LTE core network eCNS A; after receiving the GTPU data packet and stripping the GTPU header, the LTE core network eCNS A finds out that the address IP2 of the application Server APP Server routes the next hop to be the Router, and sends the data packet to the Router; and finally, the Router sends the data packet to an application Server APP Server.
Data downlink:
an application Server APP Server sends a data packet with an IP2 source address and an IP1 destination address; after receiving the data packet, the Router finds that the next hop of the route of the IP1 is an eCNS A of the LTE core network, and sends the data packet to the eCNS A of the LTE core network; after receiving the data packet, the LTE core network eCNS A encapsulates the data packet into a GTPU message and sends the GTPU message to a base station eNodeB; and after removing the GTPU message header, the base station eNodeB sends the data packet to the UE through an air interface.
In this scenario, the Router can only generate routing information of the IP1 in a static configuration manner, so that its next hop points to the LTE core network eCNS a.
In some application scenarios, the application Server APP Server needs to use an IP address to uniquely identify a UE. It is desirable that the UE uses the same IP address IP1 regardless of whether it is networked to the LTE core network eCNS a or the LTE core network eCNS B (as shown in fig. 1). Then, from the Router perspective, the next hop to the IP1 may be the LTE core network eCNS a or the LTE core network eCNS B, and the Router has no way to statically configure the routing of the IP 1. Therefore, there is a need for a way for a Router to dynamically learn routing information to IP 1.
Disclosure of Invention
In view of this, the present invention provides a method and a system for routing a terminal device in an LTE network, so as to solve the problem that a router cannot configure a route when a UE accesses to different LTE core networks under a fixed IP.
The technical scheme of the invention is realized as follows:
a method for terminal equipment routing of an LTE network comprises the following steps:
an LTE core network starts an OSPF routing protocol and configures and leads a direct connection route into the OSPF;
starting an OSPF routing protocol by a router connected to the LTE core network;
when terminal equipment (UE) accesses to the LTE core network, the LTE core network generates an IP address of the UE and creates a loopback interface of the IP address;
the router learns routing information to the IP address of the UE through an OSPF routing protocol.
Further, the method further comprises:
when the UE is off-line from the LTE core network:
the LTE core network deletes the loopback interface of the IP address;
and the router deletes the routing information of the IP address of the UE through an OSPF routing protocol.
Further, the number of the LTE core networks is N;
the router is simultaneously connected with N LTE core networks, and the N LTE core networks open an OSPF routing protocol and are all configured to introduce a direct route into the OSPF;
when the UE is accessed to an nth LTE core network in the N LTE core networks, the nth LTE core network generates an IP address of the UE and creates a loopback interface of the IP address;
wherein N is more than or equal to 1, and N is more than or equal to 1 and less than or equal to N.
Further, when the UE is off-line from the nth LTE core network:
the nth LTE core network deletes the loopback interface of the IP address;
and the router deletes the routing information of the IP address of the UE through an OSPF routing protocol.
A system of terminal device routing for an LTE network, comprising:
the system comprises an LTE core network, terminal equipment UE and a router; wherein the content of the first and second substances,
the LTE core network is used for starting an OSPF routing protocol, configuring and leading a direct route into the OSPF, generating an IP address of the UE when the UE accesses the network, and creating a loopback interface of the IP address;
and the router is connected with the LTE core network and used for starting an OSPF routing protocol and learning the routing information of the IP address of the UE through the OSPF routing protocol when the UE accesses the network.
Further, the LTE core network is further configured to delete the loopback interface of the IP address when the UE is offline;
the router is further configured to delete routing information to an IP address of the UE via an OSPF routing protocol when the UE is offline.
Further, the number of the LTE core networks is N;
the router is simultaneously connected with N LTE core networks, and the N LTE core networks open an OSPF routing protocol and are all configured to introduce a direct route into the OSPF; wherein the content of the first and second substances,
the nth LTE core network in the N LTE core networks is used for generating an IP address of the UE and creating a loopback interface of the IP address when the UE is networked to the nth LTE core network;
wherein N is more than or equal to 1, and N is more than or equal to 1 and less than or equal to N.
Further, the nth LTE core network is further configured to delete the loopback interface of the IP address when the UE is disconnected from the nth LTE core network;
the router is further configured to delete routing information to an IP address of the UE via an OSPF routing protocol when the UE is disconnected from the nth LTE core network.
According to the method and the system for routing the terminal equipment of the LTE network, the OSPF routing protocol is started through the LTE core network and the router, the loop-back interface of the IP address is established by the LTE core network when the UE is accessed to the LTE core network, the router learns the routing information of the IP address of the UE through the OSPF routing protocol, the loop-back interface of the IP address is deleted by the LTE core network when the UE is disconnected from the network, and the routing information of the IP address of the UE is deleted by the router through the OSPF routing protocol. Therefore, the router can dynamically learn the routing information of the IP address of the UE, and the router can ensure the configuration of the UE routing.
Drawings
FIG. 1 is a schematic diagram of a system for routing a UE to an application server through an LTE network;
fig. 2 is a schematic view of an application scenario according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and examples.
The method for routing the terminal equipment of the LTE network provided by the embodiment of the invention mainly comprises the following steps:
an LTE core network starts an OSPF (Open Shortest Path First) routing protocol and configures and guides a direct route into the OSPF;
starting an OSPF routing protocol by a router connected to an LTE core network;
when the UE accesses to the LTE core network, the LTE core network generates an IP address of the UE and creates a loopback interface of the IP address;
the router learns routing information to the IP address of the UE via the OSPF routing protocol.
Further, the method further comprises:
when the UE is off-line from the LTE core network:
deleting a loopback interface of the IP address by the LTE core network;
the router deletes routing information to the IP address of the UE through the OSPF routing protocol.
Fig. 2 is a schematic view of an application scenario according to an embodiment of the present invention. Referring to fig. 2, in a specific embodiment, there are multiple LTE core networks, for example, the number of LTE core networks is N, where N ≧ 1, and the number of LTE core networks in fig. 2 is 2. The router is connected to the N LTE core networks at the same time, and the N LTE core networks open OSPF routing protocols and are configured to introduce the direct routing into OSPF. When the UE accesses to the nth LTE core network of the N LTE core networks, the nth LTE core network generates the IP address of the UE and creates a loopback interface of the IP address, wherein N is more than or equal to 1 and less than or equal to N. In other words, when the UE accesses to one of the plurality of LTE core networks, the LTE core network to which the UE accesses generates an IP address of the UE, and creates a loopback interface of the IP address.
Further, when the UE is disconnected from the nth LTE core network, the nth LTE core network deletes the loop-back interface of the IP address, and the router deletes the routing information to the IP address of the UE through an OSPF routing protocol. In other words, when the UE is disconnected from the LTE core network of the visited network, the LTE core network deletes the loop-back interface of the IP address, and the router deletes the routing information to the IP address of the UE through the OSPF routing protocol.
The above method is further described below with reference to fig. 2.
The principle is as follows:
(1) when the UE accesses the network to the LTE core network and is allocated to the IP address IP1, the LTE core network generates a loop-back interface with the address of IP 1.
(2) And the LTE core network starts an OSPF routing protocol and imports the direct routing.
(3) The router connected to the LTE core network starts an OSPF routing protocol and dynamically learns the routing information of the IP address IP1 of the UE.
(4) When the UE is off-line, the LTE core network deletes the loop-back interface of the IP1, and the router can dynamically delete the routing information to the IP1 through OSPF.
In the scenario embodiment shown in fig. 2, the fixed IP address of the UE is 10.1.1.100, and the whole process of terminal route distribution is as follows:
(1) the LTE core network eCNS A, the LTE core network eCNS B and the Router all start an OSPF dynamic routing protocol. The LTE core network eCNS A and the LTE core network eCNS B are both configured to import the direct route into OSPF.
(2) When a UE is networked to an LTE core network eCNS A, the LTE core network eCNS A creates an added loopback interface (added loopback:10.1.1.100/32) with an IP address of 10.1.1.100 (namely the fixed IP address of the UE). The Router learns that the next hop to 10.1.1.100 (i.e. the fixed IP address of the UE) is the LTE core network eCNS a via the OSPF routing protocol.
(3) When the UE is disconnected from the LTE core network eCNS A, the LTE core network eCNS A deletes a loop-back interface with an IP address of 10.1.1.100 (namely the fixed IP address of the UE). The Router deletes the routing information to 10.1.1.100 (the fixed IP address of the UE) via the OSPF routing protocol.
The embodiment of the present invention also provides a system for routing a terminal device in an LTE network, which is shown in fig. 2 and includes an LTE core network, a terminal device UE, and a router. The LTE core network is used for starting an OSPF routing protocol, configuring and leading a direct route into the OSPF, generating an IP address of the UE when the UE accesses the network, and creating a loopback interface of the IP address. The router is connected to the LTE core network and used for starting an OSPF routing protocol, and when the UE accesses the network, the router learns the routing information of the IP address of the UE through the OSPF routing protocol.
Further, the LTE core network is also used for deleting the loopback interface of the IP address when the UE is offline. The router is also used for deleting the routing information of the IP address to the UE through an OSPF routing protocol when the UE is off-line.
The number of the LTE core networks is N. The router is connected to N LTE core networks at the same time, and the N LTE core networks open OSPF routing protocols and are configured to introduce the direct routing into OSPF. The nth LTE core network in the N LTE core networks is used for generating the IP address of the UE and creating a loopback interface of the IP address when the UE is accessed to the nth LTE core network. Wherein N is more than or equal to 1, and N is more than or equal to 1 and less than or equal to N.
Further, the nth LTE core network is further configured to delete the loopback interface of the IP address when the UE is disconnected from the nth LTE core network. The router is further configured to delete routing information to an IP address of the UE via an OSPF routing protocol when the UE is disconnected from the nth LTE core network.
The invention discloses a method and a system for routing terminal equipment of an LTE network.A routing protocol of OSPF is started through an LTE core network and a router, a loop interface of an IP address is established by the LTE core network when UE is accessed to the LTE core network, the router learns the routing information of the IP address of the UE through the OSPF routing protocol, the loop interface of the IP address is deleted by the LTE core network when the UE is disconnected from the network, and the routing information of the IP address of the UE is deleted by the router through the OSPF routing protocol. Therefore, the router can dynamically learn the routing information of the IP address of the UE, and the router can ensure the configuration of the UE routing.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A method for terminal equipment routing of an LTE network comprises the following steps:
an LTE core network starts an OSPF routing protocol and configures and leads a direct connection route into the OSPF;
starting an OSPF routing protocol by a router connected to the LTE core network;
when terminal equipment (UE) accesses to the LTE core network, the LTE core network generates an IP address of the UE and creates a loopback interface of the IP address;
the router learns routing information to the IP address of the UE through an OSPF routing protocol.
2. The method for terminal device routing of an LTE network of claim 1, further comprising:
when the UE is off-line from the LTE core network:
the LTE core network deletes the loopback interface of the IP address;
and the router deletes the routing information of the IP address of the UE through an OSPF routing protocol.
3. The method for terminal device routing of an LTE network according to claim 1, characterized in that:
the number of the LTE core networks is N;
the router is simultaneously connected with N LTE core networks, and the N LTE core networks open an OSPF routing protocol and are all configured to introduce a direct route into the OSPF;
when the UE is accessed to an nth LTE core network in the N LTE core networks, the nth LTE core network generates an IP address of the UE and creates a loopback interface of the IP address;
wherein N is more than or equal to 1, and N is more than or equal to 1 and less than or equal to N.
4. The method for terminal device routing of LTE network of claim 3, wherein when said UE is off-line from said nth LTE core network:
the nth LTE core network deletes the loopback interface of the IP address;
and the router deletes the routing information of the IP address of the UE through an OSPF routing protocol.
5. A system for terminal device routing for an LTE network, comprising:
the system comprises an LTE core network, terminal equipment UE and a router; wherein the content of the first and second substances,
the LTE core network is used for starting an OSPF routing protocol, configuring and leading a direct route into the OSPF, generating an IP address of the UE when the UE accesses the network, and creating a loopback interface of the IP address;
and the router is connected with the LTE core network and used for starting an OSPF routing protocol and learning the routing information of the IP address of the UE through the OSPF routing protocol when the UE accesses the network.
6. The system for terminal device routing of an LTE network of claim 5, wherein:
the LTE core network is also used for deleting the loopback interface of the IP address when the UE is off-line;
the router is further configured to delete routing information to an IP address of the UE via an OSPF routing protocol when the UE is offline.
7. The system for terminal device routing of an LTE network of claim 5, wherein:
the number of the LTE core networks is N;
the router is simultaneously connected with N LTE core networks, and the N LTE core networks open an OSPF routing protocol and are all configured to introduce a direct route into the OSPF; wherein the content of the first and second substances,
the nth LTE core network in the N LTE core networks is used for generating an IP address of the UE and creating a loopback interface of the IP address when the UE is networked to the nth LTE core network;
wherein N is more than or equal to 1, and N is more than or equal to 1 and less than or equal to N.
8. The system for terminal device routing of an LTE network of claim 7, wherein:
the nth LTE core network is also used for deleting the loopback interface of the IP address by the nth LTE core network when the UE is disconnected from the nth LTE core network;
the router is further configured to delete routing information to an IP address of the UE via an OSPF routing protocol when the UE is disconnected from the nth LTE core network.
CN201810852004.0A 2018-07-30 2018-07-30 Method and system for routing terminal equipment of LTE network Active CN110784329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810852004.0A CN110784329B (en) 2018-07-30 2018-07-30 Method and system for routing terminal equipment of LTE network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810852004.0A CN110784329B (en) 2018-07-30 2018-07-30 Method and system for routing terminal equipment of LTE network

Publications (2)

Publication Number Publication Date
CN110784329A true CN110784329A (en) 2020-02-11
CN110784329B CN110784329B (en) 2022-04-12

Family

ID=69378424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810852004.0A Active CN110784329B (en) 2018-07-30 2018-07-30 Method and system for routing terminal equipment of LTE network

Country Status (1)

Country Link
CN (1) CN110784329B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859443A (en) * 2006-01-06 2006-11-08 华为技术有限公司 Method for distributing terminal device IP address under router
CN101873582A (en) * 2009-04-23 2010-10-27 大唐移动通信设备有限公司 IP (Internet Protocol) address allocation method and system
CN102917356A (en) * 2011-08-03 2013-02-06 华为技术有限公司 System, equipment and method for enabling user equipment to access to evolved packet core network
US20140185524A1 (en) * 2011-05-16 2014-07-03 Nokia Corporation Method and apparatus for considering routing information in the determination of an access network to be utilized
CN105337754A (en) * 2014-08-07 2016-02-17 中兴通讯股份有限公司 Method and system for opening data communication network (DCN)
CN108075973A (en) * 2016-11-11 2018-05-25 大唐移动通信设备有限公司 A kind of equipment communication means and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859443A (en) * 2006-01-06 2006-11-08 华为技术有限公司 Method for distributing terminal device IP address under router
CN101873582A (en) * 2009-04-23 2010-10-27 大唐移动通信设备有限公司 IP (Internet Protocol) address allocation method and system
US20140185524A1 (en) * 2011-05-16 2014-07-03 Nokia Corporation Method and apparatus for considering routing information in the determination of an access network to be utilized
CN102917356A (en) * 2011-08-03 2013-02-06 华为技术有限公司 System, equipment and method for enabling user equipment to access to evolved packet core network
CN105337754A (en) * 2014-08-07 2016-02-17 中兴通讯股份有限公司 Method and system for opening data communication network (DCN)
CN108075973A (en) * 2016-11-11 2018-05-25 大唐移动通信设备有限公司 A kind of equipment communication means and device

Also Published As

Publication number Publication date
CN110784329B (en) 2022-04-12

Similar Documents

Publication Publication Date Title
JP5967173B2 (en) Network relay device, method for setting operation mode of packet relay processing unit included in network relay device, and computer program
EP2066080A1 (en) The method and device for managing route information and retransmitting data in accessing device
CN104022936B (en) A kind of tunnel establishing method and device
KR20120055647A (en) Method, apparatus and system for forwarding messages
CN104821904B (en) Network repeater and relaying data packets method
CN106899500B (en) Message processing method and device for cross-virtual extensible local area network
US8964749B2 (en) Method, device and system for establishing a pseudo wire
CN107547346B (en) Message transmission method and device
CN108206783B (en) Address configuration method and device in software defined network system
EP2675117A1 (en) Routing method and device for host in multi-homing site
CN103916489B (en) The many IP of a kind of single domain name domain name analytic method and system
CN113472913A (en) Communication method and device
CN110784329B (en) Method and system for routing terminal equipment of LTE network
CN105100300B (en) Method and device for converting network address into NAT
CN114079640B (en) Data processing method, user plane function and device
CN113746736B (en) Method, device and communication system for sending and receiving message
CN101494849B (en) Communication equipment, method and system thereof
Cisco XNS Commands
Cisco XNS Commands
Cisco XNS Commands
Cisco XNS Commands
Cisco XNS Commands
Cisco XNS Commands
Cisco XNS Commands
Cisco XNS Commands

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