WO2020043074A1 - Data stream processing method, apparatus and system - Google Patents

Data stream processing method, apparatus and system Download PDF

Info

Publication number
WO2020043074A1
WO2020043074A1 PCT/CN2019/102681 CN2019102681W WO2020043074A1 WO 2020043074 A1 WO2020043074 A1 WO 2020043074A1 CN 2019102681 W CN2019102681 W CN 2019102681W WO 2020043074 A1 WO2020043074 A1 WO 2020043074A1
Authority
WO
WIPO (PCT)
Prior art keywords
sgw
pgw
data stream
terminal device
information
Prior art date
Application number
PCT/CN2019/102681
Other languages
French (fr)
Chinese (zh)
Inventor
周军平
陆伟
Original Assignee
华为技术有限公司
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
Priority claimed from CN201910299927.2A external-priority patent/CN110868762B/en
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020043074A1 publication Critical patent/WO2020043074A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements

Definitions

  • the present application relates to the field of wireless communication technologies, and in particular, to a data stream processing method, device, and system.
  • the 3rd Generation Partnership Project (3GPP) describes an evolved packet core network (EPC) network architecture. Based on this network architecture, data flow can be transferred between the terminal and the server.
  • EPC evolved packet core network
  • OCS online charging system
  • LIG lawful interception gateway
  • LIG lawful interception gateway
  • the embodiments of the present application provide a data stream processing method, device and system for monitoring local services of a terminal device.
  • 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 a terminal device sent by the control plane service gateway SGW-C; after that, the SGW-U receives After the data flow of the terminal device is determined, if the data flow of the terminal device is determined to be a data flow of the local service, the source address information of the data flow is updated to the second address information, and the updated data flow is sent to the second user plane.
  • PDN gateway PGW-U; the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to the local server.
  • 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 can be used as the first
  • the anchor point where the terminal device corresponding to the two address information accesses the local server that is, the terminal device is allocated a PDN connection dedicated to transmitting the data stream of the local service, which solves the traffic generated when the terminal device sends the data stream to the local server. Roundabout problem.
  • the PGW-U itself has the function of obtaining related information for service monitoring in the data stream.
  • the second PGW-U is used to send the data stream to the local server, which can reduce the circuitous traffic and realize the local business. Monitoring.
  • the method further includes: the SGW-U receives the second tunnel information sent by the SGW-C; the second PGW-U receives Second tunnel information sent by PGW-C; SGW-U and second PGW-U establish a tunnel between SGW-U and second PGW-U based on the second tunnel information; in this case, SGW-U will update
  • the subsequent data stream is sent to the second PGW-U, including: the SGW-U sends the updated data stream to the second PGW-U through the tunnel between the SGW-U and the second PGW-U.
  • SGW-U and PGW-U are transmitted through a tunnel.
  • the embodiment of the present application constructs a tunnel between the SGW-U and the second PGW-U by using the second tunnel information, so that the SGW-U and the second PGW-U can transmit a data stream according to an existing transmission mode.
  • the method further includes: if the SGW-U determines that the data stream is a non-local service data stream, sending the data stream to the first PGW-U; the first PGW-U receives the SGW-U Send the data stream and send the received data stream to the data network.
  • an embodiment of the present application provides a data stream processing method, which includes: a control plane service gateway SGW-C obtaining location information of a terminal device; the SGW-C further selects a user plane service for the terminal device based on the location information of the terminal device The gateway SGW-U and the second user plane PDN gateway PGW-U; thereafter, the SGW-C sends instruction information to the control plane PDN gateway PGW-C, and the instruction information is used to instruct SGW-C to select a second PGW- for the terminal device.
  • PGW-C receives the instruction information and assigns the second address information to the terminal device according to the instruction information; after that, PGW-C sends the second address information to SGW-C; SGW-C receives the second address information and The second address information is sent to the SGW-U.
  • the SGW-U can obtain the second address information corresponding to the second PGW-U allocated by the PGW-C to the terminal device, so that when the data flow of the terminal device is the data flow of the local service, the data The source address information of the stream is updated to the second address information, so that the data stream is shunted.
  • the method further includes: the PGW-C sends second tunnel information to the SGW-C and the second PGW-U, and the second tunnel information is used to establish the SGW-U and the second PGW- The tunnel between U; after that, SGW-C receives the second tunnel information sent by PGW-C, and sends the second tunnel information to SGW-U.
  • the second PGW-U and SGW-U can receive the second tunnel information from PGW-C and SGW-C, respectively, so that the communication between the second PGW-U and SGW-U can be established according to the second tunnel information. tunnel.
  • the method further includes: the PGW-C sends the first address information of the terminal device to the SGW-C; the SGW-C receives the first address information and sends the first address information to the terminal device .
  • the terminal device can obtain the first address information allocated by the PGW-C, so that the first address information can be used as the source address information to send a data stream.
  • This process is compatible with the existing terminal device processing logic, reducing the The impact of local service offload on the processing logic of terminal equipment.
  • an embodiment of the present application provides a data stream processing method, including: after receiving a data stream of a terminal device from a user plane service gateway SGW-U, if it is determined that the data stream is a data stream of a local service, The data stream is sent to the second user plane PDN gateway PGW-U; the second PGW-U receives the data stream sent by the SGW-U, and sends the data stream to the local server.
  • the method further includes: the SGW-U receives the data sent by the control plane service gateway SGW-C.
  • the method further includes: if the SGW-U determines that the data stream is a non-local service data stream, sending the data stream to a first PGW-U; the first A PGW-U receives a data stream sent by the SGW-U, and sends the data stream to a data network.
  • an embodiment of the present application provides a data stream processing method, including: SGW-C and / or PGW-C determining an SGW-U and a second PGW-U for a terminal device; the SGW-C and the SGW -U establishes a connection, and the PGW-C establishes a connection with the second PGW-U.
  • the determining, by the SGW-C for the terminal device, an SGW-U and a second PGW-U includes:
  • the SGW-C sends third instruction information to the PGW-C, where the third instruction information is used to instruct the PGW-C to establish a connection with the second PGW-U.
  • the third indication information includes identification information of the second PGW-U, and / or identification information of the network element.
  • the SGW-C and PGW-C determine an SGW-U and a second PGW-U for the terminal device, including:
  • the fourth indication information includes identification information of the SGW-U; the PGW-C determines the second PGW-U for the terminal device according to the fourth indication information
  • the method includes: the PGW-C determines, according to the identification information of the SGW-U, a PGW-U belonging to the same network element as the SGW-U as the second PGW-U.
  • the PGW-C determines, as the second PGW-U, the PGW-U belonging to the same network element as the SGW-U according to the identification information of the SGW-U, including:
  • the PGW-C obtains a preset correspondence relationship; the correspondence relationship is used to indicate one or more preset PGW-Us respectively corresponding to the SGW-U, and any one of the preset SGW-Us corresponds to the PGW-U Belongs to the same network element as the preset SGW-U; the PGW-C determines, based on the identification information, that among the preset correspondences, the SGW-U corresponding to the identification information belongs to the same network element PGW-U is the second PGW-U.
  • the fourth indication information includes location information of a terminal device; and the PGW-C determines the second PGW-U for the terminal device according to the fourth indication information, including: The PGW-C determines, as the second PGW-U, a PGW-U that provides services to a location corresponding to the location information according to the location information.
  • the PGW-C determines, as the second PGW-U, a PGW-U that provides services for a location corresponding to the location information according to the location information, including the PGW-U C obtains 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 according to the target service area, from the one or more A PGW-U corresponding to the target service area is determined in the set PGW-U as the second PGW-U.
  • the method further includes: the PGW-C assigns address information to the terminal device; and the PGW-C sends the address information to the SGW-C.
  • the address information includes second address information; after the PGW-C sends the address information to the SGW-C, the method further includes: the SGW-C sends the first address information The two address information is sent to the SGW-U.
  • the address information further includes first address information; after the PGW-C sends the address information to the SGW-C, the method further includes: the SGW-C sends the address information The first address information is sent to the terminal device.
  • the PGW-C selecting an SGW-U and a second PGW-U for the terminal device includes: the PGW-C receives the SGW-C and sends second instruction information; The PGW-C selects the second PGW-U and the SGW-U for the terminal device according to the second instruction information, wherein the SGW-U and the second PGW-U belong to the same network element ; The PGW-C sends third instruction information to the SGW-C, and the third instruction information is used to instruct the SGW-C to establish a connection with the SGW-U.
  • the second indication information includes location information of the terminal device.
  • the third indication information includes identification information of the SGW-C, or identification information of the network element.
  • 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 a terminal device sent by the control plane service gateway SGW-C; and then, the first SGW -U 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, the source address information of the data stream is updated to the above-mentioned second address information, and the updated data stream is sent 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 the second user plane PDN gateway PGW-U; the second PGW-U receives the data sent by the second SGW-U Stream and send that data stream to the local server.
  • an embodiment of the present application provides a data stream processing method, including: a control plane service gateway SGW-C obtains location information of a terminal device; and thereafter, the SGW-C selects a first terminal device for the terminal device according to the location information of the terminal device
  • the terminal device selects a second SGW-U and a second PGW-U.
  • the PGW-C receives the instruction information and assigns the second address information to the terminal device according to the instruction information. After that, the PGW-C sends the first address information to the terminal device.
  • the second address information is sent to the SGW-C; the SGW-C receives the second address information and sends the received second address information to the first SGW-U.
  • an embodiment of the present application provides a data stream processing method, including: after the first SGW-U receives a data stream of the terminal device, if it is determined that the data stream is a data stream of a local service, Sending the data stream to the second SGW-U; the second SGW-U receiving the data stream sent by the first SGW-U, and sending the data stream to the second user plane PDN gateway PGW-U The second PGW-U receives a data stream sent by the second SGW-U, and sends the data stream to a local server.
  • an embodiment of the present application provides a data stream processing method, including: SGW-C and / or PGW-C determining a second SGW-U and a second PGW-U for a terminal device; the SGW-C and all The second SGW-U establishes a connection, and the PGW-C establishes a connection with the second PGW-U.
  • an embodiment of the present application provides a data stream processing system.
  • the system includes 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.
  • SGW-C is used to obtain the location information of the terminal device; and based on the location information of the terminal device, SGW-U and the second PGW-U are selected for the terminal device; after that, an instruction is sent to the PGW-C Information, the instruction information is used to instruct the SGW-C to select the second PGW-U for the terminal device; PGW-C is used to receive the instruction information sent by the SGW-C, and allocate the first Second address information; after that, send the second address information to the above SGW-C; SGW-C is also used to receive the second address information and send the second address information to SGW-U; SGW-U is used for Receive the second address information of the terminal device sent by the SGW-C; after receiving the data flow of the terminal device, if it is determined that the data flow is a data flow of a local service, update the source address information of the data flow to the first Two address information, and send the updated data stream to A second PGW-U; a second PGW-U, configured to receive
  • an embodiment of the present application provides a data stream processing system, including 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 ,
  • the SGW-C and / or the PGW-C are used to determine an SGW-U and a second PGW-U for a terminal device
  • the SGW-C is used to establish a connection with the SGW-U, so
  • the PGW-C is configured to establish a connection with the second PGW-U
  • the SGW-U is configured to receive the data stream of the terminal device, and if it is determined that the data stream is a data stream of a local service, Sending the data stream to the second PGW-U
  • the second PGW-U is configured to receive a data stream sent by the SGW-U, and send the data stream to a local server.
  • an embodiment of the present application provides a data stream processing system, which includes a first user plane service gateway SGW-U, a second SGW-U, a control plane service gateway SGW-C, and a control plane PDN gateway PGW- C and the second user plane PDN gateway PGW-U, where: SGW-C is used to obtain the location information of the terminal device; and according to the location information of the terminal device, the first user plane service gateway SGW-U is selected for the terminal device , The second SGW-U, and the second user plane PDN gateway PGW-U; after that, send instruction information to the PGW-C, which is used to instruct the SGW-C to select a second SGW-U and a second SGW-U for the terminal device.
  • PGW-U; PGW-C for receiving the instruction information sent by SGW-C, and assigning the second address information to the terminal device according to the instruction information; thereafter, sending the second address information to the above SGW-C; the above SGW -C is also used to receive the second address information and send the second address information to the first SGW-U; the first SGW-U is used to receive the second address information of the terminal device sent by the SGW-C; After receiving the data stream from the terminal device, if it is determined that the data stream is a data stream for local services , The source address information of the data stream is updated to the above-mentioned second address information, and the updated data stream is sent to the second SGW-U; the second SGW-U is configured to receive data sent by the first SGW-U And send the data stream to the second PGW-U; the second PGW-U is used to receive the data stream sent by the second SGW-U and send the received data stream to the local server.
  • an embodiment of the present application provides a data stream processing system including 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 The second user plane PDN gateway PGW-U, wherein: the SGW-C and / or the PGW-C are used to determine a second SGW-U and a second PGW-U for the terminal device; the SGW-C is used for After establishing a connection with the second SGW-U, the PGW-C is used to establish a connection with the second PGW-U; the first SGW-U is used after receiving a data stream from the terminal device If it is determined that the data flow is a data flow of a local service, sending the data flow to the second SGW-U; the second SGW-U is configured to receive the data sent by the first SGW-U A data stream, and sends the data stream to a second PGW-U; the second PGW
  • an embodiment of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores computer-executable instructions.
  • the computer-readable storage medium runs on a computer, the computer causes the computer to perform the operations provided in any of the foregoing aspects. method.
  • an embodiment of the present application provides a device, including: a memory for storing program instructions; a processor for calling the program instructions stored in the memory, and executing the provided in any of the foregoing aspects according to the obtained program. Data stream processing methods.
  • an embodiment of the present application provides a computer program product that, when run on a computer, causes the computer to execute the data stream processing method provided in any one of the above aspects.
  • Figure 1 is an EPC network architecture with gateway C / U separated;
  • FIG. 2 is a schematic diagram of a system architecture according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a data stream processing method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of another EPC system architecture according to an embodiment of the present application.
  • FIG. 5 is a possible exemplary block diagram of a device involved in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present application.
  • the EPC network architecture can realize the transfer of data flow between the terminal and the server.
  • the EPC network architecture includes a serving gateway (SGW) and a packet data network (PDN) gateway (PDN).
  • SGW serving gateway
  • PDN packet data network gateway
  • 3GPP protocol the case where the gateway C / U is separated in the EPC network architecture is described, as shown in FIG. 1.
  • FIG. 1 shows an EPC network architecture with gateway C / U separated.
  • the gateway C / U separation refers to the division of a gateway into a control plane gateway and a user plane gateway according to functional division.
  • the SGW is split into a user plane SGW gateway (server gateway for the user plane (SGW-U)) and a control plane SGW gateway (server gateway for the control plane (SGW-C)).
  • the SGW-U can implement non- The user plane function of the SGW in the EPC network architecture with separated network element C / U
  • SGW-C can implement the control plane function of the SGW in the EPC network architecture with non-network element C / U separation.
  • PGW is split into a user plane PGW gateway (PDN gateway for PGW-U) and a control plane PDN gateway (PDN gateway for control plane (PGW-C)).
  • PGW-U can realize non- The user plane function of the PGW in the EPC network architecture with separated network element C / U.
  • PGW-C can implement the control plane function of the PGW in the EPC network architecture with no network element C / U separation.
  • the EPC network architecture also includes a mobility management entity (MME) and a home subscriber server (HSS), where the MME is used to manage the movement of user equipment (UE) AM and session context.
  • MME mobility management entity
  • HSS home subscriber server
  • monitoring network elements related to monitoring functions such as charging gateway (CG), online charging system (OCS), and lawful interception gateway (LIG).
  • CG charging gateway
  • OCS online charging system
  • LIG lawful interception gateway
  • PGW-C can These monitoring network elements are used to monitor terminal services, such as billing and legal monitoring of terminal services.
  • the PGW-C when the UE is activated, the PGW-C can assign the terminal device's IP address to the terminal device and the PGW-U corresponding to the terminal device's IP address, and the SGW-C can use the terminal's location information Assign the SGW-U that is closer to the UE to the terminal.
  • the terminal device accesses the data network
  • the source address information in the data stream sent to the base station (E-UTRN) in the universal mobile communication system terrestrial radio access network (UTRN) is assigned by PGW-C. IP address, the base station receives the data stream sent by the terminal device and sends the data stream to the SGW-U.
  • the SGW-U receives the data stream of the terminal device sent by the base station, and sends the data stream to the PGW-U corresponding to the source address according to the source address in the data stream (that is, the IP address assigned by the PGW-C to the terminal device).
  • the PGW-U receives the data stream sent by the SGW-U and sends the data stream to the data network.
  • PGW-U is the anchor point for the terminal device to access the data network, that is, when the terminal device accesses the data network, the data stream of the terminal device will be fixedly sent to the IP address of the terminal device.
  • the corresponding PGW-U sends the data stream to the data network.
  • PGW-C assigns IP addresses IPa and PGW-U to the terminal.
  • the source address in the data stream sent by the terminal device is IPa.
  • the data stream will be sent to PGW-U A, PGW-U A sends the data stream of the terminal equipment to the data network.
  • 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.
  • MEC edge gateway
  • 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.
  • SGW-U does not Will receive the data flow of the local service, and will not send the data flow of the local service to the PGW-U, thereby solving the traffic bypass problem.
  • the data flow can be divided before the data flow reaches the SGW-U, the problem of circuitous traffic can be solved.
  • the PGW -C will not be able to obtain relevant information for local service monitoring from the data stream of the local service from PGW-U, such as the type of local service corresponding to the data stream, the size of the data stream, the content of the data stream, etc., making PGW- C cannot monitor the local services of the terminal equipment.
  • an embodiment of the present application provides a data stream processing method.
  • the technical solutions provided by the embodiments of the present application are described below with reference to the drawings.
  • FIG. 2 is a schematic diagram of a system architecture provided by an embodiment of the present application, and the system architecture is applicable to any method provided by the embodiment of the present application.
  • the system includes SGW-U, SGW-C, PGW-C, second PGW-U, and first PGW-U, and further includes MME, local server, etc.
  • MME mobile electronic book
  • the display architecture is a simplified system architecture. In practical applications, the system architecture may also include other network elements, such as base stations, HSS, CG, OCS, LIG, etc. as shown in FIG. 1.
  • the network architecture and service scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application.
  • Those of ordinary skill in the art know that with the network The evolution of the architecture and the emergence of new business scenarios.
  • the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
  • the second PGW-U in the embodiment of the present application may be an independent PGW-U gateway device or a device including PGW-U and other functions.
  • the second PGW-U in the embodiment of the present application U can also be SPGW-U including a PGW-U gateway and SGW-U.
  • SPGW-U is a gateway that can implement both the PGW-U function and the SGW-U function.
  • the PGW-U function implemented by the SPGW-U is used, and therefore is also included in the embodiments of the present application.
  • the terminal device in the embodiment of the present application is a device with a wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on the water (such as a ship); it can also be deployed in the air (Such as on airplanes, balloons, and satellites).
  • the terminal may be a mobile phone, a tablet, a computer with a wireless transmitting and receiving function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, or an industrial control.
  • the interface between the base station and the SGW-U may be referred to as an S1-U interface
  • the interface between the SGW-U and the first PGW-U may be referred to as an S5-U interface or an S8-U interface
  • the first PGW-U The interface between U and the data network can be called the SGi interface
  • the interface between PGW-C and the first PGW-U and the second PGW-U can be called the Sxb interface
  • the interface between SGW-C and SGW-U It can be called Sxa
  • the interface between SGW-C and PGW-C can be called S5-C interface or S8-C interface.
  • the foregoing functions may be network elements in a hardware device, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform).
  • a platform for example, a cloud platform.
  • the names of the network elements are not limited. As the technology evolves, each network element having the same or similar function may also specify another name.
  • SGW-C and PGW-C can be implemented by session management function (SMF) network elements
  • SGW-U and second PGW-U can be implemented by users Plane function (user plane function (UPF)) network element implementation.
  • SGW-C and PGW-C can be implemented by session management function (SMF) network elements
  • SGW-U and second PGW-U can be implemented by users Plane function (user plane function (UPF)) network element implementation.
  • PPF user plane function
  • the SGW-U and the second PGW-U may belong to different network elements or may belong 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 functions of the SGW-U and the second PGW-U may be implemented by the SPGW-U.
  • the method provided in the embodiment of the present application is exemplarily described by using specific embodiments. It should be noted that the network element is a name of the device, and the name of the device is not limited thereto.
  • FIG. 3 is a schematic flowchart of a data stream processing method according to an embodiment of the present application. As shown in FIG. 3, the method mainly includes the following steps:
  • S301 SGW-C obtains the location information of the terminal device.
  • the location information of the terminal device may be obtained by the SGW-C from a network element (such as an MME) having a positioning function in the EPC system architecture.
  • a network element such as an MME
  • the terminal device when the terminal device is activated (for example, the terminal device is turned on or the airplane mode is turned off), it sends an activation request to the base station to obtain the address information allocated by the PGW-C.
  • the activation request usually includes the user identification of the terminal device, such as the user's mobile phone number.
  • the base station receives the activation request sent by the terminal device, and sends the activation request to the MME.
  • the MME obtains the location information of the terminal device, and sends an activation request and the location information of the terminal device to the SGW-C.
  • the SGW-C selects the SGW-U and the second PGW-U for the terminal device according to the location information of the terminal device.
  • one SGW-C corresponds to at least one SGW-U, and the SGW-C is pre-configured with position information of at least one SGW-U corresponding to the SGW-C.
  • SGW-C corresponds to multiple SGW-Us, different SGW-Us can be located in the same or different communication areas.
  • the communication area may be a tracking area (TA), a tracking area list (TA list), or the like.
  • a correspondence relationship between the SGW-U and the second PGW-U is pre-configured in the SGW-C, and the SGW-U and the second PGW-U that have the correspondence relationship can be located in the same communication. region.
  • the SGW-U and the second PGW-U that have a corresponding relationship can be implemented by the same user plane gateway, that is, the user plane gateway including the SGW-U and the second PGW-U is used to implement the SGW-U in the embodiment of the present application. And the function of the second PGW-U.
  • the SGW-C may select 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 at least one SGW-U corresponding to the pre-configured SGW-C. The nearest SGW-U. After that, the SGW-C selects the second PGW-U for the terminal device based on the pre-configured correspondence between the SGW-U and the second PGW-U. For example, after SGW-C selects SGW-U for the terminal device based on the location information of the terminal device, it further selects the corresponding SGW-U for the terminal device based on the correspondence between SGW-U and the second PGW-U. PGW-U A.
  • the SGW-C sends instruction information to the PGW-C.
  • the indication information may include a user identifier of the terminal device, such as a user's mobile phone number, so that when PGW-C monitors the service of the terminal device, the user to which the terminal device belongs can be determined.
  • the PGW-C receives the instruction information sent by the SGW-C, and allocates the second address information to the terminal device according to the instruction information.
  • PGW-C There is a correspondence relationship between PGW-C and at least one first PGW-U, and address information of at least one corresponding first PGW-U is configured in advance. After receiving the indication information, the PGW-C may also select a first PGW-U for the terminal according to the load of at least one PGW-U, and the first PGW-U may be used as an anchor point for the terminal device to access the data network.
  • the PGW-C may allocate at least two network address information to the terminal device: first address information and second address information.
  • first address information is address information allocated by the PGW-C to the terminal device for accessing the data network.
  • the second address information is address information allocated by the terminal device for accessing a local database.
  • the first address information and the second address information may be an IPv4 address, an IPv6 address, an IPv4v6 address, and the like.
  • SGW-C and PGW-C may be implemented by the same control plane gateway, that is, the functions of SGW-C and PGW-C in the embodiment of the present application are implemented by a control plane gateway including SGW-C and PGW-C.
  • the PGW-C sends the second address information to the SGW-C.
  • the second address information may be sent to the SGW-U. Since there is no interface between the PGW-C and the SGW-U, the PGW-C may send the second address information to the SGW-C first, and the SGW-C sends the second address information to the SGW-U. In a possible implementation manner, the PGW-C may also send the first address information to the SGW-C.
  • the SGW-C receives the second address information sent by the PGW-C, and sends the second address information to the SGW-U.
  • the SGW-C may further receive the 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.
  • the SGW-U receives the second address information sent by the terminal, and receives the data stream of the terminal device.
  • the terminal equipment After receiving the address information assigned by PGW-C, the terminal equipment completes the activation.
  • the terminal device may send the data stream to the base station by using the first address information as the source address information.
  • the base station receives the data stream sent by the terminal equipment and forwards it 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 a possible implementation manner, the SGW-U executes S312 when the data flow of the terminal device is not the data flow of the local service.
  • the SGW-U may determine whether the data flow of the terminal device is a data flow of a local service according to a preset traffic distribution rule. For example, 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 stream is a data stream of a local service.
  • the shunting rules can be pre-configured in the SGW-U or pre-configured in the SGW-C, and the SGW-C sends it to the SGW-U during the terminal activation process. No more restrictions.
  • the SGW-U updates the source address information of the data stream to the second address information.
  • the source address information of the data stream is the first address information allocated by the PGW-C to the terminal device.
  • the SGW-U updates the source address information in the data flow of the local service to the second address information according to the second address information sent by the SGW-C.
  • the SGW-U sends the updated data stream to the second PGW-U.
  • the second PGW-U receives the updated data stream sent by the SGW-U, and sends the data stream to the local server.
  • the local server may be relative to the SGW-U, that is, the local server and the SGW-U are in the same communication area.
  • the local server can be either a single server or a server cluster composed of multiple servers, such as a local area network.
  • the second PGW-U may also obtain relevant information for service monitoring in the data stream and send it to the PGW-C, thereby realizing the monitoring of local services of the terminal device.
  • the second PGW-U may send monitoring information to the PGW-C through the Sxb interface between the second PGW-U and the PGW-C.
  • PGW-C can also provide the address information of the LIG to the second PGW-U, and provide the address information of the second PGW-U to the LIG, so that the X3-U interface is established between the second PGW-U and the LIG.
  • the second PGW-U can directly send the monitoring information for legal interception to the LIG through the X3-U interface.
  • the SGW-U sends the data stream to the first PGW-U.
  • the first PGW-U receives the data stream sent by the SGW-U, and sends the data stream to the data network.
  • the first PGW-U can also obtain relevant information for service monitoring in the data stream and send it to PGW-C, so as to realize the monitoring of the services of the terminal device.
  • 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 can be used as the anchor point for accessing the local server corresponding to the second address information, that is, the terminal device is allocated a PDN connection dedicated to transmitting the data stream of the local service, which solves the problem when the terminal device sends the data stream to the local server.
  • the PGW-U itself has the function of obtaining related information for service monitoring in the data stream.
  • the second PGW-U is used to send the data stream to the local server, which can reduce the circuitous traffic while achieving local business Monitoring.
  • SGW-U and PGW-U are transmitted through a tunnel. 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-U address information and the second PGW-U address information Send to PGW-C.
  • the PGW-C will also allocate the first tunnel information and the second tunnel information to the terminal device.
  • the second tunnel information may include address information of the SGW-U and / or address information of the second PGW-U.
  • the address information of the SGW-U and the second PGW-U is sent by the SGW-C to the PGW-C.
  • the second tunnel information sent by the PGW-C to the second PGW-U may include address information of the SGW-U
  • 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, the SGW-U, and the first
  • the two PGW-Us establish a tunnel between the SGW-U and the second PGW-U according to the second tunnel information.
  • the second tunnel information may further include a tunnel identifier on the second PGW-U side, and the tunnel identifier corresponds to the second address information of the terminal device.
  • the PGW-C may allocate the tunnel identifier to the terminal device after receiving the instruction information.
  • the PGW-C may send the second address information allocated to the terminal device to the second PGW-U, and after receiving the second address information, the second PGW-U is the second address. Information is assigned to the corresponding tunnel identifier, and the tunnel identifier is sent to 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 by the SGW-U to send the updated terminal to the second PGW-U The data flow of the device.
  • 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 also establish a downlink tunnel between the SGW-U and the second PGW-U through the second tunnel information, and the downlink tunnel is used by the second PGW-U to send a local server to the SGW-U to The data stream sent by the terminal device.
  • the SGW-U updates the source address information of the data flow to the second address information and updates the updated address through the uplink tunnel with the second PGW-U.
  • the data stream is sent to the second PGW-U.
  • the SGW-U may encapsulate the updated data stream according to the tunnel identifier on the second PGW-U side and the address information of the second PGW-U, so as to pass the updated data stream to the second PGW-U.
  • the tunnel is sent to the second PGW-U.
  • the second PGW-U receives the data stream sent by the SGW-U through the tunnel with the SGW-U, and determines the second address information corresponding to the tunnel identifier according to the second PGW-U-side tunnel identifier that encapsulates the data stream, so that it can be based on
  • the second address information determines context information corresponding to the second address information, and acquires related information used for service monitoring in the data stream.
  • the second PGW-U can also decapsulate the data stream received from the SGW-U, obtain the updated data stream of the SGW-U, and send the updated data stream to the local server.
  • 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.
  • the first tunnel information sent by the PGW-C to the first PGW-U may include the address information of the SGW-U
  • the first tunnel information sent by the PGW-C to the SGW-U may include the first PGW-U Address information.
  • 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, the SGW-U, and the first A PGW-U establishes a tunnel between the SGW-U and the first PGW-U according to the first tunnel information.
  • the first tunnel information may further include a tunnel identifier on the first PGW-U side, and the tunnel identifier corresponds to the first address information of the terminal device.
  • the PGW-C may allocate the tunnel identifier to the terminal device after receiving the instruction information.
  • 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 is the first address. Information is assigned to the corresponding tunnel identifier, and the tunnel identifier is sent to 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 by the SGW-U to send data of the terminal device to the first PGW-U flow.
  • 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 also establish a downlink tunnel between the SGW-U and the first PGW-U through the first tunnel information, and the downlink tunnel is used for the first PGW-U to send data to the SGW-U.
  • the data stream sent by the terminal device may further include an SGW-U side tunnel identifier allocated by the SGW-C to the terminal device.
  • the SGW-U sends the data flow of the terminal device to the first PGW-U through the tunnel between the SGW-U and the first PGW-U.
  • the SGW-U may encapsulate the data flow of the terminal device according to the tunnel identifier of the first PGW-U side and the address information of the first PGW-U, thereby passing the data flow of the terminal device to the first PGW-U.
  • the uplink tunnel is sent to the first PGW-U.
  • the first PGW-U receives the data stream sent by the SGW-U through the tunnel with the SGW-U, and determines the first address information corresponding to the tunnel identifier according to the first PGW-U-side tunnel identifier of the encapsulated data stream, so that The first address information determines context information corresponding to the first address information, and acquires information related to service monitoring in a data stream of the terminal device.
  • 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.
  • the PGW-C will also send the first address information allocated to the terminal device to the first PGW-U, and the second address information allocated to the terminal device to the second PGW- U.
  • the first PGW-U verifies whether the source address information in the data stream of the terminal device is the first address information, and if so, sends the data stream to the data network, if not , The data stream is rejected.
  • 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 If not, the data stream is rejected.
  • the source address information of the data stream is further verified by the first PGW-U and the second PGW-U to enhance the security of the data stream transmission.
  • the second PGW-U receives the data stream sent by the local server and sends the data stream to the SGW-U. Because 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.
  • the SGW-U receives the data stream sent by the second PGW-U, updates the destination address information in the data stream to the first address information, and sends the updated data stream to the base station.
  • the base station receives the data stream sent by the SGW-U, and sends the data stream to the terminal device according to the destination address information.
  • the SGW-U can receive the data stream sent by the local server to the terminal device through the downlink tunnel with the second PGW-U, and receive the data network and send the data stream to the terminal through the downlink tunnel with the first PGW-U.
  • the data flow of the device can be received.
  • FIG. 4 is a schematic diagram of another EPC system architecture provided by an embodiment of the present application. As shown in FIG. 4, the system includes a first SGW-U, a second SGW-U, a SGW-C, a PGW-C, and a second PGW- U and the first PGW-U, further including an MME, a local server, and the like.
  • an embodiment of the present application provides a data stream processing method. This method is similar to the method shown in FIG. 3.
  • the first SGW-U in FIG. 4 may be equivalent to the SGW-U in FIG. 3, and the differences are:
  • 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 satisfy a corresponding relationship.
  • the first SGW-U, the second SGW-U, and the second PGW-U U is in the same communication area.
  • the first SGW-U 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 the second PGW-U.
  • the address information of a terminal device can be associated with a PDN connection.
  • 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 comply with the provisions of the existing 3GPP protocol, that is, the first address information. It 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.
  • the PGW-C may only assign the first address information to the terminal device.
  • the SGW-U may not update the source address information in the data stream to the second address information. Address information.
  • SGW-C can execute S301 to S303, which will not be described in detail.
  • PGW-C After receiving the instruction information, PGW-C can perform the following steps:
  • Step 1 Determine the first PGW-U for the terminal device and establish a connection with the first PGW-U.
  • Step 2 Assign the first address information to the terminal device, and send the first address information to the SGW-C.
  • the SGW-C After receiving the first address information, the SGW-C sends the first address information to the terminal device, so that the terminal device can send the data stream using the first address information as the source address information.
  • SGW-U can execute S307 and S308.
  • S308 if the SGW-U determines that the data stream sent by the terminal device is a local data stream, it sends the data stream to the second PGW-U; if the SGW-U determines that the data stream sent by the terminal device is not a local data stream, it sends The data stream is sent to the first PGW-U.
  • the PGW-C may also assign the first address information to the terminal device, and the first SGW-U may also determine that the data stream sent by the terminal device is a local data stream. At this time, the source address information in the data stream is not updated, and the data stream is sent to the local server, which will not be described in detail.
  • 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.
  • the internal data stream transmission between the SGW-U and the second PGW-U can be realized, so it is beneficial to improve the transmission of local data streams as a whole speed.
  • the SGW-U and the second PGW-U belong to the same network element can also simplify the system architecture, save signaling overhead, and so on.
  • the embodiment of the present application further provides a communication method.
  • the SGW-C and / or PGW-C can determine the SGW-U and the second PGW-U for the terminal device, so that the determined SGW-U and the second PGW-U can be determined.
  • U belongs to the same network element, and 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.
  • the SGW-C and / or PGW-C determines the SGW-U and the second PGW-U for the terminal device, mainly including the following three implementation manners:
  • SGW-C determines the SGW-U and the second PGW-U for the terminal equipment, which mainly includes the following steps:
  • Step 1.1 SGW-C determines SGW-U for the terminal device.
  • SGW-U and the second PGW-U belong to the same network element, when SGW-C determines the SGW-U for the terminal device, it also determines the second PGW-U for the terminal device.
  • Step 1.2 The SGW-C establishes a connection with the SGW-U, and sends third instruction information to the PGW-C.
  • the third instruction information may instruct the PGW-C to establish a connection with the second PGW-U.
  • Step 1.3 The PGW-C establishes a connection with the second PGW-U according to the third instruction information.
  • the third indication information may include identification information of the second PGW-U.
  • the identification information of the second PGW-U may be the interface address of the Sxb interface of the second PGW-U.
  • the PGW-C may be established with the PGW-C according to the interface address of the Sxb interface of the second PGW-U. connection.
  • the identification information of the second PGW-U may also be an interface identification of an Sxb interface of the second PGW-U.
  • the interface identifier may be used as a domain name of the Sxb interface.
  • the PGW-C may send a query request to a domain name system (DNS) device.
  • DNS domain name system
  • the DNS device queries the interface address corresponding to the interface identifier according to the query request, and returns the queried interface address to the PGW-C.
  • the PGW-C may further establish a connection with the Sxb interface of the second PGW-U according to the received interface address.
  • the correspondence between the interface identifier of the Sxb interface and the interface address may also be pre-configured in the PGW-C, and the PGW-C may obtain the interface identifier according to the interface identifier of the received Sxb interface.
  • the corresponding interface address is further used to establish a connection with the Sxb interface of the second PGW-U according to the interface address.
  • the third indication information may also include identification information of a network element to which the SGW-U and the second PGW-U belong.
  • the PGW-C may also use the identification information of the network element as the domain name, and obtain the interface address of the Sxb interface of the second PGW-U in the network element corresponding to the network element identification through the DNS device.
  • the PGW-C may also store the correspondence between the network element identifier and the interface address of the Sxb interface in advance. Between the network element identifier that has the correspondence relationship and the interface address of the Sxb interface, the network element corresponding to the network element identifier includes the The second PGW-U to which the Sxb interface belongs.
  • the PGW-C can obtain the interface address of the Sxb interface in the network element corresponding to the network element according to the network element identifier, and then establish an Sxb connection with the network element, that is, the Sxb with the second PGW-U in the network element The interface establishes a connection.
  • the SGW-C and PGW-C determine the SGW-U and the second PGW-U for the terminal device, mainly including the following steps:
  • Step 2.1 The SGW-C determines the SGW-U for the terminal device.
  • Step 2.2 The SGW-C sends fourth instruction information to the PGW-C, and the fourth instruction information is used to instruct the PGW-C to determine the second PGW-U for the terminal device.
  • Step 2.3 The PGW-C determines a second PGW-U for the terminal device according to the fourth instruction information.
  • Step 2.4 SGW-C establishes a connection with SGW-U, and PGW-C establishes a connection with PGW-U.
  • the fourth indication information may include identification information of the SGW-U.
  • SGW-C stores information of one or more preset SGW-Us
  • SGW-U can be determined as a terminal device from the one or more preset SGW-Us.
  • the PGW-C can also store information of one or more preset PGW-Us
  • the second PGW-U and the first PGW-U can be determined from the one or more preset PGW-Us.
  • U provides a server for terminal equipment.
  • the preset PGW-U information in the PGW-C includes a correspondence relationship, which is used to indicate a correspondence relationship between one or more preset SGW-Us and one or more preset PGW-Us.
  • a preset PGW-U corresponding to any one of the preset SGW-Us belongs to the same network element as the preset SGW-U.
  • Table 1 the correspondence can be shown in Table 1 below:
  • ID A corresponds to ID a. Assuming ID A is the identification information of SGW-U1 and ID a is the identification information of PGW-U1, it is PGW-U1 that belongs to the same network element as SGW-U1. . The other identification information is the same and will not be repeated.
  • the PGW-C may determine the preset correspondence relationship according to the identification information of the SGW-U, and the SGW-U corresponding to the identification information belongs to the PGW-U of the same network element. For the second PGW-U. For example, if the identification information is the identification A, the PGW-C may determine the identification information of the PGW-U corresponding to the identification A as the identification a based on the corresponding relationship shown in Table 1. The identifier a is identification information of the PGW-U1, so the PGW-C can determine the PGW-U1 as the second PGW-U that provides services to the terminal device.
  • the fourth indication information may also include location information of the terminal device.
  • 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 Table 2 below:
  • the PGW-C is associated with four preset PGW-Us: PGW-U1, PGW-U2, PGW-U3, and PGW-U4.
  • the service area of PGW-U1 is area 1, that is, PGW-U1 can provide data stream transmission services for the terminal devices in area 1.
  • Other preset PGW-Us do the same, and will not be described again.
  • each preset PGW-U in Table 2 can be expressed in the form of identification information of PGW-U, such as the identifiers a to d in Table 1, and details are not described herein again.
  • the PGW-C may determine the target service area to which the location information belongs according to the location information of the terminal device. Further, a PGW-U corresponding to the target service area may be determined from one or more preset PGW-Us as the second PGW-U. For example, if the PGW-C determines that the location information of the terminal device is located in the area 1 in Table 1, it can determine the PGW-U1 corresponding to the area 1 as the second PGW-U.
  • SGW-C and PGW-C determine the SGW-U and the second PGW-U for the terminal device, respectively, SGW-C and PGW-C are determined based on the location information of the terminal device, so The selected SGW-U and the second PGW-U may have relatively close service areas. In the scenario where the SGW-U and the second PGW-U are combined, the SGW-C and the PGW-C will determine that the same network element (that is, the network element where the SGW-U and the second PGW-U are located) provides services for the terminal device.
  • the PGW-C determines the SGW-U and the second PGW-U for the terminal device, mainly including the following steps:
  • Step 3.1 The SGW-C sends fifth indication information to the PGW-C.
  • Step 3.2 The PGW-C determines the SGW-U and the second PGW-U for the terminal device according to the fifth instruction information.
  • Step 3.3 The PGW-C establishes a connection with the second PGW-U, and sends sixth indication information to the SGW-C.
  • Step 3.4 SGW-C establishes a connection with SGW-U according to the sixth instruction information.
  • 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 2.
  • the PGW-C may use the second possible implementation manner as in step 2.3 above to determine the second PGW-U for the terminal device, and details are not described herein again. Since the second PGW-U and the SGW-U belong to the same network element, when the PGW-C determines the second PGW-U for the terminal device, it also determines the SGW-U for the terminal device.
  • the sixth indication information may include identification information of the SGW-U.
  • the identification information of the SGW-U may be an interface address of an Sxa interface of the SGW-U, or may be an interface identification of an Sxa interface of the SGW-U.
  • the sixth indication information may also include identification information of a network element to which the second PGW-U belongs.
  • the specific implementation manner of step 3.4 may be similar to step 1.3 in implementation manner 1, and details are not described herein again.
  • the method for determining the SGW-U and the second PGW-U has been exemplarily described through three specific implementation manners. 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 details are not described herein again.
  • FIG. 5 shows a possible exemplary block diagram of the device involved in the embodiment of the present application.
  • the device 500 may exist in the form of software.
  • the apparatus 500 may include a processing unit 502 and a communication unit 503.
  • the processing unit 502 is configured to control and manage the operations of the device 500.
  • the communication unit 503 is configured to support communication between the device 500 and other network entities.
  • the device 500 may further include a storage unit 501 for storing program code and data of the device 500.
  • the processing unit 502 may be a processor or a controller.
  • the processing unit 502 may be a general-purpose central processing unit (CPU), a general-purpose processor, digital signal processing (DSP), or an application-specific integrated circuit. circuits, ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logical blocks, modules, and circuits described in connection with the present disclosure.
  • the processor may also be a combination that realizes a computing function, for example, includes a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 503 may be a communication interface, a transceiver, or a transceiver circuit.
  • the communication interface is collectively referred to. In a specific implementation, the communication interface may include multiple interfaces.
  • the storage unit 501 may be a memory.
  • the device 500 may be one or more of SGW-C, PGW-C, SGW-U, and the second PGW-U, or may be capable of implementing SGW-C, PGW-C, SGW-U, and the second PGW- One or more functions of a system-on-chip or chip in U.
  • the processing unit 502 can support the device 500 to perform the actions of the SGW-C in the method examples above, and the communication unit 503 can support the device Communication between 500 and PGW-C, SGW-U (first SGW-U and second SGW-U); for example, the processing unit 502 and / or the communication unit 503 are used to support the device 500 to perform S301 to S303 in FIG. 3 , And S306.
  • the processing unit 502 can support the device 500 to perform the actions of the PGW-C in the method examples above, and the communication unit 503 can support the device 500 and SGW -C, communication between 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 device 500 to perform S304 and S305 in FIG. 3.
  • the processing unit 502 can support the device 500 to perform the SGW-U actions in the method examples above, and the communication unit 503 can support the device 500 and SGW- C. Communication between 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 device 500 to perform S307 to S310 and S312 in FIG. 3.
  • the processing unit 502 may support the device 500 to perform the actions of the second PGW-U in the method examples above, and the communication unit 503
  • the communication between the device 500 and the SGW-U, the local server, and the PGW-C may be supported; for example, the processing unit 502 and / or the communication unit 503 are used to support the device 500 to execute S311 in FIG. 3.
  • the device 600 includes: a processor 602, a transceiver 603, and a memory 601.
  • the device 600 may further include a bus 604.
  • the transceiver 603, the processor 602, and the memory 601 can be connected to each other through a communication line 604;
  • the communication line 604 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (extended industry standard architecture) , Referred to as EISA) bus and so on.
  • the communication line 604 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only a thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
  • various components are communicatively connected, that is, the processing unit (or processor), the storage unit (or memory) and the communication unit (transceiver) communicate with each other through an internal connection path to transfer control And / or data signals.
  • the foregoing method embodiments of the present application may be applied to a processor, or the steps of the foregoing method embodiments may be implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the foregoing method embodiment may be completed by using an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the above processor may be a central processing unit (CPU), a network processor (NP) or a combination of CPU and NP, a digital signal processor (DSP), and an application specific integrated circuit (application) specific integrated circuit (ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • CPU central processing unit
  • NP network processor
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps combined with the method disclosed in this application can be directly embodied as being executed by a hardware decoding processor, or executed and completed by using a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like.
  • the storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the foregoing method in combination with its hardware.
  • the apparatus may include multiple processors or the processor may include multiple processing units.
  • the processor may be a single-core (single-CPU) processor, or may be a multi-core (multi-CPU) processor.
  • the memory is used to store computer instructions executed by the processor.
  • the memory may be a memory circuit or a memory.
  • the memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrical memory Erase programmable read-only memory (EPROM, EEPROM) or flash memory.
  • the volatile memory may be a random access memory (RAM), which is used as an external cache.
  • the memory may be independent of the processor or a storage unit in the processor, which is not limited herein. Although only one memory is shown in the figure, the device may also include multiple memories or the memory includes multiple storage units.
  • the transceiver is used to implement the content interaction between the processor and other units or network elements.
  • the transceiver may be a communication interface of the device, a transceiver circuit or a communication unit, or a transceiver.
  • the transceiver may also be a communication interface or a transceiver circuit of the processor.
  • the transceiver may be a transceiver chip.
  • the transceiver may further include a transmitting unit and / or a receiving unit.
  • the transceiver may include at least one communication interface.
  • the transceiver may also be a unit implemented in software.
  • the processor may interact with other units or network elements through a transceiver. For example, the processor obtains or receives content from other network elements through the transceiver. If the processor and the transceiver are two physically separated components, the processor may interact with the other units of the device without going through the transceiver.
  • the processor, the memory, and the transceiver may be connected to each other through a bus.
  • the bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, or the like.
  • PCI peripheral component interconnect
  • EISA extended industry standard architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like.
  • words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be construed as more preferred or more advantageous than other embodiments or designs. Rather, the use of the words "exemplary” or “for example” is intended to present the relevant concept in a concrete manner.
  • names of request messages, response messages, and other various messages are used.
  • these messages are merely examples of the content or functions to be carried, and the specific names of the messages do not limit the application, for example, they may be the first message, the second message, the third message, and so on.
  • These messages can be specific messages or certain fields in the message.
  • These messages can also represent various service-oriented operations.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server, or data center Transmission by wire (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, and the like including one or more available medium integration.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (Solid State Disk)).
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium for example, a DVD
  • a semiconductor medium for example, a solid state disk (Solid State Disk)
  • Various illustrative logic units and circuits described in the embodiments of the present application may be implemented by a general-purpose processor, a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices. Discrete gate or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions.
  • the general-purpose processor may be a microprocessor. Alternatively, the general-purpose processor may also be any conventional processor, controller, microcontroller, or state machine.
  • the processor may also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration. achieve.
  • a software unit may be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium in the art.
  • the storage medium may be connected to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may be integral to the processor.
  • the processor and the storage medium may be provided in an ASIC, and the ASIC may be provided in a terminal device. Alternatively, the processor and the storage medium may also be provided in different components in the terminal device.
  • These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.

Landscapes

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

Abstract

Provided in the embodiments of the present application are a data stream processing method, apparatus, and system, which are used to monitor a local service of a terminal device. The method comprises: an SGW-U receiving second address information of a terminal device that is sent by an SGW-C; then, after the SGW-U receives a data stream of the terminal device, if determined that the data stream of the terminal device is a data stream of a local service, updating source address information of the data stream to be the second address information, and sending the updated data stream to a second user plane PDN gateway (PGW-U); the second PGW-U receiving the data stream sent by the SGW-U, and sending the data stream to a local server. The embodiments of the present application may monitor local service while reducing flow circuitousness.

Description

一种数据流处理方法、装置及系统Data stream processing method, device and system
本申请要求了2018年8月27日提交的、申请号为201810981967.0、发明名称为“一种数据流处理方法、装置及系统”的中国申请的优先权,以及2019年4月15日提交的、申请号为201910299927.2、发明名称为“一种数据流处理方法、装置及系统”的中国申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese application filed on August 27, 2018, with application number 201810981967.0, and the invention name is "a method, device and system for data stream processing", and filed on April 15, 2019, The priority of the Chinese application with application number 201910299927.2 and the invention name "a method, device and system for data stream processing" is incorporated herein by reference in its entirety.
技术领域Technical field
本申请涉及无线通信技术领域,尤其涉及一种数据流处理方法、装置及系统。The present application relates to the field of wireless communication technologies, and in particular, to a data stream processing method, device, and system.
背景技术Background technique
在第三代合作伙伴计划(3rd generation partnership project,3GPP)中描述了演进分组核心网(evolved packet core,EPC)网络架构,基于该网络架构能够实现终端与服务器之间数据流的传递。在EPC网络架构中,存在一些可以用于终端业务监测的监测网元,如在线计费(online charging system,OCS)网元,可用于业务计费管理,又例如,合法监听网关(lawful interception gateway,LIG),可用于对终端设备的合法监听等。The 3rd Generation Partnership Project (3GPP) describes an evolved packet core network (EPC) network architecture. Based on this network architecture, data flow can be transferred between the terminal and the server. In the EPC network architecture, there are some monitoring network elements that can be used for terminal service monitoring, such as online charging (online charging system (OCS)), which can be used for service charging management. For example, a lawful interception gateway , LIG), can be used for legal interception of terminal equipment, etc.
然而,随着局域网的普及,一些企业、组织、团体等会部署其内部专用的本地服务器以处理本地业务,例如,企业部署内部专用的视频监控服务器,用于集中管理企业园区内的视频监控数据等。由于终端在访问所在区域的本地服务器时,距离本地服务器的距离较近,因此在一些现有的技术方案中,终端发送给本地服务器的数据流会在本地被分流至本地服务器,进而使得终端业务的本地业务无法受到EPC网络架构的监测。However, with the popularization of the local area network, some enterprises, organizations, groups, etc. will deploy their internal dedicated local servers to handle local business. For example, enterprises deploy internal dedicated video surveillance servers for centralized management of video surveillance data in corporate campuses. Wait. 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 will be diverted locally to the local server, thereby enabling terminal services. Of local business cannot be monitored by the EPC network architecture.
发明内容Summary of the Invention
本申请实施例提供一种数据流处理方法、装置及系统,用于对终端设备的本地业务进行监测。The embodiments of the present application provide a data stream processing method, device and system for monitoring local services of a terminal device.
第一方面,本申请实施例提供一种数据流处理方法,包括:用户面服务网关SGW-U接收控制面服务网关SGW-C发送的终端设备的第二地址信息;之后,SGW-U接收到终端设备的数据流后,若确定终端设备的数据流为本地业务的数据流,则将该数据流的源地址信息更新为第二地址信息,并将更新后的数据流发送给第二用户面PDN网关PGW-U;第二PGW-U接收SGW-U发送的数据流,并将该数据流发送给本地服务器。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 a terminal device sent by the control plane service gateway SGW-C; after that, the SGW-U receives After the data flow of the terminal device is determined, if the data flow of the terminal device is determined to be a data flow of the local service, the source address information of the data flow is updated to the second address information, and the updated data flow is sent to the second user plane. PDN gateway PGW-U; the second PGW-U receives the data stream sent by the SGW-U and sends the data stream to the local server.
采用上述方法,SGW-U将本地业务的数据流的源地址信息更新为第二地址信息,由第二PGW-U将更新后的数据流发送给本地服务器,使得第二PGW-U可以作为第二地址信息对应的终端设备接入本地服务器的锚点,即为终端设备分配了一条专门用于传递本地业务的数据流的PDN连接,解决了终端设备向本地服务器发送数据流时所产生的流量迂回问题。同时,PGW-U本身具有获取数据流中用于业务监测的相关信息的功能,本申请实施例使用第二PGW-U向本地服务器发送数据流,便可以在降低流量迂回的同时实现对本地业务的监测。With the above method, 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 can be used as the first The anchor point where the terminal device corresponding to the two address information accesses the local server, that is, the terminal device is allocated a PDN connection dedicated to transmitting the data stream of the local service, which solves the traffic generated when the terminal device sends the data stream to the local server. Roundabout problem. At the same time, the PGW-U itself has the function of obtaining related information for service monitoring in the data stream. In the embodiment of the present application, the second PGW-U is used to send the data stream to the local server, which can reduce the circuitous traffic and realize the local business. Monitoring.
在一种可能的实现方式中,SGW-U将更新后的数据流发送给第二PGW-U之前,还包括:SGW-U接收SGW-C发送的第二隧道信息;第二PGW-U接收PGW-C发送的第二隧道信息;SGW-U和第二PGW-U根据该第二隧道信息建立SGW-U和第二PGW-U之间的隧道;在 此情况下,SGW-U将更新后的数据流发送给第二PGW-U,包括:SGW-U通过SGW-U与第二PGW-U之间的隧道将更新后的数据流发送给第二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 the second tunnel information sent by the SGW-C; the second PGW-U receives Second tunnel information sent by PGW-C; SGW-U and second PGW-U establish a tunnel between SGW-U and second PGW-U based on the second tunnel information; in this case, SGW-U will update The subsequent data stream is sent to the second PGW-U, including: the SGW-U sends the updated data stream to the second PGW-U through the tunnel between the SGW-U and the second PGW-U.
在EPC架构中,SGW-U与PGW-U之间是通过隧道传输的。本申请实施例通过第二隧道信息为SGW-U与第二PGW-U之间构建隧道,使得SGW-U和第二PGW-U可以按照现有的传输方式传输数据流。In the EPC architecture, SGW-U and PGW-U are transmitted through a tunnel. The embodiment of the present application constructs a tunnel between the SGW-U and the second PGW-U by using the second tunnel information, so that the SGW-U and the second PGW-U can transmit a data stream according to an existing transmission mode.
在一种可能的实现方式中,所述方法还包括:SGW-U若确定数据流为非本地业务数据流,则将数据流发送给第一PGW-U;第一PGW-U接收SGW-U发送的数据流,并将所收到的数据流发送给数据网络。In a possible implementation manner, the method further includes: if the SGW-U determines that the data stream is a non-local service data stream, sending the data stream to the first PGW-U; the first PGW-U receives the SGW-U Send the data stream and send the received data stream to the data network.
第二方面,本申请实施例提供一种数据流处理方法,包括:控制面服务网关SGW-C获取终端设备的位置信息;SGW-C进而根据终端设备的位置信息,为终端设备选择用户面服务网关SGW-U和第二用户面PDN网关PGW-U;之后,SGW-C向控制面PDN网关PGW-C发送指示信息,该指示信息用于指示SGW-C为终端设备选择有第二PGW-U;PGW-C接收指示信息,并根据该指示信息为终端设备分配第二地址信息;之后,PGW-C将第二地址信息发送给SGW-C;SGW-C接收第二地址信息,并将第二地址信息发送给SGW-U。In a second aspect, an embodiment of the present application provides a data stream processing method, which includes: a control plane service gateway SGW-C obtaining location information of a terminal device; the SGW-C further selects a user plane service for the terminal device based on the location information of the terminal device The gateway SGW-U and the second user plane PDN gateway PGW-U; thereafter, the SGW-C sends instruction information to the control plane PDN gateway PGW-C, and the instruction information is used to instruct SGW-C to select a second PGW- for the terminal device. U; PGW-C receives the instruction information and assigns the second address information to the terminal device according to the instruction information; after that, PGW-C sends the second address information to SGW-C; SGW-C receives the second address information and The second address information is sent to the SGW-U.
通过上述方法,SGW-U便可以获取PGW-C为终端设备分配的、与第二PGW-U对应的第二地址信息,从而可以在终端设备的数据流为本地业务的数据流时,将数据流的源地址信息更新为第二地址信息,进而实现对数据流的分流。Through the above method, the SGW-U can obtain the second address information corresponding to the second PGW-U allocated by the PGW-C to the terminal device, so that when the data flow of the terminal device is the data flow of the local service, the data The source address information of the stream is updated to the second address information, so that the data stream is shunted.
在一种可能的实现方式中,所述方法还包括:PGW-C向SGW-C和第二PGW-U发送第二隧道信息,该第二隧道信息用于建立SGW-U与第二PGW-U之间的隧道;之后,SGW-C接收PGW-C发送的第二隧道信息,并将第二隧道信息发送给SGW-U。In a possible implementation manner, the method further includes: the PGW-C sends second tunnel information to the SGW-C and the second PGW-U, and the second tunnel information is used to establish the SGW-U and the second PGW- The tunnel between U; after that, SGW-C receives the second tunnel information sent by PGW-C, and sends the second tunnel information to SGW-U.
通过上述方法,第二PGW-U和SGW-U便可以分别从PGW-C和SGW-C接收第二隧道信息,从而可以根据第二隧道信息建立第二PGW-U和SGW-U之间的隧道。Through the above method, the second PGW-U and SGW-U can receive the second tunnel information from PGW-C and SGW-C, respectively, so that the communication between the second PGW-U and SGW-U can be established according to the second tunnel information. tunnel.
在一种可能的实现方式中,所述方法还包括:PGW-C向SGW-C发送终端设备的第一地址信息;SGW-C接收第一地址信息,并将第一地址信息发送给终端设备。In a possible implementation manner, the method further includes: the PGW-C sends the first address information of the terminal device to the SGW-C; the SGW-C receives the first address information and sends the first address information to the terminal device .
通过上述方法,终端设备可以获取PGW-C为其分配的第一地址信息,从而可以以第一地址信息为源地址信息发送数据流,该过程与现有的终端设备处理逻辑相兼容,降低了本地业务分流对终端设备处理逻辑的影响。Through the above method, the terminal device can obtain the first address information allocated by the PGW-C, so that the first address information can be used as the source address information to send a data stream. This process is compatible with the existing terminal device processing logic, reducing the The impact of local service offload on the processing logic of terminal equipment.
第三方面,本申请实施例提供一种数据流处理方法,包括:用户面服务网关SGW-U接收到终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流发送给第二用户面PDN网关PGW-U;所述第二PGW-U接收所SGW-U发送的数据流,并将所述数据流发送给本地服务器。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 from a user plane service gateway SGW-U, if it is determined that the data stream is a data stream of a local service, The data stream is sent to the second user plane PDN gateway PGW-U; the second PGW-U receives the data stream sent by the SGW-U, and sends the data stream to the local server.
在一种可能的实现方式中,所述SGW-U将所述数据流发送给第二用户面PDN网关PGW-U之前,还包括:所述SGW-U接收控制面服务网关SGW-C发送的终端设备的第二地址信息;所述SGW-U将所述数据流中的源地址信息更新为所述第二地址信息。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 the data sent by the control plane service gateway SGW-C. The second address information of the terminal device; the SGW-U updates the source address information in the data stream to the second address information.
在一种可能的实现方式中,所述方法还包括:所述SGW-U若确定所述数据流为非本地业务数据流,则将所述数据流发送给第一PGW-U;所述第一PGW-U接收所述SGW-U发送的数据流,并将所述数据流发送给数据网络。In a possible implementation manner, the method further includes: if the SGW-U determines that the data stream is a non-local service data stream, sending the data stream to a first PGW-U; the first A PGW-U receives a data stream sent by the SGW-U, and sends the data stream to a data network.
第四方面,本申请实施例提供一种数据流处理方法,包括:SGW-C和/或PGW-C为终端设备确定SGW-U和第二PGW-U;所述SGW-C与所述SGW-U建立连接,所述PGW-C与所述第二PGW-U建立连接。In a fourth aspect, an embodiment of the present application provides a data stream processing method, including: SGW-C and / or PGW-C determining an SGW-U and a second PGW-U for a terminal device; the SGW-C and the SGW -U establishes a connection, and the PGW-C establishes a connection with the second PGW-U.
在一种可能的实现方式中,所述SGW-C为所述终端设备确定SGW-U和第二PGW-U, 包括:In a possible implementation manner, the determining, by the SGW-C for the terminal device, an SGW-U and a second PGW-U includes:
所述SGW-C为所述终端设备确定所述SGW-U和所述第二PGW-U,其中,所述第二PGW-U与所述SGW-U属于同一网元;Determining, by the SGW-C, the SGW-U and the second PGW-U for the terminal device, wherein the second PGW-U and the SGW-U belong to the same network element;
所述SGW-C向所述PGW-C发送第三指示信息,所述第三指示信息用于指示所述PGW-C与所述第二PGW-U建立连接。The SGW-C sends third instruction information to the PGW-C, where the third instruction information is used to instruct the PGW-C to establish a connection with the second PGW-U.
在一种可能的实现方式中,所述第三指示信息包括所述第二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.
在一种可能的实现方式中,所述SGW-C和PGW-C为所述终端设备确定SGW-U和第二PGW-U,包括:In a possible implementation manner, the SGW-C and PGW-C determine an SGW-U and a second PGW-U for the terminal device, including:
所述SGW-C为所述终端设备确定所述SGW-U,并向所述PGW-C发送第四指示信息,所述第四指示信息用于指示所述PGW-C为所述终端设备确定所述第二PGW-U。Determining, by the SGW-C, the SGW-U for the terminal device, and sending fourth instruction information to the PGW-C, where the fourth instruction information is used to instruct the PGW-C to determine for the terminal device The second PGW-U.
所述PGW-C根据所述第四指示信息为所述终端设备确定所述第二PGW-U。Determining, by the PGW-C, the second PGW-U for the terminal device according to the fourth instruction information.
在一种可能的实现方式中,所述第四指示信息包括所述SGW-U的标识信息;所述PGW-C根据所述第四指示信息为所述终端设备确定所述第二PGW-U,包括:所述PGW-C根据所述SGW-U的标识信息,确定与所述SGW-U属于同一网元的PGW-U作为所述第二PGW-U。In a possible implementation manner, the fourth indication information includes identification information of the SGW-U; the PGW-C determines the second PGW-U for the terminal device according to the fourth indication information The method includes: the PGW-C determines, according to the identification information of the SGW-U, a PGW-U belonging to the same network element as the SGW-U as the second PGW-U.
在一种可能的实现方式中,所述PGW-C根据所述SGW-U的标识信息,确定与所述SGW-U属于同一网元的PGW-U作为所述第二PGW-U,包括:所述PGW-C获取预设的对应关系;所述对应关系用于指示一个或多个预设的SGW-U分别对应的PGW-U,其中任一预设的SGW-U对应的PGW-U与所述预设的SGW-U属于同一网元;所述PGW-C根据所述标识信息,确定所述预设的对应关系中,与所述标识信息对应的SGW-U属于同一网元的PGW-U为所述第二PGW-U。In a possible implementation manner, the PGW-C determines, as the second PGW-U, the PGW-U belonging to the same network element as the SGW-U according to the identification information of the SGW-U, including: The PGW-C obtains a preset correspondence relationship; the correspondence relationship is used to indicate one or more preset PGW-Us respectively corresponding to the SGW-U, and any one of the preset SGW-Us corresponds to the PGW-U Belongs to the same network element as the preset SGW-U; the PGW-C determines, based on the identification information, that among the preset correspondences, the SGW-U corresponding to the identification information belongs to the same network element PGW-U is the second PGW-U.
在一种可能的实现方式中,所述第四指示信息包括终端设备的位置信息;所述PGW-C根据所述第四指示信息为所述终端设备确定所述第二PGW-U,包括:所述PGW-C根据所述位置信息,确定为所述位置信息对应的位置提供服务的PGW-U作为所述第二PGW-U。In a possible implementation manner, the fourth indication information includes location information of a terminal device; and the PGW-C determines the second PGW-U for the terminal device according to the fourth indication information, including: The PGW-C determines, as the second PGW-U, a PGW-U that provides services to a location corresponding to the location information according to the location information.
在一种可能的实现方式中,所述PGW-C根据所述位置信息,确定为所述位置信息对应的位置提供服务的PGW-U作为所述第二PGW-U,包括:所述PGW-C获取一个或多个预设的PGW-U分别对应的服务区域;所述PGW-C确定所述位置信息所属的目标服务区域,并根据所述目标服务区域,从所述一个或多个预设的PGW-U中确定与所述目标服务区域对应的PGW-U作为所述第二PGW-U。In a possible implementation manner, the PGW-C determines, as the second PGW-U, a PGW-U that provides services for a location corresponding to the location information according to the location information, including the PGW-U C obtains 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 according to the target service area, from the one or more A PGW-U corresponding to the target service area is determined in the set PGW-U as the second PGW-U.
在一种可能的实现方式中,还包括:所述PGW-C为所述终端设备分配地址信息;所述PGW-C将所述地址信息发送给所述SGW-C。In a possible implementation manner, the method further includes: the PGW-C assigns address information to the terminal device; and the PGW-C sends the address information to the SGW-C.
在一种可能的实现方式中,所述地址信息包括第二地址信息;所述PGW-C将所述地址信息发送给所述SGW-C之后,还包括:所述SGW-C将所述第二地址信息发送给所述SGW-U。In a possible implementation manner, the address information includes second address information; after the PGW-C sends the address information to the SGW-C, the method further includes: the SGW-C sends the first address information The two address information is sent to the SGW-U.
在一种可能的实现方式中,所述地址信息还包括第一地址信息;所述PGW-C将所述地址信息发送给所述SGW-C之后,还包括:所述SGW-C将所述第一地址信息发送给所述终端设备。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: the SGW-C sends the address information The first address information is sent to the terminal device.
在一种可能的实现方式中,所述PGW-C为所述终端设备选择SGW-U和第二PGW-U,包括:所述PGW-C接收所述SGW-C发送第二指示信息;所述PGW-C根据所述第二指示信息为所述终端设备选择所述第二PGW-U和所述SGW-U,其中,所述SGW-U与所述第二PGW-U属于同一网元;所述PGW-C向所述SGW-C发送第三指示信息,所述第三指示信息用于指示所述SGW-C与所述SGW-U建立连接。In a possible implementation manner, the PGW-C selecting an SGW-U and a second PGW-U for the terminal device includes: the PGW-C receives the SGW-C and sends second instruction information; The PGW-C selects the second PGW-U and the SGW-U for the terminal device according to the second instruction information, wherein the SGW-U and the second PGW-U belong to the same network element ; The PGW-C sends third instruction information to the SGW-C, and the third instruction information is used to instruct the SGW-C to establish a connection with the SGW-U.
在一种可能的实现方式中,所述第二指示信息包括所述终端设备的位置信息。In a possible implementation manner, the second indication information includes location information of the terminal device.
在一种可能的实现方式中,所述第三指示信息包括所述SGW-C的标识信息,或者所述网元的标识信息。In a possible implementation manner, the third indication information includes identification information of the SGW-C, or identification information of the network element.
第五方面,本申请实施例提供一种数据流处理方法,包括:第一用户面服务网关SGW-U接收控制面服务网关SGW-C发送的终端设备的第二地址信息;之后,第一SGW-U接收到终端设备的数据流后,若确定数据流为本地业务的数据流,则将数据流的源地址信息更新为上述第二地址信息,并将更新后的数据流发送给第二SGW-U;第二SGW-U接收第一SGW-U发送的数据流,并将该数据流发送给第二用户面PDN网关PGW-U;第二PGW-U接收第二SGW-U发送的数据流,并将该数据流发送给本地服务器。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 a terminal device sent by the control plane service gateway SGW-C; and then, the first SGW -U 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, the source address information of the data stream is updated to the above-mentioned second address information, and the updated data stream is sent 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 the second user plane PDN gateway PGW-U; the second PGW-U receives the data sent by the second SGW-U Stream and send that data stream to the local server.
第六方面,本申请实施例提供一种数据流处理方法,包括:控制面服务网关SGW-C获取终端设备的位置信息;之后,SGW-C根据终端设备的位置信息,为终端设备选择第一用户面服务网关SGW-U、第二SGW-U和第二用户面PDN网关PGW-U;之后,SGW-C向控制面PDN网关PGW-C发送指示信息,指示信息用于指示SGW-C为终端设备选择有第二SGW-U和第二PGW-U;PGW-C接收所述指示信息,并根据所述指示信息为所述终端设备分配第二地址信息;之后,PGW-C将该第二地址信息发送给SGW-C;SGW-C接收该第二地址信息,并将所接收的第二地址信息发送给第一SGW-U。According to a sixth aspect, an embodiment of the present application provides a data stream processing method, including: a control plane service gateway SGW-C obtains location information of a terminal device; and thereafter, the SGW-C selects a first terminal device for the terminal device according to the location information of the terminal device The user plane serving gateway SGW-U, the second SGW-U, and the second user plane PDN gateway PGW-U; after that, the SGW-C sends instruction information to the control plane PDN gateway PGW-C, and the instruction information is used to indicate that SGW-C is The terminal device selects a second SGW-U and a second PGW-U. The PGW-C receives the instruction information and assigns the second address information to the terminal device according to the instruction information. After that, the PGW-C sends the first address information to the terminal device. The second address information is sent to the SGW-C; the SGW-C receives the second address information and sends the received second address information to the first SGW-U.
第七方面,本申请实施例提供一种数据流处理方法,包括:所述第一SGW-U接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流发送给第二SGW-U;所述第二SGW-U接收所述第一SGW-U发送的数据流,并将所述数据流发送给第二用户面PDN网关PGW-U;所述第二PGW-U接收所述第二SGW-U发送的数据流,并将所述数据流发送给本地服务器。In a seventh aspect, an embodiment of the present application provides a data stream processing method, including: after the first SGW-U receives a data stream of the terminal device, if it is determined that the data stream is a data stream of a local service, Sending the data stream to the second SGW-U; the second SGW-U receiving the data stream sent by the first SGW-U, and sending the data stream to the second user plane PDN gateway PGW-U The second PGW-U receives a data stream sent by the second SGW-U, and sends the data stream to a local server.
第八方面,本申请实施例提供一种数据流处理方法,包括:SGW-C和/或PGW-C为终端设备确定第二SGW-U和第二PGW-U;所述SGW-C与所述第二SGW-U建立连接,所述PGW-C与所述第二PGW-U建立连接。In an eighth aspect, an embodiment of the present application provides a data stream processing method, including: SGW-C and / or PGW-C determining a second SGW-U and a second PGW-U for a terminal device; the SGW-C and all The second SGW-U establishes a connection, and the PGW-C establishes a connection with the second PGW-U.
第九方面,本申请实施例提供一种数据流处理系统,该系统包括用户面服务网关SGW-U、控制面服务网关SGW-C、控制面PDN网关PGW-C和第二用户面PDN网关PGW-U,其中:SGW-C,用于获取终端设备的位置信息;并根据该终端设备的位置信息,为该终端设备选择SGW-U和第二PGW-U;之后,向PGW-C发送指示信息,该指示信息用于指示SGW-C为所述终端设备选择有上述第二PGW-U;PGW-C,用于接收SGW-C发送的指示信息,并根据该指示信息为终端设备分配第二地址信息;之后,将该第二地址信息发送给上述SGW-C;SGW-C,还用于接收第二地址信息,并将第二地址信息发送给SGW-U;SGW-U,用于接收SGW-C发送的终端设备的第二地址信息;之后,接收到该终端设备的数据流后,若确定数据流为本地业务的数据流,则将该数据流的源地址信息更新为上述第二地址信息,并将更新后的数据流发送给第二PGW-U;第二PGW-U,用于接收SGW-U发送的数据流,并将该数据流发送给本地服务器。In a ninth aspect, an embodiment of the present application provides a data stream processing system. The system includes 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, where: SGW-C is used to obtain the location information of the terminal device; and based on the location information of the terminal device, SGW-U and the second PGW-U are selected for the terminal device; after that, an instruction is sent to the PGW-C Information, the instruction information is used to instruct the SGW-C to select the second PGW-U for the terminal device; PGW-C is used to receive the instruction information sent by the SGW-C, and allocate the first Second address information; after that, send the second address information to the above SGW-C; SGW-C is also used to receive the second address information and send the second address information to SGW-U; SGW-U is used for Receive the second address information of the terminal device sent by the SGW-C; after receiving the data flow of the terminal device, if it is determined that the data flow is a data flow of a local service, update the source address information of the data flow to the first Two address information, and send the updated data stream to A second PGW-U; a second PGW-U, configured to receive a data stream sent by the SGW-U, and send the data stream to a local server.
第十方面,本申请实施例提供一种数据流处理系统,包括用户面服务网关SGW-U、控制面服务网关SGW-C、控制面PDN网关PGW-C和第二用户面PDN网关PGW-U,其中:所述SGW-C和/或所述PGW-C,用于为终端设备确定SGW-U和第二PGW-U;所述SGW-C用于与所述SGW-U建立连接,所述PGW-C用于与所述第二PGW-U建立连接;所述SGW-U,用于接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流发送给所述第二PGW-U;所述第二PGW-U,用于接收所述SGW-U发送的数据流,并 将所述数据流发送给本地服务器。In a tenth aspect, an embodiment of the present application provides a data stream processing system, including 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 to determine an SGW-U and a second PGW-U for a terminal device; the SGW-C is used to establish a connection with the SGW-U, so The PGW-C is configured to establish a connection with the second PGW-U; the SGW-U is configured to receive the data stream of the terminal device, and if it is determined that the data stream is a data stream of a local service, Sending the data stream to the second PGW-U; the second PGW-U is configured to receive a data stream sent by the SGW-U, and send the data stream to a local server.
第十一方面,本申请实施例提供一种数据流处理系统,该系统包括第一用户面服务网关SGW-U、第二SGW-U、控制面服务网关SGW-C、控制面PDN网关PGW-C和第二用户面PDN网关PGW-U,其中:SGW-C,用于获取终端设备的位置信息;并根据该终端设备的位置信息,为该终端设备选择第一用户面服务网关SGW-U、第二SGW-U和第二用户面PDN网关PGW-U;之后,向PGW-C发送指示信息,该指示信息用于指示SGW-C为该终端设备选择有第二SGW-U和第二PGW-U;PGW-C,用于接收SGW-C发送的指示信息,并根据该指示信息为终端设备分配第二地址信息;之后,将该第二地址信息发送给上述SGW-C;上述SGW-C,还用于接收该第二地址信息,并将该第二地址信息发送给第一SGW-U;第一SGW-U,用于接收SGW-C发送的终端设备的第二地址信息;之后,接收到终端设备的数据流后,若确定该数据流为本地业务的数据流,则将该数据流的源地址信息更新为上述第二地址信息,并将更新后的数据流发送给第二SGW-U;第二SGW-U,用于接收第一SGW-U发送的数据流,并将该数据流发送给第二PGW-U;第二PGW-U,用于接收第二SGW-U发送的数据流,并将所收到的数据流发送给本地服务器。According to an eleventh aspect, an embodiment of the present application provides a data stream processing system, which includes a first user plane service gateway SGW-U, a second SGW-U, a control plane service gateway SGW-C, and a control plane PDN gateway PGW- C and the second user plane PDN gateway PGW-U, where: SGW-C is used to obtain the location information of the terminal device; and according to the location information of the terminal device, the first user plane service gateway SGW-U is selected for the terminal device , The second SGW-U, and the second user plane PDN gateway PGW-U; after that, send instruction information to the PGW-C, which is used to instruct the SGW-C to select a second SGW-U and a second SGW-U for the terminal device. PGW-U; PGW-C, for receiving the instruction information sent by SGW-C, and assigning the second address information to the terminal device according to the instruction information; thereafter, sending the second address information to the above SGW-C; the above SGW -C is also used to receive the second address information and send the second address information to the first SGW-U; the first SGW-U is used to receive the second address information of the terminal device sent by the SGW-C; After receiving the data stream from the terminal device, if it is determined that the data stream is a data stream for local services , The source address information of the data stream is updated to the above-mentioned second address information, and the updated data stream is sent to the second SGW-U; the second SGW-U is configured to receive data sent by the first SGW-U And send the data stream to the second PGW-U; the second PGW-U is used to receive the data stream sent by the second SGW-U and send the received data stream to the local server.
第十二方面,本申请实施例提供一种数据流处理系统,包括第一用户面服务网关SGW-U、第二SGW-U、控制面服务网关SGW-C、控制面PDN网关PGW-C和第二用户面PDN网关PGW-U,其中:所述SGW-C和/或所述PGW-C,用于为终端设备确定第二SGW-U和第二PGW-U;所述SGW-C用于与所述第二SGW-U建立连接,所述PGW-C用于与所述第二PGW-U建立连接;所述第一SGW-U,用于接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流发送给所述第二SGW-U;所述第二SGW-U,用于接收所述第一SGW-U发送的数据流,并将所述数据流发送给第二PGW-U;所述第二PGW-U,用于接收所述第二SGW-U发送的数据流,并将所述数据流发送给本地服务器。In a twelfth aspect, an embodiment of the present application provides a data stream processing system including 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 The second user plane PDN gateway PGW-U, wherein: the SGW-C and / or the PGW-C are used to determine a second SGW-U and a second PGW-U for the terminal device; the SGW-C is used for After establishing a connection with the second SGW-U, the PGW-C is used to establish a connection with the second PGW-U; the first SGW-U is used after receiving a data stream from the terminal device If it is determined that the data flow is a data flow of a local service, sending the data flow to the second SGW-U; the second SGW-U is configured to receive the data sent by the first SGW-U A data stream, and sends the data stream to a second PGW-U; the second PGW-U is configured to receive the data stream sent by the second SGW-U, and send the data stream to a local server .
第十三方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,当其在计算机上运行时,使得计算机执行上述任一方面所提供的方法。According to a thirteenth aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When the computer-readable storage medium runs on a computer, the computer causes the computer to perform the operations provided in any of the foregoing aspects. method.
第十四方面,本申请实施例提供一种装置,包括:存储器,用于存储程序指令;处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行上述任一方面提供的数据流处理方法。In a fourteenth aspect, an embodiment of the present application provides a device, including: a memory for storing program instructions; a processor for calling the program instructions stored in the memory, and executing the provided in any of the foregoing aspects according to the obtained program. Data stream processing methods.
第十五方面,本申请实施例提供一种计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一方面提供的数据流处理方法。In a fifteenth aspect, an embodiment of the present application provides a computer program product that, when run on a computer, causes the computer to execute the data stream processing method provided in any one of the above aspects.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present application will be more concise and easy to understand in the description of the following embodiments.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
下面对本发明实施例中所需要使用的附图作简单地介绍。The drawings needed to be used in the embodiments of the present invention are briefly introduced below.
图1为一种网关C/U分离的EPC网络架构;Figure 1 is an EPC network architecture with gateway C / U separated;
图2为本申请实施例提供的一种系统架构示意图;FIG. 2 is a schematic diagram of a system architecture according to an embodiment of the present application; FIG.
图3为本申请实施例提供的一种数据流处理方法流程示意图;3 is a schematic flowchart of a data stream processing method according to an embodiment of the present application;
图4为本申请实施例提供的另一种EPC系统架构示意图;4 is a schematic diagram of another EPC system architecture according to an embodiment of the present application;
图5为本申请明实施例中所涉及的装置的可能的示例性框图;5 is a possible exemplary block diagram of a device involved in an embodiment of the present application;
图6为本申请实施例提供的一种装置的结构示意图。FIG. 6 is a schematic structural diagram of a device according to an embodiment of the present application.
具体实施方式detailed description
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。方法实施例中的具体操作方法也可以应用于装置实施例或系统实施例中。需要说明的是,在本申请的描述中“至少一个”是指一个或多个,其中,多个是指两个或两个以上。鉴于此,本发明实施例中也可以将“多个”理解为“至少两个”。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。另外,需要理解的是,在本申请的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. The specific operation method in the method embodiment can also be applied to the device embodiment or the system embodiment. It should be noted that, in the description of the present application, "at least one" means one or more, where multiple means two or more. In view of this, in the embodiments of the present invention, “multiple” may also be understood as “at least two”. "And / or" describes the association relationship of the associated objects, and indicates that there can be three kinds of relationships. For example, A and / or B can mean that there are three cases in which A exists alone, A and B exist, and B exists alone. In addition, the character "/", unless otherwise specified, generally indicates that the related objects are an "or" relationship. In addition, it should be understood that in the description of this application, the words "first" and "second" are used only for the purpose of distinguishing descriptions, and cannot be understood as indicating or implying relative importance, nor as indicating Or imply order.
EPC网络架构能够实现终端与服务器之间数据流的传递,通常情况下EPC网络架构包括服务网关(serving gateway,SGW)和分组数据网(packet data network,PDN)网关(PDN gateway,PGW)。在3GPP协议中,描述了EPC网络架构中网关C/U分离的情况,如图1所示。The EPC network architecture can realize the transfer of data flow between the terminal and the server. Generally, the EPC network architecture includes a serving gateway (SGW) and a packet data network (PDN) gateway (PDN). In the 3GPP protocol, the case where the gateway C / U is separated in the EPC network architecture is described, as shown in FIG. 1.
图1为一种网关C/U分离的EPC网络架构。其中网关C/U分离指的是一个网关根据功能划分拆分为控制面网关和用户面网关。如图1中,SGW被拆分为用户面SGW网关(server gateway for user plane,SGW-U)和控制面SGW网关(server gateway for control plane,SGW-C),其中,SGW-U可以实现非网元C/U分离的EPC网络架构中SGW的用户面功能,SGW-C可以实现非网元C/U分离的EPC网络架构中SGW的控制面功能。与之类似的,PGW被拆分为用户面PGW网关(PDN gateway for user plane,PGW-U)和控制面PDN网关(PDN gateway for control plane,PGW-C),其中,PGW-U可以实现非网元C/U分离的EPC网络架构中PGW的用户面功能,PGW-C可以实现非网元C/U分离的EPC网络架构中PGW的控制面功能。Figure 1 shows an EPC network architecture with gateway C / U separated. The gateway C / U separation refers to the division of a gateway into a control plane gateway and a user plane gateway according to functional division. As shown in Figure 1, the SGW is split into a user plane SGW gateway (server gateway for the user plane (SGW-U)) and a control plane SGW gateway (server gateway for the control plane (SGW-C)). Among them, the SGW-U can implement non- The user plane function of the SGW in the EPC network architecture with separated network element C / U, SGW-C can implement the control plane function of the SGW in the EPC network architecture with non-network element C / U separation. Similarly, PGW is split into a user plane PGW gateway (PDN gateway for PGW-U) and a control plane PDN gateway (PDN gateway for control plane (PGW-C)). Among them, PGW-U can realize non- The user plane function of the PGW in the EPC network architecture with separated network element C / U. The PGW-C can implement the control plane function of the PGW in the EPC network architecture with no network element C / U separation.
如图1所示,EPC网络架构中还包括移动管理实体(mobility management entity,MME)、归属用户服务器(home subscriber server,HSS),其中,MME用于管理用户设备(user equipment,UE)的移动上下午和会话上下文。此外,还包括计费网关(charging gateway,CG)、在线计费系统(online charging system,OCS)和合法监听网关(lawful interception gateway,LIG)等与监测功能相关的监测网元,PGW-C可以通过这些监测网元实现对终端业务的监测,如对终端业务的计费、合法监听等。As shown in Figure 1, the EPC network architecture also includes a mobility management entity (MME) and a home subscriber server (HSS), where the MME is used to manage the movement of user equipment (UE) AM and session context. In addition, it also includes monitoring network elements related to monitoring functions such as charging gateway (CG), online charging system (OCS), and lawful interception gateway (LIG). PGW-C can These monitoring network elements are used to monitor terminal services, such as billing and legal monitoring of terminal services.
基于图1所示的EPC网络架构,在激活UE时,PGW-C可以为终端设备分配终端设备的IP地址和该终端设备的IP地址对应的PGW-U,SGW-C可以根据终端的位置信息为终端分配距离UE位置较近的SGW-U。终端设备在访问数据网络时,向通用移动通信系统陆地无线接入网(UMTS terrestrial radio access network,UTRN)中的基站(E-UTRN)发送的数据流中源地址信息为PGW-C为其分配的IP地址,基站接收终端设备发送的数据流并将数据流发送给SGW-U。SGW-U接收基站发送的终端设备的数据流,根据数据流中的源地址(即PGW-C为终端设备分配的IP地址),将数据流发送给该源地址对应的PGW-U。PGW-U接收SGW-U发送的数据流,并向数据网络发送该数据流。Based on the EPC network architecture shown in Figure 1, when the UE is activated, the PGW-C can assign the terminal device's IP address to the terminal device and the PGW-U corresponding to the terminal device's IP address, and the SGW-C can use the terminal's location information Assign the SGW-U that is closer to the UE to the terminal. When the terminal device accesses the data network, the source address information in the data stream sent to the base station (E-UTRN) in the universal mobile communication system terrestrial radio access network (UTRN) is assigned by PGW-C. IP address, the base station receives the data stream sent by the terminal device and sends the data stream to the SGW-U. The SGW-U receives the data stream of the terminal device sent by the base station, and sends the data stream to the PGW-U corresponding to the source address according to the source address in the data stream (that is, the IP address assigned by the PGW-C to the terminal device). The PGW-U receives the data stream sent by the SGW-U and sends the data stream to the data network.
在上述终端设备访问数据网络的过程中,PGW-U为终端设备访问数据网络的锚点,即,当终端设备访问数据网络时,终端设备的数据流将被固定发送给该终端设备的IP地址对应的PGW-U,由该PGW-U将数据流发送给数据网络。例如,PGW-C为终端分配了IP地址IPa和PGW-U A,则终端设备所发送的数据流中的源地址为IPa,无论终端设备在何 地访问数据网络,数据流都将被发送给PGW-U A,由PGW-U A将终端设备的数据流发送给数据网络。将PGW-U作为终端设备访问数据网络的锚点,使终端设备可以连续访问数据网络。In the process of the terminal device accessing the data network, PGW-U is the anchor point for the terminal device to access the data network, that is, when the terminal device accesses the data network, the data stream of the terminal device will be fixedly sent to the IP address of the terminal device. The corresponding PGW-U sends the data stream to the data network. For example, PGW-C assigns IP addresses IPa and PGW-U to the terminal. The source address in the data stream sent by the terminal device is IPa. No matter where the terminal device accesses the data network, the data stream will be sent to PGW-U A, PGW-U A sends the data stream of the terminal equipment to the data network. 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.
然而,由于终端设备的数据流会被固定发送给特定的PGW-U,而PGW-U又常被设置在核心网的中心区域上,使得终端设备在访问所在区域的本地服务器时往往会出现流量迂回等问题。为了解决该问题,出现了一些可以实现本地分流(local breakout,LBO)的技术方案,使本地业务的数据流可以在终端设备所在区域被直接发送给本地服务器,从而解决流量迂回的问题。这些方案为了避免数据流被SGW-U直接发送给PGW-U,多在数据流到达SGW-U之前便对数据流进行了分流,如在SGW-U与基站之间设置行动边缘计算网关(mobile edge computing gateway,MEC GW),由MEC GW从基站接收终端设备的数据流,将本地业务的数据流发送给本地服务器,并将非本地业务的数据流发送给SGW-U,SGW-U并不会接收到本地业务的数据流,便不会将本地业务的数据流发送给PGW-U,从而解决了流量迂回问题。However, because the data flow of the terminal equipment is fixedly sent to a specific PGW-U, and the PGW-U is often set in the central area of the core network, the terminal equipment often encounters traffic when it accesses the local server in the area Roundabout and other issues. In order to solve this problem, there are some technical solutions that can implement local breakout (LBO), so that the data flow of local services can be directly sent to the local server in the area where the terminal device is located, thereby solving the problem of traffic bypass. In order to prevent data flows from being directly sent by the SGW-U to the PGW-U, these solutions often split the data flows before the data flows reach the SGW-U. For example, a mobile edge computing gateway (mobile) is set up between the SGW-U and the base station. edge gateway (MEC, GW). 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. SGW-U does not Will receive the data flow of the local service, and will not send the data flow of the local service to the PGW-U, thereby solving the traffic bypass problem.
在实际应用中,虽然在数据流到达SGW-U之前便对数据流进行分流可以解决流量迂回的问题,但是,由于本地业务的数据流不会经SGW-U发送给PGW-U,因此,PGW-C便无法从PGW-U获取本地业务的数据流中能够用于本地业务监测的相关信息,例如,数据流对应的本地业务类型、数据流的大小、数据流的内容等等,使得PGW-C无法实现对终端设备本地业务的监测。In practical applications, although the data flow can be divided before the data flow reaches the SGW-U, the problem of circuitous traffic can be solved. However, because the data flow of the local service will not be sent to the PGW-U through the SGW-U, therefore, the PGW -C will not be able to obtain relevant information for local service monitoring from the data stream of the local service from PGW-U, such as the type of local service corresponding to the data stream, the size of the data stream, the content of the data stream, etc., making PGW- C cannot monitor the local services of the terminal equipment.
为了实现对终端设备本地业务的监测,本申请实施例提供了一种数据流处理方法。下面结合附图介绍本申请实施例提供的技术方案。In order to monitor the local services of the terminal equipment, an embodiment of the present application provides a data stream processing method. The technical solutions provided by the embodiments of the present application are described below with reference to the drawings.
图2为本申请实施例提供的一种系统架构示意图,该系统架构适用于本申请实施例所提供的任一种方法。如图2所示,该系统包括SGW-U、SGW-C、PGW-C、第二PGW-U和第一PGW-U,进一步的,还包括MME、本地服务器等,应理解,图2所示架构为简化表示的系统架构,在实际应用中,该系统架构还可以包括其它网元,如图1中所示的基站、HSS、CG、OCS、LIG等。本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。FIG. 2 is a schematic diagram of a system architecture provided by an embodiment of the present application, and the system architecture is applicable to any method provided by the embodiment of the present application. As shown in FIG. 2, the system includes SGW-U, SGW-C, PGW-C, second PGW-U, and first PGW-U, and further includes MME, local server, etc. It should be understood that The display architecture is a simplified system architecture. In practical applications, the system architecture may also include other network elements, such as base stations, HSS, CG, OCS, LIG, etc. as shown in FIG. 1. The network architecture and service scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those of ordinary skill in the art know that with the network The evolution of the architecture and the emergence of new business scenarios. The technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
应理解,本申请实施例中第二PGW-U可以是一个独立的PGW-U网关设备,也可以是包括了PGW-U和其它功能的设备,例如,本申请实施例中的第二PGW-U还可以是包括了PGW-U网关和SGW-U的SPGW-U,SPGW-U是一种既可以实现PGW-U功能又可以实现SGW-U功能的网关,在本申请实施例中的第二PGW-U为SPGW-U时,利用的正是SPGW-U所实现的PGW-U功能,因此也包含于本申请实施例之中。It should be understood that the second PGW-U in the embodiment of the present application may be an independent PGW-U gateway device or a device including PGW-U and other functions. For example, the second PGW-U in the embodiment of the present application U can also be SPGW-U including a PGW-U gateway and SGW-U. SPGW-U is a gateway that can implement both the PGW-U function and the SGW-U function. When the second PGW-U is the SPGW-U, the PGW-U function implemented by the SPGW-U is used, and therefore is also included in the embodiments of the present application.
本申请实施例中的终端设备是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。The terminal device in the embodiment of the present application is a device with a wireless transceiver function, which can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on the water (such as a ship); it can also be deployed in the air (Such as on airplanes, balloons, and satellites). The terminal may be a mobile phone, a tablet, a computer with a wireless transmitting and receiving function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, or an industrial control. Wireless terminal in self-driving, wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety, Wireless terminals in smart cities, wireless terminals in smart homes, and the like.
作为示例,基站与SGW-U之间的接口可以称为S1-U接口,SGW-U与第一PGW-U之间的接口可以称为S5-U接口或S8-U接口,第一PGW-U与数据网络之间的接口可以称为SGi接口,PGW-C与第一PGW-U和第二PGW-U之间的接口可以称为Sxb接口,SGW-C与SGW-U之间的接口可以称为Sxa,SGW-C和PGW-C之间的接口可以称为S5-C接口或S8-C接口。As an example, the interface between the base station and the SGW-U may be referred to as an S1-U interface, and the interface between the SGW-U and the first PGW-U may be referred to as an S5-U interface or an S8-U interface. The first PGW-U The interface between U and the data network can be called the SGi interface, the interface between PGW-C and the first PGW-U and the second PGW-U can be called the Sxb interface, and the interface between SGW-C and SGW-U It can be called Sxa, and the interface between SGW-C and PGW-C can be called S5-C interface or S8-C interface.
可以理解的是,上述功能既可以是硬件设备中的网元,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。在本申请的实施例中,对各网元的名称不做限定,随着技术的演进,各具有相同或者相似功能的网元还可以具体其它名称。例如,在第5代(5th generation,5G)通信中,SGW-C和PGW-C可以由会话管理功能(session management function,SMF)网元实现,SGW-U和第二PGW-U可以由用户面功能(user plane function,UPF)网元实现。It can be understood that the foregoing functions may be network elements in a hardware device, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform). In the embodiments of the present application, the names of the network elements are not limited. As the technology evolves, each network element having the same or similar function may also specify another name. For example, in 5th generation (5G) communications, SGW-C and PGW-C can be implemented by session management function (SMF) network elements, and SGW-U and second PGW-U can be implemented by users Plane function (user plane function (UPF)) network element implementation.
在本申请实施例中,SGW-U和第二PGW-U可以分属于不同网元,也可以属于同一网元,在属于同一网元时,对该网元的具体名称不多作限制,比如该网元可以是SPGW-U,也就是说,可以由SPGW-U实现SGW-U和第二PGW-U的功能。接下来,以具体实施例对本申请实施例所提供的方法进行示例性说明。需要说明的是,网元是设备的一种名称,设备的名称不限于此。In the embodiment of the present application, the SGW-U and the second PGW-U may belong to different network elements or may belong to the same network element. When they belong 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 functions of the SGW-U and the second PGW-U may be implemented by the SPGW-U. Next, the method provided in the embodiment of the present application is exemplarily described by using specific embodiments. It should be noted that the network element is a name of the device, and the name of the device is not limited thereto.
实施例一Example one
基于图2所示的系统架构,本申请实施例提供一种数据流处理方法。图3为本申请实施例提供的一种数据流处理方法流程示意图,如图3所示主要包括以下步骤: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 flowchart of a data stream processing method according to an embodiment of the present application. As shown in FIG. 3, the method mainly includes the following steps:
S301:SGW-C获取终端设备的位置信息。S301: SGW-C obtains the location information of the terminal device.
其中,终端设备的位置信息可以是SGW-C从EPC系统架构中具备定位功能的网元(如MME)获得的。在一种可能的实现方式中,终端设备在激活(如终端设备开机或关闭飞行模式)时,会向基站发送激活请求,以获取PGW-C为其分配的地址信息。激活请求中一般会包括终端设备的用户标识,如用户的手机号。基站接收终端设备发送的激活请求,并将激活请求发送给MME。MME获取终端设备的位置信息,并将终端设备的激活请求及位置信息发送给SGW-C。The location information of the terminal device may be obtained by the SGW-C from a network element (such as an MME) having a positioning function in the EPC system architecture. In a possible implementation manner, when the terminal device is activated (for example, the terminal device is turned on or the airplane mode is turned off), it sends an activation request to the base station to obtain the address information allocated by the PGW-C. The activation request usually includes the user identification of the terminal device, such as the user's mobile phone number. The base station receives the activation request sent by the terminal device, and sends the activation request to the MME. The MME obtains the location information of the terminal device, and sends an activation request and the location information of the terminal device to the SGW-C.
S302:SGW-C根据终端设备的位置信息,为终端设备选择SGW-U和第二PGW-U。S302: The SGW-C selects the SGW-U and the second PGW-U for the terminal device according to the location information of the terminal device.
在本申请实施例中,一个SGW-C对应有至少一个SGW-U,SGW-C预先配置有其所对应的至少一个SGW-U的位置信息。在SGW-C对应有多个SGW-U时,不同的SGW-U可以位于相同或不同的通信区域。在本申请实施例中,通信区域可以是跟踪区(tracking area,TA)、跟踪区列表(TA list)等。In the embodiment of the present application, one SGW-C corresponds to at least one SGW-U, and the SGW-C is pre-configured with position information of at least one SGW-U corresponding to the SGW-C. When SGW-C corresponds to multiple 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.
此外,在本申请实施例中,SGW-C中还预先配置有SGW-U与第二PGW-U之间的对应关系,存在对应关系的SGW-U和第二PGW-U可以位于相同的通信区域。In addition, in the embodiment of the present application, a correspondence relationship between the SGW-U and the second PGW-U is pre-configured in the SGW-C, and the SGW-U and the second PGW-U that have the correspondence relationship can be located in the same communication. region.
具体实施时,存在对应关系的SGW-U和第二PGW-U可以由同一用户面网关实现,即由包括SGW-U和第二PGW-U的用户面网关实现本申请实施例中SGW-U和第二PGW-U的功能。In specific implementation, the SGW-U and the second PGW-U that have a corresponding relationship can be implemented by the same user plane gateway, that is, the user plane gateway including the SGW-U and the second PGW-U is used to implement the SGW-U in the embodiment of the present application. And the function of the second PGW-U.
SGW-C在获取终端设备的位置信息后,可以根据终端设备的位置信息和预先配置的SGW-C所对应的至少一个SGW-U的位置信息,从至少一个SGW-U中选取距离终端设备位置最近的SGW-U。之后,SGW-C根据预先配置的SGW-U与第二PGW-U之间的对应关系,为终端设备选择第二PGW-U。举例说明,SGW-C根据终端设备的位置信息为终端设备选择SGW-U A后,进一步根据SGW-U与第二PGW-U之间的对应关系,为终端设备选择SGW-U A所对应的PGW-U A。After obtaining the location information of the terminal device, the SGW-C may select 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 at least one SGW-U corresponding to the pre-configured SGW-C. The nearest SGW-U. After that, the SGW-C selects the second PGW-U for the terminal device based on the pre-configured correspondence between the SGW-U and the second PGW-U. For example, after SGW-C selects SGW-U for the terminal device based on the location information of the terminal device, it further selects the corresponding SGW-U for the terminal device based on the correspondence between SGW-U and the second PGW-U. PGW-U A.
S303:SGW-C向PGW-C发送指示信息。S303: The SGW-C sends instruction information to the PGW-C.
在本申请实施例中,指示信息可以包括终端设备的用户标识,如用户手机号,以便于PGW-C对终端设备的业务进行监测时,可以确定该终端设备所归属的用户。In the embodiment of the present application, the indication information may include a user identifier of the terminal device, such as a user's mobile phone number, so that when PGW-C monitors the service of the terminal device, the user to which the terminal device belongs can be determined.
S304:PGW-C接收SGW-C发送的指示信息,并根据指示信息为终端设备分配第二地址信息。S304: The PGW-C receives the instruction information sent by the SGW-C, and allocates the second address information to the terminal device according to the instruction information.
PGW-C与至少一个第一PGW-U之间存在对应关系,并预先配置有所对应的至少一个第一PGW-U的地址信息。PGW-C接收到指示信息后,还可以根据至少一个PGW-U的负载情况为终端选择一个第一PGW-U,由该第一PGW-U作为终端设备访问数据网络的锚点。There is a correspondence relationship between PGW-C and at least one first PGW-U, and address information of at least one corresponding first PGW-U is configured in advance. After receiving the indication information, the PGW-C may also select a first PGW-U for the terminal according to the load of at least one PGW-U, and the first PGW-U may be used as an anchor point for the terminal device to access the data network.
在本申请实施例中,PGW-C可以为终端设备分配至少两个网络地址信息:第一地址信息和第二地址信息。具体的,第一地址信息为PGW-C为终端设备分配的用于访问数据网络的地址信息。第二地址信息为终端设备分配的用于访问本地数据库的地址信息。具体的,第一地址信息和第二地址信息可以为IPv4地址、IPv6地址、IPv4v6地址等。In the embodiment of the present application, the PGW-C may allocate at least two network address information to the terminal device: first address information and second address information. Specifically, the first address information is address information allocated by the PGW-C to the terminal device for accessing the data network. The second address information is address information allocated by the terminal device for accessing a local database. Specifically, the first address information and the second address information may be an IPv4 address, an IPv6 address, an IPv4v6 address, and the like.
具体实施时,SGW-C和PGW-C可以由同一控制面网关实现,即由包括SGW-C和PGW-C的控制面网关实现本申请实施例中SGW-C和PGW-C的功能。In specific implementation, SGW-C and PGW-C may be implemented by the same control plane gateway, that is, the functions of SGW-C and PGW-C in the embodiment of the present application are implemented by a control plane gateway including SGW-C and PGW-C.
S305:PGW-C向SGW-C发送第二地址信息。S305: The PGW-C sends the second address information to the SGW-C.
在本申请实施例中,为了实现SGW-U对本地业务的数据流分流,可以将第二地址信息发送给SGW-U。由于PGW-C与SGW-U之间不存在接口,因此,PGW-C可以先将第二地址信息发送给SGW-C,由SGW-C将第二地址信息发送给SGW-U。在一种可能的实现方式中,PGW-C还可以将第一地址信息也发送给SGW-C。In the embodiment of the present application, in order to realize the offload of the data flow of the local service by the SGW-U, the second address information may be sent to the SGW-U. Since there is no interface between the PGW-C and the SGW-U, the PGW-C may send the second address information to the SGW-C first, and the SGW-C sends the second address information to the SGW-U. In a possible implementation manner, the PGW-C may also send the first address information to the SGW-C.
S306:SGW-C接收PGW-C发送的第二地址信息,并将第二地址信息发送给SGW-U。S306: The SGW-C receives the second address information sent by the PGW-C, and sends the second address information to the SGW-U.
在一种可能的实现方式中,SGW-C还可以接收PGW-C发送的第一地址信息,并将第一地址信息通过MME和基站发送给终端设备。更进一步的,SGW-C还可以将第一地址信息发送给SGW-U。In a possible implementation manner, the SGW-C may further receive the 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:SGW-U接收终端发送的第二地址信息,并接收终端设备的数据流。S307: The SGW-U receives the second address information sent by the terminal, and receives the data stream of the terminal device.
终端设备在接收到PGW-C为其分配的地址信息后,便完成了激活。在本申请实施例中,终端设备在接收到第一地址信息后,便可以以第一地址信息作为源地址信息向基站发送数据流。由基站接收终端设备发送的数据流,并转发给SGW-U。After receiving the address information assigned by PGW-C, the terminal equipment completes the activation. In the embodiment of the present application, after receiving the first address information, the terminal device may send the data stream to the base station by using the first address information as the source address information. The base station receives the data stream sent by the terminal equipment and forwards it to the SGW-U.
S308:SGW-U在终端设备的数据流为本地业务的数据流时,执行S309。在一种可能实现方式中,SGW-U在终端设备的数据流非本地业务的数据流时,执行S312。S308: The SGW-U executes S309 when the data flow of the terminal device is the data flow of the local service. In a possible implementation manner, the SGW-U executes S312 when the data flow of the terminal device is not the data flow of the local service.
在本申请实施例中,SGW-U可以根据预先设置的分流规则判断终端设备的数据流是否为本地业务的数据流,例如,在终端设备的数据流中目的地址信息为本地服务器的地址信息,则确定该数据流为本地业务的数据流。在具体实施过程中,分流规则既可以预先配置在SGW-U中,也可以预先配置在SGW-C中,由SGW-C在终端激活过程中发送给SGW-U,本申请实施例对此并不多作限定。In the embodiment of the present application, the SGW-U may determine whether the data flow of the terminal device is a data flow of a local service according to a preset traffic distribution rule. For example, 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 stream is a data stream of a local service. In the specific implementation process, the shunting rules can be pre-configured in the SGW-U or pre-configured in the SGW-C, and the SGW-C sends it to the SGW-U during the terminal activation process. No more restrictions.
S309:SGW-U将数据流的源地址信息更新为第二地址信息。S309: The SGW-U updates the source address information of the data stream to the second address information.
在一种可能的实现方式中,数据流的源地址信息为PGW-C为终端设备分配的第一地址信息。SGW-U根据SGW-C发送的第二地址信息,将本地业务的数据流中的源地址信息更新为第二地址信息。In a possible implementation manner, the source address information of the data stream is the first address information allocated by the PGW-C to the terminal device. The SGW-U updates the source address information in the data flow of the local service to the second address information according to the second address information sent by the SGW-C.
S310:SGW-U将更新后的数据流发送给第二PGW-U。S310: The SGW-U sends the updated data stream to the second PGW-U.
S311:第二PGW-U接收SGW-U发送的更新后的数据流,并将数据流发送给本地服务器。S311: The second PGW-U receives the updated data stream sent by the SGW-U, and sends the data stream to the local server.
在本申请实施例中,本地服务器可以是相对于SGW-U而言的,即本地服务器与SGW-U处于同一通信区域。具体实施时,本地服务器既可以是一台单独的服务器,可以是由多个服务器构成的服务器集群,如局域网。In the embodiment of the present application, the local server may be relative to the SGW-U, that is, the local server and the SGW-U are in the same communication area. In specific implementation, the local server can be either a single server or a server cluster composed of multiple servers, such as a local area network.
具体实施时,第二PGW-U还可以获取数据流中用于业务监测的相关信息,并发送给PGW-C,从而实现对终端设备的本地业务的监测。具体实施时,第二PGW-U可以通过第二PGW-U与PGW-C之间的Sxb接口将监测信息发送给PGW-C。此外,PGW-C还可以向第二PGW-U提供LIG的地址信息,以及,向LIG提供第二PGW-U的地址信息,使第二PGW-U与LIG之间建立X3-U接口,第二PGW-U可以通过X3-U接口直接将用于合法监听的监测信息发送给LIG。During specific implementation, the second PGW-U may also obtain relevant information for service monitoring in the data stream and send it to the PGW-C, thereby realizing the monitoring of local services of the terminal device. In specific implementation, the second PGW-U may send monitoring information to the PGW-C through the Sxb interface between the second PGW-U and the PGW-C. In addition, PGW-C can also provide the address information of the LIG to the second PGW-U, and provide the address information of the second PGW-U to the LIG, so that the X3-U interface is established between the second PGW-U and the LIG. The second PGW-U can directly send the monitoring information for legal interception to the LIG through the X3-U interface.
S312:SGW-U将数据流发送给第一PGW-U。S312: The SGW-U sends the data stream to the first PGW-U.
S313:第一PGW-U接收SGW-U发送的数据流,并将数据流发送给数据网络。S313: The first PGW-U receives the data stream sent by the SGW-U, and sends the data stream to the data network.
具体实施时,第一PGW-U还可以获取数据流中用于业务监测的相关信息,并发送给PGW-C,从而实现对终端设备的业务的监测。In specific implementation, the first PGW-U can also obtain relevant information for service monitoring in the data stream and send it to PGW-C, so as to realize the monitoring of the services of the terminal device.
在本申请实施例的S309中,SGW-U将本地业务的数据流的源地址信息更新为第二地址信息,由第二PGW-U将更新后的数据流发送给本地服务器,使得第二PGW-U可以作为第二地址信息对应的接入本地服务器的锚点,即为终端设备分配了一条专门用于传递本地业务的数据流的PDN连接,解决了终端设备向本地服务器发送数据流时所产生的流量迂回问题。同时,PGW-U本身具有获取数据流中用于业务监测的相关信息的功能,本申请实施例使用第二PGW-U向本地服务器发送数据流,便可以在降低流量迂回的同时实现对本地业务的监测。In S309 in the 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 can be used as the anchor point for accessing the local server corresponding to the second address information, that is, the terminal device is allocated a PDN connection dedicated to transmitting the data stream of the local service, which solves the problem when the terminal device sends the data stream to the local server. The resulting traffic detours. At the same time, the PGW-U itself has the function of obtaining related information for service monitoring in the data stream. In the embodiment of the present application, the second PGW-U is used to send the data stream to the local server, which can reduce the circuitous traffic while achieving local business Monitoring.
在EPC架构中,SGW-U与PGW-U之间是通过隧道传输的。基于此,在一种可能的实现方式中,SGW-C在为终端设备选择了SGW-U和第二PGW-U之后,还可以将SGW-U的地址信息和第二PGW-U的地址信息发送给PGW-C。In the EPC architecture, SGW-U and PGW-U are transmitted through a tunnel. 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-U address information and the second PGW-U address information Send to PGW-C.
在S304中PGW-C还会为终端设备分配第一隧道信息和第二隧道信息。其中,第二隧道信息中可以包括SGW-U的地址信息和/或第二PGW-U的地址信息。具体的,SGW-U和第二PGW-U的地址信息是SGW-C发送给PGW-C的。PGW-C发送给第二PGW-U的第二隧道信息中可以包括SGW-U的地址信息,PGW-C发送给SGW-U的第二隧道信息中可以包括第二PGW-U的地址信息。In S304, the PGW-C will also allocate the first tunnel information and the second tunnel information to the terminal device. 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 by the SGW-C to the PGW-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.
PGW-C将第二隧道信息发送给SGW-C和第二PGW-U,SGW-C接收PGW-C发送的第二隧道信息并将第二隧道信息发送给SGW-U,SGW-U和第二PGW-U根据第二隧道信息建立SGW-U与第二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, the SGW-U, and the first The two PGW-Us establish a tunnel between the SGW-U and the second PGW-U according to the second tunnel information.
具体的,第二隧道信息中还可以包括第二PGW-U侧的隧道标识,该隧道标识与终端设备的第二地址信息相对应。在一种可能的实现方式中,PGW-C可以在收到指示信息后为终端设备分配该隧道标识。在另一种可能的实现方式中,PGW-C可以将为终端设备分配的第二地址信息发送给第二PGW-U,第二PGW-U接收到第二地址信息后,为该第二地址信息分配对应的隧道标识,并将隧道标识发送给PGW-C。Specifically, the second tunnel information may further include a tunnel identifier on the second PGW-U side, and 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 instruction information. In another possible implementation manner, the PGW-C may send the second address information allocated to the terminal device to the second PGW-U, and after receiving the second address information, the second PGW-U is the second address. Information is assigned to the corresponding tunnel identifier, and the tunnel identifier is sent to PGW-C.
SGW-U和第二PGW-U可以通过第二隧道信息建立SGW-U和第二PGW-U之间的上行隧道,该上行隧道用于SGW-U向第二PGW-U发送更新后的终端设备的数据流。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 by the SGW-U to send the updated terminal to the second PGW-U The data flow of the device.
更进一步的,第二隧道信息中还可以包括SGW-C为终端设备分配的SGW-U侧隧道标识。SGW-U和第二PGW-U还可以通过第二隧道信息建立SGW-U和第二PGW-U之间的下行隧道,该下行隧道用于第二PGW-U向SGW-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 also establish a downlink tunnel between the SGW-U and the second PGW-U through the second tunnel information, and the downlink tunnel is used by the second PGW-U to send a local server to the SGW-U to The data stream sent by the terminal device.
SGW-U在终端设备的数据流为本地业务的数据流时,SGW-U将数据流的源地址信息更新为第二地址信息并通过与第二PGW-U之间的上行隧道将更新后的数据流发送给第二PGW-U。具体的,SGW-U可以根据第二PGW-U侧的隧道标识和第二PGW-U的地址信息封装更新后的数据流,从而将更新后的数据流通过与第二PGW-U之间的隧道发送给第二PGW-U。第二PGW-U通过与SGW-U之间的隧道接收SGW-U发送的数据流,根据封装数据流的第二PGW-U侧隧道标识确定该隧道标识对应的第二地址信息,从而可以根据第二地址信息确定第二地址信息对应的上下文信息,并获取数据流中用于业务监测的相关信息。同时,第二PGW-U还可以对从SGW-U接收到的数据流解封装,获取SGW-U更新后的数据流,并将更新后的数据流发送给本地服务器。When the data flow of the terminal device is a data flow of the local service, the SGW-U updates the source address information of the data flow to the second address information and updates the updated address through the uplink tunnel with the second PGW-U. The data stream is sent to the second PGW-U. Specifically, the SGW-U may encapsulate the updated data stream according to the tunnel identifier on the second PGW-U side and the address information of the second PGW-U, so as to pass the updated data stream to the second PGW-U. The tunnel is sent to the second PGW-U. The second PGW-U receives the data stream sent by the SGW-U through the tunnel with the SGW-U, and determines the second address information corresponding to the tunnel identifier according to the second PGW-U-side tunnel identifier that encapsulates the data stream, so that it can be based on The second address information determines context information corresponding to the second address information, and acquires related information used for service monitoring in the data stream. At the same time, the second PGW-U can also decapsulate the data stream received from the SGW-U, obtain the updated data stream of the SGW-U, and send the updated data stream to the local server.
与之类似的,PGW-C为终端设备分配的第一隧道信息中可以包括SGW-U的地址信息和/或第一PGW-U的地址信息。具体的,PGW-C发送给第一PGW-U的第一隧道信息中可以包括SGW-U的地址信息,PGW-C发送给SGW-U的第一隧道信息中可以包括第一PGW-U的地址信息。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 the address information of the SGW-U, and the first tunnel information sent by the PGW-C to the SGW-U may include the first PGW-U Address information.
PGW-C将第一隧道信息发送给SGW-C和第一PGW-U,SGW-C接收PGW-C发送的第一隧道信息并将第一隧道信息发送给SGW-U,SGW-U和第一PGW-U根据第一隧道信息建立SGW-U和第一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, the SGW-U, and the first A PGW-U establishes a tunnel between the SGW-U and the first PGW-U according to the first tunnel information.
具体的,第一隧道信息中还可以包括第一PGW-U侧的隧道标识,该隧道标识与终端设备的第一地址信息相对应。在一种可能的实现方式中,PGW-C可以在收到指示信息后为终端设备分配该隧道标识。在另一种可能的实现方式中,PGW-C可以将为终端设备分配的第一地址信息发送给第一PGW-U,第一PGW-U接收到第一地址信息后,为该第一地址信息分配对应的隧道标识,并将隧道标识发送给PGW-C。Specifically, the first tunnel information may further include a tunnel identifier on the first PGW-U side, and 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 instruction 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 is the first address. Information is assigned to the corresponding tunnel identifier, and the tunnel identifier is sent to PGW-C.
SGW-U和第一PGW-U可以通过第一隧道信息建立SGW-U和第一PGW-U之间的上行隧道,该上行隧道用于SGW-U向第一PGW-U发送终端设备的数据流。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 by the SGW-U to send data of the terminal device to the first PGW-U flow.
更进一步的,第一隧道信息中还可以包括SGW-C为终端设备分配的SGW-U侧隧道标识。SGW-U和第一PGW-U还可以通过第一隧道信息建立SGW-U和第一PGW-U之间的下行隧道,该下行隧道用于第一PGW-U向SGW-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 also establish a downlink tunnel between the SGW-U and the first PGW-U through the first tunnel information, and the downlink tunnel is used for the first PGW-U to send data to the SGW-U. The data stream sent by the terminal device.
SGW-U在终端设备的数据流非本地业务的数据流时,通过SGW-U和第一PGW-U之间的隧道将终端设备的数据流发送给第一PGW-U。具体的,SGW-U可以根据第一PGW-U侧的隧道标识和第一PGW-U的地址信息封装终端设备的数据流,从而将终端设备的数据流通过与第一PGW-U之间的上行隧道发送给第一PGW-U。第一PGW-U通过与SGW-U之间的隧道接收SGW-U发送的数据流,根据封装数据流的第一PGW-U侧隧道标识确定该隧道标识对应的第一地址信息,从而可以根据第一地址信息确定第一地址信息对应的上下文信息,并获取终端设备的数据流中与业务监测相关的信息。同时,第一PGW-U还可以对从SGW-U接收到的数据流解封装,获取终端设备的数据流,并将终端设备的数据流发送给数据网络。When the data flow of the terminal device is not the data flow of the local service, the SGW-U sends the data flow of the terminal device to the first PGW-U through the tunnel between the SGW-U and the first PGW-U. Specifically, the SGW-U may encapsulate the data flow of the terminal device according to the tunnel identifier of the first PGW-U side and the address information of the first PGW-U, thereby passing the data flow of the terminal device to the first PGW-U. The uplink tunnel is sent to the first PGW-U. The first PGW-U receives the data stream sent by the SGW-U through the tunnel with the SGW-U, and determines the first address information corresponding to the tunnel identifier according to the first PGW-U-side tunnel identifier of the encapsulated data stream, so that The first address information determines context information corresponding to the first address information, and acquires information related to service monitoring in a data stream of the terminal device. At the same time, 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.
在S304的一种可能的实现方式中,PGW-C还会将为终端设备分配的第一地址信息发送给第一PGW-U,将为终端设备分配的第二地址信息发送给第二PGW-U。第一PGW-U在接收到SGW-U发送的终端设备的数据流后,验证终端设备的数据流中源地址信息是否为第一地址信息,若是,则将数据流发送给数据网络,若否,则拒绝发送该数据流。类似的,第二PGW-U在接收到SGW-U发送的终端设备的数据流后,验证终端设备的数据流中源地址信息是否为第二地址信息,若是,则将数据流发送给本地服务器,若否,则拒绝发送 该数据流。采用以上技术方案,通过第一PGW-U和第二PGW-U对数据流源地址信息的进一步验证,以增强数据流传输的安全性。In a possible implementation of S304, the PGW-C will also send the first address information allocated to the terminal device to the first PGW-U, and 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, and if so, sends the data stream to the data network, if not , The data stream is rejected. 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 If not, the data stream is rejected. With the above technical solution, the source address information of the data stream is further verified by the first PGW-U and the second PGW-U to enhance the security of the data stream transmission.
基于相同的技术构思,在本地服务器向终端设备发送数据流时,第二PGW-U接收本地服务器发送的数据流,并将数据流发送给SGW-U。由于本地服务器所接收的终端设备的数据流的源地址信息为第二地址信息,因此,本地服务器向终端设备发送的数据流的目的地址信息便可能为第二地址信息。SGW-U接收第二PGW-U发送的数据流,将数据流中的目的地址信息更新为第一地址信息,并将更新后的数据流发送给基站。基站接收SGW-U发送的数据流,并根据目的地址信息将数据流发送给终端设备。Based on the same technical concept, when the local server sends a 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. Because 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. The SGW-U receives the data stream sent by the second PGW-U, updates the destination address information in the data stream to the first address information, and sends the updated data stream to the base station. The base station receives the data stream sent by the SGW-U, and sends the data stream to the terminal device according to the destination address information.
具体的,SGW-U可以通过与第二PGW-U之间的下行隧道接收本地服务器发送给终端设备的数据流,以及,通过与第一PGW-U之间的下行隧道接收数据网络发送给终端设备的数据流。Specifically, the SGW-U can receive the data stream sent by the local server to the terminal device through the downlink tunnel with the second PGW-U, and receive the data network and send the data stream to the terminal through the downlink tunnel with the first PGW-U. The data flow of the device.
实施例二Example two
本申请实施例还提供另一种EPC系统架构。图4为本申请实施例提供的另一种EPC系统架构示意图,如图4所示,该系统包括第一SGW-U、第二SGW-U、SGW-C、PGW-C、第二PGW-U和第一PGW-U,进一步的,还包括MME、本地服务器等。The embodiment of the present application also provides another EPC system architecture. FIG. 4 is a schematic diagram of another EPC system architecture provided by an embodiment of the present application. As shown in FIG. 4, the system includes a first SGW-U, a second SGW-U, a SGW-C, a PGW-C, and a second PGW- U and the first PGW-U, further including an MME, a local server, and the like.
基于图4所示的系统架构,本申请实施例提供一种数据流处理方法。该方法与图3所示的方法类似,图4中的第一SGW-U可以相当于图3中的SGW-U,区别在于: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. The first SGW-U in FIG. 4 may be equivalent to the SGW-U in FIG. 3, and the differences are:
在S302中,SGW-C为终端设备选择第一SGW-U、第二SGW-U和第二PGW-U。In S302, the SGW-C selects a first SGW-U, a second SGW-U, and a second PGW-U for the terminal device.
其中,第一SGW-U、第二SGW-U和第二PGW-U之间满足对应关系,在一种可能的实现方式中,第一SGW-U、第二SGW-U和第二PGW-U处于相同的通信区域。The first SGW-U, the second SGW-U, and the second PGW-U satisfy a corresponding relationship. In a possible implementation manner, the first SGW-U, the second SGW-U, and the second PGW-U U is in the same communication area.
在S310中,第一SGW-U向第二SGW-U发送更新后的数据流。第二SGW-U接收第一SGW-U发送的数据流,并将数据流发送给第二PGW-U。In S310, the first SGW-U 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 the second PGW-U.
在3GPP协议中,规定了一个终端设备的地址信息可以与一个PDN连接关联。在实施例一和实施例二中,通过将本地数据流中的源地址信息更新为第二地址信息,使本申请实施例所提供的方法可以符合现有3GPP协议的规定,即第一地址信息与第一PGW-U所在的PDN连接相关联,第二地址信息与第二PGW-U所在的PDN连接向关联。In the 3GPP protocol, it is specified that the 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 comply with the provisions of the existing 3GPP protocol, that is, the first address information. It 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 three
在一种可能的实现方式中,PGW-C也可以只为终端设备分配第一地址信息,SGW-U在收到本地数据流后,也可以不将数据流中的源地址信息更新为第二地址信息。例如:In a possible implementation manner, the PGW-C may only assign the first address information to the terminal device. After receiving the local data stream, the SGW-U may not update the source address information in the data stream to the second address information. Address information. E.g:
基于图2所示的系统架构,SGW-C可以执行如S301至S303,具体不再赘述。Based on the system architecture shown in FIG. 2, SGW-C can execute S301 to S303, which will not be described in detail.
PGW-C在接收到指示信息后,可以执行以下步骤:After receiving the instruction information, PGW-C can perform the following steps:
步骤一:为终端设备确定第一PGW-U,并与第一PGW-U建立连接。Step 1: Determine the first PGW-U for the terminal device and establish a connection with the first PGW-U.
步骤二:为终端设备分配第一地址信息,并将第一地址信息发送给SGW-C。Step 2: Assign the first address information to the terminal device, and send the first address information to the SGW-C.
SGW-C在接收到第一地址信息后,将第一地址信息发送给终端设备,使得终端设备可以以第一地址信息作为源地址信息发送数据流。After receiving the first address information, the SGW-C sends the first address information to the terminal device, so that the terminal device can send the data stream using the first address information as the source address information.
之后,SGW-U可以执行S307和S308。在S308中,SGW-U若确定终端设备发送的数据流为本地数据流,则将数据流发送给第二PGW-U;SGW-U若确定终端设备发送的数据流非本地数据流,则将数据流发送给第一PGW-U。After that, SGW-U can execute S307 and S308. In S308, if the SGW-U determines that the data stream sent by the terminal device is a local data stream, it sends the data stream to the second PGW-U; if the SGW-U determines that the data stream sent by the terminal device is not a local data stream, it sends The data stream is sent to the first PGW-U.
在图4所示的系统架构下,PGW-C在接收到指示信息后,也可以为终端设备分配第 一地址信息,第一SGW-U也可以在确定终端设备发送的数据流为本地数据流时,不更新数据流中的源地址信息,将数据流发送给本地服务器,具体不再赘述。In the system architecture shown in FIG. 4, after receiving the instruction information, the PGW-C may also assign the first address information to the terminal device, and the first SGW-U may also determine that the data stream sent by the terminal device is a local data stream. At this time, the source address information in the data stream is not updated, and the data stream is sent to the local server, which will not be described in detail.
实施例四Embodiment 4
在本申请实施例中,第二PGW-U和SGW-U可以属于同一网元,也即第二PGW-U和SGW-U合设。在SGW-U和第二PGW-U属于同一网元的情况下,SGW-U和第二PGW-U之间可以实现网元内部的数据流传输,因此有利于整体上提高本地数据流的传输速度。而且,SGW-U和第二PGW-U属于同一网元还可以简化系统架构,节省信令开销等等。In the 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. In the case that SGW-U and the second PGW-U belong to the same network element, the internal data stream transmission between the SGW-U and the second PGW-U can be realized, so it is beneficial to improve the transmission of local data streams as a whole speed. Moreover, the SGW-U and the second PGW-U belong to the same network element can also simplify the system architecture, save signaling overhead, and so on.
基于此,本申请实施例还提供一种通信方法,SGW-C和/或PGW-C可以为终端设备确定SGW-U和第二PGW-U,使所确定的SGW-U和第二PGW-U属于同一个网元,进而可以基于所确定的SGW-U和第二PGW-U实现实施例一至五中所提供的任一方法。Based on this, the embodiment of the present application further provides a communication method. The SGW-C and / or PGW-C can determine the SGW-U and the second PGW-U for the terminal device, so that the determined SGW-U and the second PGW-U can be determined. U belongs to the same network element, and 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.
在一种可能的实现方式中,SGW-C和/或PGW-C为终端设备确定SGW-U和第二PGW-U,主要包括以下三种实现方式:In a possible implementation manner, the SGW-C and / or PGW-C determines the SGW-U and the second PGW-U for the terminal device, mainly including the following three implementation manners:
实现方式一Implementation method one
SGW-C为终端设备确定SGW-U和第二PGW-U,主要包括以下步骤:SGW-C determines the SGW-U and the second PGW-U for the terminal equipment, which mainly includes the following steps:
步骤1.1:SGW-C为终端设备确定SGW-U。具体实现方式可以参考上述实施例以及现有技术,对此不再赘述。由于SGW-U和第二PGW-U属于同一网元,因此SGW-C在为终端设备确定SGW-U时,也为终端设备确定了第二PGW-U。Step 1.1: SGW-C determines SGW-U for the terminal device. For specific implementation manners, reference may be made to the foregoing embodiments and the prior art, and details are not described herein again. Because SGW-U and the second PGW-U belong to the same network element, when SGW-C determines the SGW-U for the terminal device, it also determines the second PGW-U for the terminal device.
步骤1.2:SGW-C与SGW-U建立连接,并向PGW-C发送第三指示信息,第三指示信息可以指示PGW-C与第二PGW-U建立连接。Step 1.2: The SGW-C establishes a connection with the SGW-U, and sends third instruction information to the PGW-C. The third instruction information may instruct the PGW-C to establish a connection with the second PGW-U.
步骤1.3:PGW-C根据第三指示信息,与第二PGW-U建立连接。Step 1.3: The PGW-C establishes a connection with the second PGW-U according to the third instruction information.
在一种可能的实现方式中,第三指示信息可以包括第二PGW-U的标识信息。其中,第二PGW-U的标识信息可以为第二PGW-U的Sxb接口的接口地址,在步骤1.3中,PGW-C可以根据第二PGW-U的Sxb接口的接口地址与PGW-C建立连接。In a possible implementation manner, the third indication information may include identification information of the second PGW-U. The identification information of the second PGW-U may be the interface address of the Sxb interface of the second PGW-U. In step 1.3, the PGW-C may be established with the PGW-C according to the interface address of the Sxb interface of the second PGW-U. connection.
此外,第二PGW-U的标识信息也可以是第二PGW-U的Sxb接口的接口标识。在一种可能的实现方式中,接口标识可以作为Sxb接口的域名。在步骤1.3中,PGW-C可以向域名系统(domain name system,DNS)设备发送查询请求,DNS设备根据查询请求,查询接口标识对应的接口地址,并将查询到的接口地址返回给PGW-C,PGW-C进而可以根据接收到的接口地址与第二PGW-U的Sxb接口建立连接。在另一种可能的实现方式中,PGW-C中也可以预先配置有Sxb接口的接口标识与接口地址之间的对应关系,PGW-C可以根据接收到的Sxb接口的接口标识得到该接口标识对应的接口地址,进而根据该接口地址与第二PGW-U的Sxb接口建立连接。In addition, the identification information of the second PGW-U may also be an interface identification of an Sxb interface of the second PGW-U. In a possible implementation manner, the interface identifier may be used as 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. The DNS device queries the interface address corresponding to the interface identifier according to the query request, and returns the queried interface address to the PGW-C. The PGW-C may further establish a connection with the Sxb interface of the second PGW-U according to the received interface address. In another possible implementation manner, the correspondence between the interface identifier of the Sxb interface and the interface address may also be pre-configured in the PGW-C, and the PGW-C may obtain the interface identifier according to the interface identifier of the received Sxb interface. The corresponding interface address is further used to establish a connection with the Sxb interface of the second PGW-U according to the interface address.
在另一种可能的实现方式中,第三指示信息也可以包括SGW-U和第二PGW-U所属网元的标识信息。在步骤1.3中,PGW-C也可以将该网元的标识信息作为域名,通过DNS设备得到该网元标识对应的网元中第二PGW-U的Sxb接口的接口地址。PGW-C也可以预先存储有网元标识与Sxb接口的接口地址之间的对应关系,存在对应关系的网元标识与Sxb接口的接口地址之间,该网元标识对应的网元中包括该Sxb接口所属的第二PGW-U。基于此,PGW-C可以根据网元标识得到该网元对应的网元中Sxb接口的接口地址,进而与该网元建立Sxb连接,也即与该网元中的第二PGW-U的Sxb接口建立连接。In another possible implementation manner, the third indication information may also include identification information of a network element 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 the domain name, and obtain the interface address of the Sxb interface of the second PGW-U in the network element corresponding to the network element identification through the DNS device. The PGW-C may also store the correspondence between the network element identifier and the interface address of the Sxb interface in advance. Between the network element identifier that has the correspondence relationship and the interface address of the Sxb interface, the network element corresponding to the network element identifier includes the The second PGW-U to which the Sxb interface belongs. Based on this, the PGW-C can obtain the interface address of the Sxb interface in the network element corresponding to the network element according to the network element identifier, and then establish an Sxb connection with the network element, that is, the Sxb with the second PGW-U in the network element The interface establishes a connection.
实现方式二Implementation method two
SGW-C和PGW-C为终端设备确定SGW-U和第二PGW-U,主要包括以下步骤:The SGW-C and PGW-C determine the SGW-U and the second PGW-U for the terminal device, mainly including the following steps:
步骤2.1:SGW-C为终端设备确定SGW-U,具体实现方式可参考上述实施例,对此不再赘述。Step 2.1: The SGW-C determines the SGW-U for the terminal device. For a specific implementation manner, refer to the foregoing embodiment, and details are not described herein again.
步骤2.2:SGW-C向PGW-C发送第四指示信息,该第四指示信息用于指示PGW-C为终端设备确定第二PGW-U。Step 2.2: The SGW-C sends fourth instruction information to the PGW-C, and the fourth instruction information is used to instruct the PGW-C to determine the second PGW-U for the terminal device.
步骤2.3:PGW-C根据第四指示信息为终端设备确定第二PGW-U。Step 2.3: The PGW-C determines a second PGW-U for the terminal device according to the fourth instruction information.
步骤2.4:SGW-C与SGW-U建立连接,PGW-C与PGW-U建立连接。Step 2.4: SGW-C establishes a connection with SGW-U, and PGW-C establishes a connection with PGW-U.
在一种可能的实现方式中,第四指示信息可以包括SGW-U的标识信息。具体来说,作为其中一种处理方式:SGW-C保存有一个或多个预设的SGW-U的信息,可以从该一个或多个预设的SGW-U中确定SGW-U为终端设备提供服务。与之类似的,PGW-C也可以保存有一个或多个预设的PGW-U的信息,可以从该一个或多个预设的PGW-U中确定第二PGW-U和第一PGW-U为终端设备提供服务器。In a possible implementation manner, the fourth indication information may include identification information of the SGW-U. Specifically, as one of the processing methods: SGW-C stores information of one or more preset SGW-Us, and SGW-U can be determined as a terminal device from the one or more preset SGW-Us. Provide services. Similarly, the PGW-C can also store information of one or more preset PGW-Us, and the second PGW-U and the first PGW-U can be determined from the one or more preset PGW-Us. U provides a server for terminal equipment.
其中,PGW-C中预设的PGW-U信息包括对应关系,该对应关系用于指示一个或多个预设的SGW-U与一个或者多个预设的PGW-U之间的对应关系,其中任一预设的SGW-U对应的预设的PGW-U与该预设的SGW-U属于同一网元。例如,该对应关系可以如下表一所示:The preset PGW-U information in the PGW-C includes a correspondence relationship, which is used to indicate a correspondence relationship between one or more preset SGW-Us and one or more preset PGW-Us. A preset PGW-U corresponding to any one of the preset SGW-Us belongs to the same network element as the preset SGW-U. For example, the correspondence can be shown in Table 1 below:
表一Table I
SGW-U的标识信息SGW-U identification information PGW-U的标识信息Identification information of PGW-U
标识AIdentification A aa
标识BIdentification B bb
标识CIdentification C cc
标识DIdentification D dd
如表一所示,标识A与标识a相对应,假设标识A为SGW-U1的标识信息,标识a为PGW-U1的标识信息,则与SGW-U1属于同一个网元的是PGW-U1。其它标识信息同理,不再赘述。As shown in Table 1, ID A corresponds to ID a. Assuming ID A is the identification information of SGW-U1 and ID a is the identification information of PGW-U1, it is PGW-U1 that belongs to the same network element as SGW-U1. . The other identification information is the same and will not be repeated.
在步骤2.3的第一种可能的实现方式中,PGW-C可以根据SGW-U的标识信息,确定预设的对应关系中,与该标识信息对应的SGW-U属于同一网元的PGW-U为第二PGW-U。例如,该标识信息为标识A,则PGW-C基于表一所示的对应关系,可以确定标识A对应的PGW-U的标识信息为标识a。而标识a为PGW-U1的标识信息,因此PGW-C可以确定PGW-U1作为为终端设备提供服务的第二PGW-U。In the first possible implementation manner of step 2.3, the PGW-C may determine the preset correspondence relationship according to the identification information of the SGW-U, and the SGW-U corresponding to the identification information belongs to the PGW-U of the same network element. For the second PGW-U. For example, if the identification information is the identification A, the PGW-C may determine the identification information of the PGW-U corresponding to the identification A as the identification a based on the corresponding relationship shown in Table 1. The identifier a is identification information of the PGW-U1, so the PGW-C can determine the PGW-U1 as the second PGW-U that provides services to the terminal device.
在另一种可能的实现方式中,第四指示信息也可以包括终端设备的位置信息。具体来说,PGW-C中预设的PGW-U信息还可以包括一个或多个预设的PGW-U及其分别对应的服务区域,例如可以如下表二所示: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 Table 2 below:
表二Table II
预设的PGW-UPreset PGW-U 服务区域Service Area
PGW-U1PGW-U1 区域1Zone 1
PGW-U2PGW-U2 区域2Zone 2
PGW-U3PGW-U3 区域3Zone 3
PGW-U4PGW-U4 区域4Zone 4
如表二所示,PGW-C关联有四个预设的PGW-U:PGW-U1、PGW-U2、PGW-U3和PGW-U4。其中,PGW-U1的服务区域为区域1,即PGW-U1可以为区域1中的终端设备提供数据流传输服务,其它预设的PGW-U同理,不再赘述。可以理解,表二中各个预设的PGW-U可以以PGW-U的标识信息的形式表示,如表一中的标识a至d,对此不再赘述。As shown in Table 2, the PGW-C is associated with four preset PGW-Us: PGW-U1, PGW-U2, PGW-U3, and PGW-U4. Among them, the service area of PGW-U1 is area 1, that is, PGW-U1 can provide data stream transmission services for the terminal devices in area 1. Other preset PGW-Us do the same, and will not be described again. It can be understood that each preset PGW-U in Table 2 can be expressed in the form of identification information of PGW-U, such as the identifiers a to d in Table 1, and details are not described herein again.
在步骤2.3的第二种可能的实现方式中,PGW-C可以根据终端设备的位置信息,确定该位置信息所属的目标服务区域。进而可以从一个或多个预设的PGW-U中确定与该目标服务区域对应的PGW-U作为第二PGW-U。例如,若PGW-C确定终端设备的位置信息位于表一中的区域1中,则可以确定区域1对应的PGW-U1作为第二PGW-U。In a second possible implementation manner of step 2.3, the PGW-C may determine the target service area to which the location information belongs according to the location information of the terminal device. Further, a PGW-U corresponding to the target service area may be determined from one or more preset PGW-Us as the second PGW-U. For example, if the PGW-C determines that the location information of the terminal device is located in the area 1 in Table 1, it can determine the PGW-U1 corresponding to the area 1 as the second PGW-U.
在本实现方式中,虽然SGW-C和PGW-C分别为终端设备确定SGW-U和第二PGW-U,但SGW-C和PGW-C都是基于终端设备的位置信息进行确定的,因此所选的SGW-U和第二PGW-U可以具有较为接近的服务区域。在SGW-U和第二PGW-U合设场景下,SGW-C和PGW-C将确定同一网元(即SGW-U和第二PGW-U所在的网元)为终端设备提供服务。In this implementation, although SGW-C and PGW-C determine the SGW-U and the second PGW-U for the terminal device, respectively, SGW-C and PGW-C are determined based on the location information of the terminal device, so The selected SGW-U and the second PGW-U may have relatively close service areas. In the scenario where the SGW-U and the second PGW-U are combined, the SGW-C and the PGW-C will determine that the same network element (that is, the network element where the SGW-U and the second PGW-U are located) provides services for the terminal device.
实现方式三Implementation method three
PGW-C为终端设备确定SGW-U和第二PGW-U,主要包括以下步骤:The PGW-C determines the SGW-U and the second PGW-U for the terminal device, mainly including the following steps:
步骤3.1:SGW-C向PGW-C发送第五指示信息。Step 3.1: The SGW-C sends fifth indication information to the PGW-C.
步骤3.2:PGW-C根据第五指示信息为终端设备确定SGW-U和第二PGW-U。Step 3.2: The PGW-C determines the SGW-U and the second PGW-U for the terminal device according to the fifth instruction information.
步骤3.3:PGW-C与第二PGW-U建立连接,并向SGW-C发送第六指示信息。Step 3.3: The PGW-C establishes a connection with the second PGW-U, and sends sixth indication information to the SGW-C.
步骤3.4:SGW-C根据第六指示信息与SGW-U建立连接。Step 3.4: SGW-C establishes a connection with SGW-U according to the sixth instruction information.
其中,第五指示信息可以包括终端设备的位置信息。PGW-C中预设的PGW-U信息可以包括如表2所示的一个或多个预设的PGW-U及其分别对应的服务区域。在步骤3.2中,PGW-C可以采用如上述步骤2.3的第二种可能的实现方式,为终端设备确定第二PGW-U,对此不再赘述。由于第二PGW-U和SGW-U属于同一网元,因此PGW-C在为终端设备确定了第二PGW-U,便也为终端设备确定了SGW-U。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 2. In step 3.2, the PGW-C may use the second possible implementation manner as in step 2.3 above to determine the second PGW-U for the terminal device, and details are not described herein again. Since the second PGW-U and the SGW-U belong to the same network element, when the PGW-C determines the second PGW-U for the terminal device, it also determines the SGW-U for the terminal device.
其中,第六指示信息可以包括SGW-U的标识信息,该SGW-U的标识信息可以是SGW-U的Sxa接口的接口地址,也可以是SGW-U的Sxa接口的接口标识。此外,第六指示信息也可以包括第二PGW-U所属网元的标识信息。步骤3.4的具体实现方式可以类比实现方式一中的步骤1.3,对此不再赘述。The sixth indication information may include identification information of the SGW-U. The identification information of the SGW-U may be an interface address of an Sxa interface of the SGW-U, or may be an interface identification of an 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 manner of step 3.4 may be similar to step 1.3 in implementation manner 1, and details are not described herein again.
以上基于图2所示系统架构,通过三个具体的实现方式示例性说明了SGW-U和第二PGW-U的确定方法。可以理解,对于图4所示的系统架构,以上三个具体的实现方式依旧适用于图4中第二SGW-U和第二PGW-U的确定,对此不再赘述。Based on the system architecture shown in FIG. 2, the method for determining the SGW-U and the second PGW-U has been exemplarily described through three specific implementation manners. 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 details are not described herein again.
基于相同的技术构思,本发明实施例还提供一种装置,图5示出了本申请实施例中所涉及的装置的可能的示例性框图,该装置500可以以软件的形式存在。装置500可以包括:处理单元502和通信单元503。处理单元502用于对装置500的动作进行控制管理。通信单元503用于支持装置500与其他网络实体的通信。装置500还可以包括存储单元501,用于存储装置500的程序代码和数据。Based on the same technical concept, an embodiment of the present invention further provides a device. FIG. 5 shows a possible exemplary block diagram of the device involved in the embodiment of the present application. The device 500 may exist in the form of software. The apparatus 500 may include a processing unit 502 and a communication unit 503. The processing unit 502 is configured to control and manage the operations of the device 500. The communication unit 503 is configured to support communication between the device 500 and other network entities. The device 500 may further include a storage unit 501 for storing program code and data of the device 500.
其中,处理单元502可以是处理器或控制器,例如可以是通用中央处理器(central processing unit,CPU),通用处理器,数字信号处理(digital signal processing,DSP),专用集成电路(application specific integrated circuits,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管 逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包括一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元503可以是通信接口、收发器或收发电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口。存储单元501可以是存储器。The processing unit 502 may be a processor or a controller. For example, the processing unit 502 may be a general-purpose central processing unit (CPU), a general-purpose processor, digital signal processing (DSP), or an application-specific integrated circuit. circuits, ASICs), field programmable gate arrays (FPGAs) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logical blocks, modules, and circuits described in connection with the present disclosure. The processor may also be a combination that realizes a computing function, for example, includes a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication unit 503 may be a communication interface, a transceiver, or a transceiver circuit. The communication interface is collectively referred to. In a specific implementation, the communication interface may include multiple interfaces. The storage unit 501 may be a memory.
该装置500可以为SGW-C、PGW-C、SGW-U和第二PGW-U中的一个或多个,也可以是能够实现SGW-C、PGW-C、SGW-U和第二PGW-U中的一个或多个功能的片上系统或芯片。The device 500 may be one or more of SGW-C, PGW-C, SGW-U, and the second PGW-U, or may be capable of implementing SGW-C, PGW-C, SGW-U, and the second PGW- One or more functions of a system-on-chip or chip in U.
具体的,在装置500为SGW-C或能够实现SGW-C功能的片上系统或芯片时,处理单元502可以支持装置500执行上文中各方法示例中SGW-C的动作,通信单元503可以支持装置500与PGW-C、SGW-U(第一SGW-U和第二SGW-U)之间的通信;例如,处理单元502和/或通信单元503用于支持装置500执行图3中S301至S303,和S306。Specifically, when the device 500 is an SGW-C or an on-chip system or chip capable of realizing the functions of the SGW-C, the processing unit 502 can support the device 500 to perform the actions of the SGW-C in the method examples above, and the communication unit 503 can support the device Communication between 500 and PGW-C, SGW-U (first SGW-U and second SGW-U); for example, the processing unit 502 and / or the communication unit 503 are used to support the device 500 to perform S301 to S303 in FIG. 3 , And S306.
在装置500为PGW-C或能够实现PGW-C功能的片上系统或芯片时,处理单元502可以支持装置500执行上文中各方法示例中PGW-C的动作,通信单元503可以支持装置500与SGW-C、第一PGW-U和第二PGW-U之间的通信;例如,处理单元502和/或通信单元503用于支持装置500执行图3中S304和S305。When the device 500 is a PGW-C or an on-chip system or chip capable of realizing the functions of the PGW-C, the processing unit 502 can support the device 500 to perform the actions of the PGW-C in the method examples above, and the communication unit 503 can support the device 500 and SGW -C, communication between 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 device 500 to perform S304 and S305 in FIG. 3.
在装置500为SGW-U或能够实现SGW-U功能的片上系统或芯片时,处理单元502可以支持装置500执行上文中各方法示例中SGW-U动作,通信单元503可以支持装置500与SGW-C、第一PGW-U和第二PGW-U之间的通信;例如,处理单元502和/或通信单元503用于支持装置500执行图3中S307至S310和S312。When the device 500 is an SGW-U or an on-chip system or chip capable of implementing the SGW-U function, the processing unit 502 can support the device 500 to perform the SGW-U actions in the method examples above, and the communication unit 503 can support the device 500 and SGW- C. Communication between 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 device 500 to perform S307 to S310 and S312 in FIG. 3.
在装置500为第二PGW-U或能够实现第二PGW-U功能的片上系统或芯片时,处理单元502可以支持装置500执行上文中各方法示例中第二PGW-U的动作,通信单元503可以支持装置500与SGW-U、本地服务器、PGW-C之间的通信;例如,处理单元502和/或通信单元503用于支持装置500执行图3中S311。When the device 500 is a second PGW-U or a system-on-chip or chip capable of implementing the functions of the second PGW-U, the processing unit 502 may support the device 500 to perform the actions of the second PGW-U in the method examples above, and the communication unit 503 The communication between the device 500 and the SGW-U, the local server, and the PGW-C may be supported; for example, the processing unit 502 and / or the communication unit 503 are used to support the device 500 to execute S311 in FIG. 3.
参阅图6所示,为本申请实施例提供的一种装置示意图,该装置可以是上述实施例中的SGW-C、PGW-C、SGW-U和第二PGW-U中的一个或多个。该装置600包括:处理器602、收发器603、存储器601。可选的,装置600还可以包括总线604。其中,收发器603、处理器602以及存储器601可以通过通信线路604相互连接;通信线路604可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述通信线路604可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 6, which is a schematic diagram of a device according to an embodiment of the present application. The device may be one or more of the SGW-C, PGW-C, SGW-U, and the second PGW-U in the foregoing embodiment. . The device 600 includes: a processor 602, a transceiver 603, and a memory 601. Optionally, the device 600 may further include a bus 604. Among them, the transceiver 603, the processor 602, and the memory 601 can be connected to each other through a communication line 604; the communication line 604 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (extended industry standard architecture) , Referred to as EISA) bus and so on. The communication line 604 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only a thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
在本申请图5和图6的装置中,各个组件通信连接,即处理单元(或者处理器)、存储单元(或者存储器)和通信单元(收发器)之间通过内部连接通路互相通信,传递控制和/或数据信号。本申请上述方法实施例可以应用于处理器中,或者由处理器实现上述方法实施例的步骤。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请中的公开的各方 法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。虽然图中仅仅示出了一个处理器,该装置可以包括多个处理器或者处理器包括多个处理单元。具体的,处理器可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。In the device of FIG. 5 and FIG. 6 of the present application, various components are communicatively connected, that is, the processing unit (or processor), the storage unit (or memory) and the communication unit (transceiver) communicate with each other through an internal connection path to transfer control And / or data signals. The foregoing method embodiments of the present application may be applied to a processor, or the steps of the foregoing method embodiments may be implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method embodiment may be completed by using an integrated logic circuit of hardware in a processor or an instruction in a form of software. The above processor may be a central processing unit (CPU), a network processor (NP) or a combination of CPU and NP, a digital signal processor (DSP), and an application specific integrated circuit (application) specific integrated circuit (ASIC), ready-made programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic block diagrams disclosed in this application can be implemented or implemented. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps combined with the method disclosed in this application can be directly embodied as being executed by a hardware decoding processor, or executed and completed by using a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the foregoing method in combination with its hardware. Although only one processor is shown in the figure, the apparatus may include multiple processors or the processor may include multiple processing units. Specifically, the processor may be a single-core (single-CPU) processor, or may be a multi-core (multi-CPU) processor.
存储器用于存储处理器执行的计算机指令。存储器可以是存储电路也可以是存储器。存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。存储器可以独立于处理器,也可以是处理器中的存储单元,在此不做限定。虽然图中仅仅示出了一个存储器,该装置也可以包括多个存储器或者存储器包括多个存储单元。The memory is used to store computer instructions executed by the processor. The memory may be a memory circuit or a memory. The memory may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrical memory Erase programmable read-only memory (EPROM, EEPROM) or flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. The memory may be independent of the processor or a storage unit in the processor, which is not limited herein. Although only one memory is shown in the figure, the device may also include multiple memories or the memory includes multiple storage units.
收发器用于实现处理器与其他单元或者网元的内容交互。具体的,收发器可以是该装置的通信接口,也可以是收发电路或者通信单元,还可以是收发信机。收发器还可以是处理器的通信接口或者收发电路。可选的,收发器可以是一个收发芯片。该收发器还可以包括发送单元和/或接收单元。在一种可能的实现方式中,该收发器可以包括至少一个通信接口。在另一种可能的实现方式中,该收发器也可以是以软件形式实现的单元。在本申请的各实施例中,处理器可以通过收发器与其他单元或者网元进行交互。例如:处理器通过该收发器获取或者接收来自其他网元的内容。若处理器与收发器是物理上分离的两个部件,处理器可以不经过收发器与该装置的其他单元进行内容交互。The transceiver is used to implement the content interaction between the processor and other units or network elements. Specifically, the transceiver may be a communication interface of the device, a transceiver circuit or a communication unit, or a transceiver. The transceiver may also be a communication interface or a transceiver circuit of the processor. Optionally, the transceiver may be a transceiver chip. The transceiver may further include a transmitting unit and / or a receiving unit. In a possible implementation manner, the transceiver may include at least one communication interface. In another possible implementation manner, the transceiver may also be a unit implemented in software. In various embodiments of the present application, the processor may interact with other units or network elements through a transceiver. For example, the processor obtains or receives content from other network elements through the transceiver. If the processor and the transceiver are two physically separated components, the processor may interact with the other units of the device without going through the transceiver.
一种可能的实现方式中,处理器、存储器以及收发器可以通过总线相互连接。总线可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。In a possible implementation manner, the processor, the memory, and the transceiver may be connected to each other through a bus. The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like.
为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。For ease of representation, only a thick line is used in FIG. 6, but it does not mean that there is only one bus or one type of bus.
本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present application should not be construed as more preferred or more advantageous than other embodiments or designs. Rather, the use of the words "exemplary" or "for example" is intended to present the relevant concept in a concrete manner.
在本申请的各实施例中,为了方便理解,进行了多种举例说明。然而,这些例子仅仅是一些举例,并不意味着是实现本申请的最佳实现方式。In the embodiments of the present application, for ease of understanding, various examples have been described. However, these examples are just some examples, and are not meant to be the best way to implement this application.
在本申请的各实施例中,为了方便的描述,采用了请求消息,响应消息以及其他各种消息的名称。然而,这些消息仅仅是以举例方式说明需要携带的内容或者实现的功能,消息的具体名称并不对本申请的做出限定,例如:还可以是第一消息,第二消息,第三消息等。这些消息可以是具体的一些消息,可以是消息中的某些字段。这些消息还可以代表各种服务化操作。In the embodiments of the present application, for convenience of description, names of request messages, response messages, and other various messages are used. However, these messages are merely examples of the content or functions to be carried, and the specific names of the messages do not limit the application, for example, they may be the first message, the second message, the third message, and so on. These messages can be specific messages or certain fields in the message. These messages can also represent various service-oriented operations.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it 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 the computer program instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server, or data center Transmission by wire (for example, coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, and the like including one or more available medium integration. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (Solid State Disk)).
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信号处理器核,或任何其它类似的配置来实现。Various illustrative logic units and circuits described in the embodiments of the present application may be implemented by a general-purpose processor, a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices. Discrete gate or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions. The general-purpose processor may be a microprocessor. Alternatively, the general-purpose processor may also be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration. achieve.
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于终端设备中。可选地,处理器和存储媒介也可以设置于终端设备中的不同的部件中。The steps of the method or algorithm described in the embodiments of the present application may be directly embedded in hardware, a software unit executed by a processor, or a combination of the two. A software unit may be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium in the art. For example, the storage medium may be connected to the processor, so that the processor can read information from the storage medium and can 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 be provided in an ASIC, and the ASIC may be provided in a terminal device. Alternatively, the processor and the storage medium may also be provided in different components in the terminal device.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device, so that a series of steps can be performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagrams.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。Although the present application has been described with reference to specific features and embodiments thereof, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and drawings are merely exemplary illustrations of the application as defined by the appended claims, and are deemed to have covered any and all modifications, changes, combinations, or equivalents that fall within the scope of the application. Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. In this way, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims (30)

  1. 一种数据流处理方法,其特征在于,包括:A data stream processing method, comprising:
    用户面服务网关SGW-U接收控制面服务网关SGW-C发送的终端设备的第二地址信息;The user plane service gateway SGW-U receives the second address information of the terminal device sent by the control plane service gateway SGW-C;
    所述SGW-U接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流的源地址信息更新为所述第二地址信息,并将更新后的数据流发送给第二用户面PDN网关PGW-U;After the SGW-U receives the data stream of the terminal device, if it is determined that the data stream is a data stream of a local service, it updates source address information of the data stream to the second address information, and The updated data stream is sent to the second user plane PDN gateway PGW-U;
    所述第二PGW-U接收所述SGW-U发送的数据流,并将所述数据流发送给本地服务器。The second PGW-U receives a data stream sent by the SGW-U, and sends the data stream to a local server.
  2. 根据权利要求1所述的方法,其特征在于,所述SGW-U将更新后的数据流发送给第二PGW-U之前,还包括:The method according to claim 1, wherein before the SGW-U sends the updated data stream to the second PGW-U, further comprising:
    所述SGW-U接收所述SGW-C发送的第二隧道信息;Receiving, by the SGW-U, second tunnel information sent by the SGW-C;
    所述第二PGW-U接收所述PGW-C发送的所述第二隧道信息;Receiving, by the second PGW-U, the second tunnel information sent by the PGW-C;
    所述SGW-U和所述第二PGW-U根据所述第二隧道信息建立所述SGW-U和所述第二PGW-U之间的隧道;Establishing, by the SGW-U and the second PGW-U, a tunnel between the SGW-U and the second PGW-U according to the second tunnel information;
    所述SGW-U将更新后的数据流发送给第二PGW-U,包括:The SGW-U sending the updated data stream to the second PGW-U includes:
    所述SGW-U通过所述SGW-U与所述第二PGW-U之间的隧道将所述更新后的数据流发送给所述第二PGW-U。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. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, further comprising:
    所述SGW-U若确定所述数据流为非本地业务数据流,则将所述数据流发送给第一PGW-U;If the SGW-U determines that the data stream is a non-local service data stream, sending the data stream to the first PGW-U;
    所述第一PGW-U接收所述SGW-U发送的数据流,并将所述数据流发送给数据网络。The first PGW-U receives a data stream sent by the SGW-U, and sends the data stream to a data network.
  4. 一种数据流处理方法,其特征在于,包括:A data stream processing method, comprising:
    控制面服务网关SGW-C获取终端设备的位置信息;The control plane service gateway SGW-C obtains the location information of the terminal device;
    所述SGW-C根据所述终端设备的位置信息,为所述终端设备选择用户面服务网关SGW-U和第二用户面PDN网关PGW-U;Selecting, by the SGW-C, a user plane service gateway SGW-U and a second user plane PDN gateway PGW-U for the terminal device according to the location information of the terminal device;
    所述SGW-C向控制面PDN网关PGW-C发送指示信息,所述指示信息用于指示所述SGW-C为所述终端设备选择有所述第二PGW-U;The SGW-C sends instruction information to a control plane PDN gateway PGW-C, where the instruction information is used to instruct the SGW-C to select the second PGW-U for the terminal device;
    所述PGW-C接收所述指示信息,并根据所述指示信息为所述终端设备分配第二地址信息;Receiving, by the PGW-C, the instruction information and assigning second address information to the terminal device according to the instruction information;
    所述PGW-C将所述第二地址信息发送给所述SGW-C;The PGW-C sends the second address information to the SGW-C;
    所述SGW-C接收所述第二地址信息,并将所述第二地址信息发送给所述SGW-U。The SGW-C receives the second address information, and sends the second address information to the SGW-U.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, further comprising:
    所述PGW-C向所述SGW-C和所述第二PGW-U发送第二隧道信息,所述第二隧道信息用于建立所述SGW-U与所述第二PGW-U之间的隧道;The PGW-C sends second tunnel information to the SGW-C and the second PGW-U, and the second tunnel information is used to establish a connection between the SGW-U and the second PGW-U. tunnel;
    所述SGW-C接收所述PGW-C发送的第二隧道信息,并将所述第二隧道信息发送给所述SGW-U。The SGW-C receives the second tunnel information sent by the PGW-C, and sends the second tunnel information to the SGW-U.
  6. 根据权利要求4或5所述的方法,其特征在于,所述方法还包括:The method according to claim 4 or 5, further comprising:
    所述PGW-C向所述SGW-C发送所述终端设备的第一地址信息;Sending, by the PGW-C, first address information of the terminal device to the SGW-C;
    所述SGW-C接收所述第一地址信息,并将所述第一地址信息发送给所述终端设备。The SGW-C receives the first address information, and sends the first address information to the terminal device.
  7. 一种数据流处理方法,其特征在于,包括:A data stream processing method, comprising:
    用户面服务网关SGW-U接收到终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流发送给第二用户面PDN网关PGW-U;After receiving the data stream from the terminal device, the user plane service gateway SGW-U sends the data stream to the second user plane PDN gateway PGW-U if it is determined that the data stream is a data stream of local services;
    所述第二PGW-U接收所SGW-U发送的数据流,并将所述数据流发送给本地服务器。The second PGW-U receives a data stream sent by the SGW-U, and sends the data stream to a local server.
  8. 根据权利要求7所述的方法,其特征在于,所述SGW-U将所述数据流发送给第二用户面PDN网关PGW-U之前,还包括:The method according to claim 7, wherein before the SGW-U sends the data stream to the second user plane PDN gateway PGW-U, further comprising:
    所述SGW-U接收控制面服务网关SGW-C发送的终端设备的第二地址信息;Receiving, by the SGW-U, the second address information of the terminal device sent by the control plane serving gateway SGW-C;
    所述SGW-U将所述数据流中的源地址信息更新为所述第二地址信息。The SGW-U updates source address information in the data stream to the second address information.
  9. 根据权利要求7或8所述的方法,其特征在于,所述方法还包括:The method according to claim 7 or 8, further comprising:
    所述SGW-U若确定所述数据流为非本地业务数据流,则将所述数据流发送给第一PGW-U;If the SGW-U determines that the data stream is a non-local service data stream, sending the data stream to the first PGW-U;
    所述第一PGW-U接收所述SGW-U发送的数据流,并将所述数据流发送给数据网络。The first PGW-U receives a data stream sent by the SGW-U, and sends the data stream to a data network.
  10. 一种数据流处理方法,其特征在于,包括:A data stream processing method, comprising:
    SGW-C和/或PGW-C为终端设备确定SGW-U和第二PGW-U;SGW-C and / or PGW-C determine SGW-U and second PGW-U for the terminal device;
    所述SGW-C与所述SGW-U建立连接,所述PGW-C与所述第二PGW-U建立连接。The SGW-C establishes a connection with the SGW-U, and the PGW-C establishes a connection with the second PGW-U.
  11. 根据权利要求10所述的方法,其特征在于,所述SGW-C为所述终端设备确定SGW-U和第二PGW-U,包括:The method according to claim 10, wherein the SGW-C determining an SGW-U and a second PGW-U for the terminal device comprises:
    所述SGW-C为所述终端设备确定所述SGW-U和所述第二PGW-U,其中,所述第二PGW-U与所述SGW-U属于同一网元;Determining, by the SGW-C, the SGW-U and the second PGW-U for the terminal device, wherein the second PGW-U and the SGW-U belong to the same network element;
    所述SGW-C向所述PGW-C发送第三指示信息,所述第三指示信息用于指示所述PGW-C与所述第二PGW-U建立连接。The SGW-C sends third instruction information to the PGW-C, where the third instruction information is used to instruct the PGW-C to establish a connection with the second PGW-U.
  12. 根据权利要求11所述的方法,其特征在于,所述第三指示信息包括所述第二PGW-U的标识信息,和/或,所述网元的标识信息。The method according to claim 11, wherein the third indication information comprises identification information of the second PGW-U, and / or identification information of the network element.
  13. 根据权利要求10所述的方法,其特征在于,所述SGW-C和PGW-C为所述终端设备确定SGW-U和第二PGW-U,包括:The method according to claim 10, wherein the SGW-C and PGW-C determine the SGW-U and the second PGW-U for the terminal device, comprising:
    所述SGW-C为所述终端设备确定所述SGW-U,并向所述PGW-C发送第四指示信息,所述第四指示信息用于指示所述PGW-C为所述终端设备确定所述第二PGW-U;Determining, by the SGW-C, the SGW-U for the terminal device, and sending fourth instruction information to the PGW-C, where the fourth instruction information is used to instruct the PGW-C to determine for the terminal device The second PGW-U;
    所述PGW-C根据所述第四指示信息为所述终端设备确定所述第二PGW-U。Determining, by the PGW-C, the second PGW-U for the terminal device according to the fourth instruction information.
  14. 根据权利要求13所述的方法,其特征在于,所述第四指示信息包括所述SGW-U的标识信息;The method according to claim 13, wherein the fourth indication information includes identification information of the SGW-U;
    所述PGW-C根据所述第四指示信息为所述终端设备确定所述第二PGW-U,包括:Determining, by the PGW-C according to the fourth instruction information, the second PGW-U for the terminal device includes:
    所述PGW-C根据所述SGW-U的标识信息,确定与所述SGW-U属于同一网元的PGW-U作为所述第二PGW-U。The PGW-C determines, as the second PGW-U, a PGW-U belonging to the same network element as the SGW-U according to the identification information of the SGW-U.
  15. 根据权利要求14所述的方法,其特征在于,所述PGW-C根据所述SGW-U的标识信息,确定与所述SGW-U属于同一网元的PGW-U作为所述第二PGW-U,包括:The method according to claim 14, wherein the PGW-C determines, according to the identification information of the SGW-U, a PGW-U belonging to the same network element as the SGW-U as the second PGW- U, including:
    所述PGW-C获取预设的对应关系;所述对应关系用于指示一个或多个预设的SGW-U分别对应的PGW-U,其中任一预设的SGW-U对应的PGW-U与所述预设的SGW-U属于同一网元;The PGW-C obtains a preset correspondence relationship; the correspondence relationship is used to indicate one or more preset PGW-Us respectively corresponding to the SGW-U, and any one of the preset SGW-Us corresponds to the PGW-U Belong to the same network element as the preset SGW-U;
    所述PGW-C根据所述标识信息,确定所述预设的对应关系中,与所述标识信息对应的SGW-U属于同一网元的PGW-U为所述第二PGW-U。The PGW-C determines, according to the identification information, that in the preset correspondence relationship, the SGW-U corresponding to the identification information belongs to the same PGW-U of the same network element as the second PGW-U.
  16. 根据权利要求13所述的方法,其特征在于,所述第四指示信息包括所述终端设备的位置信息;The method according to claim 13, wherein the fourth indication information includes location information of the terminal device;
    所述PGW-C根据所述第四指示信息为所述终端设备确定所述第二PGW-U,包括:Determining, by the PGW-C according to the fourth instruction information, the second PGW-U for the terminal device includes:
    所述PGW-C根据所述位置信息,确定为所述位置信息对应的位置提供服务的PGW-U作为所述第二PGW-U。The PGW-C determines, as the second PGW-U, a PGW-U that provides services to a location corresponding to the location information according to the location information.
  17. 根据权利要求16所述的方法,其特征在于,所述PGW-C根据所述位置信息,确定为所述位置信息对应的位置提供服务的PGW-U作为所述第二PGW-U,包括:The method according to claim 16, wherein the PGW-C determines, as the second PGW-U, a PGW-U that provides services for a location corresponding to the location information according to the location information, comprising:
    所述PGW-C获取一个或多个预设的PGW-U分别对应的服务区域;Obtaining, by the PGW-C, service areas corresponding to one or more preset PGW-Us respectively;
    所述PGW-C确定所述位置信息所属的目标服务区域,并根据所述目标服务区域,从所述一个或多个预设的PGW-U中确定与所述目标服务区域对应的PGW-U作为所述第二PGW-U。Determining, by the PGW-C, a target service area to which the location information belongs, and determining a PGW-U corresponding to the target service area from the one or more preset PGW-Us according to the target service area As the second PGW-U.
  18. 根据权利要求10至17中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 10 to 17, further comprising:
    所述PGW-C为所述终端设备分配地址信息;Allocating address information by the PGW-C to the terminal device;
    所述PGW-C将所述地址信息发送给所述SGW-C。The PGW-C sends the address information to the SGW-C.
  19. 根据权利要求18所述的方法,其特征在于,所述地址信息包括第二地址信息;所述PGW-C将所述地址信息发送给所述SGW-C之后,还包括:The method according to claim 18, wherein the address information includes second address information; after the PGW-C sends the address information to the SGW-C, further comprising:
    所述SGW-C将所述第二地址信息发送给所述SGW-U。The SGW-C sends the second address information to the SGW-U.
  20. 根据权利要求18所述的方法,其特征在于,所述地址信息还包括第一地址信息;所述PGW-C将所述地址信息发送给所述SGW-C之后,还包括:The method according to claim 18, wherein the address information further comprises first address information; after the PGW-C sends the address information to the SGW-C, further comprising:
    所述SGW-C将所述第一地址信息发送给所述终端设备。The SGW-C sends the first address information to the terminal device.
  21. 一种数据流处理方法,其特征在于,包括:A data stream processing method, comprising:
    第一用户面服务网关SGW-U接收控制面服务网关SGW-C发送的终端设备的第二地址信息;The first user plane serving gateway SGW-U receives the second address information of the terminal device sent by the control plane serving gateway SGW-C;
    所述第一SGW-U接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流的源地址信息更新为所述第二地址信息,并将更新后的数据流发送给第二SGW-U;After the first SGW-U receives the data stream of the terminal device, if it is determined that the data stream is a data stream of a 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;
    所述第二SGW-U接收所述第一SGW-U发送的数据流,并将所述数据流发送给第二用户面PDN网关PGW-U;Receiving, by the second SGW-U, a data stream sent by the first SGW-U, and sending the data stream to a second user plane PDN gateway PGW-U;
    所述第二PGW-U接收所述第二SGW-U发送的数据流,并将所述数据流发送给本地服务器。The second PGW-U receives a data stream sent by the second SGW-U, and sends the data stream to a local server.
  22. 一种数据流处理方法,其特征在于,包括:A data stream processing method, comprising:
    控制面服务网关SGW-C获取终端设备的位置信息;The control plane service gateway SGW-C obtains the location information of the terminal device;
    所述SGW-C根据所述终端设备的位置信息,为所述终端设备选择第一用户面服务网关SGW-U、第二SGW-U和第二用户面PDN网关PGW-U;Selecting, by the SGW-C, a first user plane serving gateway SGW-U, a second SGW-U, and a second user plane PDN gateway PGW-U for the terminal device according to the location information of the terminal device;
    所述SGW-C向控制面PDN网关PGW-C发送指示信息,所述指示信息用于指示所述SGW-C为所述终端设备选择有所述第二SGW-U和所述第二PGW-U;The SGW-C sends instruction information to the control plane PDN gateway PGW-C, and the instruction information is used to instruct the SGW-C to select the second SGW-U and the second PGW- for the terminal device. U;
    所述PGW-C接收所述指示信息,并根据所述指示信息为所述终端设备分配第二地址信息;Receiving, by the PGW-C, the instruction information and assigning second address information to the terminal device according to the instruction information;
    所述PGW-C将所述第二地址信息发送给所述SGW-C;The PGW-C sends the second address information to the SGW-C;
    所述SGW-C接收所述第二地址信息,并将所述第二地址信息发送给所述第一SGW-U。The SGW-C receives the second address information, and sends the second address information to the first SGW-U.
  23. 一种数据流处理方法,其特征在于,包括:A data stream processing method, comprising:
    所述第一SGW-U接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流发送给第二SGW-U;After the first SGW-U receives the data stream of the terminal device, if it is determined that the data stream is a data stream of a local service, it sends the data stream to the second SGW-U;
    所述第二SGW-U接收所述第一SGW-U发送的数据流,并将所述数据流发送给第二用户面PDN网关PGW-U;Receiving, by the second SGW-U, a data stream sent by the first SGW-U, and sending the data stream to a second user plane PDN gateway PGW-U;
    所述第二PGW-U接收所述第二SGW-U发送的数据流,并将所述数据流发送给本地服务器。The second PGW-U receives a data stream sent by the second SGW-U, and sends the data stream to a local server.
  24. 一种数据流处理方法,其特征在于,包括:A data stream processing method, comprising:
    SGW-C和/或PGW-C为终端设备确定第二SGW-U和第二PGW-U;SGW-C and / or PGW-C determine a second SGW-U and a second PGW-U for the terminal device;
    所述SGW-C与所述第二SGW-U建立连接,所述PGW-C与所述第二PGW-U建立连接。The SGW-C establishes a connection with the second SGW-U, and the PGW-C establishes a connection with the second PGW-U.
  25. 一种数据流处理系统,其特征在于,包括用户面服务网关SGW-U、控制面服务网关SGW-C、控制面PDN网关PGW-C和第二用户面PDN网关PGW-U,其中:A data stream 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:
    所述SGW-C,用于获取终端设备的位置信息;根据所述终端设备的位置信息,为所述终端设备选择所述SGW-U和所述第二PGW-U;向所述PGW-C发送指示信息,所述指示信息用于指示所述SGW-C为所述终端设备选择有所述第二PGW-U;The SGW-C is configured to obtain location information of a terminal device; select the SGW-U and the second PGW-U for the terminal device according to the location information of the terminal device; and send the information to the PGW-C Sending instruction information, the instruction information is used to instruct the SGW-C to select the second PGW-U for the terminal device;
    所述PGW-C,用于接收所述指示信息,并根据所述指示信息为所述终端设备分配第二地址信息;将所述第二地址信息发送给所述SGW-C;The PGW-C is configured to receive the instruction information, and allocate second address information to the terminal device according to the instruction information; and send the second address information to the SGW-C;
    所述SGW-C,还用于接收所述第二地址信息,并将所述第二地址信息发送给所述SGW-U;The SGW-C is further configured to receive the second address information and send the second address information to the SGW-U;
    所述SGW-U,用于接收所述SGW-C发送的终端设备的第二地址信息;接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流的源地址信息更新为所述第二地址信息,并将更新后的数据流发送给所述第二PGW-U;The SGW-U is configured to receive the second address information of the terminal device 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, Update the source address information of the data stream to the second address information, and send the updated data stream to the second PGW-U;
    所述第二PGW-U,用于接收所述SGW-U发送的数据流,并将所述数据流发送给本地服务器。The second PGW-U is configured to receive a data stream sent by the SGW-U, and send the data stream to a local server.
  26. 一种数据流处理系统,其特征在于,包括用户面服务网关SGW-U、控制面服务网关SGW-C、控制面PDN网关PGW-C和第二用户面PDN网关PGW-U,其中:A data stream 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:
    所述SGW-C和/或所述PGW-C,用于为终端设备确定SGW-U和第二PGW-U;所述SGW-C用于与所述SGW-U建立连接,所述PGW-C用于与所述第二PGW-U建立连接;The SGW-C and / or the PGW-C are used to determine an SGW-U and a second PGW-U for a terminal device; the SGW-C is used to establish a connection with the SGW-U, and the PGW- C is used to establish a connection with the second PGW-U;
    所述SGW-U,用于接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流发送给所述第二PGW-U;The SGW-U is configured to send the data stream to the second PGW-U if the data stream is determined to be a data stream of a local service after receiving the data stream of the terminal device;
    所述第二PGW-U,用于接收所述SGW-U发送的数据流,并将所述数据流发送给本地服务器。The second PGW-U is configured to receive a data stream sent by the SGW-U, and send the data stream to a local server.
  27. 一种数据流处理系统,其特征在于,包括第一用户面服务网关SGW-U、第二SGW-U、控制面服务网关SGW-C、控制面PDN网关PGW-C和第二用户面PDN网关PGW-U,其中:A data stream processing system, 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, of which:
    所述SGW-C,用于获取终端设备的位置信息;根据所述终端设备的位置信息,为所述终端设备选择第一用户面服务网关SGW-U、第二SGW-U和第二用户面PDN网关PGW-U;向所述PGW-C发送指示信息,所述指示信息用于指示所述SGW-C为所述终端设备选择有所述第二SGW-U和所述第二PGW-U;The SGW-C is used to obtain location information of a terminal device; and according to the location information of the terminal device, selecting a first user plane serving gateway SGW-U, a second SGW-U, and a second user plane for the terminal device PDN gateway PGW-U; sending instruction information to the PGW-C, the instruction information is used to instruct the SGW-C to select the second SGW-U and the second PGW-U for the terminal device ;
    所述PGW-C,用于接收所述指示信息,并根据所述指示信息为所述终端设备分配第二地址信息;将所述第二地址信息发送给所述SGW-C;The PGW-C is configured to receive the instruction information, and allocate second address information to the terminal device according to the instruction information; and send the second address information to the SGW-C;
    所述SGW-C,还用于接收所述第二地址信息,并将所述第二地址信息发送给所述第一SGW-U;The SGW-C is further configured to receive the second address information and send the second address information to the first SGW-U;
    所述第一SGW-U,用于接收所述SGW-C发送的终端设备的第二地址信息;接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流的源 地址信息更新为所述第二地址信息,并将更新后的数据流发送给所述第二SGW-U;The first SGW-U is configured to receive second address information of a terminal device sent by the SGW-C; after receiving a data stream of the terminal device, if it is determined that the data stream is a data stream of a local service, Update the source address information of the data stream to the second address information, and send the updated data stream to the second SGW-U;
    所述第二SGW-U,用于接收所述第一SGW-U发送的数据流,并将所述数据流发送给第二PGW-U;The second SGW-U is configured to receive a data stream sent by the first SGW-U, and send the data stream to a second PGW-U;
    所述第二PGW-U,用于接收所述第二SGW-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.
  28. 一种数据流处理系统,其特征在于,包括第一用户面服务网关SGW-U、第二SGW-U、控制面服务网关SGW-C、控制面PDN网关PGW-C和第二用户面PDN网关PGW-U,其中:A data stream processing system, 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, of which:
    所述SGW-C和/或所述PGW-C,用于为终端设备确定第二SGW-U和第二PGW-U;所述SGW-C用于与所述第二SGW-U建立连接,所述PGW-C用于与所述第二PGW-U建立连接;The SGW-C and / or the PGW-C are used to determine a second SGW-U and a second PGW-U for a terminal device; the SGW-C is used to establish a connection with the second SGW-U, The PGW-C is configured to establish a connection with the second PGW-U;
    所述第一SGW-U,用于接收到所述终端设备的数据流后,若确定所述数据流为本地业务的数据流,则将所述数据流发送给所述第二SGW-U;The first SGW-U is configured to 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 after receiving the data stream of the terminal device;
    所述第二SGW-U,用于接收所述第一SGW-U发送的数据流,并将所述数据流发送给第二PGW-U;The second SGW-U is configured to receive a data stream sent by the first SGW-U, and send the data stream to a second PGW-U;
    所述第二PGW-U,用于接收所述第二SGW-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.
  29. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行如权利要求1至24中任一项所述的数据流处理方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the computer program according to any one of claims 1 to 24. Data stream processing methods.
  30. 一种装置,其特征在于,包括:A device, comprising:
    存储器,用于存储程序指令;Memory for storing program instructions;
    处理器,用于调用所述存储器中存储的程序指令,按照获得的程序执行如权利要求1至24中任一项所述的数据流处理方法。The processor is configured to call a program instruction stored in the memory and execute the data stream processing method according to any one of claims 1 to 24 according to the obtained program.
PCT/CN2019/102681 2018-08-27 2019-08-27 Data stream processing method, apparatus and system WO2020043074A1 (en)

Applications Claiming Priority (4)

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

Publications (1)

Publication Number Publication Date
WO2020043074A1 true WO2020043074A1 (en) 2020-03-05

Family

ID=69644070

Family Applications (1)

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

Country Status (1)

Country Link
WO (1) WO2020043074A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017078776A1 (en) * 2015-11-06 2017-05-11 Intel IP Corporation User plane resource allocation
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017078776A1 (en) * 2015-11-06 2017-05-11 Intel IP Corporation User plane resource allocation
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

Similar Documents

Publication Publication Date Title
CN110621045B (en) Method for service routing of Internet of things
WO2020147760A1 (en) Local area network communication method, device, and system
CN111010673B (en) Communication method and device
US11558346B2 (en) Address management method and system, and device
US11240198B2 (en) Session management method and apparatus
WO2018205351A1 (en) Method and device for moving between communication systems
US9106711B2 (en) Minimizing mapping and signaling for data path aggregation
WO2016034014A1 (en) Gateway control method, device and system based on virtual machine migration
WO2018090666A1 (en) Multipath data transmission method and device
US20220070095A1 (en) Data transmission method and apparatus, network adapter, and storage medium
WO2020248888A1 (en) Communication method, apparatus and system
WO2015085523A1 (en) Communication method, device and system for virtual extensible local area network
WO2022152238A1 (en) Communication method and communication apparatus
JP7085065B2 (en) Local area network communication methods, devices, and systems
WO2020020096A1 (en) Group creation method, device and system
WO2020001282A1 (en) Access method, device and system
US20200059525A1 (en) Redirection method, control plane network element, aggregation user plane network element, content server, and terminal device
WO2020135277A1 (en) Communication method and communication device
US20130223339A1 (en) Radio communication system, radio communication method, and gateway
WO2020034971A1 (en) Method and apparatus for allocating ebi
WO2023125151A1 (en) Data migration system, method and apparatus for internet-of-things device, and storage medium
CN110868762B (en) Data stream processing method, device and system
CN105897542B (en) Tunnel establishment method and video monitoring system
CN109714376B (en) Method, device and system for sending fixed network message
WO2020043074A1 (en) Data stream processing method, apparatus and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19855063

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19855063

Country of ref document: EP

Kind code of ref document: A1