WO2017113193A1 - Packet-processing method, gateway user plane entity, gateway control plane entity and gateway - Google Patents

Packet-processing method, gateway user plane entity, gateway control plane entity and gateway Download PDF

Info

Publication number
WO2017113193A1
WO2017113193A1 PCT/CN2015/099875 CN2015099875W WO2017113193A1 WO 2017113193 A1 WO2017113193 A1 WO 2017113193A1 CN 2015099875 W CN2015099875 W CN 2015099875W WO 2017113193 A1 WO2017113193 A1 WO 2017113193A1
Authority
WO
WIPO (PCT)
Prior art keywords
plane entity
gateway
action
packet
user plane
Prior art date
Application number
PCT/CN2015/099875
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/099875 priority Critical patent/WO2017113193A1/en
Publication of WO2017113193A1 publication Critical patent/WO2017113193A1/en

Links

Images

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to a packet processing method, a gateway user plane entity, a gateway control plane entity, and a gateway.
  • LTE Long Term Evolution
  • SAE System Architecture Evolution
  • the EPS network can support multiple types of user equipment (User Equipment, UE for short) to access the operator's Packet Data Network (PDN) to obtain the Operator's Internet Protocol Services. For example, the Internet Protocol Multimedia Subsystem (IMS) Packet Switching Streaming (PSS) service.
  • IMS Internet Protocol Multimedia Subsystem
  • PSS Packet Switching Streaming
  • a plurality of types of gateways need to be deployed in the EPS network. Different gateways of the multiple types of gateways can process different service information to support different types of UEs to access the PDN of the operator.
  • gateways need to be deployed in the EPS network, so that multiple types of UEs can access the network through corresponding gateways, which makes the architecture of the entire EPS network more and more complicated.
  • the embodiment of the invention provides a packet processing method, a gateway user plane entity, a gateway control plane entity and a gateway to simplify the EPS network architecture.
  • the embodiment of the invention provides a packet processing method, including:
  • the gateway user plane entity receives the control information sent by the gateway control plane entity
  • the gateway user plane entity determines, according to the control information, a packet processing action corresponding to the control information
  • the gateway user plane entity processes the packet according to the packet processing action corresponding to the control information.
  • the control information includes action set indication information, the action set includes at least one message processing action, and the action set indication information includes an identifier of at least one message processing action;
  • the action set indication The information may be carried in the template indication information in the control information;
  • the action set indication information may be determined by the gateway control plane entity according to a preset gateway function, where the gateway function is the gateway control plane entity according to the UE access type and/or Or as determined by the type of business function;
  • the gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, including:
  • the gateway user plane entity determines at least one packet processing action according to the action set indication information, and processes the packet according to at least one packet processing action.
  • the gateway user plane entity may determine the action set according to the action set indication information, and implement the action set correspondingly.
  • Multiple gateway functions enable the convergence of gateway functions, improve the compatibility and scalability of the gateway function of the gateway user plane entity, and greatly exceed the compatibility and scalability of the gateway function of the traditional gateway.
  • control information further includes sequence indication information, where the sequence indication information is used to indicate an execution order of the at least one message processing action.
  • the instruction information of the action set further includes the sequence indication information, so that the gateway user plane entity can perform a plurality of different action processing on the message according to the execution order of the message processing action corresponding to the action set.
  • the accuracy of processing the packet by the gateway user plane device is ensured.
  • control information further includes object set indication information, where the object set indication information includes an identifier of the at least one object, wherein each object is associated with at least one message processing action in the message processing action.
  • the object as described above may be a service function object, and the service function object is associated with a message processing action corresponding to a preset gateway function.
  • the service function object includes any one of a service function object such as a tunnel object, a charging object, a quality of service QoS object, or a uniform resource locator URL filtering object.
  • a service function object such as a tunnel object, a charging object, a quality of service QoS object, or a uniform resource locator URL filtering object.
  • the object may also be a message operation object, and each message operation object includes one An instance, wherein each instance is associated with at least one message processing action in a message processing action; the message includes a count tag value;
  • the gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, including:
  • the gateway user plane entity determines, according to the count tag value, a message processing action associated with an instance of an object in the object set;
  • the gateway user plane entity processes the packet according to the determined packet processing action, and obtains the processed packet; the counted label value in the processed packet is updated after the updated count label value;
  • the gateway user plane entity determines whether the updated count label value has a corresponding object instance
  • the user plane entity processes the message according to the message processing action associated with the object instance corresponding to the updated count tag value.
  • each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action; the gateway user plane entity is controlled according to The packet processing action corresponding to the information processes the packet, including:
  • the gateway user plane entity processes the packet according to the packet processing action associated with the instance of the first object in the object set, and obtains the processed packet.
  • the processed packet includes the instance identifier ID of the first object, and the first object.
  • the gateway user plane entity determines, according to the ID of the first object instance, whether the object set has a second object, and the second object is a next object of the first object in the object set;
  • the object set has the second object, and the gateway user plane entity processes the second object as the first object.
  • the processed packet includes the first object. Instance ID of the object;
  • the processed message includes an instance ID and a count tag value of the first object, and
  • the count label value is a preset integer value
  • the message includes: the instance ID and the count tag value of the first object, the count tag value and the processing The count tag value in the previous message is the same;
  • the processed message includes: The ID of the first object instance and the count tag value; the count tag value can be a preset integer value.
  • the processed message includes: The ID of the object instance and the count tag value; the count tag value is obtained based on the update of the count tag value in the pre-process message.
  • the message operation object includes any one of a link operation object such as a link object, a bearer object, and a flow object.
  • a link operation object such as a link object, a bearer object, and a flow object.
  • the method described in the foregoing embodiment is further described by the solution of the different object instances corresponding to the objects in the object set, so that the accuracy of the message processing by the gateway user plane entity is better.
  • the integration of multiple gateway functions in the user plane entity of the gateway is better realized, and the deployment of new services is more flexible and faster.
  • control information sent by the gateway user plane entity to the gateway control plane entity may include:
  • the gateway user plane entity receives control information sent by the gateway control plane entity through the preset transmission channel.
  • the embodiment of the invention further provides a packet processing method, including:
  • the gateway control plane entity determines the control information according to the type information of the user equipment UE, where the control information is used to instruct the gateway user plane entity to determine the packet processing action corresponding to the control information;
  • the gateway control plane entity sends control information to the gateway user plane entity.
  • control information includes: action set indication information; indication information of the action set, used to instruct the gateway user plane entity to determine an action set, the action set includes at least one message processing action; and the action set indication information includes at least one message processing The identity of the action.
  • the action set indication information may be carried in the template indication information in the control information.
  • control information further includes: sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action.
  • control information further includes: object set indication information; the object set includes: at least one object; wherein each object is associated with at least one message processing action in the message processing action; and the object set indication information includes at least The identifier of an object; the action set indicates that the information can be carried in the control The template information in the information indicates.
  • the gateway control plane entity sends the control information to the gateway user plane entity, which may include:
  • the gateway control plane entity sends control information to the gateway user plane entity through a preset transmission channel.
  • the type information of the UE includes: at least one of an access type of the UE, and a service function type of the UE.
  • the embodiment of the invention further provides a gateway user plane entity, including:
  • a receiving module configured to receive control information sent by a gateway control plane entity
  • a determining module configured to determine, according to the control information, a message processing action corresponding to the control information
  • the processing module is configured to process the packet according to the packet processing action corresponding to the control information.
  • control information includes action set indication information, and the action set includes at least one message processing action; the action set indication information includes an identifier of at least one message processing action; the action set indication information may be carried in the control information.
  • Template indication information ;
  • a determining module configured to determine at least one message processing action according to the action set indication information
  • the processing module is further configured to process the packet according to at least one packet processing action.
  • control information further includes sequence indication information, where the sequence indication information is used to indicate an execution sequence of the at least one message processing action.
  • control information as described above further includes object set indication information, where the object set indication information includes an identifier of the at least one object, wherein each object is associated with at least one message processing action in the message processing action.
  • the object may be a service function object, and the service function object is associated with a message processing action corresponding to a preset gateway function.
  • the service function object includes any one of a service function object such as a tunnel object, a charging object, a quality of service QoS object, or a uniform resource locator URL filtering object.
  • a service function object such as a tunnel object, a charging object, a quality of service QoS object, or a uniform resource locator URL filtering object.
  • the object may also be a message operation object, each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action; the message includes a count tag value;
  • Determining a module further configured to determine, according to the count tag value, a message processing action associated with an instance of an object in the object set;
  • the processing module is further configured to process the packet according to the determined packet processing action to obtain the processed packet; and the counted label value in the processed packet is updated by updating the counted label value;
  • Determining a module further configured to determine whether the updated count tag value has a corresponding object instance
  • the processing module is further configured to: if the updated count tag value has a corresponding object instance, process the packet according to the packet processing action associated with the object instance corresponding to the updated count tag value.
  • the object is a message operation object, and each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action;
  • the processing module is further configured to process the packet according to the packet processing action associated with the instance of the first object in the object set, and obtain the processed packet, where the processed packet includes the instance identifier ID of the first object,
  • An object is an object in the set of objects;
  • a determining module configured to determine, according to an ID of the first object instance, whether the object set has a second object; the second object is a next object of the first object in the object set; and if the object set has a second object, the second object Processing is performed as the first object.
  • the message operation object includes any one of a link operation object such as a link object, a bearer object, and a flow object.
  • a link operation object such as a link object, a bearer object, and a flow object.
  • the receiving module is further configured to receive control information sent by the gateway control plane entity through the preset transmission channel.
  • the embodiment of the present invention further provides a gateway control plane entity, which may include:
  • a determining module configured to determine control information according to the type information of the user equipment UE, where the control information is used to instruct the gateway user plane entity to determine a packet processing action corresponding to the control information;
  • a sending module configured to send control information to the gateway user plane entity.
  • control information includes: action set indication information; indication information of the action set, used to instruct the gateway user plane entity to determine an action set, the action set includes at least one message processing action; and the action set indication information includes at least one message processing The identity of the action.
  • the action set indication information may be carried in the template indication information in the control information.
  • control information further includes: sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action.
  • control information further includes: object set indication information; the object set includes: at least one object; wherein each object is associated with at least one message processing action in the message processing action; the object set indication information includes the The identity of at least one object.
  • the sending module is further configured to send the control information to the gateway user plane entity by using a preset transmission channel.
  • the type information of the UE includes: at least one of an access type of the UE, and a service function type of the UE.
  • the embodiment of the present invention further provides a gateway, where the gateway includes a gateway user plane entity and a gateway control plane entity; wherein the gateway user plane entity is connected to the gateway control plane entity; and the gateway user plane entity is the gateway according to any one of the preceding claims.
  • User plane entity; the gateway control plane entity is the gateway control plane entity as described in any one of the above.
  • the present invention provides a packet processing method, a gateway user plane entity, a gateway control plane entity, and a gateway, and the gateway user plane entity can determine a packet processing action corresponding to the control information according to the received control information sent by the gateway control plane entity.
  • the message is then processed according to the determined message processing action. Therefore, the gateway user plane entity can determine the packet processing action according to the control information sent by the gateway control plane entity. Even if the UE type is more and more abundant, it only needs to be processed according to the control information sent by the gateway control plane entity, without deploying. Multiple gateways reduce the deployment of gateways in the EPS network and simplify the architecture of the EPS network.
  • FIG. 1 is a schematic structural diagram of an existing EPS network
  • FIG. 2 is a schematic structural diagram of an EPS network provided by the present invention.
  • FIG. 3 is a flowchart of a packet processing method according to Embodiment 1 of the present invention.
  • FIG. 4 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention
  • FIG. 5 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention
  • FIG. 6 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic structural diagram of an EPS network according to Embodiment 2 of the present invention.
  • FIG. 8 is a schematic diagram of a gateway control plane entity based on a service function type according to Embodiment 2 of the present invention. Schematic diagram of the entity with the gateway user plane;
  • FIG. 9 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on a service function type according to Embodiment 2 of the present invention.
  • FIG. 10 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on a service function type according to Embodiment 2 of the present invention.
  • FIG. 11 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity according to Embodiment 3 of the present invention.
  • FIG. 12 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity according to Embodiment 3 of the present invention.
  • FIG. 13 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity according to Embodiment 4 of the present invention.
  • FIG. 14 is a flowchart of a packet processing method according to Embodiment 4 of the present invention.
  • FIG. 15 is a flowchart of another packet processing method according to Embodiment 4 of the present invention.
  • FIG. 16 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity according to Embodiment 4 of the present invention.
  • FIG. 17 is a flowchart of a packet processing method according to Embodiment 5 of the present invention.
  • FIG. 18 is a schematic structural diagram of a gateway user plane entity according to Embodiment 6 of the present invention.
  • FIG. 19 is a schematic structural diagram of a gateway control plane entity according to Embodiment 7 of the present invention.
  • FIG. 20 is a schematic structural diagram of a gateway according to Embodiment 8 of the present invention.
  • the packet processing method provided by the embodiments of the present invention is applicable to an EPS network.
  • the EPS network can support multiple types of UEs to access the operator's packet data network to serve multiple different types of UEs.
  • the multiple types of UEs may include: UEs of multiple different access types, and/or UEs of multiple different service function types.
  • the access type can be determined according to the type of the access network, and can be packaged. Including: 3rd Generation Partnership Project (3GPP), Trusted Non-3rd Generation Partnership Project (Non-3GPP) Access and Untrusted Non- 3GPP access, etc.
  • the service function types may include: Internet Protocol (IP) service function change corresponding to the gateway, IP service function cancellation, and IP service function addition.
  • IP Internet Protocol
  • FIG. 1 is a schematic diagram of an architecture of an existing EPS network.
  • the EPS network may include: a Home Public Land Mobile Network (HPLMN) and a Non-3GPP network.
  • the access network in the HPLMN may be the 3GPP access network 101.
  • the 3GPP access network 101 may be an Evolved-Universal Mobile Telecommunications System Terrestrial Radio Access Network (E-UTRAN).
  • E-UTRAN Evolved-Universal Mobile Telecommunications System Terrestrial Radio Access Network
  • the access network in the Non-3GPP network may include a trusted Non-3GPP access network 102 and an untrusted Non-3GPP access network 103.
  • the trusted Non-3GPP access network 102 may be a Worldwide Interoperability for Microwave Access (WiMAX) based access network
  • the untrusted Non-3GPP access network 103 may be based on Wireless-Fidelity (WiFi) access network.
  • the UE may be connected to the gateway corresponding to the access type by using an access network corresponding to the access type of the UE, and then connected to the operator IP network through the gateway corresponding to the access type, thereby being from the carrier IP network. Get an IP service.
  • the EPS network includes: a Serving Gateway (SGW) 104, a Packet Data Gateway (PGW) 105, and an evolved packet data gateway (evolved Packet).
  • SGW Serving Gateway
  • PGW Packet Data Gateway
  • evolved Packet evolved packet data gateway
  • the EPS network further includes: a PGW 105 and a Trusted Access Gateway (TGW) 107. If the access type of the UE is untrusted Non-3GPP access, the EPS network also has an ePDG 106 and an Untrusted Access Gateway (UGW) 108. If the access type of the UE is other types, the EPS network has other types of gateways to provide IP services for the UEs of different access types, so that the EPS network can support multiple access types.
  • UE If the EPS network needs to support a new type of UE, a gateway corresponding to the new type needs to be deployed in the EPS network. With the diversification of UE types, more and more gateways need to be deployed in EPS networks, thus making the entire EPS network architecture Increasingly complex, the maintenance of the network is more complicated and the maintenance cost is higher.
  • FIG. 2 is a schematic structural diagram of an EPS network provided by the present invention.
  • a gateway 201 may be included in an EPS network according to an embodiment of the present invention.
  • the gateway 201 can include a Gateway-User (GW-U) entity 202 and a Gateway-Controler (GW-C) entity 203.
  • the gateway user plane entity 202 and the gateway control plane entity 203 can be respectively used as an independent physical entity device.
  • the gateway user plane entity 202 can also be referred to as a user plane device or a forwarding plane device, and the gateway control plane entity 203 can also be called For control surface devices or control devices.
  • the gateway user plane entity 202 and the gateway control plane entity 203 may also be respectively a separate hardware module in the physical entity device.
  • the gateway user plane entity 202 may be a user module or a forwarding module in the gateway 201, and the gateway control plane.
  • Entity 203 can be a control module in gateway 201.
  • the embodiment of the present invention further provides a plurality of packet processing methods, a gateway user plane entity 202, a gateway control plane entity 203, and a gateway, which are mutually executable by the gateway user plane entity 202 and the gateway control plane entity 203.
  • the invention can be specifically illustrated by the following examples.
  • a first embodiment of the present invention provides a packet processing method.
  • the packet processing method provided by the first embodiment of the present invention may be executed by the gateway user plane entity 202 and the gateway control plane entity 203.
  • FIG. 3 is a flowchart of a packet processing method according to Embodiment 1 of the present invention. As shown in FIG. 3, the method can include the following:
  • the gateway control plane entity determines control information.
  • the gateway control plane entity sends the control information to the gateway user plane entity.
  • the gateway control plane entity may send the control information through the S18 interface or multiplexed with other interfaces.
  • the gateway user plane entity is also compatible with the external interface of each traditional gateway, that is, the gateway user plane entity may have an interface for each traditional gateway to transmit with some other network element devices.
  • some other network element devices include: a Serving General Packet Radio Service Support Node (SGSN) or a verification authorization accounting server.
  • the gateway control plane entity is also compatible with the external interface of each traditional gateway, that is, the gateway control plane entity may have an interface for each traditional gateway to transmit with another part of other network element devices.
  • the other part of the network element device may include: a Mobile Management Entity (MME) or a Policy and Charging Rules Function (PCRF). Therefore, the gateway for performing the message processing method in the embodiment of the present invention is used.
  • MME Mobile Management Entity
  • PCRF Policy and Charging Rules Function
  • the gateway user plane entity determines, according to the control information, a packet processing action corresponding to the control information.
  • the gateway user plane entity may determine, according to the control information, a correspondence between the preset control information and the packet processing action, and determine a packet processing action corresponding to the control information.
  • the gateway user plane entity processes the packet according to the packet processing action corresponding to the control information.
  • the gateway user plane entity may further determine an execution instruction corresponding to the message processing action according to the message processing action corresponding to the control information, and then perform the message according to the execution instruction. deal with.
  • the packet may be a signaling packet or a service data packet; the signaling packet may be an in-band signaling packet of the same IP link as the data packet.
  • the signaling packet may include an uplink signaling packet or a downlink signaling packet.
  • the service data packet may include an uplink data packet or a downlink data packet. It should be noted that the gateway user plane entity may further forward the processed packet, that is, the processed packet is sent to the downstream network device of the gateway user plane entity.
  • the gateway user plane entity may determine the packet processing action corresponding to the control information according to the received control information sent by the gateway control plane entity, and then report the action according to the determined packet processing action.
  • the text is processed.
  • the gateway user plane entity can determine the packet processing action according to the control information sent by the gateway control plane entity. Even if the type of the UE is more and more abundant, only the control information sent by the gateway control plane entity is processed, and no deployment is needed. Multiple gateways can reduce the deployment of gateways in the EPS network, simplify the architecture of the EPS network, simplify the maintenance complexity of the network, and reduce maintenance costs.
  • the method may further include:
  • the gateway user plane entity sends a response message corresponding to the control information to the gateway control plane.
  • the response message includes a determination result of the message processing action corresponding to the control information.
  • the second embodiment of the present invention further provides a packet processing method.
  • the control information may include: action set indication information.
  • the set of actions can include at least one message processing action.
  • the action set can correspond to a gateway function. That is, the action set includes the The at least one packet processing action may be a packet processing action required to process the message required to implement the gateway function.
  • the action set indication information can be represented by the name of the action set.
  • the name of the action set can be represented by the identity of the gateway function corresponding to the action set.
  • the identifier of the gateway function corresponding to the SGW may be the SGW, and the indication information of the action set may be represented by the SGW.
  • the gateway user plane entity may determine the action set according to the indication information of the action set.
  • the gateway user plane entity determines, according to the control information, a packet processing action corresponding to the control information, which may include:
  • the gateway user plane entity determines the action set according to the action set indication information
  • the gateway user plane entity determines a packet processing action corresponding to the action set according to the action set, the correspondence between the preset action set and the message processing action.
  • the corresponding relationship between the action set and the packet processing action may be preset in the gateway user plane entity.
  • the action set indication information may include an identifier of the at least one message processing action included in the action set. Therefore, the message processing action corresponding to the action set may be that the gateway user plane entity determines according to the action set indication information.
  • the identifier of the packet processing action may be represented by the name of the packet processing action.
  • the gateway user plane entity may determine, according to the identifier of the packet processing action, at least one packet processing action corresponding to the action set.
  • the packet processing action may include, but is not limited to, Receive Packet (RecPkt), Decapsulate (Decap), Traffic Supervision (Car), or Encapsulate (Encapte).
  • the identifier of the received data packet may be RecPkt
  • the decapsulated identifier may be Decap
  • the identifier of the traffic policing may be Car
  • the identifier of the encapsulation may be Encap.
  • the action set indication information includes action indication information consisting of RecPkt, Decap, Car, and Encap
  • the gateway user plane entity may determine, according to the action set indication information, the packet processing action including the ReceivePacket in the action set, and the packet processing of the Decapsulate.
  • the action set includes at least one message processing action, such as multiple message processing actions. Then, each message processing action in the action set also has a corresponding execution order.
  • the control information may further include: sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action. That is, the execution order of the at least one message processing action and the at least one message processing action in the second embodiment of the present invention may be determined by the gateway control plane entity and sent to the gateway user plane entity.
  • the gateway user plane entity in the foregoing S304 processes the packet according to the packet processing action corresponding to the control information, and may include:
  • the gateway user plane entity determines an execution order of the at least one message processing action according to the sequence indication information; and then processes the message according to the execution sequence.
  • the sequence indication information may be represented by a character string including an identification of the at least one message processing action.
  • the gateway user plane entity may determine execution of the at least one message processing action.
  • the sequence may be a packet processing operation of ReceivePacket, a packet processing operation of Decapsulate, a message processing operation of Car, and a packet processing operation of Encapsulate.
  • the user plane of the gateway may first receive the packet according to the packet processing action of the ReceivePacket, and then encapsulate the packet according to the packet processing action of the Decapsulate, and then process the packet according to the message processing action of the Car. Traffic policing is performed. Finally, the packet is encapsulated according to the packet processing action of Encapsulate.
  • the determining, by the gateway control plane entity in the foregoing S301, the control information may include:
  • the gateway control plane entity determines the action set indication information according to the gateway function.
  • the gateway function may be determined according to the access type and/or the type of service function of the UE.
  • the service function type may be determined according to user service data.
  • the gateway function is determined according to the access type of the UE, that is, the action set indication information may be that the gateway control plane entity may be a gateway function of the gateway user plane entity determined according to the access type of the UE. And then determined by the gateway function.
  • FIG. 4 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention.
  • the gateway user plane entity may be a gateway user plane entity corresponding to the SGW.
  • the gateway control plane entity may determine, according to the gateway function corresponding to the SGW, that the action set is an action set corresponding to the SGW, and the action set indication information may be represented by the SGW.
  • the packet processing operations corresponding to the action set corresponding to the SGW include: a packet processing operation of the ReceivePacket, a packet processing operation of the Decapsulate, a message processing operation of the Car, and a packet processing operation of the Encapsulate.
  • the action set indication information may include a name of a message processing action of the action set, such as ReceivePacket, Decapsulate, Car, and Encapsulate.
  • the sequence indication information may be ReceivePacket->Decapsulate->Car->Encapsulate.
  • the gateway user plane entity may also determine that the gateway function includes a gateway function corresponding to the PGW, and the gateway user plane entity may be a gateway user plane corresponding to the PGW. entity.
  • FIG. 5 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention.
  • the gateway control plane entity may determine, according to the gateway function corresponding to the PGW, that the action set is an action set corresponding to the PGW, and the indication information of the action set may be represented by PGW.
  • the packet processing operations corresponding to the action set corresponding to the PGW include: a packet processing operation of the ReceivePacket, a packet processing operation of the Decapsulate, a packet processing operation of the traffic shaping (Shaping), and a packet processing operation of the Charge.
  • the action set indication information may include a name of a message processing action of the action set, such as ReceivePacket, Decapsulate, Shaped, and Charge.
  • the order indication information may be ReceivePacket->Decapsulate->Shaping->Charge.
  • the gateway function may further include a gateway function corresponding to the Evolved Packet Data Gateway (ePGW).
  • FIG. 6 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention.
  • the gateway control plane entity may determine that one action set is an action set corresponding to the SGW according to the gateway function corresponding to the ePGW, and the other action set is an action set corresponding to the ePGW.
  • the action set indication information corresponding to the SGW may be represented by an SGW
  • the action set indication information corresponding to the ePGW may be represented by an ePGW.
  • the packet processing operations corresponding to the action set corresponding to the SGW include: a packet processing operation of the ReceivePacket, a packet processing operation of the Decapsulate, a message processing operation of the Car, and a packet processing operation of the Encapsulate.
  • the packet processing action corresponding to the action set corresponding to the ePGW includes: a packet processing action of the ReceivePacket, and a packet processing process of decrypting (Decrypt).
  • the control information may include action set indication information corresponding to the SGW and action set indication information corresponding to the ePDW.
  • the action set indication information corresponding to the SGW may include a name of a packet processing action of the action set corresponding to the SGW, such as ReceivePacke, Decapsulate, Car, and Encapsulate.
  • the sequence indication information corresponding to the SGW may be ReceivePacke->Decapsulate->Car->Encapsulate.
  • the action set indication information corresponding to the ePDW may include a name of a message processing action of the action set corresponding to the ePDW, such as ReceivePacke, Decrypt, Car, and Encapsulate.
  • the sequence indication information corresponding to the ePDW may be ReceivePacke->Decrypt->Car->Encapsulate.
  • the gateway user plane entity can support 3GPP access and untrusted 3GPP access, that is, the gateway user plane entity can receive the packets corresponding to the two access types.
  • the packet corresponding to the 3GPP access type may include a GTP type packet of a Tunnel Endpoint Identity (TEID).
  • the packet corresponding to the untrusted 3GPP access may be an Internet Protocol Security (IPSec) type of packet. Regardless of the type of message, the gateway user plane can be received through the S1 interface.
  • IPSec Internet Protocol Security
  • FIG. 4, FIG. 5 and FIG. 6 in the above embodiments of the present invention are merely illustrative, and the present invention is not specifically limited. That is to say, the gateway user plane entity may also support only other access types, and may also support multiple access types, such as supporting more than two access types, and is not limited to the above description.
  • the second embodiment of the present invention further provides an EPS network architecture to support 3GPP access, trusted Non-3GPP access, and untrusted Non-3GPP access.
  • Embodiment 2 of the present invention further provides an architecture diagram of an EPS network.
  • FIG. 7 is a structural diagram of an EPS network according to Embodiment 2 of the present invention. As shown in FIG. 7, the EPS network can include a gateway control plane entity 701 and a gateway user plane entity 702.
  • the gateway user plane entity 702 may include: a gateway user plane entity 703 corresponding to the SGW, a gateway user plane entity 704 corresponding to the PGW, a gateway user plane entity 705 corresponding to the trusted non-3GPP, and a gateway user plane entity corresponding to the untrusted non-3GPP. 706.
  • the structure of the gateway user plane entity corresponding to the SGW and the gateway user plane entity corresponding to the PGW may be of the type shown in FIG. 4 and FIG. 5 of the foregoing embodiment, and details are not described herein again.
  • the gateway user plane entity corresponding to the SGW, the gateway user plane entity corresponding to the PGW, the gateway user plane entity corresponding to the trusted non-3GPP, and the gateway user plane entity corresponding to the untrusted non-3GPP may be independent physical devices, respectively. It can be a number of different software and/or hardware modules within a physical device.
  • the gateway function is determined according to the service function type of the UE, that is, the indication information of the action set may be that the gateway control plane entity may be a gateway user plane entity determined according to the service function type of the UE. The gateway function is then determined based on the gateway function.
  • the service function types include: IP service function change of the gateway function corresponding to the PGW, cancellation of the IP service function, and increase of the IP service function.
  • the gateway control plane sends a corresponding control message to the gateway control plane according to the service function type, so that the gateway user plane performs the function of changing, canceling or adding the gateway according to the control message.
  • FIG. 8 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity based on a service function type according to Embodiment 2 of the present invention.
  • the function of the gateway before and after the change of the IP service function is as shown in Figure 8.
  • the packet processing action of the action set may include the packet processing action after changing the IP service function, such as the ReceivePacket report. Text processing action, Decapsulate message processing action, Charge message processing action, and Shaping message processing action.
  • the action set indication information further includes action change instruction information of the action set.
  • the action change instruction information may include a message processing operation to be changed, and a position in the plurality of message processing operations in the message processing operation to be changed before the change.
  • the action change instruction information may further include: instruction information for changing each message processing operation after the message processing operation, and sequence instruction information.
  • the sequence indication information is used to indicate the execution order of the message processing actions of the action set after the IP service function is changed.
  • the order indication information is ReceivePacket->Decapsulate->Charge->Shaping.
  • the changed gateway function may be a gateway function after canceling the URL filtering function.
  • FIG. 9 is a schematic structural diagram of another service type-based gateway control plane entity and a gateway user plane entity according to Embodiment 2 of the present invention.
  • the function of the gateway before and after the cancellation of the IP service function is as shown in Figure 9.
  • the packet processing action of the action set may include canceling the packet processing after the packet processing action corresponding to the IP service function.
  • Actions such as ReceivePacket's message processing action, Decapsulate's message processing action, Shaping's message processing action, and Charge's message processing action.
  • the action set indication information includes action cancellation instruction information of the action set.
  • the action cancellation indication information may include: cancel (Delete, referred to as DEL) Identification, message processing action to be canceled.
  • the cancellation identifier may be represented as DEL, and the packet processing action to be canceled may be a URL filtering message processing action, and the message processing action to be canceled may be represented as a URL Filter.
  • the action cancellation indication information of the one action set may further include: indication information and sequence indication information of each message processing action after the message processing action is canceled.
  • the sequence indication information is used to indicate the execution order of the message processing actions of the action set after the service function is cancelled.
  • the order indication information may be ReceivePacket->Decapsulate->Shaping->Charge.
  • the changed gateway function may be a gateway function after the traffic subscription function is added.
  • FIG. 10 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on a service function type according to Embodiment 2 of the present invention.
  • the function of the gateway before and after the IP service function is added is as shown in Figure 10.
  • the packet processing action of the action set may include adding the packet processing after the packet processing action corresponding to the IP service function. Actions, such as ReceivePacket's message processing action, Decapsulate's message processing action, Shaping's message processing action, Charge's message processing action, and ICAP message processing action.
  • the action set indication information includes action increase indication information of the action set.
  • the action insertion indication information may include: adding an identifier, a message processing action to be added, and a position of the message processing action to be added in a plurality of message processing actions in the pre-action set, wherein the added identifier may be represented as Insert, the message processing action to be added can be expressed as ICAP->AC, and the position of the message processing action to be added can be expressed as charge.
  • the action increase indication information may further include: indication information and sequence indication information of each message processing action after the message processing action is increased.
  • the sequence indication information is used to indicate the execution order of the message processing actions of the action set after the service function is added.
  • the sequence indication information may be ReceivePacket->Decapsulate->Shaping->Charge->ICAP->AC.
  • the gateway user plane entity processes the packet according to the packet processing action corresponding to the action set and the action parameter of the packet processing action.
  • the control information sent by the gateway control plane entity includes the action set indication information, so the gateway user plane entity may determine the action set according to the action set indication information, and implement the action set correspondingly.
  • Multiple gateway functions enable the convergence of gateway functions, improve the compatibility and scalability of the gateway function of the gateway user plane entity, and greatly exceed the compatibility and scalability of the gateway function of the traditional gateway.
  • the indication information of the action set further includes the sequence indication information, so that the gateway user plane entity can perform a plurality of different action processing on the message according to the execution order of the message processing action corresponding to the action set.
  • the accuracy of processing the packet by the gateway user plane device can be ensured.
  • the packet processing method provided by the second embodiment of the present invention can process packets of different access types or service types, so that the EPS network supports multiple different access types or service types without deploying multiple Gateways simplify the network architecture and also enable the convergence of gateway functions corresponding to multiple access types or service types.
  • Embodiment 3 of the present invention further provides a packet processing method.
  • the control information may further include: object set indication information; the object set includes: at least one object (Object); wherein each object corresponds to a message processing action.
  • the object set indication information may include an identification of each object in the object set.
  • the gateway user plane entity can process the packet according to the packet processing action corresponding to each object in the object set. Each object is associated with at least one message processing action in the message processing action.
  • Each object may correspond to at least one message processing action, and at least one message processing corresponding to each object further has a corresponding execution order, and thus the object set indication information may include: sequence indication information.
  • the gateway user plane entity may process the message in sequence according to the execution order of the message processing actions in each object.
  • the object set includes: at least one object, each object corresponding to one business function object according to different dimensions, or each object corresponding to one message operation object.
  • the service function object When each object corresponds to a service function object, the service function object includes a message processing action; the control information further includes: indication information of the object sequence; the object sequence is a message processing sequence corresponding to the at least one object.
  • the gateway user plane device may determine, according to the indication information of the object sequence, a message processing sequence corresponding to the at least one object.
  • the user plane entity of the gateway may process the packet in turn according to the processing sequence of the corresponding packet, and then adopt the packet processing action corresponding to the first object in the object set, and then adopt the packet of the next object in the object set.
  • the processing action processes the packet until the packet processing has been processed according to the packet processing action of all objects in the object set, and the gateway user plane entity completes processing the packet.
  • the service function object includes: a tunnel object, a charging (CHarGe, abbreviated as CHG) object, a quality of service (QoS) object, or a Uniform Resource Locator (URL) filtering object.
  • CHG charging
  • QoS quality of service
  • URL Uniform Resource Locator
  • FIG. 11 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity according to Embodiment 3 of the present invention.
  • the gateway user plane entity may determine, according to the indication information of the object set, each object of the object set, and a message processing order corresponding to each object in the object set.
  • the gateway user plane entity further obtains an object set of the gateway user plane entity as shown in FIG. 11 according to each object in the object set and a corresponding relationship between the preset object and the packet processing action.
  • the tunnel object may include: a packet processing action of the Encapsulate, a packet processing action of the Decapsulate, and a message processing action of the identifier (Remark);
  • the CHG object may include: a packet processing action of the tag;
  • the QoS object The message processing action of the Car and the packet processing action of the Shaping may be included;
  • the URL filtering object may include a message processing action of the Internet Content Adaptation Protocol (ICAP).
  • ICAP Internet Content Adaptation Protocol
  • the gateway user plane entity can sequentially adopt the packet processing action of the tunnel object and the packet processing action of the CHG object according to the packet operation sequence corresponding to each object of the object set; the message processing action of the QoS object, the URL
  • the packet processing action of the filtering object processes the packet.
  • the message operation object may include at least one message operation object corresponding to multiple instances; each instance is associated with at least one message processing action in the message processing action
  • the control information further includes: indication information of the order of the object instance; the order of the object instance is a processing sequence of the message corresponding to the instance of the operation object of the message.
  • the gateway user plane entity may be a packet processing sequence corresponding to the object instance, and sequentially according to each object in the object set.
  • the instance processes the message.
  • the user plane entity of the gateway may be processed according to the processing sequence of the packet corresponding to the object instance, and the packet processing action of each object instance corresponding to the first object instance in the object set is processed in turn, and then the next object is used in the object set.
  • Each message processing action of the object instance processes the message until all objects in the object set are After the packet processing action of the instance has been processed, the gateway user plane entity completes processing the packet.
  • each object corresponds to a business function object
  • each object corresponds to an object instance
  • the object instance is an instance of a message operation object. Therefore, due to different objects, the message processing actions associated with different objects are also different.
  • the packet processing action associated with the object may include: Encapsulate packet processing action, Decapsulate packet processing action, and Remark report. Text processing action.
  • the message processing action associated with the object may include: Remark message processing action.
  • the difference between the above method and the other solution is that each object is different, and the packet processing actions associated with each object are different. Therefore, the gateway user plane entity processes the message according to the packet processing action associated with the different object. The text is processed, and the implemented gateway functions are different.
  • the message processing actions associated with different instances of the same message operation object may include: a Remark message processing action, and the message processing action associated with the second instance of the Bearer object may be Including: Charge's message processing action.
  • the message operation object includes any one of a link operation object such as a link object, a bearer object, and a flow object.
  • a link operation object such as a link object, a bearer object, and a flow object.
  • an object set includes: three objects, such as a Link object, a Bearer object, and a Flow object.
  • the Link object has one instance
  • the Bearer object has two instances, that is, the first instance of the Bearer object and the second instance of the Bearer object
  • the Flow object has one instance.
  • the indication information of the object set includes indication information of a message processing action associated with the instance of each object.
  • the indication information of the message processing action associated with the instance of each object may include: a name of the object and a name of a message processing action associated with the instance of each object, such as Link.Decapsulate, Bearer0.Remark , Bearer1.Charge, Flow.Car, and Flow.Shaping.
  • the indication information of the object set further includes: indication information of the order of the object instance, such as Link.Decapsulate->Bearer0.Remark->Flow.Car->Flow.Shaping->Bearer1.Charge.
  • FIG. 12 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity according to Embodiment 3 of the present invention.
  • the gateway user plane entity may determine the object set according to the indication information of the object set.
  • the message processing action associated with the instance of each object, and the message processing order corresponding to the instance of each object in the object set results in a set of objects of the gateway user plane entity as shown in FIG.
  • the Link object instance includes: a packet processing action of the Decapsulate; the first instance of the Bearer object includes a Remark packet processing action; and the Flow object instance may include a Car packet processing action and a Shaping packet processing action; Bearer The second instance of the object may include: a message processing action of the Charge.
  • the gateway user plane entity may sequentially adopt the packet processing action associated with the instance of the Link object and the packet processing action associated with the first instance of the Bearer object according to the packet operation sequence corresponding to each object instance of the object set; Each message processing action of the instance of the object and the message processing action associated with the second instance of the Bearer object process the message.
  • the method for processing a packet according to the third embodiment of the present invention further describes the method in the foregoing embodiment by using a solution of a different object instance corresponding to each object in the object set, so that the gateway user plane entity can process the packet.
  • the accuracy is better, so that the integration of multiple gateway functions in the gateway user plane entity is better realized, and the deployment of new services is more flexible and faster.
  • Embodiment 4 of the present invention further provides a packet processing method.
  • each object may correspond to an instance of a message operation object; an instance of the one message operation object includes a message processing action.
  • FIG. 13 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity according to Embodiment 4 of the present invention.
  • the object set includes three message operation objects: a Link object, a Bearer object, and a Flow object.
  • Each object corresponds to an instance, that is, the object set can correspond to a Link object instance, a Bearer object instance, and a Flow object instance.
  • the Link object instance includes: Decapsulate packet processing action; the Bearer object instance includes Remark packet processing action and Charge message processing action.
  • the Flow object instance may include a message processing action of the Car and a message processing action of the Shaping.
  • the Bearer object instance since the different message processing actions in the Bearer object instance need to be performed in different steps, the Bearer object instance further includes a message matching action of the action matching (OperationMatch).
  • the gateway user plane entity can perform the message processing action of the OperationMatch to determine whether the packet processing action to be performed in the Bearer object instance is a Remark packet processing action or a Charge packet processing action.
  • FIG. 14 is a flowchart of a packet processing method according to Embodiment 4 of the present invention.
  • Figure 14 will be described in conjunction with Figure 13.
  • the gateway user plane entity concentrates each pair according to the object set.
  • the processing of the packet such as the corresponding packet processing action, may include:
  • the gateway user plane entity determines, according to a count label (ProIndex) value in the packet, a packet processing action associated with an instance of an object in the object set.
  • ProIndex count label
  • the count tag value can be a preset integer value, and the one object is the first object in the object set.
  • the first object may be the Link object in FIG. 13, and the preset integer value may be an integer 0.
  • the preset integer value may be referred to as an initial count tag value.
  • Different objects in the object set respectively have different count tag values. Further, different message processing actions in the same object may correspond to different count tag values. If the preset integer value is 0, and the count label value is 1, the object that contains the current packet processing action to be performed on the packet is a Bearer object, and the current packet processing action to be performed on the packet may be Bearer.
  • the message processing action matched by the action of the object instance, the gateway user plane entity may determine the Remark message processing action by executing the message processing action of the OperationMatch.
  • the object that includes the current packet processing action to be performed on the packet may be a Flow object, and the current packet processing action to be performed on the packet may be The Car packet processing action and the Shaping packet processing action of the Flow object instance.
  • the gateway user plane entity may determine, according to the counting label in the packet, a packet processing action associated with the object instance required for processing the packet, and then process the packet. .
  • the gateway user plane entity processes the packet according to the determined packet processing action, and obtains the processed packet; the counted label value in the processed packet is the updated count label value; and the updated The count tag value is a value obtained by adding one value to the count tag value before the update.
  • the pre-processing count tag value is a preset integer value 0, and the object determined in step S1401 is the first object in the object set as an example.
  • the gateway user plane entity can process the packet according to the packet processing action associated with the instance of the first object, that is, the DeCap packet processing action of the instance of the Link object, and obtain the processed packet, and the processed packet is processed.
  • the value of the count tag in the message is the updated count tag value.
  • the updated count tag value is a preset integer value of 0 plus 1, that is, the updated count tag value is equal to 1.
  • the gateway user plane entity determines whether the updated count label value has a corresponding object instance.
  • the user plane entity root The message is processed according to the packet processing action associated with the object instance corresponding to the updated count tag value.
  • the gateway user plane entity may determine a message processing action associated with the object instance corresponding to the updated count tag value, and the message processing action of the OperationMatch of the Bearer object instance.
  • the Remark message processing action can be determined by executing the message processing action of the OperationMatch, and then the message is processed according to the Remark message processing action of the Bearer object instance.
  • the gateway user plane entity can process the packet according to the Remark packet processing action of the Bearer object instance, and the count label value in the packet is updated to 2.
  • the gateway user plane entity may determine, according to the updated count tag value 2, that the packet processing action associated with the object instance is a Car and Shaping packet processing action of the Flow object instance, and sequentially according to the flow.
  • the Car and Shaping message processing actions of the object instance process the message and update the count tag value to 3.
  • the gateway user plane entity may determine that the message processing action associated with the object instance is the message processing action of the OperationMatch of the Bearer object instance, and determine the Charge message by executing the message processing action of the OperationMatch.
  • the message processing action is performed, and the message is processed according to the Charge message processing action of the Bearer object instance, and the count tag value is updated to 4.
  • the gateway user plane entity may determine that the object set does not have the packet processing action associated with the object instance corresponding to the count tag value 4, and the gateway user plane entity includes the count tag value 4
  • the packet is forwarded, that is, sent to the downstream device of the gateway user plane entity.
  • the initial value of the counter tag value may also be other preset integer values.
  • the preset integer value 0 in the foregoing embodiment is merely an example and is not intended to limit the present invention. If the initial value of the counter tag value is another preset integer value, the specific implementation process is similar to the foregoing embodiment, and details are not described herein again.
  • FIG. 15 is a flowchart of another packet processing method according to Embodiment 4 of the present invention.
  • FIG. 16 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity according to Embodiment 4 of the present invention.
  • Figure 15 will be described in conjunction with Figure 16.
  • the object set includes: a Link object, a Bearer object, a Flow object, and three message operation objects.
  • Each object corresponds to an instance, that is, the object set can correspond to a Link object instance, a Bearer object instance, and a Flow object instance.
  • the Link object instance includes: a packet processing action of Decapsulate; the Bearer object instance includes OperationMatch's message processing action, Remark's message processing action, and Charge's message processing action.
  • the Flow object instance may include a message processing action of the Car and a message processing action of the Shaping.
  • the method is performed by the gateway user plane entity in the foregoing third embodiment according to the packet processing action corresponding to the object in the object set, and the packet processing may include:
  • the gateway user plane entity processes the packet according to the packet processing action associated with the instance of the first object, and obtains the processed packet; the processed packet includes an instance ID of the first object, where The first object is the object in the object set.
  • the gateway user plane entity determines, according to the ID of the first object instance, whether the object set has a second object, and the second object is a next object of the first object in the object set.
  • the object set has the second object, and the gateway user plane entity uses the second object as the first object.
  • the object set has the second object, and the gateway user plane entity further needs to continue to execute S1501 and S1502.
  • the processed message includes: the ID of the first object instance.
  • the number of times the packet processing of the object instance is processed may be the number of times the gateway user plane entity needs to process the packet according to the object instance.
  • the processed message includes: an ID of the first object instance and a count label value;
  • the count tag value can be a preset integer value.
  • the processed message includes: the first object The ID of the instance.
  • the processed object includes: an ID of the first object instance and a count label value, and the count label value is a count label value in the pre-process message.
  • the subsequent message includes: an ID of the first object instance and a count tag value; the count tag value may be a preset integer value.
  • the processed The message includes: an ID of the first object instance and a count label value; the count label value can be obtained according to the count label update in the pre-process message.
  • the processed message may be S1501 for the gateway user plane entity, according to the Link object instance.
  • the message of DeCap's message processing action is processed. If the gateway user plane entity determines that the first object is the first object in the object set by executing S1502, and the number of packet processing times of the Link object instance is 1, the gateway user entity may obtain the processed report by executing S1501.
  • the text includes: the ID of the first object instance, that is, the ID of the Link object instance.
  • the gateway user plane entity may determine, according to the ID of the Link object instance, the next object of the Link object, that is, the Bearer object, as the second object, and sequentially determine an instance of the second object by executing S1503, S1501.
  • the associated packet processing action is a packet processing action associated with the Bearer object instance, that is, a message processing action of the OperationMatch, and the action is matched according to the message processing action of the OperationMatch, and the Remark message processing action is determined. Then, according to the Remark message processing action, the message is processed to obtain the processed message.
  • the processed message may include: an ID of the Bearer object instance and a count tag value; the count tag value may be 1. It should be noted that the gateway user plane entity performs an action matching on the packet according to the message processing action of the OperationMatch in the Bearer object, and may perform matching according to the packet and the preset packet processing action, thereby determining The message processing action that needs to process the message.
  • the gateway user plane entity continues to execute the S1502, and determines the next object of the Bearer object, that is, the Flow object, according to the ID of the Bearer object instance, and sequentially performs the message processing action report according to the Flow object instance by executing S1503 and S1501.
  • the text is processed to obtain the processed message. If the Flow object is not the first object in the object set, the number of packets processed by the Flow object instance is 1. Due to the object before the Flow object, such as the message of the Bearer object instance If the number of processing times is greater than 1, the packet that can be processed by the gateway user plane entity may include the ID of the Flow object instance and the count label value 1.
  • the gateway user plane entity continues to perform the S1502, determines the next object of the Flow object according to the ID of the Flow object instance, that is, the Bearer object, and sequentially determines, by executing S1503 and S1501, that the packet processing action associated with the Bearer object instance is OperationMatch.
  • the message processing action is performed, and the action of the message is matched according to the message processing action of OperationMatch, and the action of the tag message is determined, and then the message is processed according to the action of the tag message, and the processed message is obtained.
  • the processed message of the gateway user plane entity may include: the ID of the Bearer object instance and the count label. The value is 2.
  • the gateway user plane entity executes S1502 here, according to the ID of the Bearer object instance, it is determined that the Bearer object does not have the next object, and the gateway user plane entity exits to execute the packet processing method.
  • the message processing method provided by the fourth embodiment of the present invention can improve the accuracy of the message processing by the gateway user plane entity by providing multiple implementations in a scenario in which an object in the object set includes an instance of a packet operation object. Better, so that the integration of multiple gateway functions in the gateway user plane entity is better realized, making the deployment of new services more flexible and faster.
  • Embodiment 5 of the present invention further provides a packet processing method.
  • the control information includes: indication information of the template; the template includes an action set, or a set of objects; wherein the one action set includes: at least one message processing action; the one object set includes: at least one Objects, each object including: at least one message processing action.
  • the indication information of the template may include: action set indication information, or object set indication information.
  • the indication information of each template may be represented by, for example, the name of each template.
  • FIG. 17 is a flowchart of a packet processing method according to Embodiment 5 of the present invention.
  • the gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, and may include:
  • the gateway user plane entity determines the template according to the indication information of the template.
  • the gateway user plane entity may, for example, determine the template according to the identifier of the template in the indication information of the template.
  • the gateway user plane entity processes the packet according to the packet processing action corresponding to the template.
  • the message processing action in the template may include: a message processing action included in any one of the action set or the object set included in the template.
  • the template may be a Service GataWay User Template (S-GW-U-Temp).
  • S-GW-U-Temp template may include, for example, an action set consisting of four packet processing actions: ReceivePacket, Decapsulate, Car, and Encapsulate.
  • the gateway control plane entity sends the control information to the gateway user plane entity in the foregoing S302, which may include:
  • the gateway control plane entity sends the control information to the gateway user plane entity through a preset transmission tunnel.
  • the gateway control plane entity may process the control information according to a protocol corresponding to the transmission channel, and send the control information through the transmission channel.
  • the transmission tunnel may be, for example, a General Packet Radio Service Tunnel Protocol (GTP) tunnel, and the protocol corresponding to the transmission tunnel may be GTP. Therefore, the gateway control plane entity can process the control information according to the GTP and send the GTP tunnel to the gateway user plane entity.
  • the gateway control plane entity may, for example, use a GTP tunnel to send the control information to the gateway user plane entity through the S18 interface.
  • the control information includes indication information of each template, and each template may include an action set composed of at least one message processing action, or at least one object.
  • An object set that is, the gateway control plane entity may also use an action set or an object set as an action template, and send the indication information of the template to the gateway user plane entity, thereby providing various indication manners of control information.
  • Embodiment 6 of the present invention further provides a gateway user plane entity.
  • FIG. 18 is a schematic structural diagram of a gateway user plane entity according to Embodiment 6 of the present invention. As shown in FIG. 18, the gateway user plane entity 1800 can include a receiving module 1801, a determining module 1802, and a processing module 1803.
  • the receiving module 1801 can be implemented by a receiver, and the determining module 1802 and the processing module 1803 can be implemented by a processor.
  • the processor can be a central processing unit (CPU) or other general purpose processor, digital signal processor (Digital Signal) Processing, referred to as DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware Components, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the receiving module 1801 is configured to receive control information sent by the gateway control plane entity.
  • a determining module 1802 configured to determine, according to the control information, a message processing action corresponding to the control information
  • the processing module 1803 is configured to process the packet according to the packet processing action corresponding to the control information.
  • control information includes action set indication information, where the action set includes at least one message processing action; and the action set indication information includes an identifier of the at least one message processing action.
  • the determining module 1802 is further configured to determine the at least one message processing action according to the action set indication information.
  • the processing module 1803 is further configured to process the packet according to the at least one packet processing action.
  • control information further includes sequence indication information, where the sequence indication information is used to indicate an execution order of the at least one message processing action.
  • control information further includes object set indication information, where the object set indication information includes an identifier of the at least one object, wherein each object is associated with at least one message processing action in the message processing action.
  • the object is a service function object
  • the service function object is associated with a message processing action corresponding to a preset gateway function.
  • the object is a message operation object, and each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action; the message includes a count label value;
  • the determining module 1802 is further configured to determine, according to the counting tag value, a message processing action associated with an instance of an object in the object set.
  • the processing module 1803 is further configured to process the packet according to the determined packet processing action to obtain the processed packet; and the counted label value in the processed packet is updated by updating the counted label value.
  • the determining module 1802 is further configured to determine whether the updated count tag value has a corresponding object instance.
  • the processing module 1803 is further configured to: if the updated counter tag value has a corresponding object instance, process the packet according to the packet processing action associated with the object instance corresponding to the updated counter tag value.
  • the object is a message operation object, and each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action.
  • the processing module 1803 is further configured to process the packet according to the packet processing action associated with the instance of the first object in the object set, and obtain the processed packet, where the processed packet includes an instance of the first object. ID, the first object is an object in the object set.
  • the determining module 1802 is further configured to determine, according to the ID of the first object instance, whether the object set has a second object; the second object is a next object of the first object in the object set; if the object set has the second object The object, the second object is processed as the first object.
  • the gateway user plane entity provided in Embodiment 6 of the present invention can be used to perform the packet processing method performed by the gateway user plane entity according to any of the foregoing embodiments.
  • the beneficial effects are similar to those in the foregoing embodiment, and details are not described herein again.
  • Embodiment 7 of the present invention further provides a gateway control plane entity.
  • FIG. 19 is a schematic structural diagram of a gateway control plane entity according to Embodiment 7 of the present invention. As shown in FIG. 19, the gateway control plane entity 1900 can include a determining module 1901 and a sending module 1902.
  • the determining module 1901 can be implemented by a processor, and the sending module 1902 can be implemented by a transmitter.
  • the processor can be a CPU or other general purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • a determining module 1901 configured to determine control information according to the type information of the UE, where the control information is used to instruct the gateway user plane entity to determine a packet processing action corresponding to the control information;
  • the sending module 1902 is configured to send the control information to the gateway user plane entity.
  • control information includes: action set indication information; the action set indication information is used to indicate that the gateway user plane entity determines the action set, and the action set includes at least one message processing action; the action set indication information An identifier including the at least one message processing action.
  • control information further includes: sequence indication information; the sequence indication information is used to indicate The execution order of the at least one message processing action.
  • control information further includes: object set indication information; the object set includes: at least one object; wherein each object is associated with at least one message processing action in the message processing action; the object set indication The information includes an identification of the at least one object.
  • the type information of the UE includes: at least one of an access type of the UE, and a service function type of the UE.
  • the gateway control plane entity provided in Embodiment 7 of the present invention can be used to perform the packet processing method performed by the gateway control plane entity in any of the foregoing embodiments, and the beneficial effects are similar to those in the foregoing embodiment, and details are not described herein again.
  • Embodiment 8 of the present invention also provides a gateway.
  • FIG. 20 is a schematic structural diagram of a gateway according to Embodiment 8 of the present invention.
  • the gateway 2000 may include a gateway user plane entity 2001 and a gateway control plane entity 2002.
  • the gateway user plane entity 2001 is connected to the gateway control plane entity 2002; the gateway user plane entity 2001 is any gateway user plane entity described in the foregoing embodiment; and the gateway control plane entity 2002 is any gateway control described in the foregoing embodiment. Face entity
  • the gateway provided in Embodiment 8 of the present invention may include the gateway user plane entity and the gateway control plane entity provided in the foregoing embodiment, and may be used to perform the packet processing method according to any of the foregoing embodiments, and the beneficial effects are similar to the foregoing embodiment. I will not repeat them here.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided in an embodiment of the present invention are a packet-processing method, a gateway user plane entity, a gateway control plane entity and a gateway. The packet-processing method in the present invention comprises: the gateway user plane entity receives control information transmitted by the gateway control plane entity; the gateway user plane entity determines, according to the control information, a packet-processing action corresponding to the control information, and performs packet processing according to the packet-processing action corresponding to the control information. The embodiment of the present invention can simplify network architectures.

Description

报文处理方法、网关用户面实体、网关控制面实体及网关Message processing method, gateway user plane entity, gateway control plane entity and gateway 技术领域Technical field
本发明实施例涉及通信技术,尤其涉及一种报文处理方法、网关用户面实体、网关控制面实体及网关。The embodiments of the present invention relate to communication technologies, and in particular, to a packet processing method, a gateway user plane entity, a gateway control plane entity, and a gateway.
背景技术Background technique
为了增强未来网络的竞争优势,第三代移动通信伙伴组织(the 3rd Generation Partnership Project,简称3GPP),在第8版(Release 8,简称R8)技术阶段中启动了长期演进(Long Term Evolution,简称LTE)与***架构演进(System Architecture Evolution,简称SAE)项目,提出包括LTE无线接入网和SAE***架构的演进分组***(Evolved Packet System,简称EPS)网络。In order to enhance the competitive advantage of the future network, the 3rd Generation Partnership Project (3GPP) launched Long Term Evolution (Long Term Evolution) in the 8th edition (Release 8, R8) technology phase. LTE) and the System Architecture Evolution (SAE) project propose an Evolved Packet System (EPS) network including an LTE radio access network and an SAE system architecture.
EPS网络可支持多种类型的用户设备(User Equipment,简称UE)接入运营商的分组数据网络(Packet Data Network,简称PDN),以获取运营商互联网协议服务(Operator`s Internet Protocol Services),如互联网协议多媒体子***(Internet Protocol Multimedia Subsystem,简称IMS)的分组交换流(Packet Switching Streaming,简称PSS)服务等。EPS网络中需部署多种类型的网关,该多种类型的网关中的不同网关可处理不同的业务信息,以支持不同类型的UE接入运营商的PDN。The EPS network can support multiple types of user equipment (User Equipment, UE for short) to access the operator's Packet Data Network (PDN) to obtain the Operator's Internet Protocol Services. For example, the Internet Protocol Multimedia Subsystem (IMS) Packet Switching Streaming (PSS) service. A plurality of types of gateways need to be deployed in the EPS network. Different gateways of the multiple types of gateways can process different service information to support different types of UEs to access the PDN of the operator.
通信技术的发展,使得EPS网络中需部署的网关也越来越多,以实现多种类型的UE通过对应的网关接入网络,从而使得整个EPS网络的架构越来越复杂。With the development of communication technologies, more and more gateways need to be deployed in the EPS network, so that multiple types of UEs can access the network through corresponding gateways, which makes the architecture of the entire EPS network more and more complicated.
发明内容Summary of the invention
本发明实施例提供一种报文处理方法、网关用户面实体、网关控制面实体及网关,以简化EPS网络架构。The embodiment of the invention provides a packet processing method, a gateway user plane entity, a gateway control plane entity and a gateway to simplify the EPS network architecture.
本发明实施例提供一种报文处理方法,包括:The embodiment of the invention provides a packet processing method, including:
网关用户面实体接收网关控制面实体发送的控制信息; The gateway user plane entity receives the control information sent by the gateway control plane entity;
网关用户面实体根据控制信息确定控制信息对应的报文处理动作;The gateway user plane entity determines, according to the control information, a packet processing action corresponding to the control information;
网关用户面实体根据控制信息对应的报文处理动作,对报文进行处理。The gateway user plane entity processes the packet according to the packet processing action corresponding to the control information.
可选的,本发明的该报文处理方法中,控制信息包括动作集指示信息,动作集包括至少一个报文处理动作;动作集指示信息包括至少一个报文处理动作的标识;该动作集指示信息可携带在该控制信息中的模板指示信息中;动作集指示信息可以为网关控制面实体根据预设的网关功能确定的,该网关功能为该网关控制面实体根据UE的接入类型和/或业务功能类型所确定的;Optionally, in the message processing method of the present invention, the control information includes action set indication information, the action set includes at least one message processing action, and the action set indication information includes an identifier of at least one message processing action; the action set indication The information may be carried in the template indication information in the control information; the action set indication information may be determined by the gateway control plane entity according to a preset gateway function, where the gateway function is the gateway control plane entity according to the UE access type and/or Or as determined by the type of business function;
网关用户面实体根据控制信息对应的报文处理动作对报文进行处理,包括:The gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, including:
网关用户面实体根据动作集指示信息确定至少一个报文处理动作,并根据至少一个报文处理动作对报文进行处理。The gateway user plane entity determines at least one packet processing action according to the action set indication information, and processes the packet according to at least one packet processing action.
本发明实施例提供的该报文处理方法中,由于网关控制面实体发送的控制信息中包括动作集指示信息,因而网关用户面实体可根据该动作集指示信息确定动作集,实现该动作集对应的多个网关功能,实现网关功能的融合,提高网关用户面实体的网关功能的兼容性和扩展性,且大大超越了传统网关的网关功能的兼容性和扩展性。In the packet processing method provided by the embodiment of the present invention, since the control information sent by the gateway control plane entity includes the action set indication information, the gateway user plane entity may determine the action set according to the action set indication information, and implement the action set correspondingly. Multiple gateway functions enable the convergence of gateway functions, improve the compatibility and scalability of the gateway function of the gateway user plane entity, and greatly exceed the compatibility and scalability of the gateway function of the traditional gateway.
可选的,该控制信息还包括顺序指示信息;该顺序指示信息用于指示该至少一个报文处理动作的执行顺序。Optionally, the control information further includes sequence indication information, where the sequence indication information is used to indicate an execution order of the at least one message processing action.
由于该动作集的指示信息还包括该顺序指示信息,因而可使得该网关用户面实体根据该动作集对应的报文处理动作的执行顺序,对该报文进行多种不同的动作处理,可在简化EPS网络架构的基础上,保证网关用户面设备对该报文处理的准确度。The instruction information of the action set further includes the sequence indication information, so that the gateway user plane entity can perform a plurality of different action processing on the message according to the execution order of the message processing action corresponding to the action set. On the basis of simplifying the EPS network architecture, the accuracy of processing the packet by the gateway user plane device is ensured.
可选的,该控制信息还包括对象集指示信息,该对象集指示信息包括至少一个对象的标识,其中,每个对象与报文处理动作中的至少一个报文处理动作相关联。Optionally, the control information further includes object set indication information, where the object set indication information includes an identifier of the at least one object, wherein each object is associated with at least one message processing action in the message processing action.
可选的,如上所述的该对象可以为业务功能对象,该业务功能对象与对应于预设网关功能的报文处理动作相关联。Optionally, the object as described above may be a service function object, and the service function object is associated with a message processing action corresponding to a preset gateway function.
可选的,业务功能对象包括:隧道对象、计费对象、服务质量QoS对象或统一资源定位符URL过滤对象等业务功能对象中的任一项。Optionally, the service function object includes any one of a service function object such as a tunnel object, a charging object, a quality of service QoS object, or a uniform resource locator URL filtering object.
可替代地,该对象还可以为报文操作对象,每个报文操作对象包括一个 实例,其中,每个实例与报文处理动作中的至少一个报文处理动作相关联;该报文包括计数标签值;Alternatively, the object may also be a message operation object, and each message operation object includes one An instance, wherein each instance is associated with at least one message processing action in a message processing action; the message includes a count tag value;
网关用户面实体根据控制信息对应的报文处理动作,对报文进行处理,包括:The gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, including:
网关用户面实体根据计数标签值,确定对象集中一个对象的实例相关联的报文处理动作;The gateway user plane entity determines, according to the count tag value, a message processing action associated with an instance of an object in the object set;
网关用户面实体根据确定的报文处理动作,对报文进行处理,得到处理后的报文;该处理后的报文中的计数标签值为更新后的计数标签值进行更新;The gateway user plane entity processes the packet according to the determined packet processing action, and obtains the processed packet; the counted label value in the processed packet is updated after the updated count label value;
网关用户面实体确定更新后的计数标签值是否具有对应的对象实例;The gateway user plane entity determines whether the updated count label value has a corresponding object instance;
若更新后的计数标签值具有对应的对象实例,用户面实体根据更新后的计数标签值对应的对象实例相关联的报文处理动作对报文进行处理。If the updated count tag value has a corresponding object instance, the user plane entity processes the message according to the message processing action associated with the object instance corresponding to the updated count tag value.
可替代地,若该对象为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与报文处理动作中的至少一个报文处理动作相关联;网关用户面实体根据控制信息对应的报文处理动作,对报文进行处理,包括:Alternatively, if the object is a message operation object, each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action; the gateway user plane entity is controlled according to The packet processing action corresponding to the information processes the packet, including:
网关用户面实体根据对象集中第一对象的实例相关联的报文处理动作,对报文进行处理,得到处理后的报文,处理后的报文包括第一对象的实例标识ID,第一对象为对象集中的对象;The gateway user plane entity processes the packet according to the packet processing action associated with the instance of the first object in the object set, and obtains the processed packet. The processed packet includes the instance identifier ID of the first object, and the first object. An object that is a collection of objects;
网关用户面实体根据第一对象实例的ID确定对象集中是否具有第二对象,第二对象为对象集中第一对象的下一对象;The gateway user plane entity determines, according to the ID of the first object instance, whether the object set has a second object, and the second object is a next object of the first object in the object set;
所述对象集中具有所述第二对象,所述网关用户面实体将所述第二对象作为所述第一对象进行处理。The object set has the second object, and the gateway user plane entity processes the second object as the first object.
可选的,上述报文处理方法中,若该第一对象为对象集中的第一个对象,第一对象的实例对应的报文处理次数为1,则处理后的报文包括所述第一个对象的实例ID;Optionally, in the foregoing packet processing method, if the first object is the first object in the object set, and the number of times of processing the packet corresponding to the instance of the first object is 1, the processed packet includes the first object. Instance ID of the object;
若该第一对象为对象集中的第一个对象,第一对象的实例对应的报文处理次数大于1,则处理后的报文包括所述第一个对象的实例ID和计数标签值,且计数标签值为预设的整数值;If the first object is the first object in the object set, and the number of packets processed by the instance of the first object is greater than 1, the processed message includes an instance ID and a count tag value of the first object, and The count label value is a preset integer value;
若该第一对象不是所述对象集中的第一个对象,且第一对象之前对象的实例对应的报文处理次数大于1,第一对象的实例对应的报文处理次数为1,则处理后的报文包括:第一对象的实例ID和计数标签值,计数标签值与处理 前报文中的计数标签值相同;If the first object is not the first object in the object set, and the number of times of processing the packet corresponding to the instance of the object before the first object is greater than 1, the number of times of processing the packet corresponding to the instance of the first object is 1, The message includes: the instance ID and the count tag value of the first object, the count tag value and the processing The count tag value in the previous message is the same;
若第一对象不是对象集中的第一个对象、第一对象之前对象的实例的报文处理次数均为1,且,第一对象实例的报文处理次数大于1,处理后的报文包括:第一对象实例的ID和计数标签值;计数标签值可以为预设的整数值。If the first object is not the first object in the object set, and the number of packets processed by the first object is 1, and the number of packets processed by the first object instance is greater than 1, the processed message includes: The ID of the first object instance and the count tag value; the count tag value can be a preset integer value.
若第一对象不是对象集中的第一个对象、第一对象之前对象的实例的报文处理次数大于1,且,第一对象实例的报文处理次数大于1,处理后的报文包括:第一对象实例的ID和计数标签值;计数标签值为根据处理前报文中的计数标签值更新获得。If the first object is not the first object in the object set, and the number of packets processed by the instance of the object is greater than 1, and the number of packets processed by the first object instance is greater than 1, the processed message includes: The ID of the object instance and the count tag value; the count tag value is obtained based on the update of the count tag value in the pre-process message.
可选的,该报文操作对象包括链路(Link)对象、承载(Bearer)对象、流(Flow)对象等报文操作对象中任一项。Optionally, the message operation object includes any one of a link operation object such as a link object, a bearer object, and a flow object.
由于上述报文处理方法中可分别通过对象集中各对象对应的不同对象实例的方案对上述实施例所述的方法进行进一步的说明,可使得该网关用户面实体对报文处理的精度更好,从而更好地实现多种网关功能在该网关用户面实体的融合,使得新业务的部署更灵活更迅速。The method described in the foregoing embodiment is further described by the solution of the different object instances corresponding to the objects in the object set, so that the accuracy of the message processing by the gateway user plane entity is better. Thereby, the integration of multiple gateway functions in the user plane entity of the gateway is better realized, and the deployment of new services is more flexible and faster.
可选的,网关用户面实体接收网关控制面实体发送的控制信息可以包括:Optionally, the control information sent by the gateway user plane entity to the gateway control plane entity may include:
网关用户面实体接收网关控制面实体通过预设的传输通道所发送的控制信息。The gateway user plane entity receives control information sent by the gateway control plane entity through the preset transmission channel.
本发明实施例还提供一种报文处理方法,包括:The embodiment of the invention further provides a packet processing method, including:
网关控制面实体根据用户设备UE的类型信息确定控制信息,控制信息用于指示网关用户面实体确定控制信息对应的报文处理动作;The gateway control plane entity determines the control information according to the type information of the user equipment UE, where the control information is used to instruct the gateway user plane entity to determine the packet processing action corresponding to the control information;
网关控制面实体将控制信息发送至网关用户面实体。The gateway control plane entity sends control information to the gateway user plane entity.
可选的,控制信息包括:动作集指示信息;动作集的指示信息,用于指示网关用户面实体确定动作集,动作集包括至少一个报文处理动作;动作集指示信息包括至少一个报文处理动作的标识。该动作集指示信息可携带在该控制信息中的模板指示信息中。Optionally, the control information includes: action set indication information; indication information of the action set, used to instruct the gateway user plane entity to determine an action set, the action set includes at least one message processing action; and the action set indication information includes at least one message processing The identity of the action. The action set indication information may be carried in the template indication information in the control information.
可选的,控制信息还包括:顺序指示信息;顺序指示信息用于指示至少一个报文处理动作的执行顺序。Optionally, the control information further includes: sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action.
可选的,控制信息还包括:对象集指示信息;该对象集包括:至少一个对象;其中,每个对象与报文处理动作中的至少一个报文处理动作相关联;对象集指示信息包括至少一个对象的标识;该动作集指示信息可携带在该控 制信息中的模板指示信息中。Optionally, the control information further includes: object set indication information; the object set includes: at least one object; wherein each object is associated with at least one message processing action in the message processing action; and the object set indication information includes at least The identifier of an object; the action set indicates that the information can be carried in the control The template information in the information indicates.
可选的,网关控制面实体将控制信息发送至网关用户面实体可包括:Optionally, the gateway control plane entity sends the control information to the gateway user plane entity, which may include:
网关控制面实体通过预设传输通道将控制信息发送至网关用户面实体。The gateway control plane entity sends control information to the gateway user plane entity through a preset transmission channel.
可选的,UE的类型信息包括:UE的接入类型,和,UE的业务功能类型中的至少一项。Optionally, the type information of the UE includes: at least one of an access type of the UE, and a service function type of the UE.
本发明实施例还提供一种网关用户面实体,包括:The embodiment of the invention further provides a gateway user plane entity, including:
接收模块,用于接收网关控制面实体发送的控制信息;a receiving module, configured to receive control information sent by a gateway control plane entity;
确定模块,用于根据控制信息确定控制信息对应的报文处理动作;a determining module, configured to determine, according to the control information, a message processing action corresponding to the control information;
处理模块,用于根据控制信息对应的报文处理动作,对报文进行处理。The processing module is configured to process the packet according to the packet processing action corresponding to the control information.
可选的,该控制信息包括动作集指示信息,动作集包括至少一个报文处理动作;动作集指示信息包括至少一个报文处理动作的标识;该动作集指示信息可携带在该控制信息中的模板指示信息中;Optionally, the control information includes action set indication information, and the action set includes at least one message processing action; the action set indication information includes an identifier of at least one message processing action; the action set indication information may be carried in the control information. Template indication information;
确定模块,还用于根据动作集指示信息确定至少一个报文处理动作;a determining module, configured to determine at least one message processing action according to the action set indication information;
处理模块,还用于根据至少一个报文处理动作对报文进行处理。The processing module is further configured to process the packet according to at least one packet processing action.
可选的,上述的该控制信息还包括顺序指示信息;顺序指示信息用于指示至少一个报文处理动作的执行顺序。Optionally, the foregoing control information further includes sequence indication information, where the sequence indication information is used to indicate an execution sequence of the at least one message processing action.
可选的,如上所述的控制信息还包括对象集指示信息,对象集指示信息包括至少一个对象的标识,其中,每个对象与报文处理动作中的至少一个报文处理动作相关联。Optionally, the control information as described above further includes object set indication information, where the object set indication information includes an identifier of the at least one object, wherein each object is associated with at least one message processing action in the message processing action.
可选的,该对象可以为业务功能对象,业务功能对象与对应于预设网关功能的报文处理动作相关联。Optionally, the object may be a service function object, and the service function object is associated with a message processing action corresponding to a preset gateway function.
可选的,业务功能对象包括:隧道对象、计费对象、服务质量QoS对象或统一资源定位符URL过滤对象等业务功能对象中的任一项。Optionally, the service function object includes any one of a service function object such as a tunnel object, a charging object, a quality of service QoS object, or a uniform resource locator URL filtering object.
可替代地,该对象还可以为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与报文处理动作中的至少一个报文处理动作相关联;报文包括计数标签值;Alternatively, the object may also be a message operation object, each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action; the message includes a count tag value;
确定模块,还用于根据计数标签值,确定对象集中一个对象的实例相关联的报文处理动作;Determining a module, further configured to determine, according to the count tag value, a message processing action associated with an instance of an object in the object set;
处理模块,还用于根据确定的报文处理动作,对报文进行处理,得到处理后的报文;处理后的报文中的计数标签值为更新后的计数标签值进行更新; The processing module is further configured to process the packet according to the determined packet processing action to obtain the processed packet; and the counted label value in the processed packet is updated by updating the counted label value;
确定模块,还用于确定更新后的计数标签值是否具有对应的对象实例;Determining a module, further configured to determine whether the updated count tag value has a corresponding object instance;
处理模块,还用于若更新后的计数标签值具有对应的对象实例,根据更新后的计数标签值对应的对象实例相关联的报文处理动作对报文进行处理。The processing module is further configured to: if the updated count tag value has a corresponding object instance, process the packet according to the packet processing action associated with the object instance corresponding to the updated count tag value.
可选的,该对象为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与所述报文处理动作中的至少一个报文处理动作相关联;Optionally, the object is a message operation object, and each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action;
处理模块,还用于根据对象集中第一对象的实例相关联的报文处理动作,对报文进行处理,得到处理后的报文,处理后的报文包括第一对象的实例标识ID,第一对象为所述对象集中的对象;The processing module is further configured to process the packet according to the packet processing action associated with the instance of the first object in the object set, and obtain the processed packet, where the processed packet includes the instance identifier ID of the first object, An object is an object in the set of objects;
确定模块,还用于根据第一对象实例的ID确定对象集中是否具有第二对象;第二对象为对象集中所述第一对象的下一对象;若对象集中具有第二对象,将第二对象作为所述第一对象进行处理。a determining module, configured to determine, according to an ID of the first object instance, whether the object set has a second object; the second object is a next object of the first object in the object set; and if the object set has a second object, the second object Processing is performed as the first object.
可选的,该报文操作对象包括链路(Link)对象、承载(Bearer)对象、流(Flow)对象等报文操作对象中任一项。Optionally, the message operation object includes any one of a link operation object such as a link object, a bearer object, and a flow object.
可选的,接收模块,还用于接收网关控制面实体通过预设的传输通道所发送的控制信息。Optionally, the receiving module is further configured to receive control information sent by the gateway control plane entity through the preset transmission channel.
本发明实施例还提供一种网关控制面实体,可以包括:The embodiment of the present invention further provides a gateway control plane entity, which may include:
确定模块,用于根据用户设备UE的类型信息确定控制信息,控制信息用于指示网关用户面实体确定控制信息对应的报文处理动作;a determining module, configured to determine control information according to the type information of the user equipment UE, where the control information is used to instruct the gateway user plane entity to determine a packet processing action corresponding to the control information;
发送模块,用于将控制信息发送至网关用户面实体。A sending module, configured to send control information to the gateway user plane entity.
可选的,控制信息包括:动作集指示信息;动作集的指示信息,用于指示网关用户面实体确定动作集,动作集包括至少一个报文处理动作;动作集指示信息包括至少一个报文处理动作的标识。该动作集指示信息可携带在该控制信息中的模板指示信息中。Optionally, the control information includes: action set indication information; indication information of the action set, used to instruct the gateway user plane entity to determine an action set, the action set includes at least one message processing action; and the action set indication information includes at least one message processing The identity of the action. The action set indication information may be carried in the template indication information in the control information.
可选的,控制信息还包括:顺序指示信息;顺序指示信息用于指示至少一个报文处理动作的执行顺序。Optionally, the control information further includes: sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action.
可选的,控制信息还包括:对象集指示信息;对象集包括:至少一个对象;其中,每个对象与报文处理动作中的至少一个报文处理动作相关联;对象集指示信息包括所述至少一个对象的标识。Optionally, the control information further includes: object set indication information; the object set includes: at least one object; wherein each object is associated with at least one message processing action in the message processing action; the object set indication information includes the The identity of at least one object.
可选的,发送模块,还用于通过预设传输通道将控制信息发送至网关用户面实体。 Optionally, the sending module is further configured to send the control information to the gateway user plane entity by using a preset transmission channel.
可选的,UE的类型信息包括:UE的接入类型,和,UE的业务功能类型中的至少一项。Optionally, the type information of the UE includes: at least one of an access type of the UE, and a service function type of the UE.
本发明实施例还提供一种网关,该网关包括网关用户面实体和网关控制面实体;其中,网关用户面实体与网关控制面实体连接;网关用户面实体为、如上任一项所述的网关用户面实体;网关控制面实体为如上任一项所述的网关控制面实体。The embodiment of the present invention further provides a gateway, where the gateway includes a gateway user plane entity and a gateway control plane entity; wherein the gateway user plane entity is connected to the gateway control plane entity; and the gateway user plane entity is the gateway according to any one of the preceding claims. User plane entity; the gateway control plane entity is the gateway control plane entity as described in any one of the above.
本发明提供一种报文处理方法、网关用户面实体、网关控制面实体及网关,网关用户面实体可根据接收到的网关控制面实体发送的控制信息确定该控制信息对应的报文处理动作,继而根据确定的报文处理动作对报文进行处理。因此,该网关用户面实体可根据网关控制面实体发送的控制信息确定报文处理动作,即便UE类型越来越丰富,只需根据该网关控制面实体下发的控制信息进行处理,而无需部署多个网关,从而减少了EPS网络中的网关部署,简化了EPS网络的架构。The present invention provides a packet processing method, a gateway user plane entity, a gateway control plane entity, and a gateway, and the gateway user plane entity can determine a packet processing action corresponding to the control information according to the received control information sent by the gateway control plane entity. The message is then processed according to the determined message processing action. Therefore, the gateway user plane entity can determine the packet processing action according to the control information sent by the gateway control plane entity. Even if the UE type is more and more abundant, it only needs to be processed according to the control information sent by the gateway control plane entity, without deploying. Multiple gateways reduce the deployment of gateways in the EPS network and simplify the architecture of the EPS network.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图1为一种现有的EPS网络的架构示意图;1 is a schematic structural diagram of an existing EPS network;
图2为本发明提供的一种EPS网络的架构示意图;2 is a schematic structural diagram of an EPS network provided by the present invention;
图3为本发明实施例一提供的一种报文处理方法的流程图;FIG. 3 is a flowchart of a packet processing method according to Embodiment 1 of the present invention;
图4为本发明实施例二提供的一种基于接入类型的网关控制面实体与网关用户面实体的结构示意图;4 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention;
图5为本发明实施例二提供的另一种基于接入类型的网关控制面实体与网关用户面实体的结构示意图;FIG. 5 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention;
图6为本发明实施例二提供的又一种基于接入类型的网关控制面实体与网关用户面实体的结构示意图;6 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention;
图7为本发明实施例二提供的一种EPS网络的架构图;FIG. 7 is a schematic structural diagram of an EPS network according to Embodiment 2 of the present invention;
图8为本发明实施例二提供的一种基于业务功能类型的网关控制面实体 与网关用户面实体的结构示意图;FIG. 8 is a schematic diagram of a gateway control plane entity based on a service function type according to Embodiment 2 of the present invention; Schematic diagram of the entity with the gateway user plane;
图9为本发明实施例二提供的另一种基于业务功能类型的网关控制面实体与网关用户面实体的结构示意图;FIG. 9 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on a service function type according to Embodiment 2 of the present invention;
图10为本发明实施例二提供的又一种基于业务功能类型的网关控制面实体与网关用户面实体的结构示意图;10 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on a service function type according to Embodiment 2 of the present invention;
图11为本发明实施例三提供的一种网关控制面实体与网关用户面实体的结构示意图;FIG. 11 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity according to Embodiment 3 of the present invention;
图12为本发明实施例三提供的另一种网关控制面实体与网关用户面实体的结构示意图;FIG. 12 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity according to Embodiment 3 of the present invention;
图13为本发明实施例四提供的网关控制面实体和网关用户面实体的结构示意图;13 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity according to Embodiment 4 of the present invention;
图14为本发明实施例四提供的一种报文处理方法的流程图;FIG. 14 is a flowchart of a packet processing method according to Embodiment 4 of the present invention;
图15为本发明实施例四提供的另一种报文处理方法的流程图;FIG. 15 is a flowchart of another packet processing method according to Embodiment 4 of the present invention;
图16为本发明实施例四提供的另一种网关控制面实体和网关用户面实体的结构示意图;16 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity according to Embodiment 4 of the present invention;
图17为本发明实施例五提供的一种报文处理方法的流程图;FIG. 17 is a flowchart of a packet processing method according to Embodiment 5 of the present invention;
图18为本发明实施例六提供的一种网关用户面实体的结构示意图;FIG. 18 is a schematic structural diagram of a gateway user plane entity according to Embodiment 6 of the present invention;
图19为本发明实施例七提供的一种网关控制面实体的结构示意图;FIG. 19 is a schematic structural diagram of a gateway control plane entity according to Embodiment 7 of the present invention;
图20为本发明实施例八提供的一种网关的结构示意图。FIG. 20 is a schematic structural diagram of a gateway according to Embodiment 8 of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明各实施例提供的报文处理方法可适用于EPS网络。该EPS网络可支持多种类型的UE接入运营商的分组数据网络,从而为多种不同类型的UE提供服务。例如,该多种类型的UE可包括:多种不同的接入类型的UE,和/或多种不同业务功能类型的UE。接入类型可根据接入网的类型确定,可包 括:第三代合作伙伴项目网络(3rd Generation Partnership Project,简称3GPP)、可信的非第三代合作伙伴项目(Non-3rd Generation Partnership Project,简称Non-3GPP)接入和不可信的Non-3GPP接入等。业务功能类型可包括:网关对应的互联网协议(Internet Protocol,简称IP)业务功能变更、IP业务功能取消、IP业务功能增加等。举例来说,若该EPS网络可支持多种接入类型的UE,则该EPS网络中可包括与该多种接入类型对应的多种网关。图1为一种现有的EPS网络的架构示意图。如图1所示,该EPS网络可包括:归属公共陆地移动网络(Home Public Land Mobile Network,简称HPLMN)和Non-3GPP网络。其中,该HPLMN中的接入网可以为3GPP接入网101。例如,3GPP接入网101可以为演进的通用移动通信***的陆地无线接入网(Evolved-Universal Mobile Telecommunications System Terrestrial Radio Access Network,简称E-UTRAN)。而Non-3GPP网络中的接入网可包括可信的Non-3GPP接入网102和不可信的Non-3GPP接入网103。例如,该可信的Non-3GPP接入网102可以为基于全球微波互联接入(Worldwide Interoperability for Microwave Access,简称WiMAX)的接入网,该不可信的Non-3GPP接入网103可以为基于无线保真(Wireless-Fidelity,简称WiFi)的接入网。UE可通过与该UE的接入类型对应的接入网,与该接入类型对应的网关连接,继而通过该接入类型对应的网关与运营商IP网络连接,从而从该运营商IP网络中获取IP服务。若UE的接入类型为3GPP接入,则该EPS网络中具有:服务网关(Serving Gateway,简称SGW)104、分组数据网关(Packet Data Gateway,简称PGW)105、演进型分组数据网关(evolved Packet Data Gateway,简称ePDG)106。若该UE的接入类型为可信的Non-3GPP接入,则该EPS网络中还具有:PGW 105和可信接入网关(Trusted access Gateway,简称TGW)107。若该UE的接入类型为不可信的Non-3GPP接入,则该EPS网络中还具有ePDG 106和不可信接入网关(Untrusted access Gateway,简称UGW)108。若该UE的接入类型为其他类型,则该EPS网络中还具有其他多种类型的网关,以为该多种不同接入类型的UE提供IP服务,使得EPS网络可支持多种接入类型的UE。若EPS网络需支持新的类型的UE,则该EPS网络中需部署与该新的类型对应的网关。随着UE类型的多样化,EPS网络中需部署的网关也越来越多,从而使得整个EPS网络的架构 越来越复杂,使得网络的维护较复杂,维护成本较高。The packet processing method provided by the embodiments of the present invention is applicable to an EPS network. The EPS network can support multiple types of UEs to access the operator's packet data network to serve multiple different types of UEs. For example, the multiple types of UEs may include: UEs of multiple different access types, and/or UEs of multiple different service function types. The access type can be determined according to the type of the access network, and can be packaged. Including: 3rd Generation Partnership Project (3GPP), Trusted Non-3rd Generation Partnership Project (Non-3GPP) Access and Untrusted Non- 3GPP access, etc. The service function types may include: Internet Protocol (IP) service function change corresponding to the gateway, IP service function cancellation, and IP service function addition. For example, if the EPS network can support multiple access types of UEs, the EPS network may include multiple gateways corresponding to the multiple access types. FIG. 1 is a schematic diagram of an architecture of an existing EPS network. As shown in FIG. 1, the EPS network may include: a Home Public Land Mobile Network (HPLMN) and a Non-3GPP network. The access network in the HPLMN may be the 3GPP access network 101. For example, the 3GPP access network 101 may be an Evolved-Universal Mobile Telecommunications System Terrestrial Radio Access Network (E-UTRAN). The access network in the Non-3GPP network may include a trusted Non-3GPP access network 102 and an untrusted Non-3GPP access network 103. For example, the trusted Non-3GPP access network 102 may be a Worldwide Interoperability for Microwave Access (WiMAX) based access network, and the untrusted Non-3GPP access network 103 may be based on Wireless-Fidelity (WiFi) access network. The UE may be connected to the gateway corresponding to the access type by using an access network corresponding to the access type of the UE, and then connected to the operator IP network through the gateway corresponding to the access type, thereby being from the carrier IP network. Get an IP service. If the access type of the UE is 3GPP access, the EPS network includes: a Serving Gateway (SGW) 104, a Packet Data Gateway (PGW) 105, and an evolved packet data gateway (evolved Packet). Data Gateway (ePDG) 106. If the access type of the UE is a trusted Non-3GPP access, the EPS network further includes: a PGW 105 and a Trusted Access Gateway (TGW) 107. If the access type of the UE is untrusted Non-3GPP access, the EPS network also has an ePDG 106 and an Untrusted Access Gateway (UGW) 108. If the access type of the UE is other types, the EPS network has other types of gateways to provide IP services for the UEs of different access types, so that the EPS network can support multiple access types. UE. If the EPS network needs to support a new type of UE, a gateway corresponding to the new type needs to be deployed in the EPS network. With the diversification of UE types, more and more gateways need to be deployed in EPS networks, thus making the entire EPS network architecture Increasingly complex, the maintenance of the network is more complicated and the maintenance cost is higher.
为降低EPS网络架构的复杂度,本发明实施例提供一种新的EPS网络。图2为本发明提供的一种EPS网络的架构示意图。如图2所示,本发明实施例的EPS网络中可包括一种网关201。该网关201可包括网关用户面(Gateway-User,简称GW-U)实体202和网关控制面(Gateway-Controler,简称GW-C)实体203。其中,网关用户面实体202和网关控制面实体203可分别作为一个独立的物理实体设备,例如,网关用户面实体202也可称为用户面设备或转发面设备,网关控制面实体203也可称为控制面设备或控制设备。或者,网关用户面实体202和网关控制面实体203也可以分别作为物理实体设备中一个独立的硬件模块,例如,网关用户面实体202可以为网关201中的一个用户模块或转发模块,网关控制面实体203可以为网关201中的一个控制模块。同时,本发明实施例还提供多种可由网关用户面实体202和网关控制面实体203交互执行的报文处理方法、网关用户面实体202、网关控制面实体203及网关等。本发明可通过下述各实施例进行具体说明。To reduce the complexity of the EPS network architecture, an embodiment of the present invention provides a new EPS network. 2 is a schematic structural diagram of an EPS network provided by the present invention. As shown in FIG. 2, a gateway 201 may be included in an EPS network according to an embodiment of the present invention. The gateway 201 can include a Gateway-User (GW-U) entity 202 and a Gateway-Controler (GW-C) entity 203. The gateway user plane entity 202 and the gateway control plane entity 203 can be respectively used as an independent physical entity device. For example, the gateway user plane entity 202 can also be referred to as a user plane device or a forwarding plane device, and the gateway control plane entity 203 can also be called For control surface devices or control devices. Alternatively, the gateway user plane entity 202 and the gateway control plane entity 203 may also be respectively a separate hardware module in the physical entity device. For example, the gateway user plane entity 202 may be a user module or a forwarding module in the gateway 201, and the gateway control plane. Entity 203 can be a control module in gateway 201. In addition, the embodiment of the present invention further provides a plurality of packet processing methods, a gateway user plane entity 202, a gateway control plane entity 203, and a gateway, which are mutually executable by the gateway user plane entity 202 and the gateway control plane entity 203. The invention can be specifically illustrated by the following examples.
本发明实施例一提供一种报文处理方法。本发明实施例一提供的报文处理方法可由网关用户面实体202和网关控制面实体203实体交互执行。图3为本发明实施例一提供的一种报文处理方法的流程图。如图3所示,该方法可包括如下:A first embodiment of the present invention provides a packet processing method. The packet processing method provided by the first embodiment of the present invention may be executed by the gateway user plane entity 202 and the gateway control plane entity 203. FIG. 3 is a flowchart of a packet processing method according to Embodiment 1 of the present invention. As shown in FIG. 3, the method can include the following:
S301、网关控制面实体确定控制信息。S301. The gateway control plane entity determines control information.
S302、该网关控制面实体将该控制信息发送至网关用户面实体。S302. The gateway control plane entity sends the control information to the gateway user plane entity.
例如,该网关控制面实体可通过S18接口或是与其他接口复用发送该控制信息。该网关用户面实体还可兼容各传统网关的外部接口,也就是说,该网关用户面实体可具有用于各传统网关与部分其他网元设备进行传输的接口。例如,部分其他网元设备包括:通用分组无线服务的服务支持节点(Serving General packet radio service Support Node,简称SGSN)或验证授权记账服务器等。该网关控制面实体也可兼容各传统网关的外部接口,也就是说,该网关控制面实体可具有用于各传统网关与另一部分其他网元设备进行传输的接口。例如,该另一部分网元设备可包括:移动管理实体(Mobile Managenment Entity,简称MME)或策略与计费规则功能单元(Policy and Charging Rules Function,简称PCRF)等。因此,执行本发明实施例中报文处理方法的网关用 户面实体和网关控制面实体,不对其他网元设备产生影响。For example, the gateway control plane entity may send the control information through the S18 interface or multiplexed with other interfaces. The gateway user plane entity is also compatible with the external interface of each traditional gateway, that is, the gateway user plane entity may have an interface for each traditional gateway to transmit with some other network element devices. For example, some other network element devices include: a Serving General Packet Radio Service Support Node (SGSN) or a verification authorization accounting server. The gateway control plane entity is also compatible with the external interface of each traditional gateway, that is, the gateway control plane entity may have an interface for each traditional gateway to transmit with another part of other network element devices. For example, the other part of the network element device may include: a Mobile Management Entity (MME) or a Policy and Charging Rules Function (PCRF). Therefore, the gateway for performing the message processing method in the embodiment of the present invention is used. The host entity and the gateway control plane entity do not affect other network element devices.
S303、该网关用户面实体根据该控制信息确定该控制信息对应的报文处理动作。S303. The gateway user plane entity determines, according to the control information, a packet processing action corresponding to the control information.
该网关用户面实体可以是根据该控制信息,与预设的控制信息与报文处理动作的对应关系,确定该控制信息对应的报文处理动作。The gateway user plane entity may determine, according to the control information, a correspondence between the preset control information and the packet processing action, and determine a packet processing action corresponding to the control information.
S304、该网关用户面实体根据该控制信息对应的报文处理动作对报文进行处理。S304. The gateway user plane entity processes the packet according to the packet processing action corresponding to the control information.
具体地,该网关用户面实体在对报文进行处理之前,还可根据该控制信息对应的报文处理动作,确定该报文处理动作对应的执行指令,继而根据该执行指令对该报文进行处理。该报文可以是信令报文或者业务数据报文;该信令报文可以为与数据报文公用相同IP链路的带内信令报文。该信令报文可包括上行信令报文或下行信令报文。该业务数据报文可以包括上行数据报文或下行数据报文。需要说明的是,该网关用户面实体还可对该处理后的该报文进行转发,即将该处理后的该报文发送至该网关用户面实体的下游网络设备。Specifically, the gateway user plane entity may further determine an execution instruction corresponding to the message processing action according to the message processing action corresponding to the control information, and then perform the message according to the execution instruction. deal with. The packet may be a signaling packet or a service data packet; the signaling packet may be an in-band signaling packet of the same IP link as the data packet. The signaling packet may include an uplink signaling packet or a downlink signaling packet. The service data packet may include an uplink data packet or a downlink data packet. It should be noted that the gateway user plane entity may further forward the processed packet, that is, the processed packet is sent to the downstream network device of the gateway user plane entity.
本发明实施例一提供的报文处理方法,网关用户面实体可根据接收到的网关控制面实体发送的控制信息确定该控制信息对应的报文处理动作,继而根据确定的报文处理动作对报文进行处理。由于该网关用户面实体可根据网关控制面实体发送的控制信息确定报文处理动作,即便UE的类型越来越丰富,只需根据该网关控制面实体下发的控制信息进行处理,而无需部署多个网关,即可减少EPS网络中的网关部署,简化EPS网络的架构,简化网络的维护复杂度,从而降低维护成本。According to the packet processing method provided by the first embodiment of the present invention, the gateway user plane entity may determine the packet processing action corresponding to the control information according to the received control information sent by the gateway control plane entity, and then report the action according to the determined packet processing action. The text is processed. The gateway user plane entity can determine the packet processing action according to the control information sent by the gateway control plane entity. Even if the type of the UE is more and more abundant, only the control information sent by the gateway control plane entity is processed, and no deployment is needed. Multiple gateways can reduce the deployment of gateways in the EPS network, simplify the architecture of the EPS network, simplify the maintenance complexity of the network, and reduce maintenance costs.
需要说明的是,如上所述的任一实施例中,该网关用户面实体根据该控制信息确定该控制信息对应的报文处理动作之后,还方法还可包括:It should be noted that, in any of the foregoing embodiments, after the gateway user plane entity determines the packet processing action corresponding to the control information according to the control information, the method may further include:
该网关用户面实体向该网关控制面发送该控制信息对应的响应消息。该响应消息包括该控制信息对应的报文处理动作的确定结果。The gateway user plane entity sends a response message corresponding to the control information to the gateway control plane. The response message includes a determination result of the message processing action corresponding to the control information.
在上述实施例的基础上,本发明实施例二还提供一种报文处理方法。可选的,该控制信息可包括:动作集指示信息。该动作集可包括至少一个报文处理动作。Based on the foregoing embodiment, the second embodiment of the present invention further provides a packet processing method. Optionally, the control information may include: action set indication information. The set of actions can include at least one message processing action.
具体地,该动作集可对应一种网关功能。也就是说,该动作集包括的该 至少一个报文处理动作可以为实现该网关功能所需对报文进行处理的报文处理动作。Specifically, the action set can correspond to a gateway function. That is, the action set includes the The at least one packet processing action may be a packet processing action required to process the message required to implement the gateway function.
该动作集指示信息可以通过该动作集的名称表示。例如,该动作集的名称可以通过该动作集对应的网关功能的标识表示。举例来说,若一个动作集对应的网关功能为SGW对应的网关功能,则SGW对应的网关功能的标识则可以为SGW,那么该动作集的指示信息可以用SGW表示。该网关用户面实体可根据该动作集的指示信息确定该动作集。The action set indication information can be represented by the name of the action set. For example, the name of the action set can be represented by the identity of the gateway function corresponding to the action set. For example, if the gateway function corresponding to the action set is the gateway function corresponding to the SGW, the identifier of the gateway function corresponding to the SGW may be the SGW, and the indication information of the action set may be represented by the SGW. The gateway user plane entity may determine the action set according to the indication information of the action set.
可选的,在上述S303中该网关用户面实体根据该控制信息确定该控制信息对应的报文处理动作,可以包括:Optionally, in the foregoing S303, the gateway user plane entity determines, according to the control information, a packet processing action corresponding to the control information, which may include:
该网关用户面实体根据该动作集指示信息确定该动作集;The gateway user plane entity determines the action set according to the action set indication information;
该网关用户面实体根据该动作集、预设的动作集与报文处理动作的对应关系,确定该动作集对应的报文处理动作。The gateway user plane entity determines a packet processing action corresponding to the action set according to the action set, the correspondence between the preset action set and the message processing action.
其中,该动作集与报文处理动作的对应关系,可以是预先设置在该网关用户面实体中的。The corresponding relationship between the action set and the packet processing action may be preset in the gateway user plane entity.
可选的,该动作集指示信息可包括该动作集包括的至少一个报文处理动作的标识。因此,该动作集对应的报文处理动作,可以是该网关用户面实体根据该动作集指示信息确定。Optionally, the action set indication information may include an identifier of the at least one message processing action included in the action set. Therefore, the message processing action corresponding to the action set may be that the gateway user plane entity determines according to the action set indication information.
其中,该报文处理动作的标识可以通过该报文处理动作的名称表示。该网关用户面实体可根据该报文处理动作的标识确定该动作集对应的至少一个报文处理动作。The identifier of the packet processing action may be represented by the name of the packet processing action. The gateway user plane entity may determine, according to the identifier of the packet processing action, at least one packet processing action corresponding to the action set.
举例来说,报文处理动作可包括但不限于接收数据包(ReceivePacket,简称RecPkt)、解封装(Decapsulate,简称Decap)、流量监管(Car)或封装(Encapsulate,简称Encap)。其中,接收数据包的标识可以为RecPkt,解封装的标识可以为Decap;流量监管的标识可以为Car;封装的标识可以为Encap。For example, the packet processing action may include, but is not limited to, Receive Packet (RecPkt), Decapsulate (Decap), Traffic Supervision (Car), or Encapsulate (Encapte). The identifier of the received data packet may be RecPkt, the decapsulated identifier may be Decap, the identifier of the traffic policing may be Car, and the identifier of the encapsulation may be Encap.
该动作集指示信息包括RecPkt、Decap、Car和Encap组成的动作指示信息,则该网关用户面实体可根据该动作集指示信息,确定该动作集中包括ReceivePacket的报文处理动作、Decapsulate的报文处理动作、Car的报文处理动作和Encapsulate的报文处理动作的四个报文处理动作。The action set indication information includes action indication information consisting of RecPkt, Decap, Car, and Encap, and the gateway user plane entity may determine, according to the action set indication information, the packet processing action including the ReceivePacket in the action set, and the packet processing of the Decapsulate. Four message processing actions of the action, the message processing action of the Car, and the message processing action of the Encapsulate.
可选的,该动作集包括至少一个报文处理动作,如多个报文处理动作, 则该动作集中各报文处理动作还具有对应的执行顺序。控制信息中还可包括:顺序指示信息;该顺序指示信息用于指示该至少一个报文处理动作的执行顺序。也就是说,本发明实施例二中该至少一个报文处理动作和该至少一个报文处理动作的执行顺序,可以是该网关控制面实体确定,并发送至该网关用户面实体的。Optionally, the action set includes at least one message processing action, such as multiple message processing actions. Then, each message processing action in the action set also has a corresponding execution order. The control information may further include: sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action. That is, the execution order of the at least one message processing action and the at least one message processing action in the second embodiment of the present invention may be determined by the gateway control plane entity and sent to the gateway user plane entity.
可选的,上述S304中该网关用户面实体根据该控制信息对应的报文处理动作对报文进行处理,可包括:Optionally, the gateway user plane entity in the foregoing S304 processes the packet according to the packet processing action corresponding to the control information, and may include:
该网关用户面实体根据该顺序指示信息确定该至少一个报文处理动作的执行顺序;继而根据该执行顺序对报文进行处理。The gateway user plane entity determines an execution order of the at least one message processing action according to the sequence indication information; and then processes the message according to the execution sequence.
该顺序指示信息可以通过包括该至少一个报文处理动作的标识的字符串表示。举例来说,若顺序指示信息为RecPkt、Decap、Car和Encap组成的字符串,如RecPkt->Decap->Car->Encap,则该网关用户面实体可确定该至少一个报文处理动作的执行顺序可以依次为ReceivePacket的报文处理动作、Decapsulate的报文处理动作、Car的报文处理动作和Encapsulate的报文处理动作。The sequence indication information may be represented by a character string including an identification of the at least one message processing action. For example, if the sequence indication information is a string consisting of RecPkt, Decap, Car, and Encap, such as RecPkt->Decap->Car->Encap, the gateway user plane entity may determine execution of the at least one message processing action. The sequence may be a packet processing operation of ReceivePacket, a packet processing operation of Decapsulate, a message processing operation of Car, and a packet processing operation of Encapsulate.
该网关用户面可先根据该ReceivePacket的报文处理动作对该报文进行接收,然后根据该Decapsulate的报文处理动作对该报文进行街封装,再根据Car的报文处理动作对该报文进行流量监管,最后根据Encapsulate的报文处理动作对该报文进行封装。The user plane of the gateway may first receive the packet according to the packet processing action of the ReceivePacket, and then encapsulate the packet according to the packet processing action of the Decapsulate, and then process the packet according to the message processing action of the Car. Traffic policing is performed. Finally, the packet is encapsulated according to the packet processing action of Encapsulate.
可选的,如上S301中网关控制面实体确定控制信息,可以包括:Optionally, the determining, by the gateway control plane entity in the foregoing S301, the control information may include:
该网关控制面实体根据网关功能确定该动作集指示信息。例如,该网关功能可以是根据UE的接入类型和/或业务功能类型确定的。其中,业务功能类型可以是根据用户业务数据确定。The gateway control plane entity determines the action set indication information according to the gateway function. For example, the gateway function may be determined according to the access type and/or the type of service function of the UE. The service function type may be determined according to user service data.
在一个实施例中,网关功能是根据UE的接入类型确定的,也就是说,该动作集指示信息可以是网关控制面实体可以是根据UE的接入类型确定的网关用户面实体的网关功能,继而根据该网关功能所确定的。In an embodiment, the gateway function is determined according to the access type of the UE, that is, the action set indication information may be that the gateway control plane entity may be a gateway function of the gateway user plane entity determined according to the access type of the UE. And then determined by the gateway function.
举例来说,若网关用户面实体仅支持一种UE接入类型,如3GPP接入,则该网关用户面实体确定网关功能可以包括SGW对应的网关功能,该网关用户面实体可以为SGW对应的网关用户面实体。图4为本发明实施例二提供的一种基于接入类型的网关控制面实体与网关用户面实体的结构示意图。 该图4中,网关用户面实体可以为SGW对应的网关用户面实体。如图4所示,该网关控制面实体可根据该SGW对应的网关功能确定动作集为SGW对应的动作集,该动作集指示信息可以用SGW表示。该SGW对应的动作集对应的报文处理动作包括:ReceivePacket的报文处理动作、Decapsulate的报文处理动作、Car的报文处理动作和Encapsulate的报文处理动作。该控制信息中,该动作集指示信息中可以包括该动作集的报文处理动作的名称,如ReceivePacket、Decapsulate、Car和Encapsulate。该顺序指示信息可以为ReceivePacket->Decapsulate->Car->Encapsulate。For example, if the gateway user plane entity supports only one type of UE access, such as 3GPP access, the gateway user plane entity determines that the gateway function may include a gateway function corresponding to the SGW, and the gateway user plane entity may be a corresponding SGW. Gateway user plane entity. FIG. 4 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention. In FIG. 4, the gateway user plane entity may be a gateway user plane entity corresponding to the SGW. As shown in FIG. 4, the gateway control plane entity may determine, according to the gateway function corresponding to the SGW, that the action set is an action set corresponding to the SGW, and the action set indication information may be represented by the SGW. The packet processing operations corresponding to the action set corresponding to the SGW include: a packet processing operation of the ReceivePacket, a packet processing operation of the Decapsulate, a message processing operation of the Car, and a packet processing operation of the Encapsulate. In the control information, the action set indication information may include a name of a message processing action of the action set, such as ReceivePacket, Decapsulate, Car, and Encapsulate. The sequence indication information may be ReceivePacket->Decapsulate->Car->Encapsulate.
若网关用户面实体仅支持一种UE接入类型,如3GPP接入,该网关用户面实体还可确定该网关功能包括PGW对应的网关功能,该网关用户面实体可以为PGW对应的网关用户面实体。图5为本发明实施例二提供的另一种基于接入类型的网关控制面实体与网关用户面实体的结构示意图。该图5中,该网关控制面实体可根据该PGW对应的网关功能确定动作集为PGW对应的动作集,该动作集的指示信息可以用PGW表示。该PGW对应的动作集对应的报文处理动作包括:ReceivePacket的报文处理动作、Decapsulate的报文处理动作、流量整形(Shaping)的报文处理动作和Charge的报文处理动作。该控制信息中,该动作集指示信息可以包括该动作集的报文处理动作的名称,如ReceivePacket、Decapsulate、Shaping和Charge。该顺序指示信息可以为ReceivePacket->Decapsulate->Shaping->Charge。If the gateway user plane entity supports only one type of UE access, such as 3GPP access, the gateway user plane entity may also determine that the gateway function includes a gateway function corresponding to the PGW, and the gateway user plane entity may be a gateway user plane corresponding to the PGW. entity. FIG. 5 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention. In FIG. 5, the gateway control plane entity may determine, according to the gateway function corresponding to the PGW, that the action set is an action set corresponding to the PGW, and the indication information of the action set may be represented by PGW. The packet processing operations corresponding to the action set corresponding to the PGW include: a packet processing operation of the ReceivePacket, a packet processing operation of the Decapsulate, a packet processing operation of the traffic shaping (Shaping), and a packet processing operation of the Charge. In the control information, the action set indication information may include a name of a message processing action of the action set, such as ReceivePacket, Decapsulate, Shaped, and Charge. The order indication information may be ReceivePacket->Decapsulate->Shaping->Charge.
若网关用户面实体在支持3GPP接入的基础上,还支持不可信的3GPP接入,则该网关功能还可以包括演进型分组数据网关(Evolved Packet Data Gateway,简称ePGW)对应的网关功能。图6为本发明实施例二提供的又一种基于接入类型的网关控制面实体与网关用户面实体的结构示意图。该图6中,该网关控制面实体可根据该ePGW对应的网关功能确定一个动作集为SGW对应的动作集,另一个动作集为ePGW对应的动作集。该SGW对应的动作集指示信息可以用SGW表示,该ePGW对应的动作集指示信息可以用ePGW表示。其中,该SGW对应的动作集对应的报文处理动作包括:ReceivePacket的报文处理动作、Decapsulate的报文处理动作、Car的报文处理动作和Encapsulate的报文处理动作。该ePGW对应的动作集对应的报文处理动作包括:ReceivePacket的报文处理动作、解密(Decrypt)的报文处理动 作、Car的报文处理动作和Encapsulate的报文处理动作。该控制信息中可包括SGW对应的动作集指示信息和ePDW对应的动作集指示信息。其中,该SGW对应的动作集指示信息中可以包括该SGW对应的动作集的报文处理动作的名称,如ReceivePacke、Decapsulate、Car和Encapsulate。该SGW对应的顺序指示信息可以为ReceivePacke->Decapsulate->Car->Encapsulate。该ePDW对应的动作集指示信息中可包括该ePDW对应的动作集的报文处理动作的名称,如ReceivePacke、Decrypt、Car和Encapsulate。该ePDW对应的顺序指示信息可以为ReceivePacke->Decrypt->Car->Encapsulate。该网关用户面实体可支持3GPP接入和不可信的3GPP接入,也就是说,该网关用户面实体可接收该两种接入类型对应的报文。其中,3GPP接入类型对应的报文可以包括目的隧道端点标识符(Tunnel Endpoint Iidentity,简称TEID)的GTP类型的报文。不可信的3GPP接入对应的报文可以为互联网协议安全(Internet ProtocolSecurity,简称IPSec)类型的报文。无论何种类型的报文,该网关用户面可以是通过S1接口接收。If the gateway user plane entity supports the untrusted 3GPP access on the basis of the support of the 3GPP access, the gateway function may further include a gateway function corresponding to the Evolved Packet Data Gateway (ePGW). FIG. 6 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on an access type according to Embodiment 2 of the present invention. In FIG. 6, the gateway control plane entity may determine that one action set is an action set corresponding to the SGW according to the gateway function corresponding to the ePGW, and the other action set is an action set corresponding to the ePGW. The action set indication information corresponding to the SGW may be represented by an SGW, and the action set indication information corresponding to the ePGW may be represented by an ePGW. The packet processing operations corresponding to the action set corresponding to the SGW include: a packet processing operation of the ReceivePacket, a packet processing operation of the Decapsulate, a message processing operation of the Car, and a packet processing operation of the Encapsulate. The packet processing action corresponding to the action set corresponding to the ePGW includes: a packet processing action of the ReceivePacket, and a packet processing process of decrypting (Decrypt). The message processing action of Car, Car, and the message processing action of Encapsulate. The control information may include action set indication information corresponding to the SGW and action set indication information corresponding to the ePDW. The action set indication information corresponding to the SGW may include a name of a packet processing action of the action set corresponding to the SGW, such as ReceivePacke, Decapsulate, Car, and Encapsulate. The sequence indication information corresponding to the SGW may be ReceivePacke->Decapsulate->Car->Encapsulate. The action set indication information corresponding to the ePDW may include a name of a message processing action of the action set corresponding to the ePDW, such as ReceivePacke, Decrypt, Car, and Encapsulate. The sequence indication information corresponding to the ePDW may be ReceivePacke->Decrypt->Car->Encapsulate. The gateway user plane entity can support 3GPP access and untrusted 3GPP access, that is, the gateway user plane entity can receive the packets corresponding to the two access types. The packet corresponding to the 3GPP access type may include a GTP type packet of a Tunnel Endpoint Identity (TEID). The packet corresponding to the untrusted 3GPP access may be an Internet Protocol Security (IPSec) type of packet. Regardless of the type of message, the gateway user plane can be received through the S1 interface.
需要说明的是,本发明上述实施例中图4、图5及图6仅为举例说明,并不对本发明作具体限制。也就是说,网关用户面实体还可仅支持其他的接入类型,也可支持多种接入类型,如支持大于两种的接入类型,而不限于上述表述。It should be noted that FIG. 4, FIG. 5 and FIG. 6 in the above embodiments of the present invention are merely illustrative, and the present invention is not specifically limited. That is to say, the gateway user plane entity may also support only other access types, and may also support multiple access types, such as supporting more than two access types, and is not limited to the above description.
若一个网关用户面实体可支持一种接入类型,本发明实施例二还提供一种EPS网络架构,以支持3GPP接入、可信的Non-3GPP接入和不可信的Non-3GPP接入。本发明实施例二还提供一种EPS网络的架构图。图7为本发明实施例二提供的一种EPS网络的架构图。如图7所示,该EPS网络可包括网关控制面实体701和网关用户面实体702。其中,网关用户面实体702可包括:SGW对应的网关用户面实体703、PGW对应的网关用户面实体704、可信非3GPP对应的网关用户面实体705、不可信非3GPP对应的网关用户面实体706。其中,SGW对应的网关用户面实体、PGW对应的网关用户面实体的结构可以与上述实施例图4和图5中类型,在此不再赘述。其中,该SGW对应的网关用户面实体、PGW对应的网关用户面实体、可信非3GPP对应的网关用户面实体、不可信非3GPP对应的网关用户面实体,可分别为独立的物理设备,也可以为一个物理设备内部的多个不同的软件和/或硬件模块。 If a gateway user plane entity can support an access type, the second embodiment of the present invention further provides an EPS network architecture to support 3GPP access, trusted Non-3GPP access, and untrusted Non-3GPP access. . Embodiment 2 of the present invention further provides an architecture diagram of an EPS network. FIG. 7 is a structural diagram of an EPS network according to Embodiment 2 of the present invention. As shown in FIG. 7, the EPS network can include a gateway control plane entity 701 and a gateway user plane entity 702. The gateway user plane entity 702 may include: a gateway user plane entity 703 corresponding to the SGW, a gateway user plane entity 704 corresponding to the PGW, a gateway user plane entity 705 corresponding to the trusted non-3GPP, and a gateway user plane entity corresponding to the untrusted non-3GPP. 706. The structure of the gateway user plane entity corresponding to the SGW and the gateway user plane entity corresponding to the PGW may be of the type shown in FIG. 4 and FIG. 5 of the foregoing embodiment, and details are not described herein again. The gateway user plane entity corresponding to the SGW, the gateway user plane entity corresponding to the PGW, the gateway user plane entity corresponding to the trusted non-3GPP, and the gateway user plane entity corresponding to the untrusted non-3GPP may be independent physical devices, respectively. It can be a number of different software and/or hardware modules within a physical device.
在另一个实施例中,网关功能是根据UE的业务功能类型确定的,也就是说,该动作集的指示信息可以是网关控制面实体可以是根据UE的业务功能类型确定的网关用户面实体的网关功能,继而根据该网关功能所确定的。In another embodiment, the gateway function is determined according to the service function type of the UE, that is, the indication information of the action set may be that the gateway control plane entity may be a gateway user plane entity determined according to the service function type of the UE. The gateway function is then determined based on the gateway function.
举例来说,业务功能类型包括:PGW对应的网关功能的IP业务功能变更、IP业务功能取消、IP业务功能增加。网关控制面根据业务功能类型向网关控制面发送对应的控制消息,使得网关用户面根据控制消息执行变更、取消或增加后的网关功能。For example, the service function types include: IP service function change of the gateway function corresponding to the PGW, cancellation of the IP service function, and increase of the IP service function. The gateway control plane sends a corresponding control message to the gateway control plane according to the service function type, so that the gateway user plane performs the function of changing, canceling or adding the gateway according to the control message.
若业务功能类型为IP业务功能变更,如调整用户的计费模式:将IP业务功能中,原计费模式对应的流量整形功能与计费功能的顺序进行调整。图8为本发明实施例二提供的一种基于业务功能类型的网关控制面实体与网关用户面实体的结构示意图。执行IP业务功能变更前和变更后的网关功能如图8所示,执行IP业务功能变更后,动作集的报文处理动作可包括变更IP业务功能后的各报文处理动作,如ReceivePacket的报文处理动作、Decapsulate的报文处理动作、Charge的报文处理动作和Shaping的报文处理动作。由于业务功能类型为IP业务功能变更,则在该控制信息中,动作集指示信息还包括该动作集的动作变更指示信息。该动作变更指示信息可包括:需变更的报文处理动作,和该需变更的报文处理动作在变更前动作集中多个报文处理动作中的位置。可替代地,该动作变更指示信息还可包括:变更报文处理动作后的各报文处理动作的指示信息、顺序指示信息。该顺序指示信息用于指示IP业务功能变更后该动作集的报文处理动作的执行顺序。例如,该顺序指示信息为ReceivePacket->Decapsulate->Charge->Shaping。If the service function type is changed by the IP service function, for example, the user's charging mode is adjusted: the IP traffic function, the traffic shaping function corresponding to the original charging mode, and the charging function are adjusted. FIG. 8 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity based on a service function type according to Embodiment 2 of the present invention. The function of the gateway before and after the change of the IP service function is as shown in Figure 8. After the IP service function is changed, the packet processing action of the action set may include the packet processing action after changing the IP service function, such as the ReceivePacket report. Text processing action, Decapsulate message processing action, Charge message processing action, and Shaping message processing action. When the service function type is an IP service function change, in the control information, the action set indication information further includes action change instruction information of the action set. The action change instruction information may include a message processing operation to be changed, and a position in the plurality of message processing operations in the message processing operation to be changed before the change. Alternatively, the action change instruction information may further include: instruction information for changing each message processing operation after the message processing operation, and sequence instruction information. The sequence indication information is used to indicate the execution order of the message processing actions of the action set after the IP service function is changed. For example, the order indication information is ReceivePacket->Decapsulate->Charge->Shaping.
若业务功能类型为IP业务功能取消,如取消URL过滤功能,该变化后的网关功能可为取消URL过滤功能后的网关功能。图9为本发明实施例二提供的另一种基于业务类型的网关控制面实体与网关用户面实体的结构示意图。执行IP业务功能取消前和取消后的网关功能如图9所示,执行IP业务功能取消后,动作集的报文处理动作可包括取消IP业务功能对应的报文处理动作后的各报文处理动作,如ReceivePacket的报文处理动作、Decapsulate的报文处理动作、Shaping的报文处理动作和Charge的报文处理动作。由于业务功能类型为IP业务功能取消,则在该控制信息中,动作集指示信息包括动作集的动作取消指示信息。该动作取消指示信息可包括:取消(Delete,简称 DEL)标识、需取消的报文处理动作。其中,该取消标识可以表示为DEL,该需取消的报文处理动作可以为URL过滤的报文处理动作,则该需取消的报文处理动作可表示为URL Filter。可替代地,该一个动作集的动作取消指示信息还可包括:取消报文处理动作后的各报文处理动作的指示信息、顺序指示信息。该顺序指示信息用于指示业务功能取消后该动作集的报文处理动作的执行顺序。例如,该顺序指示信息可以为ReceivePacket->Decapsulate->Shaping->Charge。If the service function type is canceled, such as canceling the URL filtering function, the changed gateway function may be a gateway function after canceling the URL filtering function. FIG. 9 is a schematic structural diagram of another service type-based gateway control plane entity and a gateway user plane entity according to Embodiment 2 of the present invention. The function of the gateway before and after the cancellation of the IP service function is as shown in Figure 9. After the IP service function is canceled, the packet processing action of the action set may include canceling the packet processing after the packet processing action corresponding to the IP service function. Actions, such as ReceivePacket's message processing action, Decapsulate's message processing action, Shaping's message processing action, and Charge's message processing action. Since the service function type is the cancellation of the IP service function, in the control information, the action set indication information includes action cancellation instruction information of the action set. The action cancellation indication information may include: cancel (Delete, referred to as DEL) Identification, message processing action to be canceled. The cancellation identifier may be represented as DEL, and the packet processing action to be canceled may be a URL filtering message processing action, and the message processing action to be canceled may be represented as a URL Filter. Alternatively, the action cancellation indication information of the one action set may further include: indication information and sequence indication information of each message processing action after the message processing action is canceled. The sequence indication information is used to indicate the execution order of the message processing actions of the action set after the service function is cancelled. For example, the order indication information may be ReceivePacket->Decapsulate->Shaping->Charge.
若业务功能类型为IP业务功能增加,如增加流量订购功能,该变化后的网关功能可为增加流量订购功能后的网关功能。图10为本发明实施例二提供的又一种基于业务功能类型的网关控制面实体与网关用户面实体的结构示意图。执行IP业务功能增加前和增加后的网关功能如图10所示,执行IP业务功能增加后,动作集的报文处理动作可包括增加IP业务功能对应的报文处理动作后的各报文处理动作,如ReceivePacket的报文处理动作、Decapsulate的报文处理动作、Shaping的报文处理动作、Charge的报文处理动作、ICAP的报文处理动作。由于业务类型为IP业务功能增加,则在该控制信息中,动作集指示信息包括动作集的动作增加指示信息。该动作***指示信息可包括:增加标识、需增加的报文处理动作和该需增加的报文处理动作在增加前动作集中多个报文处理动作中的位置,其中,该增加标识可表示为Insert,该需增加的报文处理动作可表示为ICAP->AC,该需增加的报文处理动作的位置可表示为charge后。可替代地,动作增加指示信息还可包括:增加报文处理动作后的各报文处理动作的指示信息、顺序指示信息。该顺序指示信息用于指示业务功能增加后该动作集的报文处理动作的执行顺序。例如,该顺序指示信息可以为ReceivePacket->Decapsulate->Shaping->Charge->ICAP->AC。If the service function type is increased for the IP service function, such as the traffic subscription function, the changed gateway function may be a gateway function after the traffic subscription function is added. FIG. 10 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity based on a service function type according to Embodiment 2 of the present invention. The function of the gateway before and after the IP service function is added is as shown in Figure 10. After the IP service function is added, the packet processing action of the action set may include adding the packet processing after the packet processing action corresponding to the IP service function. Actions, such as ReceivePacket's message processing action, Decapsulate's message processing action, Shaping's message processing action, Charge's message processing action, and ICAP message processing action. Since the service type is an IP service function, in the control information, the action set indication information includes action increase indication information of the action set. The action insertion indication information may include: adding an identifier, a message processing action to be added, and a position of the message processing action to be added in a plurality of message processing actions in the pre-action set, wherein the added identifier may be represented as Insert, the message processing action to be added can be expressed as ICAP->AC, and the position of the message processing action to be added can be expressed as charge. Alternatively, the action increase indication information may further include: indication information and sequence indication information of each message processing action after the message processing action is increased. The sequence indication information is used to indicate the execution order of the message processing actions of the action set after the service function is added. For example, the sequence indication information may be ReceivePacket->Decapsulate->Shaping->Charge->ICAP->AC.
可选的,该网关用户面实体根据该动作集对应的报文处理动作,和该报文处理动作的动作参数对该报文进行处理。Optionally, the gateway user plane entity processes the packet according to the packet processing action corresponding to the action set and the action parameter of the packet processing action.
本发明实施例二提供的报文处理方法中,由于网关控制面实体发送的控制信息中包括动作集指示信息,因而网关用户面实体可根据该动作集指示信息确定动作集,实现该动作集对应的多个网关功能,实现网关功能的融合,提高网关用户面实体的网关功能的兼容性和扩展性,且大大超越了传统网关的网关功能的兼容性和扩展性。 In the packet processing method provided by the second embodiment of the present invention, the control information sent by the gateway control plane entity includes the action set indication information, so the gateway user plane entity may determine the action set according to the action set indication information, and implement the action set correspondingly. Multiple gateway functions enable the convergence of gateway functions, improve the compatibility and scalability of the gateway function of the gateway user plane entity, and greatly exceed the compatibility and scalability of the gateway function of the traditional gateway.
同时,由于该动作集的指示信息还包括该顺序指示信息,因而可使得该网关用户面实体根据该动作集对应的报文处理动作的执行顺序,对该报文进行多种不同的动作处理,可在简化EPS网络架构的基础上,保证网关用户面设备对该报文处理的准确度。At the same time, the indication information of the action set further includes the sequence indication information, so that the gateway user plane entity can perform a plurality of different action processing on the message according to the execution order of the message processing action corresponding to the action set. On the basis of simplifying the EPS network architecture, the accuracy of processing the packet by the gateway user plane device can be ensured.
并且,本发明实施例二提供的报文处理方法,可针对多种不同接入类型或业务类型的报文进行处理,使得EPS网络支持多种不同的接入类型或业务类型,而无需部署多个网关,简化网络架构,还实现了多种接入类型或业务类型对应的网关功能的融合。In addition, the packet processing method provided by the second embodiment of the present invention can process packets of different access types or service types, so that the EPS network supports multiple different access types or service types without deploying multiple Gateways simplify the network architecture and also enable the convergence of gateway functions corresponding to multiple access types or service types.
本发明实施例三还提供一种报文处理方法。可选的,该控制信息还可包括:对象集指示信息;该对象集包括:至少一个对象(Object);其中,每个对象与报文处理动作对应。该对象集指示信息,可包括对象集中每个对象的标识。该网关用户面实体可根据该对象集中每个对象对应的报文处理动作,对该报文进行处理。每个对象与所述报文处理动作中的至少一个报文处理动作相关联。 Embodiment 3 of the present invention further provides a packet processing method. Optionally, the control information may further include: object set indication information; the object set includes: at least one object (Object); wherein each object corresponds to a message processing action. The object set indication information may include an identification of each object in the object set. The gateway user plane entity can process the packet according to the packet processing action corresponding to each object in the object set. Each object is associated with at least one message processing action in the message processing action.
每个对象可以对应至少一个报文处理动作,每个对象对应的至少一个报文处理还具有对应的执行顺序,因而该对象集指示信息可包括:顺序指示信息。该网关用户面实体可按照每个对象内报文处理动作的执行顺序,对该报文依次进行处理。Each object may correspond to at least one message processing action, and at least one message processing corresponding to each object further has a corresponding execution order, and thus the object set indication information may include: sequence indication information. The gateway user plane entity may process the message in sequence according to the execution order of the message processing actions in each object.
该对象集包括:至少一个对象,根据不同的维度,每个对象对应一个业务功能对象,或者每个对象对应一个报文操作对象。The object set includes: at least one object, each object corresponding to one business function object according to different dimensions, or each object corresponding to one message operation object.
当每个对象对应一个业务功能对象时,该业务功能对象包括报文处理动作;该控制信息还包括:对象顺序的指示信息;该对象顺序为该至少一个对象对应的报文处理顺序。When each object corresponds to a service function object, the service function object includes a message processing action; the control information further includes: indication information of the object sequence; the object sequence is a message processing sequence corresponding to the at least one object.
该网关用户面设备可根据该对象顺序的指示信息确定该至少一个对象对应的报文处理顺序。The gateway user plane device may determine, according to the indication information of the object sequence, a message processing sequence corresponding to the at least one object.
该网关用户面实体可根据对应的报文处理顺序,先采用对象集中的第一个对象对应的各报文处理动作依次对该报文进行处理,然后采用该对象集中下一对象的各报文处理动作对该报文进行处理,直至根据该对象集中的所有对象的报文处理动作对该报文均已处理完毕,则该网关用户面实体完成对该报文的处理。 The user plane entity of the gateway may process the packet in turn according to the processing sequence of the corresponding packet, and then adopt the packet processing action corresponding to the first object in the object set, and then adopt the packet of the next object in the object set. The processing action processes the packet until the packet processing has been processed according to the packet processing action of all objects in the object set, and the gateway user plane entity completes processing the packet.
例如,业务功能对象包括:隧道(Tunnel)对象、计费(CHarGe,简称CHG)对象、服务质量(Quality of Service,简称QoS)对象或统一资源定位符(Uniform Resource Locator,简称URL)过滤对象等业务功能对象中的任一项。For example, the service function object includes: a tunnel object, a charging (CHarGe, abbreviated as CHG) object, a quality of service (QoS) object, or a Uniform Resource Locator (URL) filtering object. Any of the business function objects.
举例来说,若一个对象集包括四个业务功能对象,如Tunnel对象、QoS对象、CHG对象和URL过滤对象。该对象集指示信息包括每个对象的名称,如Tunnel、QoS、CHG和URL。该对象集指示信息还包括:对象顺序的指示信息,如Tunnel->QoS->CHG->URL。图11为本发明实施例三提供的一种网关控制面实体与网关用户面实体的结构示意图。该网关用户面实体可根据该对象集的指示信息确定该对象集的每个对象,及该对象集中各对象对应的报文处理顺序。该网关用户面实体还根据该对象集中各对象,及预设的对象与报文处理动作的对应关系,得到如图11所示的该网关用户面实体的对象集。图11中,该Tunnel对象可包括:Encapsulate的报文处理动作、Decapsulate的报文处理动作和标识(Remark)的报文处理动作;该CHG对象可包括:Charge的报文处理动作;该QoS对象可包括:Car的报文处理动作和Shaping的报文处理动作;该URL过滤对象可包括因特网内容适配协议(Internet Content Adaptation Protocol,简称ICAP)的报文处理动作。For example, if an object set includes four business function objects, such as a Tunnel object, a QoS object, a CHG object, and a URL filtering object. The object set indication information includes the name of each object, such as Tunnel, QoS, CHG, and URL. The object set indication information further includes: indication information of the object order, such as Tunnel->QoS->CHG->URL. FIG. 11 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity according to Embodiment 3 of the present invention. The gateway user plane entity may determine, according to the indication information of the object set, each object of the object set, and a message processing order corresponding to each object in the object set. The gateway user plane entity further obtains an object set of the gateway user plane entity as shown in FIG. 11 according to each object in the object set and a corresponding relationship between the preset object and the packet processing action. In FIG. 11 , the tunnel object may include: a packet processing action of the Encapsulate, a packet processing action of the Decapsulate, and a message processing action of the identifier (Remark); the CHG object may include: a packet processing action of the tag; the QoS object The message processing action of the Car and the packet processing action of the Shaping may be included; the URL filtering object may include a message processing action of the Internet Content Adaptation Protocol (ICAP).
网关用户面实体可以根据该对象集各对象对应的报文操作顺序,依次采用该Tunnel对象的各报文处理动作、该CHG对象的报文处理动作;该QoS对象的报文处理动作、该URL过滤对象的报文处理动作对该报文进行处理。The gateway user plane entity can sequentially adopt the packet processing action of the tunnel object and the packet processing action of the CHG object according to the packet operation sequence corresponding to each object of the object set; the message processing action of the QoS object, the URL The packet processing action of the filtering object processes the packet.
可替代的,若对象为报文操作对象,该报文操作对象可包括至少一个对应多个实例的报文操作对象;每个实例与该报文处理动作中的至少一个报文处理动作相关联;该控制信息还包括:对象实例顺序的指示信息;该对象实例顺序为该报文操作对象的实例对应的报文处理顺序。Alternatively, if the object is a message operation object, the message operation object may include at least one message operation object corresponding to multiple instances; each instance is associated with at least one message processing action in the message processing action The control information further includes: indication information of the order of the object instance; the order of the object instance is a processing sequence of the message corresponding to the instance of the operation object of the message.
具体地,若该报文操作对象中包括至少一个可对应多个实例的报文操作读对象,则该网关用户面实体可以是对象实例对应的报文处理顺序,依次根据该对象集中的各对象实例对该报文进行处理。该网关用户面实体可以是根据该对象实例对应的报文处理顺序,先采用对象集中的第一个对象实例对应的各报文处理动作依次对该报文进行处理,然后采用该对象集中下一对象实例的各报文处理动作对该报文进行处理,直至根据该对象集中的所有的对象 实例的报文处理动作对该报文均已处理完毕,则该网关用户面实体完成对该报文的处理。Specifically, if the packet operation object includes at least one packet operation read object that can correspond to multiple instances, the gateway user plane entity may be a packet processing sequence corresponding to the object instance, and sequentially according to each object in the object set. The instance processes the message. The user plane entity of the gateway may be processed according to the processing sequence of the packet corresponding to the object instance, and the packet processing action of each object instance corresponding to the first object instance in the object set is processed in turn, and then the next object is used in the object set. Each message processing action of the object instance processes the message until all objects in the object set are After the packet processing action of the instance has been processed, the gateway user plane entity completes processing the packet.
在如上所述的方法中该每个对象对应一个业务功能对象,该又一种方法中该每个对象对应一个对象实例,该一个对象实例为一个报文操作对象的一个实例。因此,由于对象不同,不同对象关联的报文处理动作也不同。举例来说,若一个对象对应一个业务功能对象,如Tunnel对象,则该一个对象关联的报文处理动作可包括:Encapsulate的报文处理动作、Decapsulate的报文处理动作和标识(Remark)的报文处理动作。若该一个对象对应一个报文操作对象的一个实例,如Bearer对象第一实例,则该一个对象关联的报文处理动作可包括:Remark的报文处理动作。In the method as described above, each object corresponds to a business function object, and in the further method, each object corresponds to an object instance, and the object instance is an instance of a message operation object. Therefore, due to different objects, the message processing actions associated with different objects are also different. For example, if an object corresponds to a service function object, such as a tunnel object, the packet processing action associated with the object may include: Encapsulate packet processing action, Decapsulate packet processing action, and Remark report. Text processing action. If the object corresponds to an instance of a message operation object, such as the first instance of the Bearer object, the message processing action associated with the object may include: Remark message processing action.
因此,如上的方法与该又一种方案的区别在于,各对象不同,各对象相关联的报文处理动作不同,因此,网关用户面实体根据该不同对象相关联的报文处理动作对该报文进行处理,所实现的网关功能不同。Therefore, the difference between the above method and the other solution is that each object is different, and the packet processing actions associated with each object are different. Therefore, the gateway user plane entity processes the message according to the packet processing action associated with the different object. The text is processed, and the implemented gateway functions are different.
需要说明的是,同一个报文操作对象的不同实例相关联的报文处理动作。举例来说,若该一个报文操作对象为Bearer对象,该Bearer对象第一实例关联的报文处理动作可包括:Remark的报文处理动作,该Bearer对象第二实例关联的报文处理动作可包括:Charge的报文处理动作。It should be noted that the message processing actions associated with different instances of the same message operation object. For example, if the message operation object is a Bearer object, the message processing action associated with the first instance of the Bearer object may include: a Remark message processing action, and the message processing action associated with the second instance of the Bearer object may be Including: Charge's message processing action.
可选的,该报文操作对象包括链路(Link)对象、承载(Bearer)对象、流(Flow)对象等报文操作对象中任一项。Optionally, the message operation object includes any one of a link operation object such as a link object, a bearer object, and a flow object.
举例来说,若一个对象集包括:三个对象,如Link对象、Bearer对象、Flow对象。其中,Link对象具有一个实例,Bearer对象具有两个实例,即Bearer对象第一实例和Bearer对象第二实例,Flow对象具有一个实例。该对象集的指示信息包括该每个对象的实例相关联的报文处理动作的指示信息。该每个对象的实例相关联的报文处理动作的指示信息可包括:该每个对象的名称和该每个对象的实例相关联的报文处理动作的名称,如Link.Decapsulate、Bearer0.Remark、Bearer1.Charge、Flow.Car和Flow.Shaping。该对象集的指示信息还包括:对象实例顺序的指示信息,如Link.Decapsulate->Bearer0.Remark->Flow.Car->Flow.Shaping->Bearer1.Charge。图12为本发明实施例三提供的另一种网关控制面实体与网关用户面实体的结构示意图。该网关用户面实体可根据该对象集的指示信息确定该对象集的 每个对象的实例相关联的报文处理动作,及该对象集中各对象的实例对应的报文处理顺序,得到如图12所示的该网关用户面实体的对象集。图12中,该Link对象实例包括:Decapsulate的报文处理动作;Bearer对象第一实例包括Remark的报文处理动作;Flow对象实例可包括Car的报文处理动作、Shaping的报文处理动作;Bearer对象第二实例可包括:Charge的报文处理动作。For example, if an object set includes: three objects, such as a Link object, a Bearer object, and a Flow object. The Link object has one instance, and the Bearer object has two instances, that is, the first instance of the Bearer object and the second instance of the Bearer object, and the Flow object has one instance. The indication information of the object set includes indication information of a message processing action associated with the instance of each object. The indication information of the message processing action associated with the instance of each object may include: a name of the object and a name of a message processing action associated with the instance of each object, such as Link.Decapsulate, Bearer0.Remark , Bearer1.Charge, Flow.Car, and Flow.Shaping. The indication information of the object set further includes: indication information of the order of the object instance, such as Link.Decapsulate->Bearer0.Remark->Flow.Car->Flow.Shaping->Bearer1.Charge. FIG. 12 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity according to Embodiment 3 of the present invention. The gateway user plane entity may determine the object set according to the indication information of the object set The message processing action associated with the instance of each object, and the message processing order corresponding to the instance of each object in the object set, results in a set of objects of the gateway user plane entity as shown in FIG. In Figure 12, the Link object instance includes: a packet processing action of the Decapsulate; the first instance of the Bearer object includes a Remark packet processing action; and the Flow object instance may include a Car packet processing action and a Shaping packet processing action; Bearer The second instance of the object may include: a message processing action of the Charge.
网关用户面实体可以根据该对象集各对象实例对应的报文操作顺序,依次采用该Link对象的实例相关联的报文处理动作、该Bearer对象第一实例相关联的报文处理动作;该Flow对象的实例的各报文处理动作、Bearer对象第二实例相关联的报文处理动作对该报文进行处理。The gateway user plane entity may sequentially adopt the packet processing action associated with the instance of the Link object and the packet processing action associated with the first instance of the Bearer object according to the packet operation sequence corresponding to each object instance of the object set; Each message processing action of the instance of the object and the message processing action associated with the second instance of the Bearer object process the message.
本发明实施例三提供的报文处理方法,分别通过对象集中各对象对应的不同对象实例的方案对上述实施例所述的方法进行进一步的说明,可使得该网关用户面实体对报文处理的精度更好,从而更好地实现多种网关功能在该网关用户面实体的融合,使得新业务的部署更灵活更迅速。The method for processing a packet according to the third embodiment of the present invention further describes the method in the foregoing embodiment by using a solution of a different object instance corresponding to each object in the object set, so that the gateway user plane entity can process the packet. The accuracy is better, so that the integration of multiple gateway functions in the gateway user plane entity is better realized, and the deployment of new services is more flexible and faster.
本发明实施例四还提供一种报文处理方法。可选的,该每个对象可对应一个报文操作对象的一个实例;该一个报文操作对象的一个实例包括报文处理动作。图13为本发明实施例四提供的网关控制面实体和网关用户面实体的结构示意图。 Embodiment 4 of the present invention further provides a packet processing method. Optionally, each object may correspond to an instance of a message operation object; an instance of the one message operation object includes a message processing action. FIG. 13 is a schematic structural diagram of a gateway control plane entity and a gateway user plane entity according to Embodiment 4 of the present invention.
如图13所示,对象集包括:Link对象、Bearer对象、Flow对象这三个报文操作对象。其中,每个对象对应一个实例,即该对象集可对应Link对象实例、Bearer对象实例、Flow对象实例。其中,Link对象实例包括:Decapsulate的报文处理动作;Bearer对象实例包括Remark的报文处理动作、Charge的报文处理动作。Flow对象实例可包括Car的报文处理动作、Shaping的报文处理动作。在图13的例子中,由于需要在不同步骤中执行Bearer对象实例中的不同报文处理动作,Bearer对象实例还包括动作匹配(OperationMatch)的报文处理动作。网关用户面实体可通过执行该OperationMatch的报文处理动作,确定该Bearer对象实例中需执行的报文处理动作是Remark的报文处理动作还是Charge的报文处理动作。As shown in FIG. 13, the object set includes three message operation objects: a Link object, a Bearer object, and a Flow object. Each object corresponds to an instance, that is, the object set can correspond to a Link object instance, a Bearer object instance, and a Flow object instance. The Link object instance includes: Decapsulate packet processing action; the Bearer object instance includes Remark packet processing action and Charge message processing action. The Flow object instance may include a message processing action of the Car and a message processing action of the Shaping. In the example of FIG. 13, since the different message processing actions in the Bearer object instance need to be performed in different steps, the Bearer object instance further includes a message matching action of the action matching (OperationMatch). The gateway user plane entity can perform the message processing action of the OperationMatch to determine whether the packet processing action to be performed in the Bearer object instance is a Remark packet processing action or a Charge packet processing action.
图14为本发明实施例四提供的一种报文处理方法的流程图。图14将结合图13进行描述。如图14所示,网关用户面实体根据该对象集中该每个对 象对应的报文处理动作,对该报文进行处理,可以包括:FIG. 14 is a flowchart of a packet processing method according to Embodiment 4 of the present invention. Figure 14 will be described in conjunction with Figure 13. As shown in FIG. 14, the gateway user plane entity concentrates each pair according to the object set. The processing of the packet, such as the corresponding packet processing action, may include:
S1401、该网关用户面实体根据该报文中的计数标签(ProIndex)值确定该对象集中的一个对象的实例相关联的报文处理动作。S1401: The gateway user plane entity determines, according to a count label (ProIndex) value in the packet, a packet processing action associated with an instance of an object in the object set.
该计数标签值可以为预设的整数值,则该一个对象为该对象集中的第一个对象。举例来说,该第一个对象可以为图13中的Link对象,该预设整数值可以为整数0。该预设的整数值可以称为初始计数标签值。The count tag value can be a preset integer value, and the one object is the first object in the object set. For example, the first object may be the Link object in FIG. 13, and the preset integer value may be an integer 0. The preset integer value may be referred to as an initial count tag value.
对象集中不同的对象分别对应具有不同的计数标签值。进一步地,同一对象中的不同报文处理动作可对应不同的计数标签值。若该预设的整数值为0,该计数标签值为1,则包含当前要对报文执行的报文处理动作的对象为Bearer对象,当前要对报文执行的报文处理动作可以为Bearer对象实例的该动作匹配的报文处理动作,该网关用户面实体可通过执行该OperationMatch的报文处理动作确定Remark报文处理动作。若该预设的整数值为0,则该计数标签值为2,则包含当前要对报文执行的报文处理动作的对象可以为Flow对象,当前要对报文执行的报文处理动作可以为Flow对象实例的Car报文处理动作和Shaping报文处理动作。Different objects in the object set respectively have different count tag values. Further, different message processing actions in the same object may correspond to different count tag values. If the preset integer value is 0, and the count label value is 1, the object that contains the current packet processing action to be performed on the packet is a Bearer object, and the current packet processing action to be performed on the packet may be Bearer. The message processing action matched by the action of the object instance, the gateway user plane entity may determine the Remark message processing action by executing the message processing action of the OperationMatch. If the preset integer value is 0, the value of the count label is 2, and the object that includes the current packet processing action to be performed on the packet may be a Flow object, and the current packet processing action to be performed on the packet may be The Car packet processing action and the Shaping packet processing action of the Flow object instance.
在本发明实施例四中,该网关用户面实体可以是根据报文中的计数标签,确定对该报文进行处理所需的对象实例相关联的报文处理动作,继而对该报文进行处理。In the fourth embodiment of the present invention, the gateway user plane entity may determine, according to the counting label in the packet, a packet processing action associated with the object instance required for processing the packet, and then process the packet. .
S1402、该网关用户面实体根据该确定的报文处理动作对报文进行处理,得到处理后的报文;该处理后的报文中的计数标签值为更新后的计数标签值;更新后的计数标签值为更新前的计数标签值加一所得到的值。S1402: The gateway user plane entity processes the packet according to the determined packet processing action, and obtains the processed packet; the counted label value in the processed packet is the updated count label value; and the updated The count tag value is a value obtained by adding one value to the count tag value before the update.
以处理前的计数标签值为预设的整数值0,步骤S1401中确定的对象为该对象集中的第一个对象为例进行说明。该网关用户面实体可以根据该第一对象的实例相关联的报文处理动作,即Link对象的实例的DeCap报文处理动作对该报文进行处理,得到处理后的报文,该处理后的报文中的计数标签的值为更新后的计数标签值。该更新后的计数标签值为预设的整数值0加1,即,该更新后计数标签值等于1。The pre-processing count tag value is a preset integer value 0, and the object determined in step S1401 is the first object in the object set as an example. The gateway user plane entity can process the packet according to the packet processing action associated with the instance of the first object, that is, the DeCap packet processing action of the instance of the Link object, and obtain the processed packet, and the processed packet is processed. The value of the count tag in the message is the updated count tag value. The updated count tag value is a preset integer value of 0 plus 1, that is, the updated count tag value is equal to 1.
S1403、该网关用户面实体确定该更新后的计数标签值是否具有对应的对象实例。S1403. The gateway user plane entity determines whether the updated count label value has a corresponding object instance.
S1404、若该更新后的计数标签值具有对应的对象实例,该用户面实体根 据该更新后的计数标签值对应的对象实例相关联的报文处理动作对报文进行处理。S1404. If the updated count label value has a corresponding object instance, the user plane entity root The message is processed according to the packet processing action associated with the object instance corresponding to the updated count tag value.
若该更新后的计数标签值为1,则该网关用户面实体可以确定该更新后的计数标签值对应的对象实例相关联的报文处理动作,为Bearer对象实例的该OperationMatch的报文处理动作,通过执行该OperationMatch的报文处理动作可确定Remark报文处理动作,继而根据该Bearer对象实例的Remark报文处理动作对报文进行处理。If the updated counter tag value is 1, the gateway user plane entity may determine a message processing action associated with the object instance corresponding to the updated count tag value, and the message processing action of the OperationMatch of the Bearer object instance. The Remark message processing action can be determined by executing the message processing action of the OperationMatch, and then the message is processed according to the Remark message processing action of the Bearer object instance.
同理,该网关用户面实体可以根据Bearer对象实例的Remark报文处理动作对报文进行处理,处理后报文中计数标签值更新为2。Similarly, the gateway user plane entity can process the packet according to the Remark packet processing action of the Bearer object instance, and the count label value in the packet is updated to 2.
若计数标签值更新为2,则该网关用户面实体可根据更新后的计数标签值2确定对象实例相关联的报文处理动作为Flow对象实例的Car和Shaping报文处理动作,依次根据该Flow对象实例的Car和Shaping报文处理动作对报文进行处理,将计数标签值更新为3。若计数标签值更新为3,则该网关用户面实体可确定对象实例相关联的报文处理动作为Bearer对象实例的该OperationMatch的报文处理动作,通过执行该OperationMatch的报文处理动作确定Charge报文处理动作,并根据该Bearer对象实例的Charge报文处理动作对该报文进行处理,将计数标签值更新为4。若计数标签值更新为4,该网关用户面实体可确定该对象集中不具有该计数标签值4对应的对象实例相关联的报文处理动作,则该网关用户面实体将包括该计数标签值4的报文进行转发,即发送至该网关用户面实体的下游设备。If the value of the counter tag is updated to 2, the gateway user plane entity may determine, according to the updated count tag value 2, that the packet processing action associated with the object instance is a Car and Shaping packet processing action of the Flow object instance, and sequentially according to the flow. The Car and Shaping message processing actions of the object instance process the message and update the count tag value to 3. If the value of the counter tag is updated to 3, the gateway user plane entity may determine that the message processing action associated with the object instance is the message processing action of the OperationMatch of the Bearer object instance, and determine the Charge message by executing the message processing action of the OperationMatch. The message processing action is performed, and the message is processed according to the Charge message processing action of the Bearer object instance, and the count tag value is updated to 4. If the counter tag value is updated to 4, the gateway user plane entity may determine that the object set does not have the packet processing action associated with the object instance corresponding to the count tag value 4, and the gateway user plane entity includes the count tag value 4 The packet is forwarded, that is, sent to the downstream device of the gateway user plane entity.
需要说明的是,该计数标签值的初始值还可以为其他预设的整数值,上述实施例中的预设整数值0仅为举例说明,并不对本发明作限制。若该计数标签值的初始值为其他预设的整数值,具体的实现过程与上述实施例类似,在此不再赘述。It should be noted that the initial value of the counter tag value may also be other preset integer values. The preset integer value 0 in the foregoing embodiment is merely an example and is not intended to limit the present invention. If the initial value of the counter tag value is another preset integer value, the specific implementation process is similar to the foregoing embodiment, and details are not described herein again.
图15为本发明实施例四提供的另一种报文处理方法的流程图。图16为本发明实施例四提供的另一种网关控制面实体和网关用户面实体的结构示意图。图15将结合图16进行描述。如图16所示,对象集包括:Link对象、Bearer对象、Flow对象,三个报文操作对象。其中,每个对象对应一个实例,即该对象集可对应Link对象实例、Bearer对象实例、Flow对象实例。其中,Link对象实例包括:Decapsulate的报文处理动作;Bearer对象实例包括 OperationMatch的报文处理动作、Remark的报文处理动作、Charge的报文处理动作。Flow对象实例可包括Car的报文处理动作、Shaping的报文处理动作。FIG. 15 is a flowchart of another packet processing method according to Embodiment 4 of the present invention. FIG. 16 is a schematic structural diagram of another gateway control plane entity and a gateway user plane entity according to Embodiment 4 of the present invention. Figure 15 will be described in conjunction with Figure 16. As shown in FIG. 16, the object set includes: a Link object, a Bearer object, a Flow object, and three message operation objects. Each object corresponds to an instance, that is, the object set can correspond to a Link object instance, a Bearer object instance, and a Flow object instance. The Link object instance includes: a packet processing action of Decapsulate; the Bearer object instance includes OperationMatch's message processing action, Remark's message processing action, and Charge's message processing action. The Flow object instance may include a message processing action of the Car and a message processing action of the Shaping.
如图15所示,该方法在上述实施例三中的该网关用户面实体根据该对象集中该每个对象对应的报文处理动作,对该报文进行处理,可以包括:As shown in FIG. 15, the method is performed by the gateway user plane entity in the foregoing third embodiment according to the packet processing action corresponding to the object in the object set, and the packet processing may include:
S1501、该网关用户面实体根据第一对象的实例相关联的报文处理动作,对报文进行处理,得到处理后的报文;该处理后的报文包括该第一对象的实例ID,该第一对象为该对象集中的对象。S1501: The gateway user plane entity processes the packet according to the packet processing action associated with the instance of the first object, and obtains the processed packet; the processed packet includes an instance ID of the first object, where The first object is the object in the object set.
S1502、该网关用户面实体根据该第一对象实例的ID确定该对象集中是否具有第二对象,该第二对象为该对象集中该第一对象的下一对象。S1502: The gateway user plane entity determines, according to the ID of the first object instance, whether the object set has a second object, and the second object is a next object of the first object in the object set.
S1503、该对象集中具有该第二对象,该网关用户面实体将该第二对象作为该第一对象。S1503. The object set has the second object, and the gateway user plane entity uses the second object as the first object.
该对象集中具有该第二对象,该网关用户面实体还需继续执行S1501和S1502。The object set has the second object, and the gateway user plane entity further needs to continue to execute S1501 and S1502.
需要说明得是,若该第一对象为该对象集中的第一个对象,且,该第一对象实例的报文处理次数为1,该处理后的报文包括:该第一对象实例的ID。其中,对象实例的报文处理次数可以为该网关用户面实体需根据该对象实例对报文进行处理的次数。It should be noted that, if the first object is the first object in the object set, and the number of times of processing the first object instance is 1, the processed message includes: the ID of the first object instance. . The number of times the packet processing of the object instance is processed may be the number of times the gateway user plane entity needs to process the packet according to the object instance.
若该第一对象为该对象集中的第一个对象,且,该第一对象实例的报文处理次数大于1,该处理后的报文包括:该第一对象实例的ID和计数标签值;该计数标签值可以为预设的整数值。If the first object is the first object in the object set, and the number of packet processing times of the first object instance is greater than 1, the processed message includes: an ID of the first object instance and a count label value; The count tag value can be a preset integer value.
若该第一对象不是该对象集中的第一个对象、该第一对象以及该第一对象之前至少一个对象的实例的报文处理次数为1,该处理后的报文包括:该第一对象实例的ID。If the first object is not the first object in the object set, the first object, and the instance of the at least one object before the first object has a message processing count of 1, the processed message includes: the first object The ID of the instance.
若该第一对象不是该对象集中的第一个对象、该第一对象之前对象的实例的报文处理次数大于1,且,该第一对象实例的报文处理次数为1,该处理后的报文包括:该第一对象实例的ID和计数标签值,该计数标签值为处理前报文中的计数标签值。If the first object is not the first object in the object set, the number of packet processing times of the object before the first object is greater than 1, and the number of times of processing the first object instance is 1, the processed object The message includes: an ID of the first object instance and a count label value, and the count label value is a count label value in the pre-process message.
若该第一对象不是该对象集中的第一个对象、该第一对象之前对象的实例的报文处理次数为1,且,该第一对象实例的报文处理次数大于1,该处理 后的报文包括:该第一对象实例的ID和计数标签值;该计数标签值可以为预设的整数值。If the first object is not the first object in the object set, the number of times of processing the object of the object before the first object is 1, and the number of times of processing the first object instance is greater than 1, the process is The subsequent message includes: an ID of the first object instance and a count tag value; the count tag value may be a preset integer value.
若该第一对象不是该对象集中的第一个对象、该第一对象之前对象的实例的报文处理次数大于1,且,该第一对象实例的报文处理次数大于1,该处理后的报文包括:该第一对象实例的ID和计数标签值;该计数标签值可以根据处理前报文中的计数标签更新获得。If the first object is not the first object in the object set, the number of times of processing the object of the object before the first object is greater than 1, and the number of times of processing the first object instance is greater than 1, the processed The message includes: an ID of the first object instance and a count label value; the count label value can be obtained according to the count label update in the pre-process message.
举例来说,若该第一对象为图16所示的对象集中的第一个对象,如Link对象,则该处理后的报文可以为该网关用户面实体通过执行S1501,根据该Link对象实例的DeCap的报文处理动作处理后的报文。若该网关用户面实体通过执行S1502确定该第一对象为该对象集中的第一个对象,该Link对象实例的报文处理次数为1,则该网关用户实体可通过执行S1501获得处理后的报文包括:第一对象实例的ID,即该Link对象实例的ID。For example, if the first object is the first object in the object set shown in FIG. 16, such as a Link object, the processed message may be S1501 for the gateway user plane entity, according to the Link object instance. The message of DeCap's message processing action is processed. If the gateway user plane entity determines that the first object is the first object in the object set by executing S1502, and the number of packet processing times of the Link object instance is 1, the gateway user entity may obtain the processed report by executing S1501. The text includes: the ID of the first object instance, that is, the ID of the Link object instance.
该网关用户面实体可通过执行S1502,根据该Link对象实例的ID确定该Link对象的下一对象,即Bearer对象,为该第二对象,并依次通过执行S1503、S1501确定该第二对象的实例相关联的报文处理动作为该Bearer对象实例相关联的报文处理动作,即OperationMatch的报文处理动作,并根据该OperationMatch的报文处理动作对报文进行动作匹配,确定Remark报文处理动作,继而根据Remark报文处理动作对报文进行处理,得到处理后的报文。若该Bearer对象不是该对象集中的第一个对象,该Bearer对象实例的报文处理次数大于1,同时,由于该Link对象的实例的报文处理次数为1,则该网关用户面实体可获得处理后的报文可包括:该Bearer对象实例的ID和计数标签值;该计数标签值可为1。需要说明的是,其中,网关用户面实体根据Bearer对象中的OperationMatch的报文处理动作对报文进行动作匹配,可以是根据该报文和预设的报文处理动作快进行匹配中,从而确定需对报文进行处理的报文处理动作。The gateway user plane entity may determine, according to the ID of the Link object instance, the next object of the Link object, that is, the Bearer object, as the second object, and sequentially determine an instance of the second object by executing S1503, S1501. The associated packet processing action is a packet processing action associated with the Bearer object instance, that is, a message processing action of the OperationMatch, and the action is matched according to the message processing action of the OperationMatch, and the Remark message processing action is determined. Then, according to the Remark message processing action, the message is processed to obtain the processed message. If the Bearer object is not the first object in the object set, the number of packets processed by the Bearer object instance is greater than 1, and the number of packets processed by the instance of the Link object is 1, the gateway user plane entity is available. The processed message may include: an ID of the Bearer object instance and a count tag value; the count tag value may be 1. It should be noted that the gateway user plane entity performs an action matching on the packet according to the message processing action of the OperationMatch in the Bearer object, and may perform matching according to the packet and the preset packet processing action, thereby determining The message processing action that needs to process the message.
网关用户面实体继续通过执行S1502,根据该Bearer对象实例的ID确定该Bearer对象的下一对象,即Flow对象,并依次通过执行S1503和S1501根据该Flow对象实例相关联的报文处理动作对报文进行处理,获得处理后的报文。若该Flow对象不是该对象集中的第一个对象,该Flow对象实例的报文处理次数为1。由于该Flow对象之前的对象,如该Bearer对象实例的报文 处理次数大于1,则网关用户面实体可获得处理的报文可包括该Flow对象实例的ID,和计数标签值1。The gateway user plane entity continues to execute the S1502, and determines the next object of the Bearer object, that is, the Flow object, according to the ID of the Bearer object instance, and sequentially performs the message processing action report according to the Flow object instance by executing S1503 and S1501. The text is processed to obtain the processed message. If the Flow object is not the first object in the object set, the number of packets processed by the Flow object instance is 1. Due to the object before the Flow object, such as the message of the Bearer object instance If the number of processing times is greater than 1, the packet that can be processed by the gateway user plane entity may include the ID of the Flow object instance and the count label value 1.
网关用户面实体继续通过执行S1502,根据Flow对象实例的ID确定该该Flow对象的下一对象,即Bearer对象,并依次通过执行S1503和S1501确定Bearer对象实例相关联的报文处理动作为OperationMatch的报文处理动作,并根据OperationMatch的报文处理动作对报文进行动作匹配,确定Charge报文处理动作,继而根据Charge报文处理动作对报文进行处理,得到处理后的报文。若该Bearer对象不是该对象集中的第一个对象,该Bearer对象实例对应的报文处理次数大于1,则该网关用户面实体可获得处理后的报文包括:Bearer对象实例的ID和计数标签值2。The gateway user plane entity continues to perform the S1502, determines the next object of the Flow object according to the ID of the Flow object instance, that is, the Bearer object, and sequentially determines, by executing S1503 and S1501, that the packet processing action associated with the Bearer object instance is OperationMatch. The message processing action is performed, and the action of the message is matched according to the message processing action of OperationMatch, and the action of the tag message is determined, and then the message is processed according to the action of the tag message, and the processed message is obtained. If the Bearer object is not the first object in the object set, and the number of packets processed by the Bearer object instance is greater than 1, the processed message of the gateway user plane entity may include: the ID of the Bearer object instance and the count label. The value is 2.
当网关用户面实体在此执行S1502,根据Bearer对象实例的ID确定该Bearer对象不具有下一对象,则网关用户面实体退出执行该报文处理方法。When the gateway user plane entity executes S1502 here, according to the ID of the Bearer object instance, it is determined that the Bearer object does not have the next object, and the gateway user plane entity exits to execute the packet processing method.
本发明实施例四提供的报文处理方法,通过提供对象集中的一个对象包括一个报文操作对象的一个实例的场景下的多个实现方案,可使得该网关用户面实体对报文处理的精度更好,从而更好地实现多种网关功能在该网关用户面实体的融合,使得新业务的部署更灵活更迅速。The message processing method provided by the fourth embodiment of the present invention can improve the accuracy of the message processing by the gateway user plane entity by providing multiple implementations in a scenario in which an object in the object set includes an instance of a packet operation object. Better, so that the integration of multiple gateway functions in the gateway user plane entity is better realized, making the deployment of new services more flexible and faster.
本发明实施例五还提供一种报文处理方法。可选的,该控制信息包括:模板的指示信息;该模板包括一个动作集,或者,一个对象集;其中,该一个动作集包括:至少一个报文处理动作;该一个对象集包括:至少一个对象,每个对象包括:至少一个报文处理动作。例如,该模板的指示信息可包括:动作集指示信息,或,对象集指示信息。Embodiment 5 of the present invention further provides a packet processing method. Optionally, the control information includes: indication information of the template; the template includes an action set, or a set of objects; wherein the one action set includes: at least one message processing action; the one object set includes: at least one Objects, each object including: at least one message processing action. For example, the indication information of the template may include: action set indication information, or object set indication information.
具体地,该每个模板的指示信息,例如可以通过该每个模板的名称表示。Specifically, the indication information of each template may be represented by, for example, the name of each template.
图17为本发明实施例五提供的一种报文处理方法的流程图。如图17所示,该方法在上述实施例的S303中网关用户面实体根据该控制信息对应的报文处理动作对报文进行处理,可以包括:FIG. 17 is a flowchart of a packet processing method according to Embodiment 5 of the present invention. As shown in FIG. 17, in the S303 of the foregoing embodiment, the gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, and may include:
S1701、该网关用户面实体根据模板的指示信息确定该模板。S1701: The gateway user plane entity determines the template according to the indication information of the template.
该网关用户面实体例如可以是根据该模板的指示信息中该模板的标识确定该模板。The gateway user plane entity may, for example, determine the template according to the identifier of the template in the indication information of the template.
S1702、该网关用户面实体根据该模板对应的报文处理动作,对该报文进行处理。 S1702: The gateway user plane entity processes the packet according to the packet processing action corresponding to the template.
该模板中的报文处理动作可以包括:该模板包括的动作集或对象集任一所包括的报文处理动作。The message processing action in the template may include: a message processing action included in any one of the action set or the object set included in the template.
举例来说,若该报文对应的UE接入类型为3GPP接入,则该模板可以为服务网关的用户面实体模板(Service GataWay User Template,简称S-GW-U-Temp)。该S-GW-U-Temp模板例如可包括:ReceivePacket、Decapsulate、Car和Encapsulate四个报文处理动作组成的动作集。For example, if the UE access type corresponding to the packet is 3GPP access, the template may be a Service GataWay User Template (S-GW-U-Temp). The S-GW-U-Temp template may include, for example, an action set consisting of four packet processing actions: ReceivePacket, Decapsulate, Car, and Encapsulate.
可选的,在上述任一实施例所述的方法的基础上,上述S302中该网关控制面实体将该控制信息发送至网关用户面实体,可以包括:Optionally, on the basis of the foregoing method, the gateway control plane entity sends the control information to the gateway user plane entity in the foregoing S302, which may include:
该网关控制面实体通过预设的传输隧道将该控制信息发送至该网关用户面实体。The gateway control plane entity sends the control information to the gateway user plane entity through a preset transmission tunnel.
具体地,该网关控制面实体可以是根据该传输通道对应的协议对该控制信息进行处理后并通过该传输通道进行发送。其中,该传输隧道例如可以为通用分组无线服务隧道协议(General Packet Radio Service Tunnel Protocol,简称GTP)隧道,该传输隧道对应的协议可以为GTP。因此,该网关控制面实体可以根据GTP对该控制信息进行处理并通过GTP隧道发送至该网关用户面实体。该网关控制面实体例如可以是采用GTP隧道通过S18接口向网关用户面实体发送该控制信息。Specifically, the gateway control plane entity may process the control information according to a protocol corresponding to the transmission channel, and send the control information through the transmission channel. The transmission tunnel may be, for example, a General Packet Radio Service Tunnel Protocol (GTP) tunnel, and the protocol corresponding to the transmission tunnel may be GTP. Therefore, the gateway control plane entity can process the control information according to the GTP and send the GTP tunnel to the gateway user plane entity. The gateway control plane entity may, for example, use a GTP tunnel to send the control information to the gateway user plane entity through the S18 interface.
本发明实施例五提供的报文处理方法中,由于该控制信息包括每个模板的指示信息,而每个模板可包括至少一个报文处理动作组成的一个动作集,或者,至少一个对象组成的一个对象集,也就是说,网关控制面实体还可以是将一个动作集或是一个对象集作为一个动作模板,通过模板的指示信息发送至网关用户面实体,从而提供多种控制信息的指示方式,保证网关控制面实体对网关用户面实体的灵活控制,更好地保证网关用户面实体的网关功能的兼容性和扩展性,且大大超越了传统网关的网关功能的兼容性和扩展性。In the packet processing method provided in the fifth embodiment of the present invention, the control information includes indication information of each template, and each template may include an action set composed of at least one message processing action, or at least one object. An object set, that is, the gateway control plane entity may also use an action set or an object set as an action template, and send the indication information of the template to the gateway user plane entity, thereby providing various indication manners of control information. To ensure the flexible control of the gateway user plane entity to the gateway user plane entity, to better ensure the compatibility and scalability of the gateway function of the gateway user plane entity, and greatly exceed the compatibility and scalability of the gateway function of the traditional gateway.
本发明实施例六还提供一种网关用户面实体。图18为本发明实施例六提供的一种网关用户面实体的结构示意图。如图18所示,该网关用户面实体1800可包括:接收模块1801、确定模块1802和处理模块1803。Embodiment 6 of the present invention further provides a gateway user plane entity. FIG. 18 is a schematic structural diagram of a gateway user plane entity according to Embodiment 6 of the present invention. As shown in FIG. 18, the gateway user plane entity 1800 can include a receiving module 1801, a determining module 1802, and a processing module 1803.
其中,接收模块1801可通过接收器实现,确定模块1802和处理模块1803可通过处理器实现。其中,处理器可以为中央处理器(Central Processing Unit,简称CPU)或其他通用处理器、数字信号处理器(Digital Signal  Processing,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)、现场可编程门阵列(Field-Programmable Gate Array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The receiving module 1801 can be implemented by a receiver, and the determining module 1802 and the processing module 1803 can be implemented by a processor. The processor can be a central processing unit (CPU) or other general purpose processor, digital signal processor (Digital Signal) Processing, referred to as DSP), Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware Components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
接收模块1801,用于接收网关控制面实体发送的控制信息;The receiving module 1801 is configured to receive control information sent by the gateway control plane entity.
确定模块1802,用于根据该控制信息确定该控制信息对应的报文处理动作;a determining module 1802, configured to determine, according to the control information, a message processing action corresponding to the control information;
处理模块1803,用于根据该控制信息对应的报文处理动作,对报文进行处理。The processing module 1803 is configured to process the packet according to the packet processing action corresponding to the control information.
可选的,该控制信息包括动作集指示信息,该动作集包括至少一个报文处理动作;该动作集指示信息包括所述至少一个报文处理动作的标识。Optionally, the control information includes action set indication information, where the action set includes at least one message processing action; and the action set indication information includes an identifier of the at least one message processing action.
确定模块1802,还用于根据该动作集指示信息确定该至少一个报文处理动作。The determining module 1802 is further configured to determine the at least one message processing action according to the action set indication information.
处理模块1803,还用于根据该至少一个报文处理动作对报文进行处理。The processing module 1803 is further configured to process the packet according to the at least one packet processing action.
可选的,该控制信息还包括顺序指示信息;该顺序指示信息用于指示该至少一个报文处理动作的执行顺序。Optionally, the control information further includes sequence indication information, where the sequence indication information is used to indicate an execution order of the at least one message processing action.
可选的,该控制信息还包括对象集指示信息,该对象集指示信息包括至少一个对象的标识,其中,每个对象与该报文处理动作中的至少一个报文处理动作相关联。Optionally, the control information further includes object set indication information, where the object set indication information includes an identifier of the at least one object, wherein each object is associated with at least one message processing action in the message processing action.
可选的,该对象为业务功能对象,该业务功能对象与对应于预设网关功能的报文处理动作相关联。Optionally, the object is a service function object, and the service function object is associated with a message processing action corresponding to a preset gateway function.
可选的,该对象为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与该报文处理动作中的至少一个报文处理动作相关联;该报文包括计数标签值;Optionally, the object is a message operation object, and each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action; the message includes a count label value;
确定模块1802,还用于根据该计数标签值,确定该对象集中一个对象的实例相关联的报文处理动作。The determining module 1802 is further configured to determine, according to the counting tag value, a message processing action associated with an instance of an object in the object set.
处理模块1803,还用于根据该确定的报文处理动作,对报文进行处理,得到处理后的报文;该处理后的报文中的计数标签值为更新后的计数标签值进行更新。 The processing module 1803 is further configured to process the packet according to the determined packet processing action to obtain the processed packet; and the counted label value in the processed packet is updated by updating the counted label value.
确定模块1802,还用于确定该更新后的计数标签值是否具有对应的对象实例。The determining module 1802 is further configured to determine whether the updated count tag value has a corresponding object instance.
处理模块1803,还用于若该更新后的计数标签值具有对应的对象实例,根据该更新后的计数标签值对应的对象实例相关联的报文处理动作对报文进行处理。The processing module 1803 is further configured to: if the updated counter tag value has a corresponding object instance, process the packet according to the packet processing action associated with the object instance corresponding to the updated counter tag value.
可选的,该对象为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与该报文处理动作中的至少一个报文处理动作相关联。Optionally, the object is a message operation object, and each message operation object includes an instance, wherein each instance is associated with at least one message processing action in the message processing action.
处理模块1803,还用于根据该对象集中第一对象的实例相关联的报文处理动作,对报文进行处理,得到处理后的报文,该处理后的报文包括该第一对象的实例ID,该第一对象为该对象集中的对象。The processing module 1803 is further configured to process the packet according to the packet processing action associated with the instance of the first object in the object set, and obtain the processed packet, where the processed packet includes an instance of the first object. ID, the first object is an object in the object set.
确定模块1802,还用于根据该第一对象实例的ID确定该对象集中是否具有第二对象;该第二对象为该对象集中该第一对象的下一对象;若该对象集中具有该第二对象,将该第二对象作为该第一对象进行处理。The determining module 1802 is further configured to determine, according to the ID of the first object instance, whether the object set has a second object; the second object is a next object of the first object in the object set; if the object set has the second object The object, the second object is processed as the first object.
本发明实施例六提供的网关用户面实体,可用于执行如上任一实施例所述的网关用户面实体执行的报文处理方法,有益效果与上述实施例类似,在此不再赘述。The gateway user plane entity provided in Embodiment 6 of the present invention can be used to perform the packet processing method performed by the gateway user plane entity according to any of the foregoing embodiments. The beneficial effects are similar to those in the foregoing embodiment, and details are not described herein again.
本发明实施例七还提供一种网关控制面实体。图19为本发明实施例七提供的一种网关控制面实体的结构示意图。如图19所示,该网关控制面实体1900可包括:确定模块1901和发送模块1902。Embodiment 7 of the present invention further provides a gateway control plane entity. FIG. 19 is a schematic structural diagram of a gateway control plane entity according to Embodiment 7 of the present invention. As shown in FIG. 19, the gateway control plane entity 1900 can include a determining module 1901 and a sending module 1902.
其中,确定模块1901可通过处理器实现,发送模块1902可通过发射器实现。处理器可以为CPU或其他通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The determining module 1901 can be implemented by a processor, and the sending module 1902 can be implemented by a transmitter. The processor can be a CPU or other general purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
确定模块1901,用于根据UE的类型信息确定控制信息,该控制信息用于指示网关用户面实体确定所述控制信息对应的报文处理动作;a determining module 1901, configured to determine control information according to the type information of the UE, where the control information is used to instruct the gateway user plane entity to determine a packet processing action corresponding to the control information;
发送模块1902,用于将该控制信息发送至该网关用户面实体。The sending module 1902 is configured to send the control information to the gateway user plane entity.
可选的,该控制信息包括:动作集指示信息;该动作集的指示信息,用于指示该网关用户面实体确定该动作集,该动作集包括至少一个报文处理动作;该动作集指示信息包括该至少一个报文处理动作的标识。Optionally, the control information includes: action set indication information; the action set indication information is used to indicate that the gateway user plane entity determines the action set, and the action set includes at least one message processing action; the action set indication information An identifier including the at least one message processing action.
可选的,该控制信息还包括:顺序指示信息;该顺序指示信息用于指示 该至少一个报文处理动作的执行顺序。Optionally, the control information further includes: sequence indication information; the sequence indication information is used to indicate The execution order of the at least one message processing action.
可选的,该控制信息还包括:对象集指示信息;该对象集包括:至少一个对象;其中,每个对象与该报文处理动作中的至少一个报文处理动作相关联;该对象集指示信息包括该至少一个对象的标识。Optionally, the control information further includes: object set indication information; the object set includes: at least one object; wherein each object is associated with at least one message processing action in the message processing action; the object set indication The information includes an identification of the at least one object.
可选的,该UE的类型信息包括:UE的接入类型,和,UE的业务功能类型中的至少一项。Optionally, the type information of the UE includes: at least one of an access type of the UE, and a service function type of the UE.
本发明实施例七提供的网关控制面实体,可用于执行如上任一实施例所述的网关控制面实体执行的报文处理方法,有益效果与上述实施例类似,在此不再赘述。The gateway control plane entity provided in Embodiment 7 of the present invention can be used to perform the packet processing method performed by the gateway control plane entity in any of the foregoing embodiments, and the beneficial effects are similar to those in the foregoing embodiment, and details are not described herein again.
本发明实施例八还提供一种网关。图20为本发明实施例八提供的一种网关的结构示意图。如图20所示,网关2000可包括:网关用户面实体2001和网关控制面实体2002。Embodiment 8 of the present invention also provides a gateway. FIG. 20 is a schematic structural diagram of a gateway according to Embodiment 8 of the present invention. As shown in FIG. 20, the gateway 2000 may include a gateway user plane entity 2001 and a gateway control plane entity 2002.
其中,网关用户面实体2001与网关控制面实体2002连接;网关用户面实体2001为上实施例所述的任一网关用户面实体;网关控制面实体2002为上述实施例所述的任一网关控制面实体The gateway user plane entity 2001 is connected to the gateway control plane entity 2002; the gateway user plane entity 2001 is any gateway user plane entity described in the foregoing embodiment; and the gateway control plane entity 2002 is any gateway control described in the foregoing embodiment. Face entity
本发明实施例八提供的网关,可包括上述实施例提供的网关用户面实体和网关控制面实体,可用于执行如上任一实施例所述的报文处理方法,有益效果与上述实施例类似,在此不再赘述。The gateway provided in Embodiment 8 of the present invention may include the gateway user plane entity and the gateway control plane entity provided in the foregoing embodiment, and may be used to perform the packet processing method according to any of the foregoing embodiments, and the beneficial effects are similar to the foregoing embodiment. I will not repeat them here.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (26)

  1. 一种报文处理方法,其特征在于,包括:A packet processing method, comprising:
    网关用户面实体接收网关控制面实体发送的控制信息;The gateway user plane entity receives the control information sent by the gateway control plane entity;
    所述网关用户面实体根据所述控制信息确定所述控制信息对应的报文处理动作;Determining, by the gateway user plane entity, a packet processing action corresponding to the control information according to the control information;
    所述网关用户面实体根据所述控制信息对应的报文处理动作,对报文进行处理。The gateway user plane entity processes the packet according to the packet processing action corresponding to the control information.
  2. 根据权利要求1所述的方法,其特征在于,所述控制信息包括动作集指示信息,所述动作集包括至少一个报文处理动作;所述动作集指示信息包括所述至少一个报文处理动作的标识;The method according to claim 1, wherein the control information comprises action set indication information, the action set includes at least one message processing action; and the action set indication information comprises the at least one message processing action Identification
    所述网关用户面实体根据所述控制信息对应的报文处理动作对报文进行处理,包括:The gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, including:
    所述网关用户面实体根据所述动作集指示信息确定所述至少一个报文处理动作,并根据所述至少一个报文处理动作对报文进行处理。The gateway user plane entity determines the at least one packet processing action according to the action set indication information, and processes the packet according to the at least one packet processing action.
  3. 根据权利要求2所述的方法,其特征在于,所述控制信息还包括顺序指示信息;所述顺序指示信息用于指示所述至少一个报文处理动作的执行顺序。The method according to claim 2, wherein the control information further comprises sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述控制信息还包括对象集指示信息,所述对象集指示信息包括至少一个对象的标识,其中,每个对象与所述报文处理动作中的至少一个报文处理动作相关联。The method according to any one of claims 1 to 3, wherein the control information further comprises object set indication information, the object set indication information comprising an identification of at least one object, wherein each object and At least one message processing action in the message processing action is associated.
  5. 根据权利要求4所述的方法,其特征在于,所述对象为业务功能对象,所述业务功能对象与对应于预设网关功能的报文处理动作相关联。The method according to claim 4, wherein the object is a business function object, and the business function object is associated with a message processing action corresponding to a preset gateway function.
  6. 根据权利要求4所述的方法,其特征在于,所述对象为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与所述报文处理动作中的至少一个报文处理动作相关联;所述报文包括计数标签值;The method according to claim 4, wherein the object is a message operation object, and each message operation object includes an instance, wherein each instance and at least one of the message processing actions The processing action is associated; the message includes a count tag value;
    所述网关用户面实体根据所述控制信息对应的报文处理动作,对报文进行处理,包括:The gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, including:
    所述网关用户面实体根据所述计数标签值,确定所述对象集中一个对象的实例相关联的报文处理动作;Determining, by the gateway user plane entity, a message processing action associated with an instance of an object in the object set according to the counting tag value;
    所述网关用户面实体根据所述确定的报文处理动作,对报文进行处理, 得到处理后的报文;所述处理后的报文中的计数标签值为更新后的计数标签值进行更新;The gateway user plane entity processes the packet according to the determined packet processing action. Obtaining a processed message; the counted label value in the processed message is updated by updating the counted tag value;
    所述网关用户面实体确定所述更新后的计数标签值是否具有对应的对象实例;Determining, by the gateway user plane entity, whether the updated count tag value has a corresponding object instance;
    若所述更新后的计数标签值具有对应的对象实例,所述用户面实体根据所述更新后的计数标签值对应的对象实例相关联的报文处理动作对报文进行处理。If the updated count tag value has a corresponding object instance, the user plane entity processes the message according to the message processing action associated with the object instance corresponding to the updated count tag value.
  7. 根据权利要求4所述的方法,其特征在于,所述对象为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与所述报文处理动作中的至少一个报文处理动作相关联;所述网关用户面实体根据所述控制信息对应的报文处理动作,对报文进行处理,包括:The method according to claim 4, wherein the object is a message operation object, and each message operation object includes an instance, wherein each instance and at least one of the message processing actions The processing action is associated; the gateway user plane entity processes the packet according to the packet processing action corresponding to the control information, including:
    所述网关用户面实体根据所述对象集中第一对象的实例相关联的报文处理动作,对报文进行处理,得到处理后的报文,所述处理后的报文包括所述第一对象的实例标识ID,所述第一对象为所述对象集中的对象;The gateway user plane entity processes the packet according to the packet processing action associated with the instance of the first object in the object set, and obtains the processed packet, where the processed packet includes the first object An instance identifier ID, the first object being an object in the object set;
    所述网关用户面实体根据所述第一对象实例的ID确定所述对象集中是否具有第二对象,所述第二对象为所述对象集中所述第一对象的下一对象;Determining, by the gateway user plane entity, whether the object set has a second object according to an ID of the first object instance, and the second object is a next object of the first object in the object set;
    所述对象集中具有所述第二对象,所述网关用户面实体将所述第二对象作为所述第一对象进行处理。The object set has the second object, and the gateway user plane entity processes the second object as the first object.
  8. 根据权利要求7所述的方法,其特征在于,The method of claim 7 wherein:
    若所述第一对象为所述对象集中的第一个对象,所述第一对象的实例对应的报文处理次数为1,则所述处理后的报文包括所述第一个对象的实例ID;If the first object is the first object in the object set, and the number of message processing times corresponding to the instance of the first object is 1, the processed message includes an instance of the first object. ID;
    若所述第一对象为所述对象集中的第一个对象,所述第一对象的实例对应的报文处理次数大于1,则所述处理后的报文包括所述第一个对象的实例ID和计数标签值,且所述计数标签值为预设的整数值;If the first object is the first object in the object set, and the number of message processing times corresponding to the instance of the first object is greater than 1, the processed message includes an instance of the first object. ID and count tag values, and the count tag value is a preset integer value;
    若所述第一对象不是所述对象集中的第一个对象,且所述第一对象之前对象的实例对应的报文处理次数大于1,所述第一对象的实例对应的报文处理次数为1,则所述处理后的报文包括:所述第一对象的实例ID和计数标签值,所述计数标签值与处理前报文中的计数标签值相同;If the first object is not the first object in the object set, and the number of times of processing the packet corresponding to the instance of the object before the first object is greater than 1, the number of times of processing the packet corresponding to the instance of the first object is The processed packet includes: an instance ID and a count label value of the first object, where the count label value is the same as a count label value in the pre-process message;
    若所述第一对象不是所述对象集中的第一个对象、所述第一对象之前对象的实例的报文处理次数均为1,且,所述第一对象实例的报文处理次数大于1,所述处理后的报文包括:所述第一对象实例的ID和计数标签值;所述 计数标签值可以为预设的整数值。If the first object is not the first object in the object set, the number of packet processing times of the object of the first object is 1, and the number of times of processing the first object instance is greater than 1 The processed message includes: an ID of the first object instance and a count tag value; The count tag value can be a preset integer value.
    若所述第一对象不是所述对象集中的第一个对象、所述第一对象之前对象的实例的报文处理次数大于1,且,所述第一对象实例的报文处理次数大于1,所述处理后的报文包括:所述第一对象实例的ID和计数标签值;所述计数标签值为根据处理前报文中的计数标签值更新获得。If the first object is not the first object in the object set, and the number of packet processing times of the object of the first object is greater than 1, and the number of times of processing the first object instance is greater than 1, The processed message includes: an ID of the first object instance and a count tag value; and the count tag value is obtained according to the update of the count tag value in the pre-process message.
  9. 一种报文处理方法,其特征在于,包括:A packet processing method, comprising:
    网关控制面实体根据用户设备UE的类型信息确定控制信息,所述控制信息用于指示网关用户面实体确定所述控制信息对应的报文处理动作;The gateway control plane entity determines, according to the type information of the user equipment UE, the control information, where the control information is used to instruct the gateway user plane entity to determine a packet processing action corresponding to the control information;
    所述网关控制面实体将所述控制信息发送至所述网关用户面实体。The gateway control plane entity sends the control information to the gateway user plane entity.
  10. 根据权利要求9所述的方法,其特征在于,所述控制信息包括:动作集指示信息;The method according to claim 9, wherein the control information comprises: action set indication information;
    所述动作集的指示信息,用于指示所述网关用户面实体确定所述动作集,所述动作集包括至少一个报文处理动作;所述动作集指示信息包括所述至少一个报文处理动作的标识。The action set indication information is used to instruct the gateway user plane entity to determine the action set, the action set includes at least one message processing action; and the action set indication information includes the at least one message processing action Logo.
  11. 根据权利要求10所述的方法,其特征在于,所述控制信息还包括:顺序指示信息;所述顺序指示信息用于指示所述至少一个报文处理动作的执行顺序。The method according to claim 10, wherein the control information further comprises: sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action.
  12. 根据权利要求9-11中任一项所述的方法,其特征在于,所述控制信息还包括:对象集指示信息;所述对象集包括:至少一个对象;其中,每个对象与所述报文处理动作中的至少一个报文处理动作相关联;所述对象集指示信息包括所述至少一个对象的标识。The method according to any one of claims 9-11, wherein the control information further comprises: object set indication information; the object set comprises: at least one object; wherein each object and the newspaper At least one message processing action in the text processing action is associated; the object set indication information includes an identification of the at least one object.
  13. 根据权利要求9-12中任一项所述的方法,其特征在于,所述UE的类型信息包括:所述UE的接入类型,和,所述UE的业务功能类型中的至少一项。The method according to any one of claims 9 to 12, wherein the type information of the UE comprises: at least one of an access type of the UE, and a service function type of the UE.
  14. 一种网关用户面实体,其特征在于,包括:A gateway user plane entity, comprising:
    接收模块,用于接收网关控制面实体发送的控制信息;a receiving module, configured to receive control information sent by a gateway control plane entity;
    确定模块,用于根据所述控制信息确定所述控制信息对应的报文处理动作;a determining module, configured to determine, according to the control information, a message processing action corresponding to the control information;
    处理模块,用于根据所述控制信息对应的报文处理动作,对报文进行处理。The processing module is configured to process the packet according to the packet processing action corresponding to the control information.
  15. 根据权利要求14所述的网关用户面实体,其特征在于,所述控制信 息包括动作集指示信息,所述动作集包括至少一个报文处理动作;所述动作集指示信息包括所述至少一个报文处理动作的标识;The gateway user plane entity of claim 14 wherein said control letter The action set includes action set indication information, the action set includes at least one message processing action; and the action set indication information includes an identifier of the at least one message processing action;
    所述确定模块,还用于根据所述动作集指示信息确定所述至少一个报文处理动作;The determining module is further configured to determine, according to the action set indication information, the at least one message processing action;
    所述处理模块,还用于根据所述至少一个报文处理动作对报文进行处理。The processing module is further configured to process the packet according to the at least one packet processing action.
  16. 根据权利要求15所述的网关用户面实体,其特征在于,所述控制信息还包括顺序指示信息;所述顺序指示信息用于指示所述至少一个报文处理动作的执行顺序。The gateway user plane entity according to claim 15, wherein the control information further comprises sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action.
  17. 根据权利要求14-16中任一项所述的网关用户面实体,其特征在于,所述控制信息还包括对象集指示信息,所述对象集指示信息包括至少一个对象的标识,其中,每个对象与所述报文处理动作中的至少一个报文处理动作相关联。The gateway user plane entity according to any one of claims 14-16, wherein the control information further comprises object set indication information, the object set indication information comprising an identifier of at least one object, wherein each The object is associated with at least one message processing action of the message processing action.
  18. 根据权利要求17所述的网关用户面实体,其特征在于,所述对象为业务功能对象,所述业务功能对象与对应于预设网关功能的报文处理动作相关联。The gateway user plane entity according to claim 17, wherein the object is a service function object, and the service function object is associated with a message processing action corresponding to a preset gateway function.
  19. 根据权利要求17所述的网关用户面实体,其特征在于,所述对象为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与所述报文处理动作中的至少一个报文处理动作相关联;所述报文包括计数标签值;The gateway user plane entity according to claim 17, wherein the object is a message operation object, and each message operation object includes an instance, wherein each instance and at least one of the message processing actions A message processing action is associated; the message includes a count tag value;
    所述确定模块,还用于根据所述计数标签值,确定所述对象集中一个对象的实例相关联的报文处理动作;The determining module is further configured to determine, according to the counting tag value, a message processing action associated with an instance of an object in the object set;
    所述处理模块,还用于根据所述确定的报文处理动作,对报文进行处理,得到处理后的报文;所述处理后的报文中的计数标签值为更新后的计数标签值进行更新;The processing module is further configured to: process the packet according to the determined packet processing action, to obtain a processed packet; and the counted label value in the processed packet is an updated count label value. Update;
    所述确定模块,还用于确定所述更新后的计数标签值是否具有对应的对象实例;The determining module is further configured to determine whether the updated count tag value has a corresponding object instance;
    所述处理模块,还用于若所述更新后的计数标签值具有对应的对象实例,根据所述更新后的计数标签值对应的对象实例相关联的报文处理动作对报文进行处理。The processing module is further configured to: if the updated count tag value has a corresponding object instance, process the message according to the message processing action associated with the object instance corresponding to the updated count tag value.
  20. 根据权利要求17所述的网关用户面实体,其特征在于,所述对象为报文操作对象,每个报文操作对象包括一个实例,其中,每个实例与所述报文处理动作中的至少一个报文处理动作相关联; The gateway user plane entity according to claim 17, wherein the object is a message operation object, and each message operation object includes an instance, wherein each instance and at least one of the message processing actions A message processing action is associated;
    所述处理模块,还用于根据所述对象集中第一对象的实例相关联的报文处理动作,对报文进行处理,得到处理后的报文,所述处理后的报文包括所述第一对象的实例标识ID,所述第一对象为所述对象集中的对象;The processing module is further configured to: process the packet according to the packet processing action associated with the instance of the first object in the object set, to obtain the processed packet, where the processed packet includes the first An instance identifier of an object, the first object being an object in the object set;
    所述确定模块,还用于根据所述第一对象实例的ID确定所述对象集中是否具有第二对象;所述第二对象为所述对象集中所述第一对象的下一对象;若所述对象集中具有所述第二对象,将所述第二对象作为所述第一对象进行处理。The determining module is further configured to determine, according to an ID of the first object instance, whether the object set has a second object; the second object is a next object of the first object in the object set; The object set has the second object, and the second object is processed as the first object.
  21. 一种网关控制面实体,其特征在于,包括:A gateway control plane entity, comprising:
    确定模块,用于根据用户设备UE的类型信息确定控制信息,所述控制信息用于指示网关用户面实体确定所述控制信息对应的报文处理动作;a determining module, configured to determine control information according to the type information of the user equipment UE, where the control information is used to instruct the gateway user plane entity to determine a message processing action corresponding to the control information;
    发送模块,用于将所述控制信息发送至所述网关用户面实体。And a sending module, configured to send the control information to the gateway user plane entity.
  22. 根据权利要求21所述的网关控制面实体,其特征在于,所述控制信息包括:动作集指示信息;所述动作集的指示信息,用于指示所述网关用户面实体确定所述动作集,所述动作集包括至少一个报文处理动作;所述动作集指示信息包括所述至少一个报文处理动作的标识。The gateway control plane entity according to claim 21, wherein the control information comprises: action set indication information; and the action set indication information is used to instruct the gateway user plane entity to determine the action set, The action set includes at least one message processing action; the action set indication information includes an identifier of the at least one message processing action.
  23. 根据权利要求22所述的网关控制面实体,其特征在于,所述控制信息还包括:顺序指示信息;所述顺序指示信息用于指示所述至少一个报文处理动作的执行顺序。The gateway control plane entity according to claim 22, wherein the control information further comprises: sequence indication information; the sequence indication information is used to indicate an execution order of the at least one message processing action.
  24. 根据权利要求21-23中任一项所述的网关控制面实体,其特征在于,所述控制信息还包括:对象集指示信息;所述对象集包括:至少一个对象;其中,每个对象与所述报文处理动作中的至少一个报文处理动作相关联;所述对象集指示信息包括所述至少一个对象的标识。The gateway control plane entity according to any one of claims 21 to 23, wherein the control information further comprises: object set indication information; the object set includes: at least one object; wherein each object and At least one message processing action in the message processing action is associated; the object set indication information includes an identifier of the at least one object.
  25. 根据权利要求24所述的网关控制面实体,其特征在于,所述UE的类型信息包括:所述UE的接入类型,和,所述UE的业务功能类型中的至少一项。The gateway control plane entity according to claim 24, wherein the type information of the UE comprises: at least one of an access type of the UE, and a service function type of the UE.
  26. 一种网关,其特征在于,包括:网关用户面实体和网关控制面实体;其中,所述网关用户面实体与所述网关控制面实体连接;所述网关用户面实体为上述权利要求14-20中任一项所述的网关用户面实体;所述网关控制面实体为上述权利要求21-25中任一项所述的网关控制面实体。 A gateway, comprising: a gateway user plane entity and a gateway control plane entity; wherein the gateway user plane entity is connected to the gateway control plane entity; the gateway user plane entity is the above claims 14-20 The gateway user plane entity according to any one of the preceding claims 21-25, wherein the gateway control plane entity is the gateway control plane entity according to any one of the preceding claims 21-25.
PCT/CN2015/099875 2015-12-30 2015-12-30 Packet-processing method, gateway user plane entity, gateway control plane entity and gateway WO2017113193A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/099875 WO2017113193A1 (en) 2015-12-30 2015-12-30 Packet-processing method, gateway user plane entity, gateway control plane entity and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/099875 WO2017113193A1 (en) 2015-12-30 2015-12-30 Packet-processing method, gateway user plane entity, gateway control plane entity and gateway

Publications (1)

Publication Number Publication Date
WO2017113193A1 true WO2017113193A1 (en) 2017-07-06

Family

ID=59224108

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099875 WO2017113193A1 (en) 2015-12-30 2015-12-30 Packet-processing method, gateway user plane entity, gateway control plane entity and gateway

Country Status (1)

Country Link
WO (1) WO2017113193A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013179160A2 (en) * 2012-05-31 2013-12-05 Telefonaktiebolaget L M Ericsson (Publ) Pooled transport and control functions in a 3gpp lte network
CN103916453A (en) * 2012-12-31 2014-07-09 瞻博网络公司 Dynamic Network Device Processing Using External Components
CN105071976A (en) * 2015-09-08 2015-11-18 安一恒通(北京)科技有限公司 Data transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013179160A2 (en) * 2012-05-31 2013-12-05 Telefonaktiebolaget L M Ericsson (Publ) Pooled transport and control functions in a 3gpp lte network
CN103916453A (en) * 2012-12-31 2014-07-09 瞻博网络公司 Dynamic Network Device Processing Using External Components
CN105071976A (en) * 2015-09-08 2015-11-18 安一恒通(北京)科技有限公司 Data transmission method and device

Similar Documents

Publication Publication Date Title
US11588656B2 (en) Selecting a user plane function based on a device type received by a session management function
US20220191667A1 (en) Traffic steering at the service layer
CN107925620B (en) MTC service selection method in (S) GI-LAN
KR102455397B1 (en) Small data usage enablement in 3gpp networks
CN109792788A (en) The method and apparatus that data for being related to tunnel within a wireless communication network are transmitted
CN104756545B (en) System and method for SAMOG bearer managements
JP2021510467A (en) Service performance monitoring and reporting
CN112913212A (en) Control of user plane functions with control plane-user plane separation
CN102056227B (en) Donor evolved node B, relay node and communication method thereof
CN108574667B (en) Service flow control method and device
US20130188491A1 (en) Uplink Traffic Separation in an Edge Node of a Communication Network
US11602010B2 (en) Open control plane for mobile networks
EP3288325B1 (en) Service chain policy making method and device
WO2019210947A1 (en) Systems, network functions and methods therein for enabling a determination of information associated with a user plane connection in a communications network
WO2017148419A1 (en) Data transmission method and server
WO2014186935A1 (en) Data transmission method, device and system
US11777806B2 (en) Methods, system, UE, PGW-U and MME for managing traffic differentiation
WO2011098025A1 (en) Communication system and service policy information association method
CN109787799B (en) Quality of service (QoS) control method and equipment
WO2017113193A1 (en) Packet-processing method, gateway user plane entity, gateway control plane entity and gateway
US20190208379A1 (en) Control plane user plane correlation function
US11425173B2 (en) Methods and nodes supporting lawful intercept
WO2023006031A1 (en) Method and apparatus for charging
WO2022165857A1 (en) Communication method and device and computer readable storage medium
EP3340532B1 (en) Method, device and system for processing service

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: 15911822

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: 15911822

Country of ref document: EP

Kind code of ref document: A1