CN110868762B - Data stream processing method, device and system - Google Patents

Data stream processing method, device and system Download PDF

Info

Publication number
CN110868762B
CN110868762B CN201910299927.2A CN201910299927A CN110868762B CN 110868762 B CN110868762 B CN 110868762B CN 201910299927 A CN201910299927 A CN 201910299927A CN 110868762 B CN110868762 B CN 110868762B
Authority
CN
China
Prior art keywords
sgw
pgw
data stream
address information
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910299927.2A
Other languages
Chinese (zh)
Other versions
CN110868762A (en
Inventor
周军平
陆伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2019/102681 priority Critical patent/WO2020043074A1/en
Publication of CN110868762A publication Critical patent/CN110868762A/en
Application granted granted Critical
Publication of CN110868762B publication Critical patent/CN110868762B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

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

Abstract

The embodiment of the application provides a data stream processing method, device and system, which are used for monitoring local services of terminal equipment. The method comprises the following steps: the SGW-U receives second address information of the terminal equipment sent by the SGW-C; after the SGW-U receives the data stream of the terminal equipment, if the data stream of the terminal equipment is determined to be the data stream of the local service, the SGW-U updates the source address information of the data stream into second address information and sends the updated data stream to a second user plane PDN gateway PGW-U; and the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to the local server. The embodiment of the application can realize the monitoring of the local service while reducing the traffic roundabout.

Description

Data stream processing method, device and system
The present application claims priority of chinese patent application entitled "a data stream processing method, apparatus and system" filed by chinese patent office on 27/8/2018 with application number 201810981967.0, the entire contents of which are incorporated herein by reference.
Technical Field
The present application relates to the field of wireless communication technologies, and in particular, to a method, an apparatus, and a system for processing a data stream.
Background
An Evolved Packet Core (EPC) network architecture is described in the 3rd generation partnership project (3 GPP), and based on the network architecture, the delivery of data streams between a terminal and a server can be achieved. In the EPC network architecture, there are some monitoring network elements that can be used for terminal service monitoring, such as Online Charging System (OCS) network elements that can be used for service charging management, and for example, a Lawful Interception Gateway (LIG) that can be used for lawful interception of a terminal device, and the like.
However, with the spread of local area networks, some enterprises, organizations, groups, etc. may deploy their own dedicated local servers to handle local services, for example, the enterprises deploy their own dedicated video monitoring servers for centralized management of video monitoring data in the enterprise campus. Because the terminal is closer to the local server when accessing the local server in the area, in some existing technical solutions, the data stream sent by the terminal to the local server is shunted to the local server locally, so that the local service of the terminal service cannot be monitored by the EPC network architecture.
Disclosure of Invention
The embodiment of the application provides a data stream processing method, device and system, which are used for monitoring local services of terminal equipment.
In a first aspect, an embodiment of the present application provides a data stream processing method, including: the user plane service gateway SGW-U receives second address information of the terminal equipment sent by the control plane service gateway SGW-C; after the SGW-U receives the data stream of the terminal equipment, if the data stream of the terminal equipment is determined to be the data stream of the local service, the SGW-U updates the source address information of the data stream into second address information and sends the updated data stream to a second user plane PDN gateway PGW-U; and the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to the local server.
By adopting the method, the SGW-U updates the source address information of the data stream of the local service into the second address information, and the second PGW-U sends the updated data stream to the local server, so that the second PGW-U can be used as an anchor point of the terminal equipment corresponding to the second address information, which is accessed to the local server, namely a PDN connection special for transmitting the data stream of the local service is allocated to the terminal equipment, and the problem of traffic roundabout generated when the terminal equipment sends the data stream to the local server is solved. Meanwhile, the PGW-U has the function of acquiring relevant information for service monitoring in the data stream, and the embodiment of the application can realize the monitoring of the local service while reducing the traffic roundabout by sending the data stream to the local server by using the second PGW-U.
In a possible implementation manner, before the SGW-U sends the updated data stream to the second PGW-U, the method further includes: the SGW-U receives second tunnel information sent by the SGW-C; the second PGW-U receives second tunnel information sent by the PGW-C; the SGW-U and the second PGW-U establish a tunnel between the SGW-U and the second PGW-U according to the second tunnel information; in this case, the SGW-U sends the updated data stream to the second PGW-U, including: and the SGW-U sends the updated data stream to the second PGW-U through a tunnel between the SGW-U and the second PGW-U.
In the EPC architecture, the SGW-U and the PGW-U are tunneled. According to the embodiment of the application, the tunnel is constructed between the SGW-U and the second PGW-U through the second tunnel information, so that the SGW-U and the second PGW-U can transmit the data stream according to the existing transmission mode.
In one possible implementation, the method further includes: if the SGW-U determines that the data stream is a non-local service data stream, the SGW-U sends the data stream to a first PGW-U; and the first PGW-U receives the data stream sent by the SGW-U and sends the received data stream to the data network.
In a second aspect, an embodiment of the present application provides a data stream processing method, including: a control plane service gateway (SGW-C) acquires position information of terminal equipment; the SGW-C further selects a user plane service gateway SGW-U and a second user plane PDN gateway PGW-U for the terminal equipment according to the position information of the terminal equipment; then, the SGW-C sends indication information to a control plane PDN gateway PGW-C, wherein the indication information is used for indicating the SGW-C to select a second PGW-U for the terminal equipment; the PGW-C receives the indication information and distributes second address information to the terminal equipment according to the indication information; then, the PGW-C sends the second address information to the SGW-C; and the SGW-C receives the second address information and sends the second address information to the SGW-U.
By the method, the SGW-U can acquire second address information which is distributed by the PGW-C for the terminal equipment and corresponds to the second PGW-U, so that when the data stream of the terminal equipment is the data stream of the local service, the source address information of the data stream can be updated to the second address information, and the data stream can be shunted.
In one possible implementation, the method further includes: the PGW-C sends second tunnel information to the SGW-C and a second PGW-U, and the second tunnel information is used for establishing a tunnel between the SGW-U and the second PGW-U; and then the SGW-C receives the second tunnel information sent by the PGW-C and sends the second tunnel information to the SGW-U.
Through the method, the second PGW-U and the SGW-U can respectively receive the second tunnel information from the PGW-C and the SGW-C, so that a tunnel between the second PGW-U and the SGW-U can be established according to the second tunnel information.
In one possible implementation, the method further includes: the PGW-C sends first address information of the terminal equipment to the SGW-C; and the SGW-C receives the first address information and sends the first address information to the terminal equipment.
By the method, the terminal equipment can acquire the first address information distributed by the PGW-C, so that the data stream can be sent by taking the first address information as the source address information.
In a third aspect, an embodiment of the present application provides a data stream processing method, including: after receiving a data stream of a terminal device, a user plane service gateway (SGW-U) sends the data stream to a second user plane PDN gateway (PGW-U) if the data stream is determined to be a data stream of a local service; and the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to a local server.
In a possible implementation manner, before the SGW-U sends the data stream to the second user plane PDN gateway PGW-U, the method further includes: the SGW-U receives second address information of the terminal equipment sent by a control plane service gateway (SGW-C); and the SGW-U updates the source address information in the data flow into the second address information.
In one possible implementation, the method further includes: if the SGW-U determines that the data stream is a non-local service data stream, the SGW-U sends the data stream to a first PGW-U; and the first PGW-U receives the data stream sent by the SGW-U and sends the data stream to a data network.
In a fourth aspect, an embodiment of the present application provides a data stream processing method, including: the SGW-C and/or the PGW-C determine an SGW-U and a second PGW-U for the terminal equipment; and the SGW-C establishes connection with the SGW-U, and the PGW-C establishes connection with the second PGW-U.
In a possible implementation manner, the determining, by the SGW-C, an SGW-U and a second PGW-U for the terminal device includes:
the SGW-C determines the SGW-U and the second PGW-U for the terminal equipment, wherein the second PGW-U and the SGW-U belong to the same network element;
the SGW-C sends third indication information to the PGW-C, where the third indication information is used to indicate that the PGW-C establishes a connection with the second PGW-U.
In a possible implementation manner, the third indication information includes identification information of the second PGW-U and/or identification information of the network element.
In a possible implementation manner, the determining, by the SGW-C and the PGW-C, an SGW-U and a second PGW-U for the terminal device includes:
the SGW-C determines the SGW-U for the terminal device, and sends fourth indication information to the PGW-C, where the fourth indication information is used to indicate the PGW-C to determine the second PGW-U for the terminal device.
And the PGW-C determines the second PGW-U for the terminal equipment according to the fourth indication information.
In a possible implementation manner, the fourth indication information includes identification information of the SGW-U; determining, by the PGW-C, the second PGW-U for the terminal device according to the fourth indication information, including: and the PGW-C determines a PGW-U belonging to the same network element as the SGW-U as the second PGW-U according to the identification information of the SGW-U.
In a possible implementation manner, the determining, by the PGW-C, a PGW-U belonging to the same network element as the SGW-U as the second PGW-U according to the identification information of the SGW-U includes: the PGW-C acquires a preset corresponding relation; the corresponding relation is used for indicating PGW-U corresponding to one or more preset SGW-U respectively, wherein the PGW-U corresponding to any one preset SGW-U and the preset SGW-U belong to the same network element; and the PGW-C determines, according to the identification information, that, in the preset correspondence, a PGW-U, of which an SGW-U corresponding to the identification information belongs to the same network element, is the second PGW-U.
In a possible implementation manner, the fourth indication information includes location information of the terminal device; determining, by the PGW-C, the second PGW-U for the terminal device according to the fourth indication information, including: and the PGW-C determines, according to the location information, a PGW-U serving the location corresponding to the location information as the second PGW-U.
In a possible implementation manner, the determining, by the PGW-C, a PGW-U serving a location corresponding to the location information as the second PGW-U according to the location information includes: the PGW-C acquires service areas corresponding to one or more preset PGW-Us respectively; the PGW-C determines a target service area to which the location information belongs, and determines a PGW-U corresponding to the target service area from the one or more preset PGW-Us as the second PGW-U according to the target service area.
In one possible implementation manner, the method further includes: the PGW-C distributes address information for the terminal equipment; and the PGW-C sends the address information to the SGW-C.
In one possible implementation, the address information includes second address information; after the PGW-C sends the address information to the SGW-C, the method further includes: and the SGW-C sends the second address information to the SGW-U.
In a possible implementation manner, the address information further includes first address information; after the PGW-C sends the address information to the SGW-C, the method further includes: and the SGW-C sends the first address information to the terminal equipment.
In a possible implementation manner, the selecting, by the PGW-C, an SGW-U and a second PGW-U for the terminal device includes: the PGW-C receives second indication information sent by the SGW-C; the PGW-C selects the second PGW-U and the SGW-U for the terminal equipment according to the second indication information, wherein the SGW-U and the second PGW-U belong to the same network element; and the PGW-C sends third indication information to the SGW-C, wherein the third indication information is used for indicating the SGW-C to establish connection with the SGW-U.
In a possible implementation manner, the second indication information includes location information of the terminal device.
In a possible implementation manner, the third indication information includes identification information of the SGW-C or identification information of the network element.
In a fifth aspect, an embodiment of the present application provides a data stream processing method, including: the first user plane service gateway SGW-U receives second address information of the terminal equipment sent by the control plane service gateway SGW-C; then, after receiving the data stream of the terminal equipment, if the data stream is determined to be the data stream of the local service, the first SGW-U updates the source address information of the data stream into the second address information and sends the updated data stream to the second SGW-U; the second SGW-U receives the data stream sent by the first SGW-U and sends the data stream to a second user plane PDN gateway PGW-U; and the second PGW-U receives the data stream sent by the second SGW-U and sends the data stream to the local server.
In a sixth aspect, an embodiment of the present application provides a data stream processing method, including: a control plane service gateway (SGW-C) acquires position information of terminal equipment; then, the SGW-C selects a first user plane service gateway SGW-U, a second SGW-U and a second user plane PDN gateway PGW-U for the terminal equipment according to the position information of the terminal equipment; then, the SGW-C sends indication information to a control plane PDN gateway PGW-C, wherein the indication information is used for indicating the SGW-C to select a second SGW-U and a second PGW-U for the terminal equipment; the PGW-C receives the indication information and distributes second address information to the terminal equipment according to the indication information; then, the PGW-C sends the second address information to the SGW-C; the SGW-C receives the second address information and sends the received second address information to the first SGW-U.
In a seventh aspect, an embodiment of the present application provides a data stream processing method, including: after receiving the data stream of the terminal equipment, the first SGW-U sends the data stream to a second SGW-U if the data stream is determined to be the data stream of the local service; the second SGW-U receives the data stream sent by the first SGW-U and sends the data stream to a second user plane PDN gateway PGW-U; and the second PGW-U receives the data stream sent by the second SGW-U and sends the data stream to a local server.
In an eighth aspect, an embodiment of the present application provides a data stream processing method, including: the SGW-C and/or the PGW-C determine a second SGW-U and a second PGW-U for the terminal equipment; the SGW-C establishes a connection with the second SGW-U, and the PGW-C establishes a connection with the second PGW-U.
In a ninth aspect, an embodiment of the present application provides a data stream processing system, where the system includes a user plane serving gateway SGW-U, a control plane serving gateway SGW-C, a control plane PDN gateway PGW-C, and a second user plane PDN gateway PGW-U, where: the SGW-C is used for acquiring the position information of the terminal equipment; selecting an SGW-U and a second PGW-U for the terminal equipment according to the position information of the terminal equipment; then, sending indication information to the PGW-C, where the indication information is used to indicate that the SGW-C selects the second PGW-U for the terminal device; the PGW-C is used for receiving the indication information sent by the SGW-C and distributing second address information to the terminal equipment according to the indication information; then, the second address information is sent to the SGW-C; the SGW-C is also used for receiving second address information and sending the second address information to the SGW-U; the SGW-U is used for receiving second address information of the terminal equipment sent by the SGW-C; then, after receiving the data stream of the terminal device, if the data stream is determined to be the data stream of the local service, updating the source address information of the data stream to the second address information, and sending the updated data stream to a second PGW-U; and the second PGW-U is used for receiving the data stream sent by the SGW-U and sending the data stream to the local server.
In a tenth aspect, an embodiment of the present application provides a data stream processing system, including a user plane serving gateway SGW-U, a control plane serving gateway SGW-C, a control plane PDN gateway PGW-C, and a second user plane PDN gateway PGW-U, where: the SGW-C and/or the PGW-C are used for determining an SGW-U and a second PGW-U for the terminal equipment; the SGW-C is used for establishing connection with the SGW-U, and the PGW-C is used for establishing connection with the second PGW-U; the SGW-U is configured to, after receiving the data stream of the terminal device, send the data stream to the second PGW-U if it is determined that the data stream is a data stream of a local service; the second PGW-U is configured to receive the data stream sent by the SGW-U, and send the data stream to a local server.
In an eleventh aspect, an embodiment of the present application provides a data stream processing system, where the system includes a first user plane serving gateway SGW-U, a second SGW-U, a control plane serving gateway SGW-C, a control plane PDN gateway PGW-C, and a second user plane PDN gateway PGW-U, where: the SGW-C is used for acquiring the position information of the terminal equipment; selecting a first user plane service gateway (SGW-U), a second SGW-U and a second user plane PDN gateway (PGW-U) for the terminal equipment according to the position information of the terminal equipment; then, sending indication information to the PGW-C, wherein the indication information is used for indicating the SGW-C to select a second SGW-U and a second PGW-U for the terminal equipment; the PGW-C is used for receiving the indication information sent by the SGW-C and distributing second address information to the terminal equipment according to the indication information; then, the second address information is sent to the SGW-C; the SGW-C is further configured to receive the second address information and send the second address information to the first SGW-U; the first SGW-U is used for receiving second address information of the terminal equipment sent by the SGW-C; then, after receiving the data stream of the terminal device, if the data stream is determined to be the data stream of the local service, updating the source address information of the data stream to the second address information, and sending the updated data stream to a second SGW-U; the second SGW-U is used for receiving the data stream sent by the first SGW-U and sending the data stream to the second PGW-U; and the second PGW-U is used for receiving the data stream sent by the second SGW-U and sending the received data stream to the local server.
In a twelfth aspect, an embodiment of the present application provides a data stream processing system, including a first user plane serving gateway SGW-U, a second SGW-U, a control plane serving gateway SGW-C, a control plane PDN gateway PGW-C, and a second user plane PDN gateway PGW-U, where: the SGW-C and/or the PGW-C are used for determining a second SGW-U and a second PGW-U for the terminal equipment; the SGW-C is used for establishing connection with the second SGW-U, and the PGW-C is used for establishing connection with the second PGW-U; the first SGW-U is configured to, after receiving the data stream of the terminal device, send the data stream to the second SGW-U if it is determined that the data stream is a data stream of a local service; the second SGW-U is configured to receive the data stream sent by the first SGW-U, and send the data stream to a second PGW-U; the second PGW-U is configured to receive a data stream sent by the second SGW-U, and send the data stream to a local server.
In a thirteenth aspect, embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions that, when executed on a computer, cause the computer to perform a method provided in any one of the above aspects.
In a fourteenth aspect, an embodiment of the present application provides an apparatus, including: a memory for storing program instructions; and the processor is used for calling the program instructions stored in the memory and executing the data stream processing method provided by any one aspect according to the obtained program.
In a fifteenth aspect, an embodiment of the present application provides a computer program product, which when run on a computer, causes the computer to execute the data stream processing method provided in any one of the above aspects.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
The drawings that are required to be used in the embodiments of the present invention will be briefly described below.
FIG. 1 is an EPC network architecture with a split gateway C/U;
FIG. 2 is a system architecture diagram according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a data stream processing method according to an embodiment of the present application;
fig. 4 is a schematic view of another EPC system architecture provided in the embodiments of the present application;
FIG. 5 is a possible exemplary block diagram of the devices involved in the embodiments of the present application;
fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, the present application will be further described in detail with reference to the accompanying drawings. The particular methods of operation in the method embodiments may also be applied to apparatus embodiments or system embodiments. It is to be noted that "at least one" in the description of the present application means one or more, where a plurality means two or more. In view of this, the "plurality" may also be understood as "at least two" in the embodiments of the present invention. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified. In addition, it is to be understood that the terms first, second, etc. in the description of the present application are used for distinguishing between the descriptions and not necessarily for describing a sequential or chronological order.
The EPC network architecture enables transfer of data streams between a terminal and a server, and generally includes a Serving Gateway (SGW) and a Packet Data Network (PDN) gateway (PGW). In the 3GPP protocol, a case of a gateway C/U separation in an EPC network architecture is described, as shown in fig. 1.
FIG. 1 is an EPC network architecture with a gateway C/U split. The gateway C/U separation means that one gateway is divided into a control plane gateway and a user plane gateway according to function division. As shown in fig. 1, the SGW is split into a user plane SGW gateway (SGW-U) and a control plane SGW gateway (SGW-C), where the SGW-U may implement a user plane function of the SGW in an EPC network architecture without element C/U separation, and the SGW-C may implement a control plane function of the SGW in an EPC network architecture without element C/U separation. Similarly, the PGW is split into a user plane PGW gateway (PDN gateway for user plane, PGW-U) and a control plane PDN gateway (PDN gateway for control plane, PGW-C), where the PGW-U may implement a user plane function of the PGW in an EPC network architecture without network element C/U separation, and the PGW-C may implement a control plane function of the PGW in an EPC network architecture without network element C/U separation.
As shown in fig. 1, the EPC network architecture further includes a Mobility Management Entity (MME) and a Home Subscriber Server (HSS), where the MME is configured to manage a mobility context and a session context of a User Equipment (UE). In addition, the system also includes monitoring network elements related to the monitoring function, such as a Charging Gateway (CG), an Online Charging System (OCS), and a Lawful Interception Gateway (LIG), and the PGW-C may implement monitoring of the terminal service through these monitoring network elements, such as charging and lawful interception of the terminal service.
Based on the EPC network architecture shown in fig. 1, when activating the UE, the PGW-C may allocate the IP address of the terminal device and a PGW-U corresponding to the IP address of the terminal device to the terminal device, and the SGW-C may allocate an SGW-U closer to the UE location to the terminal according to the location information of the terminal. When the terminal equipment accesses a data network, source address information in a data stream sent to a base station (E-UTRN) in a universal mobile telecommunications system terrestrial radio access network (UTRN) is an IP address allocated by a PGW-C, and the base station receives the data stream sent by the terminal equipment and sends the data stream to the SGW-U. The SGW-U receives a data stream of the terminal equipment sent by the base station, and sends the data stream to a PGW-U corresponding to a source address according to the source address in the data stream (namely, an IP address distributed by the PGW-C for the terminal equipment). And the PGW-U receives the data stream sent by the SGW-U and sends the data stream to a data network.
In the process that the terminal device accesses the data network, the PGW-U is an anchor point of the terminal device accessing the data network, that is, when the terminal device accesses the data network, the data stream of the terminal device is fixedly sent to the PGW-U corresponding to the IP address of the terminal device, and the PGW-U sends the data stream to the data network. For example, the PGW-C allocates the IP address IPa and the PGW-U A to the terminal, the source address in the data stream sent by the terminal device is IPa, and the data stream is sent to the PGW-U A no matter where the terminal device accesses the data network, and the PGW-U A sends the data stream of the terminal device to the data network. And the PGW-U is used as an anchor point for the terminal equipment to access the data network, so that the terminal equipment can continuously access the data network.
However, since the data stream of the terminal device is fixedly sent to the specific PGW-U, and the PGW-U is often set in the central area of the core network, the terminal device often has a problem of traffic detour when accessing the local server in the area where the terminal device is located. In order to solve the problem, some technical solutions capable of implementing Local Breakout (LBO) are provided, so that a data stream of a local service can be directly sent to a local server in an area where a terminal device is located, thereby solving the problem of traffic detour. In the schemes, in order to avoid that the data stream is directly sent to the PGW-U by the SGW-U, the data stream is mostly split before reaching the SGW-U, for example, a mobile edge computing gateway (MEC GW) is arranged between the SGW-U and the base station, the MEC GW receives the data stream of the terminal device from the base station, sends the data stream of the local service to the local server, and sends the data stream of the non-local service to the SGW-U, the SGW-U does not receive the data stream of the local service, and does not send the data stream of the local service to the PGW-U, thereby solving the problem of traffic detour.
In practical application, although the problem of traffic detour can be solved by shunting the data stream before the data stream reaches the SGW-U, since the data stream of the local service is not sent to the PGW-U through the SGW-U, the PGW-C cannot acquire, from the PGW-U, relevant information that can be used for monitoring the local service in the data stream of the local service, for example, a local service type corresponding to the data stream, a size of the data stream, content of the data stream, and the like, so that the PGW-C cannot monitor the local service of the terminal device.
In order to implement monitoring of local services of terminal equipment, an embodiment of the present application provides a data stream processing method. The technical scheme provided by the embodiment of the application is described below with reference to the accompanying drawings.
Fig. 2 is a schematic diagram of a system architecture according to an embodiment of the present application, which is suitable for any one of the methods according to the embodiment of the present application. As shown in fig. 2, the system includes SGW-U, SGW-C, PGW-C, the second PGW-U, the first PGW-U, and further includes MME, local server, etc., it should be understood that the architecture shown in fig. 2 is a simplified system architecture, and in practical applications, the system architecture may also include other network elements, such as the base station, HSS, CG, OCS, LIG, etc. shown in fig. 1. The network architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application, and as a person of ordinary skill in the art knows that along with the evolution of the network architecture and the appearance of a new service scenario, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.
It should be understood that, in the embodiment of the present application, the second PGW-U may be an independent PGW-U gateway device, or may be a device including a PGW-U and other functions, for example, the second PGW-U in the embodiment of the present application may also be an SPGW-U including a PGW-U gateway and an SGW-U, and the SPGW-U is a gateway that can implement both the PGW-U function and the SGW-U function.
The terminal equipment in the embodiment of the application is equipment with a wireless transceiving function, can be deployed on land and comprises an indoor or outdoor, a handheld or a vehicle-mounted terminal; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The terminal may be a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal, an Augmented Reality (AR) terminal, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like.
By way of example, an interface between the base station and the SGW-U may be referred to as an S1-U interface, an interface between the SGW-U and the first PGW-U may be referred to as an S5-U interface or an S8-U interface, an interface between the first PGW-U and the data network may be referred to as an SGi interface, an interface between the PGW-C and the first PGW-U and the second PGW-U may be referred to as an Sxb interface, an interface between the SGW-C and the SGW-U may be referred to as Sxa, and an interface between the SGW-C and the PGW-C may be referred to as an S5-C interface or an S8-C interface.
It is to be understood that the above functions may be network elements in a hardware device, or may be software functions running on dedicated hardware, or virtualization functions instantiated on a platform (e.g., a cloud platform). In the embodiment of the present application, names of network elements are not limited, and as technology evolves, network elements having the same or similar functions may also have other names. For example, in 5th generation (5G) communication, the SGW-C and the PGW-C may be implemented by a Session Management Function (SMF) network element, and the SGW-U and the second PGW-U may be implemented by a User Plane Function (UPF) network element.
In this embodiment of the present application, the SGW-U and the second PGW-U may belong to different network elements, or belong to the same network element, and when belonging to the same network element, the specific name of the network element is not limited, for example, the network element may be an SPGW-U, that is, the SPGW-U may implement the functions of the SGW-U and the second PGW-U. Next, the methods provided in the embodiments of the present application are exemplified by specific embodiments. It should be noted that the network element is a name of a device, and the name of the device is not limited thereto.
Example one
Based on the system architecture shown in fig. 2, an embodiment of the present application provides a data stream processing method. Fig. 3 is a schematic flow chart of a data stream processing method according to an embodiment of the present application, and as shown in fig. 3, the method mainly includes the following steps:
s301: and the SGW-C acquires the position information of the terminal equipment.
The location information of the terminal device may be obtained by the SGW-C from a network element (e.g., MME) with a positioning function in the EPC system architecture. In a possible implementation manner, when the terminal device is activated (e.g., the terminal device is turned on or turned off in the airplane mode), an activation request is sent to the base station to obtain address information allocated to the terminal device by the PGW-C. The activation request typically includes a user identifier of the terminal device, such as a mobile phone number of the user. And the base station receives the activation request sent by the terminal equipment and sends the activation request to the MME. And the MME acquires the position information of the terminal equipment and sends the activation request and the position information of the terminal equipment to the SGW-C.
S302: and the SGW-C selects the SGW-U and the second PGW-U for the terminal equipment according to the position information of the terminal equipment.
In the embodiment of the application, one SGW-C corresponds to at least one SGW-U, and the SGW-C is configured with the position information of the corresponding at least one SGW-U in advance. When the SGW-C corresponds to a plurality of SGW-Us, different SGW-Us can be located in the same or different communication areas. In the embodiment of the present application, the communication area may be a Tracking Area (TA), a tracking area list (TA list), or the like.
In addition, in the embodiment of the present application, the SGW-C is also preconfigured with a correspondence between the SGW-U and the second PGW-U, and the SGW-U and the second PGW-U having the correspondence may be located in the same communication area.
In specific implementation, the SGW-U and the second PGW-U having the corresponding relationship may be implemented by the same user plane gateway, that is, the user plane gateway including the SGW-U and the second PGW-U implements the functions of the SGW-U and the second PGW-U in the embodiment of the present application.
After the SGW-C obtains the location information of the terminal device, the SGW-C may select the SGW-U closest to the location of the terminal device from the at least one SGW-U according to the location information of the terminal device and the location information of the at least one SGW-U corresponding to the SGW-C configured in advance. And then the SGW-C selects a second PGW-U for the terminal equipment according to the pre-configured corresponding relation between the SGW-U and the second PGW-U. For example, after the SGW-C selects the SGW-U A for the terminal device according to the location information of the terminal device, the PGW-U A corresponding to the SGW-U A is further selected for the terminal device according to the correspondence between the SGW-U and the second PGW-U.
S303, the SGW-C sends indication information to the PGW-C.
In this embodiment of the application, the indication information may include a user identifier of the terminal device, such as a mobile phone number of the user, so that when the PGW-C monitors a service of the terminal device, the user to which the terminal device belongs may be determined.
S304: and the PGW-C receives the indication information sent by the SGW-C and distributes second address information to the terminal equipment according to the indication information.
The PGW-C and the at least one first PGW-U have a corresponding relation, and address information of the corresponding at least one first PGW-U is configured in advance. After receiving the indication information, the PGW-C may further select a first PGW-U for the terminal according to a load condition of at least one PGW-U, and the first PGW-U serves as an anchor point for the terminal device to access the data network.
In this embodiment, the PGW-C may allocate at least two pieces of network address information to the terminal device: first address information and second address information. Specifically, the first address information is address information which is allocated by the PGW-C to the terminal device and used for accessing the data network. The second address information is address information which is allocated to the terminal equipment and is used for accessing a local database. Specifically, the first address information and the second address information may be IPv4 addresses, IPv6 addresses, IPv4v6 addresses, or the like.
In specific implementation, the SGW-C and the PGW-C may be implemented by the same control plane gateway, that is, the control plane gateway including the SGW-C and the PGW-C implements functions of the SGW-C and the PGW-C in the embodiment of the present application.
S305: and the PGW-C sends second address information to the SGW-C.
In the embodiment of the present application, in order to implement data stream splitting of the local service by the SGW-U, the second address information may be sent to the SGW-U. Because no interface exists between the PGW-C and the SGW-U, the PGW-C may first send the second address information to the SGW-C, and the SGW-C sends the second address information to the SGW-U. In one possible implementation, the PGW-C may also send the first address information to the SGW-C as well.
S306: and the SGW-C receives the second address information sent by the PGW-C and sends the second address information to the SGW-U.
In a possible implementation manner, the SGW-C may further receive first address information sent by the PGW-C, and send the first address information to the terminal device through the MME and the base station. Furthermore, the SGW-C may also send the first address information to the SGW-U.
S307, the SGW-U receives the second address information sent by the terminal and receives the data stream of the terminal equipment.
The terminal device completes activation after receiving address information allocated to the terminal device by the PGW-C. In this embodiment, after receiving the first address information, the terminal device may send the data stream to the base station using the first address information as the source address information. And the base station receives the data stream sent by the terminal equipment and forwards the data stream to the SGW-U.
S308: the SGW-U executes S309 when the data flow of the terminal device is the data flow of the local service. In one possible implementation, the SGW-U performs S312 when the data flow of the terminal device is not the data flow of the local service.
In this embodiment of the present application, the SGW-U may determine whether the data flow of the terminal device is the data flow of the local service according to a preset offloading rule, for example, if the destination address information in the data flow of the terminal device is the address information of the local server, it is determined that the data flow is the data flow of the local service. In a specific implementation process, the offloading rule may be pre-configured in the SGW-U, or may be pre-configured in the SGW-C, and the SGW-C sends the offloading rule to the SGW-U in a terminal activation process, which is not limited in this embodiment of the present application.
S309: and the SGW-U updates the source address information of the data flow into second address information.
In a possible implementation manner, the source address information of the data flow is first address information allocated by the PGW-C to the terminal device. And the SGW-U updates the source address information in the data stream of the local service into second address information according to the second address information sent by the SGW-C.
S310: and the SGW-U sends the updated data stream to a second PGW-U.
S311: and the second PGW-U receives the updated data stream sent by the SGW-U and sends the data stream to the local server.
In the embodiment of the present application, the local server may be referred to the SGW-U, that is, the local server and the SGW-U are in the same communication area. In a specific implementation, the local server may be a single server, or may be a server cluster formed by a plurality of servers, such as a local area network.
In specific implementation, the second PGW-U may further obtain relevant information for service monitoring in the data stream, and send the relevant information to the PGW-C, thereby implementing monitoring of the local service of the terminal device. In specific implementation, the second PGW-U may send the monitoring information to the PGW-C through an Sxb interface between the second PGW-U and the PGW-C. In addition, the PGW-C can also provide the second PGW-U with the address information of the LIG, and provide the LIG with the address information of the second PGW-U, so that an X3-U interface is established between the second PGW-U and the LIG, and the second PGW-U can directly send monitoring information for lawful interception to the LIG through the X3-U interface.
S312: and the SGW-U sends the data stream to the first PGW-U.
S313: and the first PGW-U receives the data stream sent by the SGW-U and sends the data stream to the data network.
In specific implementation, the first PGW-U may further obtain relevant information for service monitoring in the data stream, and send the relevant information to the PGW-C, thereby implementing service monitoring on the terminal device.
In S309 in this embodiment of the present application, the SGW-U updates the source address information of the data stream of the local service to the second address information, and the second PGW-U sends the updated data stream to the local server, so that the second PGW-U may serve as an anchor point corresponding to the second address information and accessed to the local server, that is, a PDN connection dedicated to transmitting the data stream of the local service is allocated to the terminal device, thereby solving a problem of traffic detour generated when the terminal device sends the data stream to the local server. Meanwhile, the PGW-U has the function of acquiring relevant information for service monitoring in the data stream, and the embodiment of the application can realize the monitoring of the local service while reducing the traffic roundabout by sending the data stream to the local server by using the second PGW-U.
In the EPC architecture, the SGW-U and the PGW-U are tunneled. Based on this, in a possible implementation manner, after the SGW-C selects the SGW-U and the second PGW-U for the terminal device, the SGW-C may further send the address information of the SGW-U and the address information of the second PGW-U to the PGW-C.
The PGW-C also assigns the first tunnel information and the second tunnel information to the terminal device in S304. The second tunnel information may include address information of the SGW-U and/or address information of the second PGW-U. Specifically, the address information of the SGW-U and the second PGW-U is sent to the PGW-C by the SGW-C. The second tunnel information sent by the PGW-C to the second PGW-U may include address information of the SGW-U, and the second tunnel information sent by the PGW-C to the SGW-U may include address information of the second PGW-U.
The PGW-C sends the second tunnel information to the SGW-C and the second PGW-U, the SGW-C receives the second tunnel information sent by the PGW-C and sends the second tunnel information to the SGW-U, and the SGW-U and the second PGW-U establish a tunnel between the SGW-U and the second PGW-U according to the second tunnel information.
Specifically, the second tunnel information may further include a tunnel identifier of the second PGW-U side, where the tunnel identifier corresponds to the second address information of the terminal device. In a possible implementation manner, the PGW-C may allocate the tunnel identifier to the terminal device after receiving the indication information. In another possible implementation manner, the PGW-C may send the second address information allocated to the terminal device to a second PGW-U, and after receiving the second address information, the second PGW-U allocates a corresponding tunnel identifier to the second address information and sends the tunnel identifier to the PGW-C.
The SGW-U and the second PGW-U can establish an uplink tunnel between the SGW-U and the second PGW-U through the second tunnel information, and the uplink tunnel is used for the SGW-U to send the updated data stream of the terminal device to the second PGW-U.
Furthermore, the second tunnel information may further include an SGW-U side tunnel identifier allocated by the SGW-C to the terminal device. The SGW-U and the second PGW-U may further establish a downlink tunnel between the SGW-U and the second PGW-U through the second tunnel information, where the downlink tunnel is used for the second PGW-U to send, to the SGW-U, the data stream sent by the local server to the terminal device.
And when the data stream of the terminal equipment is the data stream of the local service, the SGW-U updates the source address information of the data stream into second address information and sends the updated data stream to a second PGW-U through an uplink tunnel between the SGW-U and the second PGW-U. Specifically, the SGW-U may encapsulate the updated data stream according to the tunnel identifier of the second PGW-U side and the address information of the second PGW-U, so as to send the updated data stream to the second PGW-U through the tunnel between the SGW-U and the second PGW-U. The second PGW-U receives the data stream sent by the SGW-U through the tunnel between the second PGW-U and the SGW-U, and determines second address information corresponding to the tunnel identifier according to the second PGW-U side tunnel identifier of the encapsulated data stream, so that context information corresponding to the second address information can be determined according to the second address information, and relevant information used for service monitoring in the data stream is obtained. Meanwhile, the second PGW-U can also decapsulate the data stream received from the SGW-U, obtain the data stream updated by the SGW-U, and send the updated data stream to the local server.
Similarly, the first tunnel information allocated by the PGW-C to the terminal device may include address information of the SGW-U and/or address information of the first PGW-U. Specifically, the first tunnel information sent by the PGW-C to the first PGW-U may include address information of the SGW-U, and the first tunnel information sent by the PGW-C to the SGW-U may include address information of the first PGW-U.
The PGW-C sends the first tunnel information to the SGW-C and the first PGW-U, the SGW-C receives the first tunnel information sent by the PGW-C and sends the first tunnel information to the SGW-U, and the SGW-U and the first PGW-U establish a tunnel between the SGW-U and the first PGW-U according to the first tunnel information.
Specifically, the first tunnel information may further include a tunnel identifier of the first PGW-U side, where the tunnel identifier corresponds to the first address information of the terminal device. In a possible implementation manner, the PGW-C may allocate the tunnel identifier to the terminal device after receiving the indication information. In another possible implementation manner, the PGW-C may send the first address information allocated to the terminal device to the first PGW-U, and after receiving the first address information, the first PGW-U allocates a corresponding tunnel identifier to the first address information and sends the tunnel identifier to the PGW-C.
The SGW-U and the first PGW-U can establish an uplink tunnel between the SGW-U and the first PGW-U through the first tunnel information, and the uplink tunnel is used for the SGW-U to send a data stream of the terminal device to the first PGW-U.
Furthermore, the first tunnel information may further include an SGW-U side tunnel identifier allocated by the SGW-C to the terminal device. The SGW-U and the first PGW-U may further establish a downlink tunnel between the SGW-U and the first PGW-U through the first tunnel information, where the downlink tunnel is used for the first PGW-U to send, to the SGW-U, a data stream sent by the data network to the terminal device.
And when the data stream of the terminal equipment is not the data stream of the local service, the SGW-U sends the data stream of the terminal equipment to the first PGW-U through a tunnel between the SGW-U and the first PGW-U. Specifically, the SGW-U may encapsulate the data stream of the terminal device according to the tunnel identifier of the first PGW-U side and the address information of the first PGW-U, so as to send the data stream of the terminal device to the first PGW-U through the uplink tunnel between the SGW-U and the first PGW-U. The first PGW-U receives a data stream sent by the SGW-U through a tunnel between the first PGW-U and the SGW-U, and determines first address information corresponding to a tunnel identifier according to the tunnel identifier of the first PGW-U side of the encapsulated data stream, so that context information corresponding to the first address information can be determined according to the first address information, and information related to service monitoring in the data stream of the terminal equipment is obtained. Meanwhile, the first PGW-U can also decapsulate the data stream received from the SGW-U, obtain the data stream of the terminal device, and send the data stream of the terminal device to the data network.
In a possible implementation manner of S304, the PGW-C further sends the first address information allocated to the terminal device to the first PGW-U, and sends the second address information allocated to the terminal device to the second PGW-U. After receiving the data stream of the terminal device sent by the SGW-U, the first PGW-U verifies whether the source address information in the data stream of the terminal device is the first address information, if so, sends the data stream to the data network, and if not, refuses to send the data stream. Similarly, after receiving the data stream of the terminal device sent by the SGW-U, the second PGW-U verifies whether the source address information in the data stream of the terminal device is the second address information, and if so, sends the data stream to the local server, and if not, refuses to send the data stream. By adopting the technical scheme, the data stream source address information is further verified through the first PGW-U and the second PGW-U, so that the safety of data stream transmission is enhanced.
Based on the same technical concept, when the local server sends the data stream to the terminal device, the second PGW-U receives the data stream sent by the local server and sends the data stream to the SGW-U. Since the source address information of the data stream of the terminal device received by the local server is the second address information, the destination address information of the data stream sent by the local server to the terminal device may be the second address information. And the SGW-U receives the data stream sent by the second PGW-U, updates the destination address information in the data stream into the first address information and sends the updated data stream to the base station. And the base station receives the data stream sent by the SGW-U and sends the data stream to the terminal equipment according to the destination address information.
Specifically, the SGW-U may receive, through a downlink tunnel with the second PGW-U, a data stream sent by the local server to the terminal device, and receive, through a downlink tunnel with the first PGW-U, a data stream sent by the data network to the terminal device.
Example two
The embodiment of the application also provides another EPC system architecture. Fig. 4 is a schematic view of another EPC system architecture provided in this embodiment, and as shown in fig. 4, the system includes a first SGW-U, a second SGW-U, SGW-C, PGW-C, a second PGW-U, and a first PGW-U, and further includes an MME, a local server, and the like.
Based on the system architecture shown in fig. 4, an embodiment of the present application provides a data stream processing method. This method is similar to the method shown in fig. 3, and the first SGW-U in fig. 4 may correspond to the SGW-U in fig. 3, except that:
in S302, the SGW-C selects a first SGW-U, a second SGW-U and a second PGW-U for the terminal device.
The first SGW-U, the second SGW-U and the second PGW-U meet corresponding relations, and in a possible implementation mode, the first SGW-U, the second SGW-U and the second PGW-U are located in the same communication area.
In S310, the first SGW-U sends the updated data stream to the second SGW-U. And the second SGW-U receives the data stream sent by the first SGW-U and sends the data stream to the second PGW-U.
In the 3GPP protocol, it is specified that address information of a terminal device can be associated with a PDN connection. In the first embodiment and the second embodiment, the source address information in the local data stream is updated to the second address information, so that the method provided in the embodiment of the present application can conform to the specification of the existing 3GPP protocol, that is, the first address information is associated with the PDN connection where the first PGW-U is located, and the second address information is associated with the PDN connection where the second PGW-U is located.
EXAMPLE III
In a possible implementation manner, the PGW-C may also allocate only the first address information to the terminal device, and the SGW-U may not update the source address information in the data flow to the second address information after receiving the local data flow. For example:
based on the system architecture shown in fig. 2, the SGW-C may perform operations such as S301 to S303, which are not described in detail.
After receiving the indication information, the PGW-C may perform the following steps:
the method comprises the following steps: and determining a first PGW-U for the terminal equipment, and establishing connection with the first PGW-U.
Step two: and allocating first address information for the terminal equipment, and sending the first address information to the SGW-C.
And after receiving the first address information, the SGW-C sends the first address information to the terminal equipment, so that the terminal equipment can send the data stream by using the first address information as source address information.
Thereafter, the SGW-U may perform S307 and S308. In S308, if the SGW-U determines that the data stream sent by the terminal device is a local data stream, the SGW-U sends the data stream to a second PGW-U; and if the SGW-U determines that the data stream sent by the terminal equipment is not the local data stream, the SGW-U sends the data stream to the first PGW-U.
Under the system architecture shown in fig. 4, after receiving the indication information, the PGW-C may also allocate first address information to the terminal device, and the first SGW-U may also send the data stream to the local server without updating the source address information in the data stream when determining that the data stream sent by the terminal device is a local data stream, which is not described in detail again.
Example four
In this embodiment of the present application, the second PGW-U and the SGW-U may belong to the same network element, that is, the second PGW-U and the SGW-U are combined. Under the condition that the SGW-U and the second PGW-U belong to the same network element, data stream transmission inside the network element can be realized between the SGW-U and the second PGW-U, so that the method is beneficial to improving the transmission speed of local data streams on the whole. Moreover, the SGW-U and the second PGW-U belong to the same network element, so that the system architecture can be simplified, the signaling overhead can be saved, and the like.
Based on this, the embodiments of the present application further provide a communication method, where the SGW-C and/or the PGW-C may determine the SGW-U and the second PGW-U for the terminal device, so that the determined SGW-U and the second PGW-U belong to the same network element, and further, any one of the methods provided in the first to fifth embodiments may be implemented based on the determined SGW-U and the second PGW-U.
In a possible implementation manner, the SGW-C and/or the PGW-C determines an SGW-U and a second PGW-U for the terminal device, and the implementation manner mainly includes the following three implementation manners:
implementation mode one
The SGW-C determines an SGW-U and a second PGW-U for the terminal equipment, and mainly comprises the following steps:
step 1.1: and the SGW-C determines an SGW-U for the terminal equipment. For a specific implementation, reference may be made to the foregoing embodiments and the prior art, which are not described in detail herein. Because the SGW-U and the second PGW-U belong to the same network element, the SGW-C determines the second PGW-U for the terminal equipment when determining the SGW-U for the terminal equipment.
Step 1.2: and the SGW-C establishes connection with the SGW-U and sends third indication information to the PGW-C, wherein the third indication information can indicate the PGW-C to establish connection with the second PGW-U.
Step 1.3: and the PGW-C establishes connection with the second PGW-U according to the third indication information.
In one possible implementation manner, the third indication information may include identification information of the second PGW-U. In step 1.3, the PGW-C may establish a connection with the PGW-C according to the interface address of the Sxb interface of the second PGW-U.
In addition, the identification information of the second PGW-U may also be an interface identification of the Sxb interface of the second PGW-U. In one possible implementation, the interface identification may be a domain name of the Sxb interface. In step 1.3, the PGW-C may send a query request to a Domain Name System (DNS) device, and the DNS device queries an interface address corresponding to the interface identifier according to the query request, and returns the queried interface address to the PGW-C, and the PGW-C may further establish a connection with an Sxb interface of a second PGW-U according to the received interface address. In another possible implementation manner, the PGW-C may also be preconfigured with a correspondence between an interface identifier of an Sxb interface and an interface address, and the PGW-C may obtain, according to the received interface identifier of the Sxb interface, an interface address corresponding to the interface identifier, and further establish a connection with the Sxb interface of the second PGW-U according to the interface address.
In another possible implementation manner, the third indication information may also include identification information of network elements to which the SGW-U and the second PGW-U belong. In step 1.3, the PGW-C may also use the identification information of the network element as a domain name, and obtain, through the DNS device, an interface address of an Sxb interface of a second PGW-U in the network element corresponding to the network element identification. The PGW-C may also pre-store a corresponding relationship between the network element identifier and the interface address of the Sxb interface, where the network element identifier having the corresponding relationship and the interface address of the Sxb interface are included in the network element corresponding to the network element identifier, and the network element corresponding to the network element identifier includes the second PGW-U to which the Sxb interface belongs. Based on this, the PGW-C may obtain, according to the network element identifier, the interface address of the Sxb interface in the network element corresponding to the network element, and further establish Sxb connection with the network element, that is, establish connection with the Sxb interface of the second PGW-U in the network element.
Implementation mode two
The SGW-C and the PGW-C determine an SGW-U and a second PGW-U for the terminal equipment, and the method mainly comprises the following steps:
step 2.1: the SGW-C determines the SGW-U for the terminal device, and specific implementation manners may refer to the above embodiments, which are not described herein again.
Step 2.2: and the SGW-C sends fourth indication information to the PGW-C, wherein the fourth indication information is used for indicating the PGW-C to determine a second PGW-U for the terminal equipment.
Step 2.3: and the PGW-C determines a second PGW-U for the terminal equipment according to the fourth indication information.
Step 2.4: and the SGW-C establishes connection with the SGW-U, and the PGW-C establishes connection with the PGW-U.
In one possible implementation, the fourth indication information may include identification information of the SGW-U. Specifically, as one of the processing manners, the SGW-C stores information of one or more preset SGW-us, and may determine the SGW-U from the one or more preset SGW-us to provide a service for the terminal device. Similarly, the PGW-C may also store information of one or more preset PGW-us, and may determine, from the one or more preset PGW-us, a second PGW-U and a first PGW-U to provide a server for the terminal device.
The preset PGW-U information in the PGW-C comprises a corresponding relation, and the corresponding relation is used for indicating the corresponding relation between one or more preset SGW-Us and one or more preset PGW-Us, wherein the preset PGW-U corresponding to any preset SGW-U and the preset SGW-U belong to the same network element. For example, the corresponding relationship can be shown in the following table one:
watch 1
Identification information of SGW-U Identification information of PGW-U
Identification A a
Identification B b
Identification C c
Identification D d
As shown in table one, the identifier a corresponds to the identifier a, and if the identifier a is the identifier information of the SGW-U1, and the identifier a is the identifier information of the PGW-U1, the network element that belongs to the same network element as the SGW-U1 is the PGW-U1. Other identification information is the same and will not be described again.
In a first possible implementation manner of step 2.3, the PGW-C may determine, according to the identification information of the SGW-U, that, in the preset corresponding relationship, the PGW-U, of which the SGW-U corresponding to the identification information belongs to the same network element, is the second PGW-U. For example, if the identification information is an identifier a, the PGW-C may determine, based on the correspondence relationship shown in table one, that the identification information of the PGW-U corresponding to the identifier a is an identifier a. And the identifier a is the identification information of the PGW-U1, so the PGW-C may determine that the PGW-U1 is the second PGW-U providing the service for the terminal device.
In another possible implementation manner, the fourth indication information may also include location information of the terminal device. Specifically, the preset PGW-U information in the PGW-C may further include one or more preset PGW-us and their corresponding service areas, for example, as shown in the following table two:
watch two
Preset PGW-U Service area
PGW-U1 Region 1
PGW-U2 Region 2
PGW-U3 Region 3
PGW-U4 Region 4
As shown in Table two, the PGW-C is associated with four preset PGW-U: PGW-U1, PGW-U2, PGW-U3, and PGW-U4. The service area of the PGW-U1 is area 1, that is, the PGW-U1 may provide data stream transmission service for the terminal device in area 1, and other preset PGW-us have the same principle and are not described again. It can be understood that each preset PGW-U in table two may be represented in the form of identification information of the PGW-U, such as the identifications a to d in table one, which is not described herein again.
In a second possible implementation manner of step 2.3, the PGW-C may determine, according to the location information of the terminal device, a target service area to which the location information belongs. And further, determining the PGW-U corresponding to the target service area from one or more preset PGW-Us as a second PGW-U. For example, if the PGW-C determines that the location information of the terminal device is located in area 1 in table one, the PGW-U1 corresponding to area 1 may be determined as the second PGW-U.
In this implementation, although the SGW-C and the PGW-C determine the SGW-U and the second PGW-U for the terminal device, respectively, the SGW-C and the PGW-C are both determined based on the location information of the terminal device, and thus the selected SGW-U and the second PGW-U may have a relatively close service area. Under the combined scene of the SGW-U and the second PGW-U, the SGW-C and the PGW-C determine that the same network element (namely the network element where the SGW-U and the second PGW-U are located) provides service for the terminal equipment.
Implementation mode three
The PGW-C determines an SGW-U and a second PGW-U for the terminal equipment, and mainly comprises the following steps:
step 3.1: and the SGW-C sends fifth indication information to the PGW-C.
Step 3.2: and the PGW-C determines the SGW-U and the second PGW-U for the terminal equipment according to the fifth indication information.
Step 3.3: and the PGW-C establishes connection with the second PGW-U and sends sixth indication information to the SGW-C.
Step 3.4: and the SGW-C establishes connection with the SGW-U according to the sixth indication information.
Wherein the fifth indication information may include location information of the terminal device. The preset PGW-U information in the PGW-C may include one or more preset PGW-us and their corresponding service areas, as shown in table two. In step 3.2, the PGW-C may determine the second PGW-U for the terminal device by using the second possible implementation manner of step 2.3, which is not described herein again. Since the second PGW-U and the SGW-U belong to the same network element, the PGW-C determines the second PGW-U for the terminal device and also determines the SGW-U for the terminal device.
The sixth indication information may include identification information of the SGW-U, where the identification information of the SGW-U may be an interface address of an Sxa interface of the SGW-U, or an interface identification of a Sxa interface of the SGW-U. In addition, the sixth indication information may also include identification information of a network element to which the second PGW-U belongs. The specific implementation of step 3.4 can be similar to step 1.3 in the first implementation, which is not described again.
The determination method of the SGW-U and the second PGW-U is exemplarily illustrated by three specific implementation manners based on the system architecture shown in fig. 2. It can be understood that, for the system architecture shown in fig. 4, the above three specific implementation manners are still applicable to the determination of the second SGW-U and the second PGW-U in fig. 4, and are not described again.
Based on the same technical concept, the embodiment of the present invention further provides an apparatus, and fig. 5 shows a possible exemplary block diagram of the apparatus involved in the embodiment of the present application, and the apparatus 500 may exist in the form of software. The apparatus 500 may comprise: a processing unit 502 and a communication unit 503. The processing unit 502 is used for controlling and managing the operation of the apparatus 500. The communication unit 503 is used to support communication of the apparatus 500 with other network entities. The apparatus 500 may further comprise a storage unit 501 for storing program codes and data of the apparatus 500.
The processing unit 502 may be a processor or a controller, such as a general Central Processing Unit (CPU), a general purpose processor, a Digital Signal Processing (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 503 may be a communication interface, a transceiver, a transceiving circuit, or the like, wherein the communication interface is generally referred to, and in a specific implementation, the communication interface may include a plurality of interfaces. The storage unit 501 may be a memory.
The apparatus 500 may be one or more of the SGW-C, PGW-C, SGW-U and the second PGW-U, or may be a system on a chip or a chip capable of performing one or more functions of the SGW-C, PGW-C, SGW-U and the second PGW-U.
Specifically, when the apparatus 500 is an SGW-C or a system on chip or a chip capable of implementing the SGW-C function, the processing unit 502 may support the apparatus 500 to perform the actions of the SGW-C in the above method examples, and the communication unit 503 may support communication between the apparatus 500 and PGW-C, SGW-U (the first SGW-U and the second SGW-U); for example, the processing unit 502 and/or the communication unit 503 are used to support the apparatus 500 to perform S301 to S303, and S306 in fig. 3.
When the apparatus 500 is a PGW-C or a system on a chip or a chip capable of implementing a PGW-C function, the processing unit 502 may support the apparatus 500 to perform an action of the PGW-C in each of the above method examples, and the communication unit 503 may support communication between the apparatus 500 and the SGW-C, the first PGW-U, and the second PGW-U; for example, the processing unit 502 and/or the communication unit 503 are used to support the apparatus 500 to perform S304 and S305 in fig. 3.
When the apparatus 500 is an SGW-U or a system on chip or a chip capable of implementing the SGW-U function, the processing unit 502 may support the apparatus 500 to perform the SGW-U action in each of the above method examples, and the communication unit 503 may support communication between the apparatus 500 and the SGW-C, the first PGW-U, and the second PGW-U; for example, the processing unit 502 and/or the communication unit 503 are used to support the apparatus 500 to perform S307 to S310 and S312 in fig. 3.
When the apparatus 500 is a second PGW-U or a system on chip or a chip capable of implementing the second PGW-U function, the processing unit 502 may support the apparatus 500 to perform the actions of the second PGW-U in the above method examples, and the communication unit 503 may support communication between the apparatus 500 and the SGW-U, the local server, and the PGW-C; for example, the processing unit 502 and/or the communication unit 503 are used to support the apparatus 500 to execute S311 in fig. 3.
Referring to fig. 6, a schematic diagram of an apparatus according to an embodiment of the present disclosure, which may be one or more of the SGW-C, PGW-C, SGW-U and the second PGW-U in the above-mentioned embodiment, is provided. The apparatus 600 comprises: a processor 602, a transceiver 603, a memory 601. Optionally, the apparatus 600 may also include a bus 604. The transceiver 603, the processor 602, and the memory 601 may be connected to each other through a communication line 604; the communication line 604 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication lines 604 may be divided into address buses, data buses, control buses, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
In the devices of fig. 5 and 6 of the present application, the respective components are communicatively connected, i.e., the processing unit (or processor), the storage unit (or memory) and the communication unit (transceiver) communicate with each other via internal connection paths, and control and/or data signals are transmitted. The above method embodiments of the present application may be applied to a processor, or the processor may implement the steps of the above method embodiments. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. The various methods, steps, and logic blocks disclosed in this application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in this application may be directly implemented by a hardware decoding processor, or may be implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor. Although only one processor is shown in the figure, the apparatus may comprise a plurality of processors or a processor may comprise a plurality of processing units. Specifically, the processor may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
The memory is used for storing computer instructions executed by the processor. The memory may be a memory circuit or a memory. The memory may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. The memory may be independent of the processor, or may be a storage unit in the processor, which is not limited herein. Although only one memory is shown in the figure, the apparatus may comprise a plurality of memories or the memory may comprise a plurality of memory units.
The transceiver is used for enabling the processor to interact with the content of other elements or network elements. Specifically, the transceiver may be a communication interface of the apparatus, a transceiving circuit or a communication unit, and may also be a transceiver. The transceiver may also be a communication interface or transceiving circuitry of the processor. Alternatively, the transceiver may be a transceiver chip. The transceiver may also include a transmitting unit and/or a receiving unit. In one possible implementation, the transceiver may include at least one communication interface. In another possible implementation, the transceiver may also be a unit implemented in software. In embodiments of the application, the processor may interact with other elements or network elements via the transceiver. For example: the processor obtains or receives content from other network elements through the transceiver. If the processor and the transceiver are physically separate components, the processor may interact with other elements of the apparatus without going through the transceiver.
In one possible implementation, the processor, the memory, and the transceiver may be connected to each other by a bus. The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc.
For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the embodiments of the present application, various illustrations are made for the convenience of understanding. However, these examples are merely examples and are not meant to be the best mode of carrying out the present application.
In the embodiments of the present application, names of a request message, a response message, and other various messages are used for convenience of description. However, these messages are only used to illustrate the content to be carried or the functions to be implemented, and the specific names of the messages do not limit the application, for example: but also a first message, a second message, a third message, etc. These messages may be specific ones, and may be some fields in the messages. These messages may also represent various servicing operations.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The various illustrative logical units and circuits described in this application may be implemented or operated upon by design of a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in the embodiments herein may be embodied directly in hardware, in a software element executed by a processor, or in a combination of the two. The software cells may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may be disposed in a terminal device. In the alternative, the processor and the storage medium may reside as discrete components in a terminal device.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although the present application has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include such modifications and variations.

Claims (28)

1. A method for processing a data stream, comprising:
a user plane service gateway SGW-U receives second address information of the terminal equipment sent by a control plane service gateway SGW-C, wherein the second address information is used for the terminal equipment to access a local database;
after the SGW-U receives the data stream of the terminal equipment, if the data stream is determined to be the data stream of the local service, updating the source address information of the data stream into the second address information, and sending the updated data stream to a second user plane PDN gateway PGW-U;
and the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to a local server.
2. The method of claim 1, wherein before the SGW-U sends the updated data stream to the second PGW-U, the method further comprises:
the SGW-U receives second tunnel information sent by the SGW-C;
the second PGW-U receives the second tunnel information sent by the PGW-C;
the SGW-U and the second PGW-U establish a tunnel between the SGW-U and the second PGW-U according to the second tunnel information;
the SGW-U sending the updated data stream to a second PGW-U, including:
the SGW-U sends the updated data stream to the second PGW-U through a tunnel between the SGW-U and the second PGW-U.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
if the SGW-U determines that the data stream is a non-local service data stream, the SGW-U sends the data stream to a first PGW-U;
and the first PGW-U receives the data stream sent by the SGW-U and sends the data stream to a data network.
4. A method for processing a data stream, comprising:
a control plane service gateway (SGW-C) acquires position information of terminal equipment;
the SGW-C selects a user plane service gateway SGW-U and a second user plane PDN gateway PGW-U for the terminal equipment according to the position information of the terminal equipment;
the SGW-C sends indication information to a control plane PDN gateway PGW-C, wherein the indication information is used for indicating the SGW-C to select the second PGW-U for the terminal equipment;
the PGW-C receives the indication information and distributes second address information to the terminal equipment according to the indication information, wherein the second address information is used for the terminal equipment to access a local database;
the PGW-C sends the second address information to the SGW-C;
and the SGW-C receives the second address information and sends the second address information to the SGW-U.
5. The method of claim 4, further comprising:
the PGW-C sends second tunnel information to the SGW-C and the second PGW-U, where the second tunnel information is used to establish a tunnel between the SGW-U and the second PGW-U;
and the SGW-C receives second tunnel information sent by the PGW-C and sends the second tunnel information to the SGW-U.
6. The method according to claim 4 or 5, characterized in that the method further comprises:
the PGW-C sends first address information of the terminal equipment to the SGW-C, wherein the first address information is address information used for the terminal equipment to access a data network;
and the SGW-C receives the first address information and sends the first address information to the terminal equipment.
7. A method for processing a data stream, comprising:
after receiving a data stream of a terminal device, a user plane service gateway (SGW-U) sends the data stream to a second user plane PDN gateway (PGW-U) if the data stream is determined to be a data stream of a local service;
the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to a local server;
before the SGW-U sends the data stream to the second user plane PDN gateway PGW-U, the method further includes:
and the SGW-U updates the source address information in the data stream into second address information of the terminal equipment, wherein the second address information is used for the terminal equipment to access a local database.
8. The method of claim 7, wherein before the SGW-U updates the source address information in the data flow to the second address information of the terminal device, the method further comprises:
and the SGW-U receives the second address information sent by a control plane service gateway (SGW-C).
9. The method according to claim 7 or 8, characterized in that the method further comprises:
if the SGW-U determines that the data stream is a non-local service data stream, the SGW-U sends the data stream to a first PGW-U;
and the first PGW-U receives the data stream sent by the SGW-U and sends the data stream to a data network.
10. A method for processing a data stream, comprising:
the SGW-C and/or the PGW-C determine an SGW-U and a second PGW-U for the terminal equipment;
the SGW-C establishes connection with the SGW-U, and the PGW-C establishes connection with the second PGW-U;
the PGW-C distributes address information for the terminal equipment; the PGW-C sends the address information to the SGW-C; the address information comprises second address information, wherein the second address information is address information used for the terminal equipment to access a local database; the SGW-C sends the second address information to the SGW-U;
after receiving the data stream of the terminal device, if the SGW-U determines that the data stream is a data stream of a local service, updating source address information in the data stream to the second address information, and sending the updated data stream to the second PGW-U;
and the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to a local server.
11. The method of claim 10, wherein the SGW-C determines an SGW-U and a second PGW-U for the terminal device, comprising:
the SGW-C determines the SGW-U and the second PGW-U for the terminal equipment, wherein the second PGW-U and the SGW-U belong to the same network element;
the SGW-C sends third indication information to the PGW-C, where the third indication information is used to indicate that the PGW-C establishes a connection with the second PGW-U.
12. The method of claim 11, wherein the third indication information comprises identification information of the second PGW-U and/or identification information of the network element.
13. The method of claim 10, wherein the SGW-C and PGW-C determine an SGW-U and a second PGW-U for the terminal device, comprising:
the SGW-C determines the SGW-U for the terminal device, and sends fourth indication information to the PGW-C, where the fourth indication information is used to indicate the PGW-C to determine the second PGW-U for the terminal device;
and the PGW-C determines the second PGW-U for the terminal equipment according to the fourth indication information.
14. The method of claim 13, wherein the fourth indication information comprises identification information of the SGW-U;
determining, by the PGW-C, the second PGW-U for the terminal device according to the fourth indication information, including:
and the PGW-C determines a PGW-U belonging to the same network element as the SGW-U as the second PGW-U according to the identification information of the SGW-U.
15. The method of claim 14, wherein the determining, by the PGW-C, a PGW-U belonging to a same network element as the SGW-U as the second PGW-U according to the identification information of the SGW-U comprises:
the PGW-C acquires a preset corresponding relation; the corresponding relation is used for indicating PGW-U corresponding to one or more preset SGW-U respectively, wherein the PGW-U corresponding to any one preset SGW-U and the preset SGW-U belong to the same network element;
and the PGW-C determines, according to the identification information, that, in the preset correspondence, a PGW-U, of which an SGW-U corresponding to the identification information belongs to the same network element, is the second PGW-U.
16. The method according to claim 13, wherein the fourth indication information comprises location information of the terminal device;
determining, by the PGW-C, the second PGW-U for the terminal device according to the fourth indication information, including:
and the PGW-C determines, according to the location information, a PGW-U serving the location corresponding to the location information as the second PGW-U.
17. The method of claim 16, wherein the determining, by the PGW-C and according to the location information, a PGW-U serving a location corresponding to the location information as the second PGW-U comprises:
the PGW-C acquires service areas corresponding to one or more preset PGW-Us respectively;
the PGW-C determines a target service area to which the location information belongs, and determines a PGW-U corresponding to the target service area from the one or more preset PGW-Us as the second PGW-U according to the target service area.
18. The method according to claim 10, wherein the address information further comprises first address information, wherein the first address information is address information for the terminal device to access a data network; after the PGW-C sends the address information to the SGW-C, the method further includes:
and the SGW-C sends the first address information to the terminal equipment.
19. A method for processing a data stream, comprising:
a first user plane service gateway SGW-U receives second address information of the terminal equipment sent by a control plane service gateway SGW-C, wherein the second address information is address information used for the terminal equipment to access a local database;
after the first SGW-U receives the data stream of the terminal equipment, if the data stream is determined to be the data stream of the local service, the source address information of the data stream is updated to the second address information, and the updated data stream is sent to a second SGW-U;
the second SGW-U receives the data stream sent by the first SGW-U and sends the data stream to a second user plane PDN gateway PGW-U;
and the second PGW-U receives the data stream sent by the second SGW-U and sends the data stream to a local server.
20. A method for processing a data stream, comprising:
a control plane service gateway (SGW-C) acquires position information of terminal equipment;
the SGW-C selects a first user plane service gateway SGW-U, a second SGW-U and a second user plane PDN gateway PGW-U for the terminal equipment according to the position information of the terminal equipment;
the SGW-C sends indication information to a control plane PDN gateway PGW-C, wherein the indication information is used for indicating the SGW-C to select the second SGW-U and the second PGW-U for the terminal equipment;
the PGW-C receives the indication information and distributes second address information to the terminal equipment according to the indication information, wherein the second address information is used for the terminal equipment to access a local database;
the PGW-C sends the second address information to the SGW-C;
and the SGW-C receives the second address information and sends the second address information to the first SGW-U.
21. A method for processing a data stream, comprising:
after receiving a data stream of a terminal device, a first SGW-U sends the data stream to a second SGW-U if the data stream is determined to be a data stream of a local service;
the second SGW-U receives the data stream sent by the first SGW-U and sends the data stream to a second user plane PDN gateway PGW-U;
the second PGW-U receives the data stream sent by the second SGW-U and sends the data stream to a local server;
before the first SGW-U sends the data stream to the second SGW-U, the method further includes:
and the first SGW-U updates the source address information of the data flow into second address information of the terminal equipment, wherein the second address information is used for the terminal equipment to access a local database.
22. A method for processing a data stream, comprising:
the SGW-C and/or the PGW-C determine a second SGW-U and a second PGW-U for the terminal equipment;
the SGW-C establishes a connection with the second SGW-U, and the PGW-C establishes a connection with the second PGW-U;
the PGW-C distributes address information for the terminal equipment; the PGW-C sends the address information to the SGW-C; the address information comprises second address information, wherein the second address information is address information used for the terminal equipment to access a local database; the SGW-C sends the second address information to the SGW-U;
after receiving the data stream of the terminal device, if the SGW-U determines that the data stream is a data stream of a local service, updating source address information in the data stream to the second address information, and sending the updated data stream to the second PGW-U;
and the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to a local server.
23. A data flow processing system is characterized by comprising a user plane service gateway (SGW-U), a control plane service gateway (SGW-C), a control plane PDN gateway (PGW-C) and a second user plane PDN gateway (PGW-U), wherein:
the SGW-C is used for acquiring the position information of the terminal equipment; selecting the SGW-U and the second PGW-U for the terminal equipment according to the position information of the terminal equipment; sending indication information to the PGW-C, where the indication information is used to indicate that the SGW-C selects the second PGW-U for the terminal device;
the PGW-C is configured to receive the indication information, and allocate second address information to the terminal device according to the indication information, where the second address information is address information used for the terminal device to access a local database; sending the second address information to the SGW-C;
the SGW-C is further configured to receive the second address information and send the second address information to the SGW-U;
the SGW-U is used for receiving second address information of the terminal equipment sent by the SGW-C; after receiving the data stream of the terminal device, if it is determined that the data stream is a data stream of a local service, updating source address information of the data stream to the second address information, and sending the updated data stream to the second PGW-U;
the second PGW-U is configured to receive the data stream sent by the SGW-U, and send the data stream to a local server.
24. A data flow processing system is characterized by comprising a user plane service gateway (SGW-U), a control plane service gateway (SGW-C), a control plane PDN gateway (PGW-C) and a second user plane PDN gateway (PGW-U), wherein:
the SGW-C and/or the PGW-C are used for determining an SGW-U and a second PGW-U for the terminal equipment; the SGW-C is used for establishing connection with the SGW-U, and the PGW-C is used for establishing connection with the second PGW-U;
the SGW-U is configured to, after receiving the data stream of the terminal device, update source address information of the data stream to second address information of the terminal device if it is determined that the data stream is a data stream of a local service, and send the data stream to the second PGW-U, where the second address information is address information used for the terminal device to access a local database;
the second PGW-U is configured to receive the data stream sent by the SGW-U, and send the data stream to a local server.
25. A data flow processing system is characterized by comprising a first user plane service gateway (SGW-U), a second SGW-U, a control plane service gateway (SGW-C), a control plane PDN gateway (PGW-C) and a second user plane PDN gateway (PGW-U), wherein:
the SGW-C is used for acquiring the position information of the terminal equipment; selecting a first user plane service gateway (SGW-U), a second SGW-U and a second user plane PDN gateway (PGW-U) for the terminal equipment according to the position information of the terminal equipment; sending indication information to the PGW-C, where the indication information is used to indicate that the SGW-C selects the second SGW-U and the second PGW-U for the terminal device;
the PGW-C is configured to receive the indication information, and allocate second address information to the terminal device according to the indication information, where the second address information is address information used for the terminal device to access a local database; sending the second address information to the SGW-C;
the SGW-C is further configured to receive the second address information and send the second address information to the first SGW-U;
the first SGW-U is used for receiving second address information of the terminal equipment sent by the SGW-C; after receiving the data stream of the terminal device, if the data stream is determined to be the data stream of the local service, updating the source address information of the data stream to the second address information, and sending the updated data stream to the second SGW-U;
the second SGW-U is configured to receive the data stream sent by the first SGW-U, and send the data stream to a second PGW-U;
the second PGW-U is configured to receive a data stream sent by the second SGW-U, and send the data stream to a local server.
26. A data flow processing system is characterized by comprising a first user plane service gateway (SGW-U), a second SGW-U, a control plane service gateway (SGW-C), a control plane PDN gateway (PGW-C) and a second user plane PDN gateway (PGW-U), wherein:
the SGW-C and/or the PGW-C are used for determining a second SGW-U and a second PGW-U for the terminal equipment; the SGW-C is used for establishing connection with the second SGW-U, and the PGW-C is used for establishing connection with the second PGW-U;
the first SGW-U is configured to, after receiving the data flow of the terminal device, update source address information of the data flow to second address information of the terminal device if it is determined that the data flow is a data flow of a local service, and send the data flow to the second SGW-U, where the second address information is address information used for the terminal device to access a local database;
the second SGW-U is configured to receive the data stream sent by the first SGW-U, and send the data stream to a second PGW-U;
the second PGW-U is configured to receive a data stream sent by the second SGW-U, and send the data stream to a local server.
27. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the data stream processing method of any one of claims 1 to 22.
28. A data stream processing apparatus, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the data stream processing method of any of claims 1 to 22 in accordance with the obtained program.
CN201910299927.2A 2018-08-27 2019-04-15 Data stream processing method, device and system Active CN110868762B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/102681 WO2020043074A1 (en) 2018-08-27 2019-08-27 Data stream processing method, apparatus and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2018109819670 2018-08-27
CN201810981967 2018-08-27

Publications (2)

Publication Number Publication Date
CN110868762A CN110868762A (en) 2020-03-06
CN110868762B true CN110868762B (en) 2022-04-12

Family

ID=69652116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910299927.2A Active CN110868762B (en) 2018-08-27 2019-04-15 Data stream processing method, device and system

Country Status (1)

Country Link
CN (1) CN110868762B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473569B (en) * 2020-03-31 2023-05-12 华为技术有限公司 Discovery method of application server and related device
CN114629791B (en) * 2020-12-21 2024-03-26 亚信科技(中国)有限公司 Data processing method, device, electronic equipment and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828315A (en) * 2016-03-11 2016-08-03 北京北方烽火科技有限公司 Method and system for selecting service gateway
CN106559917A (en) * 2015-09-30 2017-04-05 中国移动通信集团公司 The initial adherence method of user equipment and system
EP3177099A2 (en) * 2015-12-04 2017-06-07 Quortus Limited A network element system
CN106912117A (en) * 2015-12-22 2017-06-30 电信科学技术研究院 The method and chain of command node of a kind of selection user face nodes
CN106937271A (en) * 2015-12-31 2017-07-07 电信科学技术研究院 The motion management method of terminal device and the chain of command functional entity of gateway

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102369741B (en) * 2009-05-13 2015-02-25 华为技术有限公司 Method, device and system for paging user equipment
CN106686543A (en) * 2015-11-06 2017-05-17 中兴通讯股份有限公司 Serving gateway management method and serving gateway management device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559917A (en) * 2015-09-30 2017-04-05 中国移动通信集团公司 The initial adherence method of user equipment and system
EP3177099A2 (en) * 2015-12-04 2017-06-07 Quortus Limited A network element system
CN106912117A (en) * 2015-12-22 2017-06-30 电信科学技术研究院 The method and chain of command node of a kind of selection user face nodes
CN106937271A (en) * 2015-12-31 2017-07-07 电信科学技术研究院 The motion management method of terminal device and the chain of command functional entity of gateway
CN105828315A (en) * 2016-03-11 2016-08-03 北京北方烽火科技有限公司 Method and system for selecting service gateway

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP.Architecture enhancements for control and user plane separation of EPC nodes.《3GPP TS 23.214 V15.3.0》.2018, *
Architecture enhancements for control and user plane separation of EPC nodes;3GPP;《3GPP TS 23.214 V15.3.0》;20180630;正文第4-5章 *

Also Published As

Publication number Publication date
CN110868762A (en) 2020-03-06

Similar Documents

Publication Publication Date Title
CN109981316B (en) Switching method of application server, session management network element and terminal equipment
EP3993347A1 (en) Method and device for application migration
US11240198B2 (en) Session management method and apparatus
CN106993067B (en) Route issuing method and equipment
CN110365727B (en) Communication method and related device
EP4149084A1 (en) Address management method and system, and device
JP7296993B2 (en) Communication method and communication device
CN110972226B (en) Local area network communication method, device and system
CN112740642B (en) Communication method and multi-access edge computing server
US20170244647A1 (en) Method for Managing Hardward Resource, Method for Querying Location of Hardware Resource, and Related Apparatus
US20130223339A1 (en) Radio communication system, radio communication method, and gateway
CN111901132A (en) Group management method, device and system
CN110868762B (en) Data stream processing method, device and system
US20190394682A1 (en) Session migration method and device
CN109314893B (en) Switching method and device
US10863555B2 (en) Access method, apparatus, device, and system
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN106028311A (en) Terminal register method and device
CN113194519A (en) Network slice access method, NSSF, AMF and system
CN107615238B (en) Method for accessing local network and related equipment
WO2020043074A1 (en) Data stream processing method, apparatus and system
JP2023541662A (en) Data steering method and device
CN114531320A (en) Communication method, device, equipment, system and computer readable storage medium
CN112996137A (en) Method for establishing data connection on multi-operation system terminal
WO2018188447A1 (en) Ip address configuration method and device

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