CN105682087B - Service routing method and base station - Google Patents

Service routing method and base station Download PDF

Info

Publication number
CN105682087B
CN105682087B CN201610009526.5A CN201610009526A CN105682087B CN 105682087 B CN105682087 B CN 105682087B CN 201610009526 A CN201610009526 A CN 201610009526A CN 105682087 B CN105682087 B CN 105682087B
Authority
CN
China
Prior art keywords
service
operator
address
service request
remote
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610009526.5A
Other languages
Chinese (zh)
Other versions
CN105682087A (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.)
Baicells Technologies Co Ltd
Original Assignee
Baicells 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 Baicells Technologies Co Ltd filed Critical Baicells Technologies Co Ltd
Priority to CN201610009526.5A priority Critical patent/CN105682087B/en
Publication of CN105682087A publication Critical patent/CN105682087A/en
Application granted granted Critical
Publication of CN105682087B publication Critical patent/CN105682087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a service routing method and a base station. The method comprises the steps of receiving a first service request sent by a local UE; determining that the first service request is a non-LBO service request; modifying the local IP address of the UE in the first service request into a remote IP address to generate a second service request; and sending a second service request to the operator SGW, so that the operator SGW sends the second service request to a PGW of a corresponding operator. The invention also provides a base station adopting the method. By adopting the technical scheme of the invention, when the UE in an enterprise accesses to an external operator network and initiates a non-LBO service, the non-LBO service can be correctly routed. Therefore, the service routing method of the embodiment can ensure the accuracy of the user requesting the non-LBO service in the enterprise, and improve the performance and efficiency of the non-LBO service.

Description

Service routing method and base station
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service routing method and a base station.
Background
With the high-speed development of intelligent terminals and video technologies, Data in a mobile Network is developed in an explosive manner, and in order to reduce the pressure of a mobile Core Network such as an Evolved Packet Core (EPC) Network, Data messages of some low value-added services can be directly routed from the Local to a Public Data Network (PDN) to implement Local BreakOut (LBO). Therefore, LBO has an increasingly wide application scenario in mobile networks.
For example, an enterprise, a campus, and a building may choose to cooperate with an operator to build a network in order to enhance coverage of the enterprise and the campus, or to strive for more favorable charges for employees belonging to the enterprise, that is, the enterprise provides a base station site to assist the operator in building a base station to enhance wireless signal coverage, and may negotiate with the operator to strive for more favorable network charges for employees in the enterprise in combination with local offloading by using a limited broadband network. For operators, enterprises have developed customers for operators while solving the problem of site selection for operators. For example, enterprise employees can leave the campus and can access the campus through a macro base station of an operator, and a large amount of core network expansion cost is saved for the operator due to local unloading of enterprise data traffic. After a user equipment (user equipment, UE) accesses a network, a Protocol (Internet Protocol, IP) data packet interconnected between networks of the UE is directly routed from a base station to the Internet, that is, the base station is used as the last hop of a mobile network device, and a user service is locally routed to the Internet via a local broadband. Therefore, the base station is taken as the unloading point of LBO. The base station needs to distinguish different users, for example, to perform local offloading for UEs belonging to the inside of the enterprise, and not to perform local offloading for UEs accessed outside the enterprise (for example, guests, clients accessing the enterprise).
However, in the process of implementing the present invention, the inventor finds that at least the following disadvantages exist in the prior art: in the prior art, the traffic initiated by the UE in the enterprise may also include LBO traffic and non-LBO traffic, for example, when accessing an external operator, the initiated traffic is non-LBO traffic, and the non-LBO traffic of the UE cannot be routed correctly at this time.
Disclosure of Invention
The invention provides a service routing method and a base station, which are used for solving the technical problem that in the prior art, when UE in an enterprise accesses an external operator, initiated service is non-LBO service, and the non-LBO service of the UE cannot be correctly routed.
The invention provides a service routing method, which comprises the following steps:
receiving a first service request sent by local user equipment, wherein the first service request carries a local IP address of the user equipment;
determining that the first service request is a non-local offload service request;
acquiring a remote IP address distributed to the user equipment by a packet data gateway of an operator;
modifying the local IP address of the user equipment in the first service request into the remote IP address to generate a second service request;
and sending the second service request to an operator service gateway, so that the operator service gateway sends the second service request to a packet data gateway of a corresponding operator.
Further optionally, in the method, determining that the first service request is a non-local offload service request specifically includes:
extracting service characteristics from the received first service request;
and determining whether the first service request is a non-local unloading service request or not according to the service characteristics and the local unloading service strategy.
Further optionally, in the method as described above, the service characteristics include at least one of: the service type, the destination IP address of the service request message, the source port of the service request, the destination port of the service request, and the network protocol used by the service request.
Further optionally, in the method as described above, after the sending the second service request to an operator service gateway for the operator service gateway to send the second service request to a packet data gateway of a corresponding operator, the method further includes:
receiving a downlink data message sent by the operator service gateway; the downlink data message carries the remote IP address of the user equipment; the downlink data message is sent to the operator service gateway by the packet data gateway of the operator;
modifying the remote IP address in the downlink data message into the local IP address;
and sending the downlink data message to the corresponding user equipment according to the local IP address.
Further optionally, in the method, acquiring the remote IP address allocated by the packet data gateway of the operator to the user equipment specifically includes:
sending an operator network access request carrying the identifier of the user equipment to a mobile management entity so that the mobile management entity requests to establish a service session to an operator service gateway, and sending a session establishment request message to a packet data gateway of an operator by the operator service gateway;
intercepting the non-access stratum message which is sent by the mobile management entity to the corresponding user equipment and carries the remote IP address; the remote IP address is distributed to the user equipment by the packet data gateway of the operator and is sent to the mobile management entity through the service gateway of the operator;
acquiring the remote IP address from the non-access stratum message;
or, acquiring the remote IP address allocated by the packet data gateway of the operator to the user equipment specifically includes:
sending an operator network access request carrying the identifier of the user equipment to a mobile management entity so that the mobile management entity requests to establish a service session to an operator service gateway, sending a session establishment request message to a packet data gateway of the operator by the operator service gateway, allocating the remote IP address to the corresponding user equipment by the packet data gateway of the operator, and sending the remote IP address to the mobile management entity through the operator service gateway;
receiving a remote address notification message sent by the mobility management entity, wherein the remote address notification message carries the remote IP address;
and acquiring the far-end IP address from the far-end address notification message.
The present invention also provides a base station, comprising:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a first service request sent by local user equipment, and the first service request carries a local IP address of the user equipment;
a determining module, configured to determine that the first service request is a non-local offload service request;
the acquisition module is used for acquiring a remote IP address distributed to the user equipment by a packet data gateway of an operator;
a modification module, configured to modify the local IP address of the ue in the first service request to the remote IP address, so as to generate a second service request;
and the sending module is used for sending the second service request to an operator service gateway so that the operator service gateway sends the modified service request to a packet data gateway of a corresponding operator.
Further optionally, in the base station as described above, the determining module is specifically configured to extract a service feature from the received first service request; and determining that the first service request is a non-local unloading service request according to the service characteristics and the local unloading service strategy.
Further optionally, in the base station as described above, the service characteristic includes at least one of: the service type, the destination IP address of the service request message, the source port of the service request, the destination port of the service request, and the network protocol used by the service request.
Further optionally, in the base station as described above, the receiving module is further configured to receive a downlink data message sent by the operator service gateway; the downlink data message carries the remote IP address of the user equipment; the downlink data message is sent to the operator service gateway by the packet data gateway of the operator;
the modification module is further configured to modify the remote IP address in the downlink data packet into the local IP address;
and the sending module is further configured to send the downlink data packet to the corresponding user equipment according to the local IP address.
Further optionally, in the base station as described above, the obtaining module is specifically configured to send an operator network access request carrying an identifier of the user equipment to a mobility management entity, so that the mobility management entity requests an operator service gateway to establish a service session, and the operator service gateway sends a session establishment request message to a packet data gateway of an operator; intercepting the non-access stratum message which is sent by the mobile management entity to the corresponding user equipment and carries the remote IP address; the remote IP address is distributed to the user equipment by the packet data gateway of the operator and is sent to the mobile management entity through the service gateway of the operator; acquiring the remote IP address from the non-access stratum message;
or, the obtaining module is specifically configured to send an operator network access request carrying an identifier of the user equipment to a mobile management entity, so that the mobile management entity requests an operator service gateway to establish a service session, the operator service gateway sends a session establishment request message to a packet data gateway of the operator, and the packet data gateway of the operator allocates the remote IP address to the corresponding user equipment and sends the remote IP address to the mobile management entity through the operator service gateway; receiving a remote address notification message sent by the mobility management entity, wherein the remote address notification message carries the remote IP address; and acquiring the far-end IP address from the far-end address notification message.
The service routing method and the base station receive a first service request sent by local user equipment, wherein the first service request carries a local IP address of the user equipment; determining that the first service request is a non-local offload service request; acquiring a remote IP address distributed to the user equipment by a packet data gateway of an operator; modifying the local IP address of the user equipment in the first service request into the remote IP address to generate a second service request; and sending the second service request to an operator service gateway so that the operator service gateway sends the second service request to a packet data gateway of a corresponding operator, thereby realizing correct routing of the non-LBO service when the UE in the enterprise accesses an external operator and initiates the non-LBO service. Therefore, the service routing scheme of the embodiment can ensure the accuracy of the user requesting the non-LBO service in the enterprise, and improve the performance and efficiency of the non-LBO service.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of a service routing method provided by the present invention.
Fig. 2 is a flowchart of a second embodiment of the service routing method of the present invention.
Fig. 3 is a signaling diagram of a third embodiment of the service routing method of the present invention.
Fig. 4 is a schematic structural diagram of a base station according to a first embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In practical applications, the base station as the last hop of the mobile network device can route user traffic locally to the Internet via local broadband. The base station acts as a local offload point and therefore needs to be able to distinguish the users of the required LBO. At the beginning of LTE network design, in order to enhance network security, NAS messages transmitted between UE and MME are usually encrypted, and eNodeB cannot know user information. Therefore, when the eNodeB transmits and receives traffic data of a user, the eNodeB cannot distinguish the user and cannot selectively perform LBO processing on a part of the users. In order to solve this technical problem, it is necessary to distinguish different users in an enterprise, a campus or a building and select whether to locally offload data of the user, that is, to locally offload a user belonging to the enterprise, but not to locally offload a user outside the enterprise (for example, a guest or a client visiting the enterprise). For example, specifically, the data packet processing flow in the local offload processing process may specifically include the following steps:
1. configuring an enterprise user white list and an NAS encryption strategy on an MME, and not encrypting NAS messages belonging to enterprise user equipment;
the enterprise user white list configured on the MME includes IMSIs of UEs of a plurality of preset enterprise users. The NAS encryption policy is that when the UE corresponding to each IMSI performs NAS security processing, it is determined not to encrypt the UE.
2. The MME receives an NAS access request of the UE and determines whether to encrypt NAS information of the UE according to the configured NAS encryption strategy;
specifically, the MME extracts the IMSI of the enterprise UE from the access request message, searches the IMSI of the UE from the configured enterprise user white list, and if found, determines not to encrypt the NAS message of the UE; if not found, there can be two modes of operation: determining to encrypt NAS information of the UE, or informing a base station accessed by the UE to reselect an MME;
3. for the UE of which the NAS information is not encrypted, the base station extracts the IP address of the UE from the NAS information of the UE, and if the extraction is successful, the UE is determined to be the UE of the enterprise, and then the step 4 is executed; if the extraction fails, sending the flow to an operator network based on a standard flow;
4. the base station extracts the IP address of the UE from the NAS message of the UE, stores the IP address, simultaneously makes LBO identification on the E-RAB corresponding to the IP address of the UE, and establishes the corresponding relation between the IP address of the UE and the ID of the drunk E-RAB as the local unloading service strategy relation.
4. And the base station carries out local unloading processing on the received uplink and downlink service data messages of the UE based on the local unloading service strategy relationship.
Specifically, the base station receives a data message sent by an E-RAB, and if the Local offload service policy relationship includes the ID of the E-RAB, directly sends the data message, that is, Local Breakout, and if the E-RAB is not identified as LBO, the E-RAB is non-LBO service data, and sends the E-RAB to a GTP processing module according to a standard flow, and the GTP processing module performs encapsulation processing and sends the encapsulated GTP message to a corresponding operator Service Gateway (SGW). Similarly, the base station inquires the LBO identifier for the received downlink service data of the UE through the destination IP address of the downlink message, and then sends the LBO identifier to the UE through the corresponding E-RAB.
At the beginning of LTE network design, in order to enhance network security, NAS messages transferred between UE and MME are usually encrypted, and the base station (eNodeB) cannot know the UE information. Therefore, when the eNodeB transmits and receives traffic data of a user, the eNodeB cannot distinguish the user and cannot selectively perform LBO on a part of the users. In the application scenario, the problem is solved, and local offloading of traffic of users belonging to the inside of an enterprise is achieved, but the services of the users are not analyzed, and some services which are not locally offloaded by the users of the enterprise at the same time cannot be achieved. The invention can realize the local flow unloading of a specific user and simultaneously allow the user to carry out non-local unloading service. I.e. requiring the base station as a local offloading point, it is necessary to be able to distinguish the users of LBO and some kind of traffic at the base station. The present invention has been made in view of the above circumstances, and reference may be made in detail to the following description of embodiments.
Fig. 1 is a flowchart of a first embodiment of a service routing method provided by the present invention. As shown in fig. 1, the service routing method of this embodiment may specifically include the following steps:
100. receiving a first service request sent by local UE;
the first service request carries the local IP address of the UE. When the UE is a UE of an enterprise, the local IP address of this embodiment refers to an IP address of the UE in the network of the enterprise.
101. Determining that the first service request is a non-LBO service request;
the embodiment is mainly used for performing correct routing if non-LBO service is initiated when the UE of the receiving enterprise accesses the external operator. This step therefore determines that the first service request is non-LBO service. In practical applications, when the service is an LBO service, the above-mentioned related description of LBO processing is adopted, and is not described herein again.
102. Acquiring a far-end IP address distributed to the UE by a Packet Data Network Gateway (PGW) of an operator;
that is, the UE corresponds to a local IP address within the enterprise, and uses the local IP address when performing local offload processing. When performing non-LBO traffic, the PGW of the operator also allocates a remote IP address to the UE, which facilitates normal routing of the non-LBO traffic.
103. Modifying the local IP address of the UE in the first service request into a remote IP address to generate a second service request;
in order to facilitate correct routing of the non-LBO service in the operator network, in this embodiment, the local IP address of the UE in the service request needs to be modified to the remote IP address.
104. And sending a second service request to an operator Service Gateway (SGW) so that the SGW can send the second service request to a PGW of a corresponding operator.
The IP address carried in the second service request is the far-end IP address, so that the SGW of the operator can send the second service request to the PGW of the operator after receiving the second service request, and the PGW can process the service of the UE according to the carried far-end IP address according to the second service request.
In the service routing method of the embodiment, a first service request sent by a local UE is received; determining that the first service request is a non-LBO service request; modifying the local IP address of the UE lower than the service request into a remote IP address to generate a second service request; and sending a second service request to the SGW of the service gateway of the operator, so that the SGW of the operator sends the second service request to the PGW of the corresponding operator, thereby realizing correct routing of the non-LBO service when the UE in the enterprise accesses the external operator and initiates the non-LBO service. Therefore, the service routing method of the embodiment can ensure the accuracy of the user requesting the non-LBO service in the enterprise, and improve the performance and efficiency of the non-LBO service.
Further optionally, on the basis of the technical solution of the embodiment shown in fig. 1, where step 101 "determining that the first service request is a non-LBO service request" may specifically include the following steps:
(1) extracting service characteristics from the received first service request;
(2) and determining that the first service request is a non-LBO service request according to the service characteristics and the local unloading service strategy.
For example, the service features of this embodiment may include at least one of the following: the service type, the destination IP address of the service request message, the source port of the service request, the destination port of the service request, and the network protocol used by the service request. The local offload traffic policy may be set by using one or more traffic characteristics, for example, the first traffic request including traffic characteristic a is non-LBO traffic, or the first traffic request including traffic characteristics a and B is non-LBO traffic, and the like.
Further optionally, on the basis of the technical solution of the foregoing embodiment, the step 102 "acquiring the remote IP address allocated by the PGW of the operator to the UE" may specifically include the following two ways:
the first mode comprises the following steps:
(a) sending an operator network access request carrying a UE identifier to an MME (mobility management entity) so that the MME requests an operator SGW to establish a service session, sending a session establishment request message to a PGW (packet data gateway) of the operator by the operator SGW, distributing a far-end IP (Internet protocol) address for the UE by the PGW of the operator, sending the far-end IP address to the MME sequentially through the operator SGW, and sending a non-access stratum message carrying the far-end IP address to the UE by the MME;
the identifier of the UE may specifically be an International Mobile Subscriber Identity (IMSI) of the UE.
(b) Intercepting Non-Access Stratum (NAS) messages which are sent to the UE by the MME and carry a remote IP address;
(c) and acquiring the remote IP address from the NAS message.
The second method comprises the following steps:
(a1) sending an operator network access request carrying the identity of the UE to the MME, so that the MME can request the operator SGW to establish a service session, sending a session establishment request message to the operator PGW by the operator SGW, allocating a remote IP address to the UE by the operator PGW, and sending the remote IP address to the MME through the operator SGW; similarly, the identity of the UE is the IMSI of the UE.
(b1) Receiving a far-end address notification message sent by an MME, wherein the far-end address notification message carries a far-end IP address;
(c1) and acquiring the remote IP address from the remote address notification message.
The remote IP address allocated to the UE by the PGW of the operator can be obtained through the two modes.
Further optionally, after the step (a) "sending the second service request to the SGW for the SGW to send the second service request to the PGW of the corresponding operator" in the above embodiment, the method further includes:
(s1) receiving a downlink data message sent by the operator SGW; the downlink data message carries the remote IP address of the UE; the downlink data message is sent to an operator SGW by a PGW of the operator;
(s2) modifying the remote IP address in the downlink data message into a local IP address;
(s3) sending the downlink data message to the corresponding UE according to the local IP address.
By adopting the technical scheme, the service routing method of the embodiment can realize correct routing of the non-LBO service when the UE in the enterprise accesses the external operator and initiates the non-LBO service. Therefore, the service routing method of the embodiment can ensure the accuracy of the user requesting the non-LBO service in the enterprise, and improve the performance and efficiency of the non-LBO service.
Fig. 2 is a flowchart of a second embodiment of the service routing method of the present invention. As shown in fig. 2, the service routing method of this embodiment further introduces the technical solution of the present invention in more detail based on the technical solution of the embodiment shown in fig. 2. As shown in fig. 2, the service routing method of this embodiment may specifically include the following steps:
200. configuring an enterprise user white list on the MME;
the IMSI white list comprises IMSIs of a plurality of preset UE of enterprise users, and the corresponding NAS encryption strategy is set to ensure that the UE corresponding to each IMSI is not encrypted when NAS security processing is carried out. In this way, the base station (eNodeB) can extract the IP address of the UE from the unencrypted NAS message.
201. Configuring a local unloading service strategy of the service data on the eNodeB;
for example, the traffic characteristics included in the local offload traffic policy may include at least one of: the service type, the destination IP address of the service request message, the source port of the service request, the destination port of the service request, and the network protocol used by the service request. The local offload traffic policy may be specifically determined by traffic characteristics.
202. An eNodeB receives a service request of UE, wherein the service request carries service characteristics and an IP address of the UE;
203. the eNodeB extracts service characteristics from the service request;
204. the eNodeB determines whether the service request is a local unloading service according to the service characteristics and the local unloading service strategy; when the service request is a non-local offload service, step 205 is executed; otherwise, when the service request is a local unloading service, local unloading processing is carried out on the service corresponding to the service request;
specifically, the eNodeB extracts service features such as a service type, a destination IP, or a service port number from the service request packet, searches a corresponding local offload service policy from the configured local offload service policy table, determines whether to locally offload the service according to a query result, and determines that the service corresponding to the service request is a local offload service if the local offload service policy is found; otherwise, if the service request cannot be found, determining that the service corresponding to the service request is the non-local unloading service.
205. The eNodeB sends an access request message to an operator SGW through an MME;
for example, an eNodeB first sends an access request message to an MME, where the access request message carries an indication of access to an operator network; the access request message also carries an identifier of the UE, for example, specifically, an IMSI of the UE. Meanwhile, caching the service request of the UE; then, the MME receives the indication message of accessing the operator network, initiates a Session for establishing the access to the operator network to the operator SGW, and sends a Create Session Request to the operator SGW.
206. The method comprises the steps that an operator SGW sends a Create Session Request message to a PGW, the PGW replies a Create Session Response to the operator SGW, a service tunnel is established between the operator SGW and the PGW, and meanwhile, the operator SGW obtains a Remote IP address distributed by an operator network for UE;
207. the SGW of the operator replies a Create Session Response to the MME and obtains a Remote IP allocated to the UE by the operator network;
208. the MME sends a Remote IP address of the UE to the eNodeB through an access acknowledgement (NAS) message;
209. the eNodeB intercepts an NAS Attach accept message sent by the MME to the UE and extracts a remote IP of the UE from the NAS Attach accept message;
210. the eNodeB modifies the source IP address (i.e. UE local IP) of the cached service request message to UE remote IP, and sends the modified service request message to the service server through the SGW and PGW of the operator.
The same processing is also performed on the uplink message of the subsequent UE which is not locally unloaded.
211. The eNodeB receives a UE downlink data message sent from a PGW and an operator SGW, replaces a target IP in the message with a UE Local IP and then sends the UE Local IP to the eNodeB.
The same processing is also performed on the non-local unloaded downlink message of the subsequent UE.
The service routing method of the embodiment can allow a specific user to simultaneously perform traffic local offload and non-local offload services by adopting the above scheme.
By adopting the technical scheme, the service routing method of the embodiment can realize correct routing of the non-LBO service when the UE in the enterprise accesses the external operator and initiates the non-LBO service. Therefore, the service routing method of the embodiment can ensure the accuracy of the user requesting the non-LBO service in the enterprise, and improve the performance and efficiency of the non-LBO service.
Fig. 3 is a signaling diagram of a third embodiment of the service routing method of the present invention. In the service routing method of this embodiment, an enterprise deploys a base station (Smallcell), that is, an eNodeB, and locally offloads users inside the enterprise, and the Smallcell also allows users outside the enterprise to access, but does not locally offload users outside the enterprise. Meanwhile, enterprises deploy Local MME (Local MME; L-MME) and Local service Gateway (L-operator SGW). The L-operator SGW is only used to support traffic that is not locally offloaded. As shown in fig. 3, the service routing method of this embodiment may specifically include the following steps:
300. and configuring a local unloading service strategy on the eNodeB.
For example, the local offload traffic policy may be determined by determining that the traffic is local offload traffic or non-local offload traffic according to a destination IP address of the traffic request packet, a source port of the traffic request, a destination port of the traffic request, and a network protocol used by the traffic request.
301. And configuring an IMSI white list on the L-MME, namely configuring an IMSI list, and determining not to encrypt the IMSI white list only when the UE aiming at the IMSI in the list carries out NAS security processing.
302. And the UE in the enterprise starts to attach to the mobile network, the MME checks the IMSI in the configured white list, determines that the NAS message of the UE is not encrypted, and completes the NAS message interaction by using the encrypted NAS message between the UE and the MME.
In this embodiment, the UE is taken as an intra-enterprise UE as an example, and the corresponding NAS encryption policy is to not encrypt NAS messages of the intra-enterprise UE.
303. The eNodeB obtains the IP address of the UE from the unencrypted NAS message and records the IP address; the IP address of the UE is used for subsequent local offloading of the data packet of the UE corresponding to the IP address. This IP is an IP for Local offload, and is hereinafter referred to as the Local IP of the UE.
304. And the eNodeB monitors the data message of the UE at any moment according to the configured local unloading service strategy so as to facilitate the local unloading service for the UE.
305. The UE initiates a non-LBO traffic request.
306. The eNodeB receives and buffers the non-LBO traffic requests.
307. And the eNodeB sends an access operator network request message carrying the identity of the UE to the MME, wherein the message carries an access operator network indication or a non-LBO service access indication.
Wherein the identity of the UE may be the IMSI of the UE.
308. And the MME sends a Create Session Request message to the SGW of the operator to Request the establishment of a service Session.
309. The operator SGW sends a Create Session Request message to the PGW of the operator network.
310. The PGW sends a Create Session Response message to the operator SGW, where the message carries an IP address allocated to the UE by the operator PGW, and is referred to as UE Remote IP hereinafter.
311. The operator SGW sends a Create Session Response message to the MME, wherein the message carries the UE Remote IP allocated to the UE by the operator network.
312. And the MME sends an Attach Accept NAS message to the UE through the eNodeB, wherein the message carries the RemoteIP of the UE.
313. The eNodeB intercepts the Attach Accept NAS message sent by the MME to the UE, and acquires the RemoteIP from the Attach Accept NAS message.
314. The eNodeB modifies the source IP in the cached non-LBO service request message into a UE Remote IP;
315. and the eNodeB sends the modified non-LBO service request to the operator SGW, and the operator SGW sends the modified non-LBO service request to the PGW, and finally routes the service request to a service application server. All uplink data of the subsequent service session are processed according to the processing, that is, the eNodeB replaces the UE Local IP of the original message as the UE Remote IP, and routes the UE Remote IP to the service application server through the SGW and the PGW of the operator.
316. The application server sends a downlink data message to the eNodeB through the PGW and the SGW of the operator;
317. the eNodeB modifies the destination IP in the downlink data message into a UE Local IP;
318. and the eNodeB sends the modified downlink data message to the corresponding UE according to the modified UE Local IP. All downstream data of the subsequent service session is processed.
In the service routing method of this embodiment, the eNodeB configures a local offload service policy, that is, a non-LBO service processing policy, and at the same time, monitors a service request of the UE and identifies the non-LBO service of the UE. And UELocal IP in an unencrypted NAS message by the eNodeB. When monitoring that a non-LBO service Request of the UE is received, the eNodeB triggers to Attach to an operator network, and special instructions are carried to the MME through an Attach Request message. The session of the core network is established by the MME. The eNodeB carries out NAT processing on the non-LBO service of the UE, and modifies the original message source IP sent to the operator network into the UE Remote IP so as to lead the downlink message to return to the mobile operator network from the PGW. For the downlink data message received from the SGW of the operator, the eNodeB replaces the destination IP of the message with the Local IP of the UE and then sends the Local IP of the UE to the eNodeB. Therefore, the technical solution of this embodiment can perform LBO service and non-LBO service simultaneously for a specific UE.
By adopting the technical scheme, the service routing method of the embodiment can realize correct routing of the non-LBO service when the UE in the enterprise accesses the external operator and initiates the non-LBO service. Therefore, the service routing method of the embodiment can ensure the accuracy of the user requesting the non-LBO service in the enterprise, and improve the performance and efficiency of the non-LBO service.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Fig. 4 is a schematic structural diagram of a base station according to an embodiment of the present invention. As shown in fig. 4, the base station of this embodiment may specifically include a receiving module 10, a determining module 11, an obtaining module 12, a modifying module 13, and a sending module 14.
The receiving module 10 is configured to receive a first service request sent by a local UE, where the first service request carries a local IP address of the UE; the determining module 11 is configured to determine that the first service request received by the receiving module 10 is a non-LBO service request; the obtaining module 12 is configured to start when the determining module 11 determines that the first service request is a non-LBO service request, and is configured to obtain a remote IP address allocated by a PGW of an operator to the UE; the modifying module 13 is configured to modify the local IP address of the UE in the first service request received by the receiving module 10 into the remote IP address acquired by the acquiring module 12, so as to generate a second service request; the sending module 14 is configured to send the second service request modified by the modifying module 13 to the operator SGW, so that the operator SGW sends the modified second service request to a PGW of a corresponding operator.
The implementation mechanism of the base station in this embodiment that implements the service routing by using the modules is the same as the implementation mechanism of the related method embodiment, and details of the related method embodiment may be referred to and are not described herein again.
By adopting the modules, the base station of the embodiment can realize correct routing of the non-LBO service when the UE in the enterprise accesses the external operator and initiates the non-LBO service. Therefore, the service routing method of the embodiment can ensure the accuracy of the user requesting the non-LBO service in the enterprise, and improve the performance and efficiency of the non-LBO service.
Further optionally, on the basis of the embodiment shown in fig. 4, the determining module 11 is specifically configured to extract the service feature from the received first service request; and determining that the first service request is a non-LBO service request according to the service characteristics and the local unloading service strategy.
Wherein the service characteristics include at least one of: the service type, the destination IP address of the service request message, the source port of the service request, the destination port of the service request, and the network protocol used by the service request.
Further optionally, on the basis of the foregoing embodiment, the obtaining module 12 is specifically configured to send an operator network access request carrying the UE identifier to the MME, so that the MME requests the operator SGW to establish a service session, and the operator SGW sends a session establishment request message to the PGW of the operator; intercepting NAS information which is sent to corresponding UE by an MME and carries a remote IP address; allocating a far-end IP address for the UE by a PGW of an operator, sequentially sending the far-end IP address to an MME through an SGW of the operator, and sending an NAS message carrying the far-end IP address to the UE by the MME; the remote IP address is distributed to the UE by the PGW of the operator and is sent to the MME through the SGW of the operator; and acquiring the remote IP address from the NAS message.
Or the obtaining module 12 is specifically configured to send an operator network access request carrying an identifier of the UE to the MME, so that the MME requests the operator SGW to establish a service session, the operator SGW sends a session establishment request message to the PGW of the operator, the PGW of the operator allocates a remote IP address to the UE, and the remote IP address is sent to the MME through the operator SGW; receiving a far-end address notification message sent by an MME, wherein the far-end address notification message carries a far-end IP address; and acquiring the remote IP address from the remote address notification message.
Further optionally, on the basis of the foregoing embodiment, the receiving module 10 is further configured to receive a downlink data packet sent by an SGW of an operator; the downlink data message carries the remote IP address of the UE; the downlink data message is sent to an operator SGW by a PGW of the operator; the modifying module 13 is further configured to modify a remote IP address in the downlink data packet received by the receiving module 10 into a local IP address; the sending module 14 is further configured to send the downlink data packet modified by the modifying module 13 to the corresponding UE according to the local IP address.
The implementation mechanism of the base station in the foregoing embodiment for implementing the service routing by using the module is the same as the implementation mechanism of the foregoing related method embodiment, and details of the implementation mechanism may refer to the description of the foregoing related method embodiment, and are not described herein again.
The base station of the embodiment can implement correct routing for the non-LBO service when the UE in the enterprise accesses the external operator and initiates the non-LBO service by using the module. Therefore, the service routing method of the embodiment can ensure the accuracy of the user requesting the non-LBO service in the enterprise, and improve the performance and efficiency of the non-LBO service.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on at least two network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for service routing, comprising:
receiving a first service request sent by local user equipment, wherein the first service request carries a local IP address of the user equipment;
determining that the first service request is a non-local offload service request;
acquiring a remote IP address distributed to the user equipment by a packet data gateway of an operator;
modifying the local IP address of the user equipment in the first service request into the remote IP address to generate a second service request;
sending the second service request to an operator service gateway, so that the operator service gateway sends the second service request to a packet data gateway of a corresponding operator;
after the sending the second service request to the operator service gateway for the operator service gateway to send the second service request to the packet data gateway of the corresponding operator, the method further includes:
receiving a downlink data message sent by the operator service gateway; the downlink data message carries the remote IP address of the user equipment; the downlink data message is sent to the operator service gateway by the packet data gateway of the operator;
modifying the remote IP address in the downlink data message into the local IP address;
and sending the downlink data message to the corresponding user equipment according to the local IP address.
2. The method of claim 1, wherein determining that the first service request is a non-local offload service request specifically comprises:
extracting service characteristics from the received first service request;
and determining whether the first service request is a non-local unloading service request or not according to the service characteristics and a local unloading service strategy.
3. The method of claim 2, wherein the traffic characteristics comprise at least one of: the service type, the destination IP address of the service request message, the source port of the service request, the destination port of the service request, and the network protocol used by the service request.
4. The method according to any one of claims 1 to 3, wherein obtaining the remote IP address allocated by the packet data gateway of the operator to the user equipment specifically comprises:
sending an operator network access request carrying the identifier of the user equipment to a mobile management entity so that the mobile management entity requests to establish a service session to an operator service gateway, and sending a session establishment request message to a packet data gateway of an operator by the operator service gateway;
intercepting a non-access stratum message which is sent by the mobile management entity to the corresponding user equipment and carries the remote IP address; the remote IP address is distributed to the user equipment by the packet data gateway of the operator and is sent to the mobile management entity through the service gateway of the operator;
acquiring the remote IP address from the non-access stratum message;
or, acquiring the remote IP address allocated by the packet data gateway of the operator to the user equipment specifically includes:
sending an operator network access request carrying the identifier of the user equipment to a mobile management entity so that the mobile management entity requests to establish a service session to an operator service gateway, sending a session establishment request message to a packet data gateway of the operator by the operator service gateway, allocating the remote IP address to the corresponding user equipment by the packet data gateway of the operator, and sending the remote IP address to the mobile management entity through the operator service gateway;
receiving a remote address notification message sent by the mobility management entity, wherein the remote address notification message carries the remote IP address;
and acquiring the far-end IP address from the far-end address notification message.
5. A base station, characterized in that the base station comprises:
the system comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a first service request sent by local user equipment, and the first service request carries a local IP address of the user equipment;
a determining module, configured to determine that the first service request is a non-local offload service request;
the acquisition module is used for acquiring a remote IP address distributed to the user equipment by a packet data gateway of an operator;
a modification module, configured to modify the local IP address of the ue in the first service request to the remote IP address, so as to generate a second service request;
the sending module is used for sending the second service request to an operator service gateway so that the operator service gateway sends the modified service request to a packet data gateway of a corresponding operator;
the receiving module is further configured to receive a downlink data message sent by the operator service gateway; the downlink data message carries the remote IP address of the user equipment; the downlink data message is sent to the operator service gateway by the packet data gateway of the operator;
the modification module is further configured to modify the remote IP address in the downlink data packet into the local IP address;
and the sending module is further configured to send the downlink data packet to the corresponding user equipment according to the local IP address.
6. The base station according to claim 5, wherein the determining module is specifically configured to extract a service feature from the received first service request; and determining that the first service request is a non-local unloading service request according to the service characteristics and a local unloading service strategy.
7. The base station of claim 6, wherein the traffic characteristics include at least one of: the service type, the destination IP address of the service request message, the source port of the service request, the destination port of the service request, and the network protocol used by the service request.
8. The base station according to any one of claims 5 to 7, wherein the obtaining module is specifically configured to send an operator network access request carrying the identifier of the user equipment to a mobility management entity, so that the mobility management entity requests an operator service gateway to establish a service session, and the operator service gateway sends a session establishment request message to a packet data gateway of the operator; intercepting a non-access stratum message which is sent by the mobile management entity to the corresponding user equipment and carries the remote IP address; the remote IP address is distributed to the user equipment by the packet data gateway of the operator and is sent to the mobile management entity through the service gateway of the operator; acquiring the remote IP address from the non-access stratum message;
or the obtaining module is specifically configured to send an operator network access request carrying an identifier of the user equipment to a mobile management entity, so that the mobile management entity requests an operator service gateway to establish a service session, the operator service gateway sends a session establishment request message to a packet data gateway of the operator, and the packet data gateway of the operator allocates the remote IP address to the corresponding user equipment and sends the remote IP address to the mobile management entity through the operator service gateway; receiving a remote address notification message sent by the mobility management entity, wherein the remote address notification message carries the remote IP address; and acquiring the far-end IP address from the far-end address notification message.
CN201610009526.5A 2016-01-07 2016-01-07 Service routing method and base station Active CN105682087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610009526.5A CN105682087B (en) 2016-01-07 2016-01-07 Service routing method and base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610009526.5A CN105682087B (en) 2016-01-07 2016-01-07 Service routing method and base station

Publications (2)

Publication Number Publication Date
CN105682087A CN105682087A (en) 2016-06-15
CN105682087B true CN105682087B (en) 2020-05-22

Family

ID=56299309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610009526.5A Active CN105682087B (en) 2016-01-07 2016-01-07 Service routing method and base station

Country Status (1)

Country Link
CN (1) CN105682087B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021046794A1 (en) * 2019-09-12 2021-03-18 Zte Corporation A method for influencing data traffic routing in core networks by service applications

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217383A (en) * 2008-01-04 2008-07-09 中兴通讯股份有限公司 A deletion method of functional association relation of strategy and charging rules
CN101427546A (en) * 2006-04-26 2009-05-06 艾利森电话股份有限公司 Network initiated mobility management for mobile terminals
CN101785267A (en) * 2007-08-20 2010-07-21 艾利森电话股份有限公司 Method and apparatus for providing local breakout in a mobile network
CN104812091A (en) * 2014-01-28 2015-07-29 黑莓有限公司 Including a packet-switched parameter in a message
WO2015132633A1 (en) * 2014-03-06 2015-09-11 Nokia Technologies Oy Method and apparatus for determining ims connectivity through non-3gpp access networks

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101427546A (en) * 2006-04-26 2009-05-06 艾利森电话股份有限公司 Network initiated mobility management for mobile terminals
CN101785267A (en) * 2007-08-20 2010-07-21 艾利森电话股份有限公司 Method and apparatus for providing local breakout in a mobile network
CN101217383A (en) * 2008-01-04 2008-07-09 中兴通讯股份有限公司 A deletion method of functional association relation of strategy and charging rules
CN104812091A (en) * 2014-01-28 2015-07-29 黑莓有限公司 Including a packet-switched parameter in a message
WO2015132633A1 (en) * 2014-03-06 2015-09-11 Nokia Technologies Oy Method and apparatus for determining ims connectivity through non-3gpp access networks

Also Published As

Publication number Publication date
CN105682087A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
US9516625B2 (en) Methods and apparatuses for communicating content data to a communications terminal from a local data store
US11689920B2 (en) System and method for security protection of NAS messages
EP3063972B1 (en) Method to enable multiple wireless connections
US8804682B2 (en) Apparatus for management of local IP access in a segmented mobile communication system
US8504055B2 (en) Method and arrangement for load balancing in a wireless communication system
CN108401036B (en) Communication system
US20130136032A1 (en) Method and apparatus for managing communications of a physical network entity
US20130188598A1 (en) Local storage of content in a wireless network
US20190281116A1 (en) Data Transmission Method, Apparatus, and System, and Storage Medium
US20130188599A1 (en) Wireless communication terminal to receive content data from an edge node
CN108141743B (en) Methods, networks, apparatus, systems, media and devices handling communication exchanges
EP3479610B1 (en) Forwarding ims-related information for lawful interception for mobility in s8hr
WO2018188728A1 (en) Handover with no or limited mme involvement
Ali et al. Federated 3GPP Mobile Edge Computing systems: a transparent proxy for third party authentication with application mobility support
WO2018000654A1 (en) Local ip access service implementation method and apparatus system, and home evolved base station
US20160150577A1 (en) Lte based wireless backhaul connection to cellular network base station
CN105682087B (en) Service routing method and base station
JP7382429B2 (en) Intelligent edge routing system and method
US9572158B2 (en) Residential local break out in a communication system
US11877345B2 (en) System and method for displaying a custom network name in a mobile device
KR101917831B1 (en) Method and apparatus for supporting local breakout service at serving gateway
EP4213418A1 (en) Interface security protection method and device
EP3729724B1 (en) Method for performing continuous deployment and feedback from a radio network node
KR101780402B1 (en) Method and apparatus for transmitting data

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
CP03 Change of name, title or address

Address after: 100094 9 / F, 10 / F, building 1, zone 1, 81 Beiqing Road, Haidian District, Beijing

Patentee after: Beijing baicaibang Technology Co.,Ltd.

Address before: 100085 Beijing Haidian District city information industry base development road 1, 3 tier 3001

Patentee before: Beijing Bai Caibang Technology Co.,Ltd.

CP03 Change of name, title or address