WO2018126692A1 - Method and apparatus for controlling data transmission - Google Patents

Method and apparatus for controlling data transmission Download PDF

Info

Publication number
WO2018126692A1
WO2018126692A1 PCT/CN2017/097399 CN2017097399W WO2018126692A1 WO 2018126692 A1 WO2018126692 A1 WO 2018126692A1 CN 2017097399 W CN2017097399 W CN 2017097399W WO 2018126692 A1 WO2018126692 A1 WO 2018126692A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
information
matching
data packet
service
Prior art date
Application number
PCT/CN2017/097399
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 华为技术有限公司
Publication of WO2018126692A1 publication Critical patent/WO2018126692A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling data transmission.
  • Wireless networks are the underlying network architecture, and more and more services are carried over wireless networks. According to the characteristics and requirements of the service, and the scarcity of the radio resources, the behavior of the network is determined.
  • the behavior of the network is defined and implemented by the quality of service (QoS) rules in advance. Scheduling, for example, when you are making a call, someone starts downloading a file. Due to the scarcity of wireless resources, downloading a file will preempt the communication resources of your communication and cause the phone you are communicating to hang up. It is necessary to ensure that the wireless resource of the voice call has a higher priority of resource usage than downloading a file, so as to ensure that the voice call is normal when the wireless resource is insufficient.
  • QoS quality of service
  • the QoS management method in the EPS wireless system defined in 3GPP is: QoS guarantee of various IP services provided by the EPS system can transmit one or more service data flows (SDF) of its data through one IP service.
  • SDF service data flows
  • the bearer is a logical transmission channel.
  • the QoS guarantee of the IP service is converted into the QoS guarantee of the EPS bearer, or the SDF of a specific QoS is mapped to the EPS bearer of a specific QoS.
  • the bearer is a logical transmission channel.
  • the EPS bearer is a logical transmission channel between a User Equipment (UE) and a PGW (PDN GateWay).
  • UE User Equipment
  • PGW PGW
  • the service data stream and the bearer are associated and mapped by a Traffic Flow Template (TFT), and are associated with the RB-ID in the wireless network, and the Tunnel End Point Identity (TEID) in the core network. Make an association.
  • TFT Traffic Flow Template
  • TEID Tunnel End Point Identity
  • the association of the upstream data stream and the TFT is performed by the UE, and the TFT of the downstream data stream is executed by the PGW.
  • each SDF includes at least one IP Flower Filter. Different services are filtered by TFTs to different bearers according to different QoS requirements, and QoS guarantee is realized.
  • the QoS control is performed inside the fixed network according to the DSCP flag.
  • the 3GPP network sets the DSCP value for each IP packet.
  • the network will copy the DSCP value of the inner IP header to the outer IP header to implement the Reverse QoS.
  • Reflective QoS refers to the same QoS mechanism that the QoS mechanism of the uplink data of the fixed network user UE uses its downlink data.
  • the UE creates a DSCP marking rule according to the received downlink data packet, and sets the DSCP value of the IP packet according to the rule when the IP packet is sent.
  • IP A data packet can be simply referred to as an IP packet.
  • the IP packet is a data unit that supports IP protocol communication transmission; the non-IP packet is a data unit that supports transmission of other protocols in addition to supporting IP protocol communication transmission.
  • the present application provides a data transmission control method and device, and configures a structured packet filter to complete classification and processing of data streams, thereby ensuring structured non-IP data packet QoS guarantee.
  • a method for controlling data transmission may include: the policy control function PCF obtains data category identification information and service information, where the service information may be a matching value corresponding to the data category identifier information, a service QoS requirement, and a UE.
  • the service information may be a matching value corresponding to the data category identifier information, a service QoS requirement, and a UE.
  • One or more of the information such as the identifier, the service identifier, the data network name (DNN) of the service, the interface information of the data network where the service is located (such as NG6 tunnel information), and the session type.
  • the data category identification information is used to classify the data packets to be transmitted.
  • the PCF generates a policy and a charging rule (QoS rule) according to the data category identification information and the service information.
  • the policy and charging rule includes a first data packet filter, and the first data packet filter includes data category identification information and matching conditions, and the matching The condition is used to specify a matching relationship between the data category identification information and the corresponding data to be transmitted.
  • the PCF sends a policy and charging rule containing the first packet filter to the control plane node, and the first packet filter is used by the data transmission device to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the method can be applied to a 5G session establishment or session update scenario.
  • the PCF obtains location information, and sends a QoS rule including data category identification information to the data transmission device through the CPF, and the UE and the UPF according to the corresponding packet filter.
  • the data stream to be transmitted matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine the data stream and the data stream. Matching improves the speed of data stream transmission and ensures QoS guarantee for transmitting non-IP packets.
  • the matching condition includes operation information and matching information
  • the matching information includes data to be compared.
  • the matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the PCF obtains the data category identifier information and the service information, and the PCF receives the data category identifier information and the service information sent by the application function, so that the PCF obtains the data category identifier information and the service information.
  • the PCF obtains the data category identifier information and the service information, where the PCF receives the data category identifier information and the service information sent by the control plane node.
  • the data category identification information and the service information are obtained by the control plane node from the terminal or the unified data management (UDM), so that the PCF obtains the data category identification information and the service information.
  • UDM unified data management
  • the data category identification information includes location information, where the location information is information about a location of one or more fields of the packet header.
  • the PCF generates policy and charging rules according to the data category identification information and the service information, including: the PCF generates a policy and a charging rule according to the location information and the service information.
  • the data category identifier information includes a service quality requirement identifier
  • the service quality requirement identifier is used to indicate the service quality information corresponding to the data packet
  • the PCF generates a policy and a charging rule according to the data category identifier information and the service information.
  • the method includes: the PCF generates a policy and a charging rule according to the service quality requirement identifier and the service information.
  • another method of controlling data transmission may include: controlling a surface node CPF Receiving a policy and charging rule sent by the PCF, the policy and charging rule includes a first data packet filter, the first data packet filter includes data category identification information and a matching condition, and the data category identification information is used to classify the data packet to be transmitted.
  • the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data packet to be transmitted.
  • the CPF sends the data category identification information to the data transmission device, so that the data transmission device transmits the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship, wherein the data transmission device includes a user plane function UPF or a terminal UE.
  • the method can be applied to a 5G session establishment or session update scenario.
  • the PCF obtains location information, and sends a QoS rule including data category identification information to the data transmission device through the CPF, and the UE and the UPF according to the corresponding packet filter.
  • the data stream to be transmitted matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine the data stream and the data stream. Matching improves the speed of data stream transmission and ensures QoS guarantee for transmitting non-IP packets.
  • the CPF sends the data category identifier information to the data transmission device, where the CPF sends a second packet filter to the UPF, where the second packet filter includes the data category identifier information and the matching condition, and the second The packet filter is used by the UPF to allocate the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the CPF sends the data category identifier information to the data transmission apparatus, where the control plane node CPF sends a service quality rule to the UE, where the service quality rule includes a third data packet filter, and the third data packet filter
  • the third data packet filter is used by the UE to allocate the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the CPF sends the data category identifier information to the data transmission apparatus, where the control plane node CPF sends the data category identifier information and the reverse rule to the UE, and the reverse rule is used in the reverse QoS mechanism.
  • the matching condition includes operation information and matching information
  • the matching information includes data to be compared.
  • the matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the first data packet filter, the second data packet filter, and the third data packet filter include at least one packet filtering rule, where each data packet filtering rule includes data category identification information and operation information. And matching information; or, each packet filtering rule includes data category identification information and matching information.
  • the method before the control plane node CPF receives the first packet filter sent by the PCF, the method further includes: the control plane node CPF sends the data category identifier information and the service information to the PCF, so that the PCF generates the policy. And billing rules.
  • the method before the control plane node CPF receives the first packet filter sent by the PCF, the method further includes: the control plane node CPF receives the data category identifier information and the service sent by the unified data management entity (UDM). information.
  • the control plane node CPF sends the data category identification information and the service information to the PCF, so that the PCF generates the policy and the charging rule.
  • the method further includes: the control plane node CPF acquires matching priority information of the second data packet filter and matching priority information of the third data packet filter.
  • the matching priority information is used to specify the order of priority matching between the second packet filters when the UPF filters the data to be transmitted, and the priority between the third packet filters when the UE is required to filter the packets to be transmitted. The order of the matches.
  • Control panel The point CPF sends the matching priority information of the second packet filter to the UPF, and sends the matching priority information of the third packet filter to the UE.
  • the data category identification information includes location information, where the location information is information about a location of one or more fields of the service data packet header.
  • the location information includes at least one of relative location information, location offset information, and location sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a start position of the packet header; a relative location The information is used to indicate that the data to be transmitted is located at the location of the data packet; the positioning sequence format information is used to indicate the order of the data to be transmitted relative to the location of the data packet.
  • the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
  • a method for controlling data transmission may include: acquiring, by a terminal UE, a third data packet filter, where the third data packet filter includes data category identification information and a matching condition, and the matching condition specifies a data category.
  • the UE transmits the to-be-transmitted data packet to the QoS transmission processing mechanism that satisfies the matching relationship according to the third packet filter.
  • the method can be applied to a 5G session establishment or session update scenario.
  • the PCF obtains location information, and sends a QoS rule including data category identification information to the data transmission device through the CPF, and the UE and the UPF according to the corresponding packet filter.
  • the data stream to be transmitted matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine the data stream and the data stream. Matching improves the speed of data stream transmission and ensures QoS guarantee for transmitting non-IP packets.
  • the terminal UE acquires the third data packet filter, including: the UE receives the quality of service rule sent by the control plane node CPF, and the quality of service rule includes a third data packet filter.
  • the terminal UE acquires the third data packet filter, including: the UE receives the data category identifier information and the reverse rule sent by the interface node CPF, and the reverse rule is used in the reverse QoS mechanism.
  • the third packet filter is obtained according to the data category identifier information and the downlink data packet, so as to simplify the signaling overhead caused by the network side (such as CPF) to deliver the Qos rule to the UE.
  • the matching condition includes operation information and matching information
  • the matching information includes data to be compared.
  • the matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the third packet filter includes at least one packet filtering rule, where each packet filtering rule includes data category identification information, operation information, and matching information; or each packet filtering rule includes data. Category identification information and matching information.
  • the method further includes: receiving, by the terminal UE, matching priority information of the third data packet filter, where the matching priority information is used to specify that the UE performs a third data packet filter on the data packet to be transmitted.
  • the order of priority matches between.
  • the terminal transmits the data packet to be transmitted, the terminal matches the data packet to be transmitted according to the matching priority information of the second data packet filter.
  • the data category identification information includes location information, where the location information is information about a location of one or more fields of the service data packet header.
  • the location information includes at least one of relative location information, location offset information, and location sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a start position of the packet header; a relative location The information is used to indicate that the data to be transmitted is located at the location of the data packet; the positioning sequence format information is used to indicate the order of the data to be transmitted relative to the location of the data packet.
  • the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
  • a method for controlling data transmission may include: a user plane function UPF receiving control plane node CPF sends a second data packet filter, and the second data packet filter includes data category identification information and matching.
  • the condition, the data category identifier information is used to classify the data to be transmitted, and the matching condition is used to specify a matching relationship between the data category identifier information and the corresponding data packet to be transmitted.
  • the UPF allocates the to-be-transmitted data packet to the QoS transmission processing mechanism that satisfies the matching relationship according to the second packet filter.
  • the method can be applied to a 5G session establishment or session update scenario.
  • the PCF obtains location information, and sends a QoS rule including data category identification information to the data transmission device through the CPF, and the UE and the UPF according to the corresponding packet filter.
  • the data stream to be transmitted matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine the data stream and the data stream. Matching improves the speed of data stream transmission and ensures QoS guarantee for transmitting non-IP packets.
  • the matching condition includes operation information and matching information
  • the matching information includes data to be compared.
  • the matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the second packet filter includes at least one packet filtering rule, and each packet filtering rule includes data category identification information, operation information, and matching information.
  • the method further includes: the user plane node UPF receives the matching priority information of the second data packet filter, and the matching priority information is used to specify that the UPF performs the second data packet filtering on the data packet to be transmitted. The order of priority matching between the devices.
  • the user plane node UPF transmits the data to be transmitted, the user plane node UPF matches the data packet to be transmitted according to the matching priority information of the second packet filter.
  • the data category identification information includes location information, where the location information is information about a location of one or more fields of the service data packet header.
  • the location information includes at least one of relative location information, location offset information, and positioning sequence format information; the location offset information is used to indicate an offset of the location of the data relative to the start position of the packet header;
  • the indication order data is located at the position of the data packet; the positioning order format information is used to indicate the order in which the data is arranged relative to the location of the data packet.
  • the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
  • a network device PCF has the function of implementing the actual PCF behavior of the method of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more functional modules corresponding to the functions described above.
  • a network device CPF has the function of implementing the actual CPF behavior of the method of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more functional modules corresponding to the functions described above.
  • a terminal device UE has the function of implementing the actual UE behavior in the method of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more functional modules corresponding to the functions described above.
  • a network device UPF has the function of implementing the actual UPF behavior of the method of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more functional modules corresponding to the functions described above.
  • the device can include a receiver, a processor, and a transmitter.
  • the receiver is configured to obtain data category identification information and service information, and the data category identifier information is used to classify the data packet to be transmitted.
  • a processor configured to generate a policy and a charging rule according to the data category identification information and the service information, where the policy and the charging rule include a first data packet filter, where the first data packet filter includes the data category identifier information and the matching condition, and the matching The condition is used to specify a matching relationship between the data category identification information and the corresponding data to be transmitted.
  • a transmitter configured to send, to the control plane node, a policy and a charging rule that includes a first data packet filter, where the first data packet filter is used by the data transmission device to allocate the data to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship.
  • the device can also include a memory.
  • the memory is for coupling with a processor that holds program instructions and data executed by the processor.
  • the matching condition includes operation information and matching information
  • the matching information includes data to be compared.
  • the matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the receiver is specifically configured to receive data category identification information and service information sent by the application function.
  • the receiver is specifically configured to receive data category identifier information and service information sent by the control plane node, where the data category identifier information and the service information are control plane nodes from the user equipment (UE) or unified Obtained at the Data Management (UDM).
  • UE user equipment
  • UDM Data Management
  • the data category identification information includes location information, where the location information is information about a location of one or more fields of the packet header.
  • the processor is further configured to generate a policy and a charging rule according to the location information and the service information.
  • the data category identifier information includes a quality of service requirement identifier
  • the quality of service requirement identifier is used to indicate the quality of service information corresponding to the data packet.
  • the processor is further configured to generate a policy and a charging rule according to the service quality requirement identifier and the service information.
  • another network device CPF includes: a receiver and a transmitter.
  • a receiver configured to receive a policy and charging rule sent by the PCF, where the policy and charging rule includes a first data packet filter, the first data packet filter includes data category identification information and a matching condition, and the data category identifier information is used to treat The data packet is classified, and the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data packet to be transmitted.
  • a transmitter configured to send data category identification information to the data transmission apparatus, so that the data transmission apparatus transmits the data to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship, where the data transmission apparatus includes a user plane function UPF or a terminal UE .
  • the apparatus can also include a memory and a processor.
  • the memory is for coupling with a processor that holds program instructions and data executed by the processor.
  • the transmitter is further configured to send a second data packet filter to the UPF, where the second data packet filter includes data category identifier information and a matching condition, and the second data packet filter is used for the UPF to be configured.
  • the transport packet is allocated to the QoS transport processing mechanism that satisfies the assigned relationship for transmission.
  • the transmitter is further configured to send a QoS rule to the UE, where the QoS rule includes a third packet filter, and the third packet filter includes data category identifier information and a matching condition, where The three-packet filter is used by the UE to allocate the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the transmitter is further configured to send data category identifier information and a reverse rule to the UE, where the reverse rule is used by the UE to obtain, according to the data category identifier information and the downlink data packet, in the reverse QoS mechanism.
  • the third packet filter is used by the UE to allocate the to-be-transmitted data packet to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the first data packet filter, the second data packet filter, and the third data packet filter include at least one packet filtering rule, where each data packet filtering rule includes data category identification information and operation information. And matching information; or, each packet filtering rule includes data category identification information and matching information.
  • the transmitter is further configured to send data category identification information and service information to the PCF, so that the PCF generates a policy and a charging rule.
  • the receiver is further configured to receive data category identifier information and service information sent by a unified data management entity (UDM);
  • UDM unified data management entity
  • the transmitter is further configured to send data category identification information and service information to the PCF, so that the PCF generates a policy and a charging rule.
  • another terminal device UE includes: a processor and a transmitter.
  • the processor is configured to obtain a third data packet filter, where the third data packet filter includes data category identification information and a matching condition, and the matching condition specifies a matching relationship between the data category identifier information and the corresponding data to be transmitted.
  • a transmitter configured to send, according to the third data packet filter, the data packet to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship.
  • the device can also include a memory.
  • the memory is for coupling with a processor that holds program instructions and data executed by the processor.
  • the device further includes a receiver, and the receiver is further configured to receive a quality of service rule sent by the control plane node CPF, where the quality of service rule includes a third data packet filter.
  • the receiver is further configured to receive data category identifier information and a reverse rule sent by the control plane node CPF, where the rule is used by the processor according to the data category information and the downlink data packet in the reverse QoS mechanism. Get the third packet filter.
  • the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the third packet filter includes at least one packet filtering rule, where each packet filtering rule includes data category identification information, operation information, and matching information; or each packet filtering rule includes data. Category identification information and matching information.
  • the receiver is further configured to receive matching priority information of the third data packet filter, where the matching priority information is used to specify that the UE is to transmit the data packet between the third data packet filter.
  • the order of the priority matching; the sender is further configured to: when the user equipment transmits the data packet to be transmitted, match the data packet to be transmitted according to the matching priority information of the second data packet filter.
  • the data category identifier information includes location information, and the location information is service data.
  • the location information includes at least one of relative location information, location offset information, and location sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a start position of the packet header; a relative location
  • the information is used to indicate that the data to be transmitted is located at the location of the data packet; the positioning sequence format information is used to indicate the order of the data to be transmitted relative to the location of the data packet.
  • the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
  • another network device UPF includes: a receiver and a transmitter.
  • a receiver configured to receive a control plane node CPF to send a second data packet filter, the second data packet filter includes data category identification information and a matching condition, and the data category identifier information is used to classify the data to be transmitted, and the matching condition is used to specify The matching relationship between the data category identification information and the corresponding data packet to be transmitted.
  • a transmitter configured to send, according to the second data packet filter, the data packet to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship.
  • the device can also include a memory and a processor.
  • the memory is for coupling with a processor that holds program instructions and data executed by the processor.
  • the matching condition includes operation information and matching information, and the matching information includes data to be compared;
  • the matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the second packet filter includes at least one packet filtering rule, and each packet filtering rule includes data category identification information, operation information, and matching information.
  • the device further includes a processor, and the receiver is further configured to receive matching priority information of the second data packet filter, where the matching priority information is used to specify that the UPF performs the second transmission of the data packet.
  • a processor configured to: when the user plane node UPF transmits the data to be transmitted, match the data packet to be transmitted according to the matching priority information of the second data packet filter.
  • the data category identifier information includes location information, where the location information is information about a location of one or more fields of the service data packet header; the location information includes relative location information, location offset information, and a positioning sequence. At least one of the format information; the position offset information is used to indicate an offset of the location of the data relative to the start position of the packet header; the relative location information is used to indicate that the data is located at the location of the data packet; the positioning sequence format information is used for Indicates the order in which the data is ranked relative to the location of the packet.
  • the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
  • a computer program product comprising instructions for causing a computer to perform the methods of the first to fourth aspects described above when the computer program product is run on a computer.
  • a computer readable storage medium stores a computer program that, when executed by the processor, implements the methods of the first to fourth aspects described above.
  • FIG. 1 is a schematic structural diagram of a data transmission control system according to an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a structured non-IP data packet according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of another structured non-IP data packet according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for controlling data transmission in a session establishment scenario according to an embodiment of the present invention
  • FIG. 6 is a flowchart of a method for controlling data transmission in a session update scenario according to an embodiment of the present invention
  • FIG. 7 is a flowchart of another method for controlling data transmission in a session update scenario according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of still another method for controlling data transmission in a session update scenario according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a policy control function device according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a control plane node device according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of a user plane function device according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of another policy control function device according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram of another control plane node device according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of another user plane function device according to an embodiment of the present invention.
  • the present application proposes a protocol-independent quality of service (QoS) transmission processing mechanism, and obtains structured packet filters (SPF) to complete classification and processing of data streams, and solves the problem.
  • QoS quality of service
  • SPF structured packet filters
  • Non-IP packets include structured non-IP packets (such as Ethernet frames) and unstructured non-IP packets, such as bare packets or private protocol packets for Internet of Things (IOT) scenarios.
  • the bare packet here refers to a data packet without a protocol header, starting from the first bit of the packet header is the data information.
  • the packet filter configured in the embodiment of the present application is applicable to a structured IP packet and a structured non-IP packet.
  • the “structured” in the embodiment of the present application means that the data storage manner follows a certain protocol format, and the storage is stored in a binary digit (bit) or a byte.
  • the IEEE 802.3 Ethernet frame header format and the indication information of each field are as shown in the packet format 1.
  • Preamble Frame starter target address source address Length/type Data and fill notes Frame check sequence 7 1 6 6 2 46-1500 4
  • a preamble is used for synchronization, and the occupied field length is 7 bytes;
  • a Start Frame Division is used to indicate that the next byte is the destination media access.
  • Control Media Access Control, MAC
  • the length of the occupied field is 1 byte;
  • the destination MAC address is used for the recipient of the specified frame, the occupied field length is 6 bytes;
  • the source MAC address is used for the obscured frame Sender, occupied
  • the length of the field is 6 bytes;
  • the length/type is used to indicate the length of the data field in the frame or the protocol type of the data in the frame, and the length or type of the field occupied by the field is 2 bytes;
  • Data and Pad is a high-level data, usually a 3-layer protocol data unit, such as an IP packet in TCP/IP, occupying a field length of 46-1500 bytes;
  • FCS frame check sequence
  • Another example is the 802.1Q packet header format, as shown in Table Packet Format 2.
  • the difference from IEEE802.3 is that 802.1Q contains a VLAN tag (VLAN Tag) indicating its multicast VLAN.
  • the length of the 802.1Q VLAN Tag occupation field is 4 bits.
  • the 802.1Q VLAN packet includes a Tag Protocol ID of 0x8100, a User Priority, a Canonical Format Indicator, and a VLAN ID.
  • Another example is the format of the IP packet header, as shown in packet format 3.
  • the version number (Version) in the packet format 3 occupies a field length of 4 bits and is used to indicate the version number of the adopted IP protocol.
  • the general value is 0100 (IPv4) or 0110 (IPv6).
  • the IP header has a minimum length of 20 bytes.
  • the type of service occupied by the Type of Service is 8 bits long.
  • the 8-bit bitwise bit is defined as PPPDTRC0 as follows.
  • PPP defines the priority of the package. The larger the value, the more important the data.
  • Flash Flash Override
  • Network Control (Network Control).
  • D in DTRC0 indicates delay; “T” indicates throughput; “R” indicates reliability; “M” indicates transmission cost; last bit “ 0" reserved, constant at 0.
  • the total length of the IP packet is 16 bits.
  • the length of the IP packet (including the header and data) calculated in bytes, so the maximum length of the IP packet is 65535 bytes.
  • the length occupied by the identifier is 16 bits. This field is used in conjunction with the IPs (Flags) and Fragment Offest fields to perform fragmentation operations on larger upper layer packets. After the router splits a packet, all the split packets are marked with the same value, so that the destination device can distinguish which packet belongs to a part of the split package.
  • IP Flags The fields occupied by the flags (IP Flags) are 3 bits long. The first digit (X) of this field is not used.
  • the second bit is the DF (Don't Fragment) bit. When the DF bit is set to 1, it indicates that the router cannot segment the upper layer data packet. If an upper layer packet cannot be forwarded without fragmentation, the router discards the upper layer packet and returns an error message.
  • the third bit is the MF (More Fragments) bit. When the router segments an upper layer packet, the router sets the MF bit to 1 in the header of the IP packet except the last segment.
  • the second bit "DF" can be abbreviated as "D”
  • the third bit "MF” can be abbreviated as "M”.
  • the Fragment Offset occupies a field length of 13 bits. Indicates the location of the IP packet in the component packet, and the receiving end assembles the restored IP packet by the slice offset.
  • the length of the field occupied by Time To Live (TTL) is 8 bits.
  • TTL Time To Live
  • the length of the field occupied by the protocol is 8 bits. Identifies the protocol used by the upper layer. Commonly used protocols include: Internet Control Message Protocol (ICMP), Internet Group Management Protocol (IGMP), Transmission Control Protocol (TCP), and User Datagram Protocol ( User Datagram Protocol (UDP), Interior Gateway Routing Protocol (IGRP), Open Shortest Path First (OSPF) belong to an Interior Gateway Protocol (IGP), and so on.
  • ICMP Internet Control Message Protocol
  • IGMP Internet Group Management Protocol
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • IGRP Interior Gateway Routing Protocol
  • OSPF Open Shortest Path First
  • the header length occupied by the Header Checksum is 16 bits. Used to do the correctness detection of the IP header, but does not contain the data part. Because each router wants to change the value of the TTL, the router recalculates this value for each passed packet.
  • Source and Destination Addresses Both fields occupy 32 bits. Identifies the origin and destination address of this IP packet. Note that unless you use Network Address Translation (NAT), these two addresses will not change during the entire transfer.
  • NAT Network Address Translation
  • the IP Options is a variable length field.
  • the structured packet has its header field in the packet.
  • the storage of the packet header is fixed, so the technical solution of the present application is proposed, and the structured packet filter is configured to complete the classification and processing of the data stream, so as to realize the transmission of the non-IP data packet in the 5G network communication data transmission. QoS guarantee.
  • FIG. 1 is a structural diagram of a data transmission control system according to an embodiment of the present application.
  • the system may include: an application function (AF) device, a policy function (PCF) device, a control plane function (CPF) node, a data network (DN), and a user.
  • AF application function
  • PCF policy function
  • CPF control plane function
  • DN data network
  • UPF User plan function
  • AN access network
  • RAN radio accessing network
  • UE user equipment
  • the system can include a UDM.
  • the CPF may include an access and mobility management function (AMF) and a session management function (SMF), and the AMF communicates with the SMF through the tunnel NG11.
  • AMF access and mobility management function
  • SMF session management function
  • AF can be connected to PCF through NG5; PCF can communicate with CPF through NG7; SMF in CPF can communicate with UPF through NG4, and can communicate with UDM through NG10; AMF in CPF can communicate with UE through NG1, and can also pass NG8 Communicate with the UDM; the AMF in the CPF can communicate with the AN through NG2; the AN communicates with the UE, the AN can communicate with the UPF through the NG3; and the UPF can communicate with the DN through the NG3.
  • the UPF and UE can be collectively referred to as a data transmission device.
  • the system described in FIG. 1 can be applied in a scenario of 5G session establishment (service establishment) or session update (service update).
  • the PCF configures QoS rules, and the QoS rules include structured packet filters, for example, packet data units (PDUs) sessions are structured according to a structured PDU session type and unstructured. (Unstructure) PDU types are classified.
  • the QoS rules may include configuring structured packet filters in accordance with the structured PDU session type.
  • SPT rule structured filter rule
  • the structured packet filter may be simply referred to as a packet filter; the structured filter rule may be simply referred to as a packet filter rule.
  • Each packet filter rule may include data category identification information and a matching condition, and the matching condition is used to specify a matching relationship between the data to be transmitted corresponding to the location information and the QoS transmission processing mechanism.
  • the matching condition may include operation or operation information, and matching information (or called match data), and the data category identification information is used to classify the data to be transmitted according to the quality of service.
  • the UE needs to transmit uplink data, and needs to match the packet filter.
  • the SPF rule of the packet filter is SPF rule 1
  • the matching information may be the data category identification information in the structured data packet header in different protocol types, for example, the destination MAC address information, the source MAC address information, or the protocol type in the IP protocol type; the operation information defines a type Logical relationship, the logical comparison relationship is shown in Table 1 to Table 5, which may be greater than, equal to, Less than, greater than or equal to, less than or equal to, and, or hexadecimal conversion; if the relationship between the data packet to be transmitted and the data packet to be compared indicated by the data category identification information conforms to the logical relationship specified in the operation information,
  • the data packet is allocated for data transmission on a quality of service QoS transmission processing mechanism corresponding to the packet filter.
  • the function of the QoS transmission processing mechanism is similar to that of the 4G communication system, the EPS bearer, referred to as the bearer function.
  • the packet filter may include at least one packet filtering rule, each packet filter including data category identification information, operational information, and matching information.
  • each packet filtering rule includes data category identification information and matching information.
  • the data category identification information may include field location information (hereinafter referred to as “location information”) or a quality of service requirement identifier.
  • the quality of service requirement identifier in the packet filter is used to indicate the quality of service information corresponding to the service data packet.
  • the quality of service requirement identifier can be determined through cooperation or agreement between the operator and the content provider.
  • the quality of service requirement identifier is identification information corresponding to the corresponding quality of service carried in one or more fields in the service data packet. That is to say, the operator provides different QoS services for the service data packets carrying different quality service identifiers according to different service quality requirement identifiers.
  • the packet filter allocates the to-be-transmitted data packet to the corresponding QoS transmission processing mechanism for transmission according to different quality of service requirement identification and matching information.
  • the quality of service requirement identifier may be in the header portion of the non-IP packet, as shown in FIG. 2, and the non-IP packet may include the quality of service requirement identifier of the packet header and other information of the packet header (such as length information and version information) as well as the load part. It can be understood that the non-IP data packet can carry the service quality requirement identifier by adding a new field, and the service quality requirement identifier can be placed in the reserved field of the non-IP data packet header, which is not limited herein.
  • the location information in the packet filter is information about the location of one or more fields of the header of the service data packet.
  • the packet filter is based on different location information, operational information, and matching information. Or, according to different location information and matching information, the data packet to be transmitted is allocated to a corresponding QoS transmission processing mechanism for transmission.
  • the location information in the packet filter may be based on an analysis of the existing structured protocol to determine the corresponding location information needed for policy matching determination. For example, the location information of the IP quintuple in the IP protocol, such as the location information of the MAC address in the Ethernet protocol. Or the location information of the key header field of the protocol used by the carrier's own encapsulated data packet. If the operator encapsulates the non-IP packet with the IP protocol, the location information is the location information of the IP quintuple in the IP protocol.
  • the non-IP data may include a header portion and a payload portion.
  • the header portion may include location information and other information (such as length information and version information), wherein the location information may be bit position information of position 1, bit position information of position 2, and bit position information of position n.
  • the packet filter may include at least one packet filtering rule, each packet filter including location information, operational information, and matching information.
  • the configured structured include filters are shown in Table 1.
  • 5 ie 0000 0011
  • 0000 0101 0000 0111 Therefore, the value of 3
  • the operation information is an OR operation (0)
  • the operation information is an AND operation (0)
  • the value of the position in the position information of the tender data packet and the value in the matching information are ANDed with each other, and the result is equal to 101010. match.
  • xor identifies the exclusive OR (xor) in the logical operation.
  • the operation rule is: if the two values of a and b are not the same, the XOR result is 1; if the two values of a and b are the same, the XOR result is 0.
  • the operation information is (exclusive OR (0))
  • the operation information is (exclusive or 0101010), it indicates that the value of the position in the rule in the rule is XORed with the value in the matching information, and the result is equal to 101010, that is, the rule is matched.
  • "0xff" in Table 1 indicates hexadecimal.
  • the packet is matched with other packet filters.
  • the IEEE 802.3 packet header is as shown in packet format 1, in which the preamble, the frame start symbol (SDF), and the frame check sequence (FCS) are processed inside the network card and are not reflected in the upper layer.
  • the packet filter configured for IEEE802.3 can be configured mainly by the target MAC address, the source MAC address, and the protocol type.
  • the configured IEEE802.3 packet filter is as shown in Table 2.
  • the SPF rule 1 and the SPF rule 2 may be respectively from two devices with different MAC addresses, for example, the SPF rule 1 device from the destination MAC address, the SPF rule 2 device from the source MAC address, and the SPF rule 3 may be a protocol type, for example: IP/PPP.
  • the configured packet filter can be as shown in Tables 3 and 4.
  • SPF rule 1 Bit 0-5 Destination MAC address
  • SPF rule 2 Bit 6-11 Source MAC address
  • SPF rule 3 Bit 17-18 agreement type
  • the packet filter configuration of the IP packet is as shown in the packet format 3, and the set packet filter can be as shown in Table 5.
  • the packet filter of the TCP packet can also be set to the form of Table 5, which is not described here.
  • the filter matches the data through the quintuple.
  • the TCP/IP packet matches the packet header (or the header field). The value of the location of the corresponding quintuple.
  • the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the UE and the UPF match the data according to the matching priority information of the packet filter.
  • the UE when the UE needs to transmit uplink data, it determines, according to the matching priority information of the packet filter, which uplink packet data is preferentially matched with the packet filter. If the matching packet filter matches successfully, the UE will uplink data. The uplink data is transmitted by using a bearer corresponding to the packet filter of the priority match. If the uplink data is not successfully matched with the preferentially matched packet filter, the uplink data is matched with the packet filter of the priority ordering secondary in the matching priority information, and the uplink data is matched in turn.
  • the process of matching the downlink data with the data packet filter is the same as the process of matching the uplink data with the data packet filter by the UE, and is not described here.
  • the data transmission control method provided by the embodiment of the present application can effectively guarantee the QoS of the service according to the priority of the service.
  • FIG. 4 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention.
  • the method can include:
  • Step 410 The PCF needs to acquire session information.
  • the session information may include data category identification information and service information, where the service information may be a matching value corresponding to the data category identifier information, a service QoS requirement, a UE identifier, a service identifier, a data network name (DNN) of the service, and a service location.
  • the interface information of the data network such as NG6 tunnel information
  • the data category identification information may include location information or a quality of service requirement identifier.
  • the PCF needs to acquire the session information, and the session information sent by the application function AF can be received by the PCF.
  • the session information sent by the control plane node CPF is received, where the session information may be obtained by the control plane node CPF from the terminal UE or the unified data management UDM. It can be understood that the PCF can also obtain the session information through other network entities, which is not limited herein.
  • Step 420 The PCF generates a policy and a charging control rule (PCC rule) according to the data category identification information and the service information.
  • PCC rule a charging control rule
  • the policy and charging rules may include QoS rules for structured data, the QoS rule may include a first packet filter, and the first packet filter is used by the data transmission device (such as UPF or UE)
  • the transmission data is allocated to the QoS transmission processing mechanism that satisfies the matching relationship for transmission.
  • the first packet filter may include data category identification information and matching conditions.
  • the relationship that satisfies the matching relationship between the data to be transmitted and the data to be compared in the matching condition is in accordance with the logical relationship specified in the operation information.
  • the QoS transmission processing mechanism is a processing mechanism adopted by the control plane node CPF for the QoS Flow Identity (QFI) allocated for the service.
  • the first data packet filter may include a quality of service requirement identifier and a matching condition, or the first data packet filter may include location information and a matching condition.
  • Step 430 The PCF sends a policy and a charging rule including the first packet filter to the CPF.
  • the PCF sends the policy and charging rules containing the first packet filter to the CPF through NG7.
  • the first packet filter may include a quality of service requirement identifier and a matching condition, or the first packet filter may include location information and matching conditions.
  • Step 440 The CPF sends a second packet filter to the UPF according to the policy and the charging rule.
  • the CPF When the CPF detects the quality of service requirement identifier in the first packet filter, the CPF matches the corresponding QFI value according to the matching condition (such as the packet loss rate) to generate a second packet filter.
  • the matching condition such as the packet loss rate
  • the CPF generates a second packet filter according to the location information in the first packet filter and the matching condition (such as the packet loss rate), matching the corresponding QFI value.
  • the second packet filter is used by the UPF to filter the data to be transmitted and then use the QoS transmission processing mechanism of the matching relationship.
  • the CPF sends the second packet filter to the UPF through NG4.
  • the second packet filter may include a quality of service requirement identifier and a matching condition, or the first packet filter may include location information and matching conditions.
  • Step 450 The CPF sends the location information to the UE according to the policy and the charging rule.
  • the CPF sends a QS rule to the UE according to the policy and charging rules.
  • the QoS rule may include a third packet filter, and the third packet filter includes data category identification information and matching conditions.
  • the CPF when the CPF detects the quality of service requirement identifier in the first data packet filter, the CPF matches the corresponding QFI value according to the matching condition (such as the packet loss rate) to generate a third data packet filter.
  • the matching condition such as the packet loss rate
  • the CPF generates a third packet filter according to the location information in the first packet filter and the matching condition (such as the packet loss rate), matching the corresponding QFI value.
  • the second packet filter is used by the UPF to filter the data to be transmitted and then use the QoS transmission processing mechanism of the matching relationship.
  • the UE matches, or filters, the uplink data according to the third packet filter in the Qos rule, and uses the location information, the operation information, and the matching information in the third packet filter.
  • the uplink data is matched, for example, the third packet filter with priority matching is a packet filter of IEEE802.3, the third packet filter includes one SPF rule 2, and the location information of SPF rule 2 is “bit 6-11”;
  • the third packet filter with priority matching is the packet filter 1 of 802.1Q
  • the packet filter 1 includes the SPF rule 1
  • the location information of the SPF rule 1 is "bit 12-14"
  • the UE when the UE matches the uplink data with the third data packet filter, it is not necessary to determine which protocol packet filter is used, and the above priority matching is IEEE802.3.
  • the packet filter, the packet filter 1 of 802.1Q, and the packet filter of the IP packet are merely for explaining the technical solution of the present application by way of specific examples.
  • the uplink data is matched with other SPF rules in the filtering packet. If the uplink data is successfully matched with any SPF rule in the packet filter, the uplink data is matched with the secondary data. The packet filter is matched until the match is successful, and the UE transmits the uplink data by using the bearer corresponding to the SPF rule that is successfully matched.
  • the UE uses the default bearer to transmit the uplink data.
  • the 5G network introduces a reverse refractory QoS mechanism of the fixed network.
  • the CPF sends data category identification information and inversion rules to the UE according to the policy and charging rules.
  • the inversion rule is used in the reverse QoS mechanism to generate derived QoS rules according to the data category identification information and the downlink data packet derivation, and the derivation QoS rules may include a third data packet filter.
  • the third packet filter is used by the UE to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the QoS rules sent by the CPF to the UE by the signaling are referred to as an explicit QoS rule
  • the QoS rules automatically generated by the UE according to the Reflective QoS mechanism are called implicit QoS rules (or implicit QoS rules).
  • the UE Taking the data category identification information including location information as an example, for the IP data packet, the UE knows the location information of the data packet IP quintuple, and thus can directly pass the IP quintuple (target address, source address, target port, source port). Reverse with the protocol type) to generate the third packet filter in the Derived QoS rule.
  • the information of the data packet in the protocol is unknown to the UE, but the third packet filtering in the generated Derived QoS rule can be obtained by pre-configuring or transmitting the location information through the network through the AF. Device.
  • the data to be transmitted transmitted by the UE may be referred to as uplink data.
  • the uplink data is data that the UE sends to the network side, for example, data that the UE sends to the AN.
  • the data to be transmitted transmitted by the UPF may be referred to as downlink data.
  • the downlink data is data sent by the network side to the UE, such as data sent by the UPF to the UE.
  • the QoS level corresponding to the second packet filter is QFI 1 (DL packet filter->QFI 1).
  • the quintuple of the downlink data packet sent by the UPF to the DN is: source IP address, destination IP address, source port number, destination port number, and protocol type.
  • the source IP address is X
  • the destination IP address is Y
  • the source port number is A
  • the destination port number is B
  • the protocol type (Protocol) Type) is C.
  • the UE receives the downlink data packet delivered by the UPF and the inversion rule and data category identifier information sent by the CPF. Under the Reflective QoS mechanism, the UE corresponds to the downlink data packet according to the location information in the inversion rule and the data category identifier information. The position is reversed to generate a third packet filter.
  • the third packet filter is: the source IP address is Y; the destination IP address is X; the source port number is B; and the destination port number is A; the protocol type is C.
  • the QoS level corresponding to the generated third packet filter is still QFI1 (UL packet filter->QFI 1). If the uplink data packet matches the third data packet filter, the UE transmits the uplink data packet to the UPF through QFI 1.
  • the Reflective QoS mechanism replaces the location of the source IP address and the destination IP address, and swaps the source port number and the destination port number.
  • the CPF may include the service 1, the service 2, and the service 3.
  • the CPF may send a service quality rule for the service 1 to the UE, where the service quality rule includes the service 1 data.
  • Step 460 The UPF allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the second data packet filter.
  • the UPF After receiving the second packet filter, the UPF saves the QoS rule, and performs filtering processing on the data packet sent or received by the DN according to the second packet filter, where the filtering process may include QoS filtering matching of the downlink data and uplink data. Detection.
  • the UPF matches the downlink data according to the SPF rule of the second packet filter, and matches the downlink data by using the location information, the operation information, and the matching information in the SPF rule.
  • the second packet filter with the priority matching includes the SP rule.
  • the process in which the UPF matches the downlink data with the second packet filter is the same as the process in which the UE matches the uplink data with the packet filter, and is not described here.
  • the downlink data is matched with other SPF rules in the filtering packet. If the downlink data matches any SPF rule in the packet filter, the downlink data is matched with the secondary. Package The filter performs matching until the matching is successful, and the UE transmits the uplink data by using the bearer corresponding to the successfully matched SPF rule.
  • the UPF uses the default bearer to transmit the downlink data.
  • the CPF may also obtain matching priority information of the second data packet filter and matching priority information of the third data packet filter, where the matching priority information is used to specify the second data when the UPF filters the data to be transmitted.
  • the control plane node CPF sends the matching priority information of the second packet filter to the UPF, and sends the matching priority information of the third packet filter to the UE.
  • the size of the sequence number of step 440 and step 450 does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic, and should not be addressed.
  • the implementation process of the application embodiment constitutes any limitation.
  • the PCF obtains the data category identification information, and sends a QoS rule including the data category identification information to the data transmission device (UPF and the UE) through the CPF, and the UE and the UPF according to the corresponding
  • the data packet filter matches the data stream to be transmitted to different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine data.
  • Streaming, and matching the data stream improves the speed of data stream transmission, and ensures the QoS guarantee for transmitting non-IP data packets.
  • the method for controlling the data transmission provided by the present application differs from the processing method for the 4G transmission data in that, in the technical solution of the present application, the UE and the UPF do not need to know the protocol type to which the transmitted data belongs, and only need to follow the protocol type to which the transmitted data belongs.
  • the location information in the packet filter completes the corresponding operation and determines whether the value after the operation is consistent with the matching information. If the matching is successful, the matching is successful, and the UE or the UPF can use the bearer transmission data corresponding to the matched packet filter.
  • the shunting of the data stream of the data to be transmitted is realized, and the QoS guarantee of the transmitted structured data is realized.
  • the following describes the data category identification information including location information as an example.
  • FIG. 5 is a flowchart of a method for controlling data transmission in a session establishment scenario according to an embodiment of the present invention. As shown in FIG. 5, the method may include:
  • Step 500 The PCF receives the session information sent by the AF.
  • the session information may include structured PDU information, and the structured PDU information may include location information.
  • the service information may include one or more pieces of information such as a matching value corresponding to the location information, a service QoS requirement, a UE identifier, a service identifier, and a data network identifier of the service.
  • the PCF generates a default QoS ruler according to the location information and the service information, and the QoS ruler may include a first packet filter, where the first packet filter includes location information and a matching condition for the UPF or the UE to be used.
  • the transmission data is allocated to the QoS transmission processing mechanism that matches the matching condition that the matching condition satisfies.
  • Step 501 The UE sends a PDU session establishment request to the AMF. A message to indicate the establishment of a PDU session.
  • the PDU session establishment request message may include structured PDU types (such as structured IP data packets and structured non-IP data packets), session ID (Session ID), and Data Network Name (DNN) information. .
  • structured PDU types such as structured IP data packets and structured non-IP data packets
  • Session ID session ID
  • DNN Data Network Name
  • Step 502 The AMF sends a session management request (SM request) message to the SMF.
  • SM request session management request
  • the session management request message may include indication information of the establishment request of the PDU session, a Session ID, a DNN, and the like.
  • the AMF Before performing this step, the AMF needs to perform an SMF selection process to select a target SMF that can perform a PDU session from a plurality of SMFs, and save the correspondence between the Session ID and the SMF ID or the SMF ID address.
  • Step 503 The SMF sends a subscription data request message to the unified data management module (UDM), where the subscription data request may include information such as a DNN, a Session ID, an SMF ID, or an SMF address.
  • UDM unified data management module
  • Step 504 The UDM sends a subscription data response message to the SMF to obtain subscription data of the UE, and implement PDU session authentication/authorization of the UE.
  • Step 505 The SMF sends a PDU-CAN session establishment request message to the PCF.
  • the SMF determines the target PCF based on information such as DNN, Session ID, SMF ID, or SMF address.
  • Step 506 The PCF sends a PDU-CAN session establishment response (PDU-CAN session establishment response) message to the SMF.
  • the PDU-CAN session establishment response message may include a default QoS ruler, where the QoS ruler may include a first packet filter
  • the SMF obtains the first packet filter in the PCF.
  • Step 507 The SMF determines the target UPF according to information such as a DNN, a Session ID, an SMF ID, or an SMF address.
  • the SMF allocates an IP address to the PDU session, and stores the correspondence between the session ID and the IP address.
  • the SMF allocates a tunnel ID and an address for the UPF.
  • Step 508 The SMF sends a PDU-CAN session modification request (PDU-CAN session modification request) message or a PDU-CAN session establishment request message to the PCF.
  • PDU-CAN session modification request PDU-CAN session modification request
  • Step 509 The PCF sends a PDU-CAN session modification response (PDU-CAN session modification response) message or a PDU-CAN session establishment response message to the SMF.
  • PDU-CAN session modification response PDU-CAN session modification response
  • the PDU-CAN session modification response message may include a policy and charging rule, and the policy and charging rule may include a first packet filter.
  • the SMF does not obtain the first packet filter in the PCF in step 506, the first packet filter in the PCF can be obtained through step 509.
  • step 505 to step 507 are performed; if the SMF and the PCF are connected before the session is established, step 505 and step 506 need not be performed, and only step 508 and step need to be performed. 509.
  • Step 510 The SMF sends an N4 session establishment request to the UPF. interest.
  • the SMF generates a second packet filter based on the policy and charging rules.
  • the N4 session establishment request message may include the SMF assigning a tunnel ID and an address to the UPF, and a second packet filter to enable the UPF to acquire the second packet filter.
  • the second packet filter includes location information and matching conditions. The second packet filter is used by the UPF to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the data to be transmitted may include an uplink data packet and a downlink data packet UPF to match the data to be transmitted with the second data packet filter for the downlink data packet and detect the uplink data packet.
  • Step 511 The UPF sends an N4 session establishment response message to the SMF.
  • Step 512 The SMF sends an SM Response message to the AMF.
  • the SM Response message may include a tunnel ID and address allocated by the SMF for the UPF, PDU session establishment acceptance information sent by the SMF to the UE, location information, and a reverse rule, and the reverse rule is used in the reverse QoS mechanism, the UE according to the location information and the downlink
  • the packet gets the third packet filter.
  • the SM Response message may include a tunnel ID and address allocated by the SMF for the UPF, PDU session establishment acceptance information sent by the SMF to the UE, and a quality of service rule, and the quality of service rule may include a third packet filter.
  • Step 513 The AMF sends an N2 PDU session request message to the AN.
  • the N2PDU session request message may include a tunnel ID and address, location information, and an inversion rule allocated by the SMF for the UPF, and the inversion rule is used by the UE to acquire the third packet filter according to the location information and the downlink data packet in the reverse QoS mechanism.
  • the N2PDU session request message may include a tunnel ID and address allocated by the SMF for the UPF, PDU session establishment acceptance information sent by the SMF to the UE, and a quality of service rule, and the quality of service rule may include a third packet filter.
  • Step 514 The AN and the UE implement an AN-specific resource setup request.
  • the specific resource configuration information of the AN may include the PDU session establishmentaccept information, the QoS rule or the location information, and the reverse rule sent by the SMF to the UE, so that the UE establishes the PDU session with the AN to establish a radio bearer, and the UE obtains the third. Packet filter.
  • the third packet filter includes location information and matching conditions. The third packet filter is used by the UE to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the UE matches the data to be transmitted with the third packet filter when the UE transmits the data to be transmitted.
  • Step 515 The AN sends an N2 PDU session request Ack message to the AMF.
  • the N2PDU session request Ack may include the tunnel ID and address assigned by the AN.
  • Step 516 The AMF sends a session management request (SM Request) message to the SMF.
  • SM Request session management request
  • the SM Request message may include a tunnel ID and an address assigned by the N2Information and the AN.
  • Step 517 The SMF sends an N4 session modification request to the UPF. interest.
  • the N4 session update request message may include a tunnel ID and an address assigned by the AN.
  • the N4 session update request message may further include a second data packet filter delivered by the PCF, so that the UPF acquires the second data packet filter.
  • the UPF can obtain the second packet filter delivered by the PCF in step 517 to complete the transmission of the downlink data.
  • Step 518 The UPF sends an N4 session modification response message to the SMF to implement the SMF-to-UPF PDU session modification, so that the UPF sends downlink data according to the tunnel ID and address allocated by the RAN.
  • Step 519 The SMF sends a SMresponse with N2Information message to the AMF.
  • step 500 may occur at any time prior to step 505.
  • the execution time of step 500 should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
  • the data transmission control method of the embodiment of the present application by configuring a packet filter of the structured data packet, and transmitting the quality of service QoS rule including the data packet filter to the UE and the UPF, respectively, so that the UE and the UPF respectively.
  • the packet filter filters the transmitted data stream and offloads the data stream to different bearers, ensuring the transmission of structured data packets, such as QoS guarantees for non-IP packets.
  • the PCF obtains the location information, and sends a QoS rule including the location information to the data transmission device (UPF and the UE) through the CPF, and the UE and the UPF are to be configured according to the corresponding packet filter.
  • the transmission data stream matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets.
  • FIG. 6 is a flowchart of another method for controlling data transmission in a session update scenario according to an embodiment of the present invention.
  • the condition for triggering the QOS rule update may be sent by the UE to the PCF through the SMF.
  • the method may include:
  • Step 600 The UE acquires a new service request message.
  • the new service request message may include structured PDU information, and the structured PDU information may include location information and service information, where the service information may include a matching value corresponding to the location information, a service QoS requirement, and a UE.
  • the service information may include a matching value corresponding to the location information, a service QoS requirement, and a UE.
  • the UE may acquire a new service request message by receiving an operation of the user.
  • the user's operation may be that the user opens a new application on the UE.
  • Step 601 The UE sends a PDU session modification request message to the AMF to indicate that the PDU session is updated.
  • the PDU session modification request message may include location information and service information.
  • Step 602 The AMF sends a session management request (SM request) message to the SMF.
  • SM request session management request
  • the SM request message may include indication information and location information and service information of the PDU session update request, Session ID, DNN and other information, so that the SMF obtains location information and business information.
  • Step 603 The SMF obtains update indication information for triggering the QoS Update Trigger according to the indication information, the location information, and the service information of the PDU session update request.
  • Step 604 The AN sends an N2 message to the AMF.
  • the N2 message may include a PDU session ID and session management information (SM information).
  • SM information session management information
  • Step 605 The AMF sends an SM request message to the SMF.
  • the SM request message may include SM information.
  • Step 606 The SMF sends a PDU-CAN session establishment request message to the PCF.
  • the PDU-CAN session establishment request message may include update indication information, location information, and service information.
  • the PCF obtains the updated QoS ruler according to the update indication information, the location information, and the service information, and the updated QoS ruler may include the first packet filter.
  • the first packet filter includes location information and matching conditions for the data transmission device (UPF or UE) to transmit the data to be transmitted to a QoS transmission processing mechanism that matches the matching condition that the matching condition satisfies.
  • Step 607 The PCF sends a PDU-CAN session establishment response message to the SMF.
  • the PDU-CAN session establishment response message may include a policy and charging rule, and the policy and charging rule may be a first packet filter.
  • Step 608 The SMF sends an SM Request message to the AMF.
  • the SM Request message may include a PDU Session Modification Command (Modification Command) information, a session ID, a location information, and an inversion rule.
  • the inversion rule is used in the reverse QoS mechanism to acquire a third packet filtering according to the location information and the downlink data packet. Device.
  • the SM Response message may include a quality of service rule sent by the SMF to the UE, and the quality of service rule may include a third data packet filter.
  • Step 609 The AMF sends an N2 PDU session request message to the AN.
  • the N2PDU session request message may include a PDU Session Modification Command (Modification Command) information, a session ID, a location information, and a reverse rule.
  • the reverse rule is used by the UE to obtain the third data according to the location information and the downlink data packet in the reverse QoS mechanism. Packet filter.
  • the N2PDU session request message may include a quality of service rule sent by the SMF to the UE, and the quality of service rule may include a third data packet filter.
  • Step 610 The AN and the UE implement an AN-specific resource setup request.
  • the specific resource configuration information of the AN may include a PDU Session Modification Command (Modification Command) information, a session ID, a QoS rule or a location information, and an inversion rule, so that the PDU session is established between the UE and the AN to establish a radio bearer, so that the UE acquires
  • the third packet filter includes location information and matching conditions. The third packet filter is used by the UE to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the UE matches the data to be transmitted with the third packet filter when the UE transmits the data to be transmitted.
  • Step 611 The AN sends an N2PDU session request Ack message to the AMF.
  • the N2PDU session request Ack may include the tunnel ID and address assigned by the AN to the PDU session.
  • Step 612 The AMF sends a session management request response (SM Request ACK) message to the SMF.
  • SM Request ACK session management request response
  • the SM Request ACK may include an N2PDU Session Modification Command ACK.
  • the SM Request with N2Information message may include a tunnel ID and an address assigned by the AN.
  • Step 613 The SMF sends an N4 session modification request message to the UPF.
  • the N4 session modification request message may include a tunnel ID and an address allocated by the AN, and a second packet filter delivered by the PCF, so that the UPF acquires the second packet filter.
  • the UPF When the UPF transmits the data to be transmitted, the UPF matches the data to be transmitted with the second packet filter.
  • Step 614 The UPF sends an N4 session modification response message to the SMF to implement SMF-to-UPF PDU session modification, so that the UPF sends downlink data according to the tunnel ID and address allocated by the RAN.
  • Step 615 establishing a PDU-CAN session modification between the SMF and the PCF.
  • the PCF obtains location information, and sends a QoS rule including location information to the data transmission device (UPF and UE) through the CPF, and the UE and the UPF according to the corresponding packet filter.
  • the data stream to be transmitted is matched to different QOS transmission processing mechanisms to implement data stream splitting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets.
  • FIG. 7 is a flowchart of another method for controlling data transmission in a session update scenario according to an embodiment of the present invention.
  • the condition for triggering the QOS rule update may be stored in the UDM in a pre-configured manner.
  • the method may include:
  • Step 700 The UE sends a PDU session modification request message to the AMF to indicate to modify the PDU session.
  • Step 701 The AMF sends an SM request message to the SMF.
  • the SM request message may include indication information of a PDU session update request.
  • Step 702 The SMF sends a subscription data request message to the UDM.
  • the subscription data request may include information such as a Session ID.
  • Step 703 The UDM sends a subscription data response message to the SMF to obtain subscription data of the UE, and implement PDU session authentication/authorization of the UE.
  • the subscription data response message may include information such as location information, service information, and session ID.
  • the service information may include one or more pieces of information such as a matching value corresponding to the location information, a service QoS requirement, a UE identifier, a service identifier, and a data network identifier of the service.
  • Step 704 The SMF obtains update indication information for triggering the QOS rule according to the indication information, the location information, and the service information of the PDU session update request.
  • the condition that triggers the QOS update can be stored in the UDM in a pre-configured manner, and the PCF obtains the location information through the signaling interaction, and sends the location information through the CPF to the data transmission device.
  • the UPF and the UE respectively send the QoS rule including the location information, and the UE and the UPF match the data stream to be transmitted according to the corresponding data packet filter to different QOS transmission processing mechanisms to implement data stream shunting, thereby ensuring transmission of structured data.
  • FIG. 8 is a flowchart of still another method for controlling data transmission in a session update scenario according to an embodiment of the present invention.
  • the condition for triggering the update of the QOS rule can be sent to the PCF through the AF.
  • the method may include:
  • Step 800 The PCF receives the session information sent by the AF.
  • the session information may include location information and service information, and the service information may include one or more of a matching value corresponding to the location information, a service QoS requirement, a UE identifier, a service identifier, and a data network identifier of the service.
  • the PCF generates a default QoS ruler according to the location information and the service information, and the QoS ruler may include a first packet filter, where the first packet filter includes location information and a matching condition for the UPF or the UE to be used.
  • the transmission data is allocated to the QoS transmission processing mechanism that matches the matching condition that the matching condition satisfies.
  • Step 801 The UE sends a PDU session modification request message to the AMF to indicate that the PDU session is updated.
  • the PDU session establishment request message may include structured PDU types (such as structured IP data packets and structured non-IP data packets), session ID (Session ID), and Data Network Name (DNN) information. .
  • structured PDU types such as structured IP data packets and structured non-IP data packets
  • Session ID session ID
  • DNN Data Network Name
  • Step 802 The AMF sends an SM request message to the SMF.
  • the SM request message may include indication information of the PDU session update request, a Session ID, a DNN, and the like.
  • Step 803 The SMF sends a PDU-CAN session modification request message to the PCF.
  • Step 804 The PCF sends a PDU-CAN session modification response (PDU-CAN session modification response) message to the SMF.
  • PDU-CAN session modification response PDU-CAN session modification response
  • the PDU-CAN session modification response message may include an updated QOS ruler to enable the SMF to obtain an updated QOS ruler, and the updated QOS ruler may include a first packet filter.
  • Step 805 The SMF obtains update indication information for triggering the QOS rule according to the indication information of the PDU session update request and the first packet filter.
  • step 800 may occur at any time prior to step 804.
  • the execution time of step 800 should be determined by its function and intrinsic logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
  • the PCF can obtain the location information by using the AF, and send the QoS rule including the location information to the data transmission device (UPF and the UE) through the CPF, and the UE and the UPF according to the corresponding data.
  • the packet filter implements the offloading of the data stream by matching the data stream to be transmitted to different QOS transmission processing mechanisms, and ensures the transmission of the structured data packet, for example, the QoS guarantee of the non-IP data packet.
  • the embodiment of the present invention further provides a policy control function device, as shown in FIG.
  • the device may include a processing unit 910, a transmitting unit 920, and a receiving unit 930.
  • the receiving unit 930 is configured to obtain data category identification information and service information, where the data category identifier information is used to classify the data packet to be transmitted.
  • the processing unit 910 is configured to generate a policy and charging rule (PCC rule) according to the data category identification information and the service information, where the policy and charging rule includes a first data packet filter, where the first data packet identifier includes data category identifier information. And a matching condition, the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data to be transmitted.
  • PCC rule policy and charging rule
  • the sending unit 920 is configured to send, to the control plane node, a policy and a charging rule that include a first data packet filter, where the first data packet filter is used by the data transmission device to allocate the data to be transmitted to a QoS transmission processing mechanism that satisfies the matching relationship. send.
  • the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the receiving unit 930 is further configured to receive data category identifier information and service information sent by the application function.
  • the receiving unit 930 is further configured to receive data category identifier information and service information sent by the control plane node.
  • the data category identification information and the service information are obtained by the control plane node from the terminal UE or the unified data management UDM.
  • the data category identification information includes location information, where the location information is information about a location of one or more fields of the packet header.
  • the processing unit 910 generates a policy and a charging rule according to the location information and the service information.
  • the data category identifier information includes a service quality requirement identifier, where the service quality requirement identifier is used to indicate the service quality information corresponding to the data packet, and the processing unit 910 generates a policy and a charging rule according to the service quality requirement identifier and the service information.
  • the embodiment of the present invention further provides a control plane node device.
  • the device may include: a receiving unit 1010 and a sending unit 1020.
  • the receiving unit 1010 is configured to receive a policy and a charging rule sent by the PCF, where the policy and charging rule includes a first data packet filter, where the first data packet filter includes data category identification information and a matching condition, and the data category identifier information is used.
  • the data packet to be transmitted is classified, and the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data packet to be transmitted.
  • the sending unit 1020 is configured to send data category identification information to the data transmission apparatus, so that the data transmission apparatus sends the data to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship, where the data transmission apparatus includes a user plane function UPF or a terminal. UE.
  • the sending unit 1020 is further configured to send, to the UPF, a second data packet filter, where the second data packet filter includes data category identifier information and a matching condition, and the second data packet filter is used by the UPF to allocate the data packet to be transmitted.
  • the QoS transmission processing mechanism that satisfies the matching relationship is sent.
  • the sending unit 1020 is further configured to send a QoS rule to the UE, where the QoS rule includes a third packet filter, the third packet filter includes data category identifier information and a matching condition, and the third packet filter is used by the third packet filter.
  • the UE transmits the data packet to be transmitted to a QoS transmission processing mechanism that satisfies the matching relationship.
  • the sending unit 1020 is further configured to send data category identifier information and a reverse rule to the UE, where the reverse rule is used by the UE to obtain the third packet filtering according to the data category identifier information and the downlink data packet in the reverse QoS mechanism.
  • the third packet filter is used by the UE to allocate the data packet to be transmitted to the QoS transmission that satisfies the matching relationship.
  • the processing mechanism is sent.
  • the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the first data packet filter, the second data packet filter, and the third data packet filter include at least one packet filtering rule, where each data packet filtering rule includes data category identification information, operation information, and matching information; or Each packet filtering rule includes data category identification information and matching information.
  • the sending unit 1020 is further configured to send data category identifier information and service information to the PCF, so that the PCF generates a policy and a charging rule.
  • the receiving unit 1010 is further configured to receive data category identifier information and service information sent by a unified data management entity (UDM);
  • UDM unified data management entity
  • the sending unit 1020 is further configured to send data category identification information and service information to the PCF, so that the PCF generates a policy and a charging rule.
  • the receiving unit 1010 is further configured to obtain matching priority information of the second data packet filter and matching priority information of the third data packet filter, where the matching priority information is used to specify that the UPF filters the data to be transmitted.
  • the sending unit 1020 is further configured to send the matching priority information of the second data packet filter to the UPF, and send the matching priority information of the third data packet filter to the UE.
  • the data category identification information includes location information, where the location information is information of a location of one or more fields of the service data packet header; the location information includes at least: relative location information, location offset information, and positioning sequence format information.
  • the position offset information is used to indicate the offset of the location of the data to be transmitted relative to the start position of the packet header; the relative location information is used to indicate that the data to be transmitted is located at the location of the data packet.
  • the positioning order format information is used to indicate the order in which the data to be transmitted is arranged relative to the location of the data packet.
  • the data category identifier information includes a service quality requirement identifier, where the service quality requirement identifier is used to indicate service quality information corresponding to the service data packet.
  • the embodiment of the present invention further provides a terminal.
  • the device may include: a processing unit 1110 and a sending unit 1120.
  • the processing unit 1110 is configured to obtain a third data packet filter, where the third data packet filter includes data category identifier information and a matching condition, where the matching condition specifies a matching relationship between the data category identifier information and the corresponding data to be transmitted.
  • the sending unit 1120 is configured to allocate, according to the third data packet filter, the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the terminal may further include a receiving unit 1130.
  • the receiving unit 1130 is configured to receive a quality of service rule sent by the control plane node CPF, where the quality of service rule includes a third data packet filter.
  • the receiving unit 1130 is further configured to receive data category identifier information and a reverse rule sent by the control plane node CPF, where the inversion rule is used by the processing unit 1110 according to the data category identifier information and the downlink data packet in the reverse QoS mechanism. Get the third packet filter.
  • the matching condition includes operation information and matching information
  • the matching information includes data to be compared. Satisfy The relationship between the data to be transmitted and the data to be compared corresponds to the logical relationship specified in the operation information.
  • the third data packet filter includes at least one packet filtering rule, where each data packet filtering rule includes data category identification information, operation information, and matching information; or each data packet filtering rule includes data category identification information and matching. information.
  • the terminal may further include a receiving unit 1130, configured to receive matching priority information of the third data packet filter, where the matching priority information is used to specify that the UE is to transmit the data packet between the third data packet filters.
  • a receiving unit 1130 configured to receive matching priority information of the third data packet filter, where the matching priority information is used to specify that the UE is to transmit the data packet between the third data packet filters.
  • Priority matching order ;
  • the processing unit 1110 matches the data packet to be transmitted according to the matching priority information of the second data packet filter.
  • the data category identification information includes location information, where the location information is information of a location of one or more fields of the service data packet header; the location information includes at least: relative location information, location offset information, and positioning sequence format information.
  • the position offset information is used to indicate the offset of the location of the data to be transmitted relative to the start position of the data packet header; the relative location information is used to indicate that the data to be transmitted is located at the location of the data packet.
  • the positioning sequence format information is used to indicate The order in which the data to be transmitted is arranged relative to the location of the packet.
  • the data category identifier information includes a service quality requirement identifier, where the service quality requirement identifier is used to indicate service quality information corresponding to the service data packet.
  • the embodiment of the present invention further provides a user plane function device.
  • the device may include: a receiving unit 1210 and a sending unit 1220.
  • the receiving unit 1210 is configured to receive a control plane node CPF to send a second data packet filter, where the second data packet filter includes data category identifier information and a matching condition, and the data category identifier information is used to classify the data to be transmitted, and the matching condition is used for Specifying a matching relationship between the data category identification information and the corresponding data packet to be transmitted;
  • the sending unit 1220 is configured to allocate, according to the second data packet filter, the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
  • the second packet filter includes at least one packet filtering rule, and each packet filtering rule includes data category identification information, operation information, and matching information.
  • the apparatus further includes a processing unit 1230,
  • the receiving unit 1210 is further configured to receive matching priority information of the second data packet filter, where the matching priority information is used to specify an order in which the UPF performs a priority matching between the second data packet filters of the data packet to be transmitted;
  • the processing unit 1230 is configured to: when the user plane node UPF transmits the data to be transmitted, match the data packet to be transmitted according to the matching priority information of the second data packet filter.
  • the data category identification information includes location information, where the location information is information of a location of one or more fields of the service data packet header; the location information includes at least: relative location information, location offset information, and positioning sequence format information.
  • a position offset information is used to indicate an offset of the location of the data relative to the start position of the packet header; relative location information is used to indicate that the data is located at the location of the data packet; and the positioning sequence format information is used to indicate the data relative to the data. The order in which the packages are located.
  • the data category identifier information includes a service quality requirement identifier, where the service quality requirement identifier is used to indicate service quality information corresponding to the service data packet.
  • FIG. 13 is a schematic structural diagram of another policy control function device according to an embodiment of the present invention. As shown in FIG. 13, the device may include a processor 1310, a receiver 1320, and a transmitter 1330.
  • the device may also include a memory 1340.
  • the processor 1310 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof.
  • the PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
  • Memory 1340 is used to store various applications, operating systems and data.
  • the memory 1340 can transfer the stored data to the processor 1310.
  • the memory 1340 can include volatile memory, such as nonvolatile random access memory (NVRAM), phase change RAM (PRAM), and magnetoresistive random access memory (magetoresistive).
  • NVRAM nonvolatile random access memory
  • PRAM phase change RAM
  • MRAM magnetoresistive random access memory
  • RAM, MRAM, etc. may also include non-volatile memory, such as at least one magnetic disk storage device, electrically erasable programmable read-only memory (EEPROM), flash memory device, such as anti-flash memory (NOR flash memory) or NAND flash memory, semiconductor devices, such as solid state disk (SSD).
  • EEPROM electrically erasable programmable read-only memory
  • flash memory device such as anti-flash memory (NOR flash memory) or NAND flash memory
  • SSD solid state disk
  • Memory 1340 can also include a combination of the above types of memory.
  • the memory 1340 can be integrated in the processor 1310 or can exist independently.
  • the receiver 1320 and the transmitter 1330 may be integrated in the transceiver or may exist independently.
  • the receiver 1320 is configured to obtain data category identifier information and service information, where the data category identifier information is used to classify the data packet to be transmitted.
  • the processor 1310 is configured to generate a policy and charging rule (PCC rule) according to the data category identification information and the service information, where the policy and charging rule includes a first data packet filter, where the first data packet identifier includes data category identifier information. And a matching condition, the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data to be transmitted.
  • PCC rule policy and charging rule
  • the transmitter 1330 is configured to send, to the control plane node, a policy and a charging rule that include a first data packet filter, where the first data packet filter is used by the data transmission device to allocate the data to be transmitted to a QoS transmission processing mechanism that satisfies the matching relationship. send.
  • FIG. 14 is a schematic structural diagram of another control plane node device according to an embodiment of the present invention. As shown in FIG. 14, the device may include a receiver 1410 and a transmitter 1420.
  • the device may further include a memory 1430 and a processor 1440.
  • the processor 1440 may be the same or different in the foregoing processor 1310, and is not limited herein.
  • the receiver 1410 is configured to receive a policy and charging rule sent by the PCF, where the policy and charging rule includes a first data packet filter, where the first data packet filter includes data category identification information and a matching condition, and the data category identifier is The information is used to classify the data packets to be transmitted, and the matching condition is used to specify the matching relationship between the data class identification information and the corresponding data packet to be transmitted.
  • the transmitter 1420 is configured to send data category identification information to the data transmission apparatus, so that the data transmission apparatus sends the data to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship, where the data transmission apparatus includes a user plane function UPF or a terminal. UE.
  • FIG. 15 is a schematic structural diagram of another terminal according to an embodiment of the present invention. As shown in FIG. 15, the terminal may include a processor 1510 and a transmitter 1520.
  • the terminal may further include a memory 1530 and a receiver 1540.
  • the processor 1530 may be the same or different in the foregoing processor 1310, and is not limited herein.
  • the processor 1510 is configured to obtain a third data packet filter, where the third data packet filter includes data category identifier information and a matching condition, where the matching condition specifies a matching relationship between the data category identifier information and the corresponding data to be transmitted.
  • the transmitter 1520 is configured to allocate, according to the third data packet filter, the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • FIG. 16 is a schematic structural diagram of another user plane function device according to an embodiment of the present invention. As shown in FIG. 16, the device may include a receiver 1610 and a transmitter 1620.
  • the device may also include a memory 1630 and a processor 1640.
  • the processor 1640 may be the same or different in the foregoing processor 1310, which is not limited herein.
  • the receiver 1610 is configured to receive a control plane node CPF to send a second data packet filter, where the second data packet filter includes data category identification information and a matching condition, and the data category identifier information is used to classify the data to be transmitted, and the matching condition is used for Specifying a matching relationship between the data category identification information and the corresponding data packet to be transmitted;
  • the transmitter 1620 is configured to allocate, according to the second data packet filter, the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  • the embodiment of the present invention further provides a computer readable storage medium.
  • a computer program is stored on the computer readable storage medium, the program being executed by the processor.
  • Embodiments of the present invention also provide a computer program product comprising instructions.
  • the processor is caused to perform the method described above with respect to FIG.

Abstract

A method and a device for controlling data transmission are disclosed. The method comprises: acquiring data category identifier information and service information by means of a policy control function (PCF), wherein the data category identifier information is used for categorizing transmission data packets; and, on the basis of the data category identifier information and service information, generating a policy comprising a first data packet filter and a billing rule, wherein the first data packet filter comprises the data category identifier information and a matching condition, and the matching condition is used to specify a matching relationship between the data category identifier information and corresponding data to be transmitted. The PCF sends the first data packet filter to a control-plane node, wherein the first data packet filter is used by a data transmission apparatus to distribute data to be transmitted to a QoS transmission processing mechanism, which satisfies a matching relationship and then accordingly transmits the data to be transmitted, realizing distribution of data flow, increasing a data transmission speed and ensuring a guaranteed QoS for non-IP data packet transmission.

Description

数据传输的控制方法和设备Data transmission control method and device
本申请要求于2017年1月9日提交中国专利局、申请号为PCT/CN2017/070681、申请名称为“数据传输的控制方法和数据传输装置”的国际专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the International Patent Application filed on January 9, 2017, the Chinese Patent Office, the application number is PCT/CN2017/070681, and the application name is "Data Transmission Control Method and Data Transmission Device". The citations are incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及一种数据传输的控制方法和设备。The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling data transmission.
背景技术Background technique
无线网络作为基础的网络架构,越来越多的业务在无线网络上承载。根据业务的特性、要求,以及无线资源的稀缺性,决定了网络的行为,而网络的行为事先由服务质量(Quality of Service,QoS)规则(rule)来定义和实现接入控制,资源保证和调度,例如,当你正在打一个电话时,某人开始下载一个文件,由于无线资源的稀缺性,下载一个文件会抢占你通信的通信资源而导致你正在通信的电话被挂断,此时,就需要保证语音通话的无线资源比下载一个文件具有更高的资源使用优先级,这样才能保证无线资源不足时,语音通话正常。当然,在无线网络中,会有不同的业务接入,需要设置不同的QoS rule以保证关键的业务得到保证。Wireless networks are the underlying network architecture, and more and more services are carried over wireless networks. According to the characteristics and requirements of the service, and the scarcity of the radio resources, the behavior of the network is determined. The behavior of the network is defined and implemented by the quality of service (QoS) rules in advance. Scheduling, for example, when you are making a call, someone starts downloading a file. Due to the scarcity of wireless resources, downloading a file will preempt the communication resources of your communication and cause the phone you are communicating to hang up. It is necessary to ensure that the wireless resource of the voice call has a higher priority of resource usage than downloading a file, so as to ensure that the voice call is normal when the wireless resource is insufficient. Of course, in a wireless network, there are different service accesses, and different QoS rules need to be set to ensure that critical services are guaranteed.
在3GPP中所定义的EPS无线***中QoS的管理方式为:EPS***提供的各种IP业务的QoS保障可以通过一个IP业务传输其数据的一个或多个服务数据流(service data flow,SDF)来标识,一个SDF对应一个EPS承载,即一个SDF通过一个EPS承载来传输,以实现IP业务的QoS保障。其中,承载为逻辑传输通道。这样,IP业务的QoS保障就转化为EPS承载的QoS保障,或者说一个特定QoS的SDF映射到一个特定QoS的EPS承载上。其中,承载为逻辑传输通道。EPS承载是用户设备(User Equipment,UE)到PGW(PDN GateWay)之间的一种逻辑传输通道。The QoS management method in the EPS wireless system defined in 3GPP is: QoS guarantee of various IP services provided by the EPS system can transmit one or more service data flows (SDF) of its data through one IP service. To identify that an SDF corresponds to an EPS bearer, that is, an SDF is transmitted through an EPS bearer to implement QoS guarantee for IP services. The bearer is a logical transmission channel. In this way, the QoS guarantee of the IP service is converted into the QoS guarantee of the EPS bearer, or the SDF of a specific QoS is mapped to the EPS bearer of a specific QoS. The bearer is a logical transmission channel. The EPS bearer is a logical transmission channel between a User Equipment (UE) and a PGW (PDN GateWay).
服务数据流和承载通过数据流模板(Traffic Flow Template,TFT)进行关联和映射,而在无线网络中与RB-ID进行关联,在核心网中与隧道端点标识符(Tunnel End Point Identity,TEID)进行关联。上行数据流和TFT的关联由UE执行,下行数据流的TFT由PGW执行。其中,每个SDF包括至少一个IP数据流过滤器(IP Flower Filter)。将不同的业务根据不同的QoS需求由TFT过滤到不同的承载上传输,实现了QoS保障。The service data stream and the bearer are associated and mapped by a Traffic Flow Template (TFT), and are associated with the RB-ID in the wireless network, and the Tunnel End Point Identity (TEID) in the core network. Make an association. The association of the upstream data stream and the TFT is performed by the UE, and the TFT of the downstream data stream is executed by the PGW. Wherein each SDF includes at least one IP Flower Filter. Different services are filtered by TFTs to different bearers according to different QoS requirements, and QoS guarantee is realized.
在3GPP中规定了在与固定宽带网互通时,固网内部根据DSCP标记进行QoS控制。对于下行业务,3GPP网络设置每个IP包的DSCP值。当通过隧道将数据传输给UE时,网络会将内层IP包头的DSCP值复制到外层的IP头中,实现反转(Reflective)QoS。Reflective QoS是指固网用户UE的上行数据的Qos机制采用其下行数据的一样的QoS机制。对于上行业务,当UE支持reflective QoS时,UE根据接收到的下行数据包创建DSCP标记规则,并在发送IP包时,根据该规则设置IP包的DSCP值。In 3GPP, it is stipulated that when interworking with a fixed broadband network, the QoS control is performed inside the fixed network according to the DSCP flag. For downlink traffic, the 3GPP network sets the DSCP value for each IP packet. When the data is transmitted to the UE through the tunnel, the network will copy the DSCP value of the inner IP header to the outer IP header to implement the Reverse QoS. Reflective QoS refers to the same QoS mechanism that the QoS mechanism of the uplink data of the fixed network user UE uses its downlink data. For the uplink service, when the UE supports the reflective QoS, the UE creates a DSCP marking rule according to the received downlink data packet, and sets the DSCP value of the IP packet according to the rule when the IP packet is sent.
然而,在3GPP无线网络QoS机制中,只涉及IP数据包的处理,并没有涉及非IP(non-IP)数据包的处理,对于5G网络还需要明确如何支持非IP数据包的QoS保障机制。其中,IP 数据包可以简称为IP包。IP包为支持IP协议通信传输中的数据单位;非IP包为除支持IP协议通信传输中,支持其他协议通信传输的数据单位。However, in the 3GPP wireless network QoS mechanism, only the processing of IP data packets is involved, and the processing of non-IP (non-IP) data packets is not involved. For the 5G network, it is also necessary to specify how to support the QoS guarantee mechanism of non-IP data packets. Among them, IP A data packet can be simply referred to as an IP packet. The IP packet is a data unit that supports IP protocol communication transmission; the non-IP packet is a data unit that supports transmission of other protocols in addition to supporting IP protocol communication transmission.
发明内容Summary of the invention
本申请提供一种数据传输的控制方法和设备,通过配置结构化的数据包过滤器来完成数据流的分类与处理,保证了结构化非IP数据包QoS保障。The present application provides a data transmission control method and device, and configures a structured packet filter to complete classification and processing of data streams, thereby ensuring structured non-IP data packet QoS guarantee.
第一方面,提供了一种数据传输的控制方法,该方法可以包括:策略控制功能PCF获取数据类别标识信息和业务信息,业务信息可以是数据类别标识信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识(data network name,DNN)、业务所在数据网络的接口信息(如NG6隧道信息)、会话类型等信息中的一种或多种。数据类别标识信息用于对待传输数据包进行分类。PCF根据数据类别标识信息和业务信息,生成策略和计费规则(QoS rule),策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。PCF向控制面节点发送含有第一数据包过滤器的策略和计费规则,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。In a first aspect, a method for controlling data transmission is provided. The method may include: the policy control function PCF obtains data category identification information and service information, where the service information may be a matching value corresponding to the data category identifier information, a service QoS requirement, and a UE. One or more of the information such as the identifier, the service identifier, the data network name (DNN) of the service, the interface information of the data network where the service is located (such as NG6 tunnel information), and the session type. The data category identification information is used to classify the data packets to be transmitted. The PCF generates a policy and a charging rule (QoS rule) according to the data category identification information and the service information. The policy and charging rule includes a first data packet filter, and the first data packet filter includes data category identification information and matching conditions, and the matching The condition is used to specify a matching relationship between the data category identification information and the corresponding data to be transmitted. The PCF sends a policy and charging rule containing the first packet filter to the control plane node, and the first packet filter is used by the data transmission device to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
该方法可以应用在5G的会话建立或会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。The method can be applied to a 5G session establishment or session update scenario. The PCF obtains location information, and sends a QoS rule including data category identification information to the data transmission device through the CPF, and the UE and the UPF according to the corresponding packet filter. The data stream to be transmitted matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine the data stream and the data stream. Matching improves the speed of data stream transmission and ensures QoS guarantee for transmitting non-IP packets.
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。In an optional implementation manner, the matching condition includes operation information and matching information, and the matching information includes data to be compared. The matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
在一个可选的实现方式中,PCF获取数据类别标识信息和业务信息,包括:PCF接收应用功能发送的数据类别标识信息和业务信息,以使PCF获取数据类别标识信息和业务信息。In an optional implementation manner, the PCF obtains the data category identifier information and the service information, and the PCF receives the data category identifier information and the service information sent by the application function, so that the PCF obtains the data category identifier information and the service information.
在一个可选的实现方式中,PCF获取数据类别标识信息和业务信息,包括:PCF接收控制面节点发送的数据类别标识信息和业务信息。其中,数据类别标识信息和业务信息是控制面节点从终端或统一数据管理(UDM)处获取,以使PCF获取数据类别标识信息和业务信息。In an optional implementation manner, the PCF obtains the data category identifier information and the service information, where the PCF receives the data category identifier information and the service information sent by the control plane node. The data category identification information and the service information are obtained by the control plane node from the terminal or the unified data management (UDM), so that the PCF obtains the data category identification information and the service information.
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为数据包包头的一个或多个字段所在位置的信息。PCF根据数据类别标识信息和业务信息,生成策略和计费规则,包括:PCF根据位置信息和业务信息,生成策略和计费规则。In an optional implementation manner, the data category identification information includes location information, where the location information is information about a location of one or more fields of the packet header. The PCF generates policy and charging rules according to the data category identification information and the service information, including: the PCF generates a policy and a charging rule according to the location information and the service information.
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示数据包对应的服务质量信息,PCF根据数据类别标识信息和业务信息,生成策略和计费规则,包括:PCF根据服务质量需求标识和业务信息,生成策略和计费规则。In an optional implementation manner, the data category identifier information includes a service quality requirement identifier, the service quality requirement identifier is used to indicate the service quality information corresponding to the data packet, and the PCF generates a policy and a charging rule according to the data category identifier information and the service information. The method includes: the PCF generates a policy and a charging rule according to the service quality requirement identifier and the service information.
第二方面,提供了另一种数据传输的控制方法,该方法可以包括:控制面节点CPF 接收PCF发送的策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据包进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。CPF向数据传输装置发送数据类别标识信息,以使数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,其中,数据传输装置包括用户面功能UPF或终端UE。In a second aspect, another method of controlling data transmission is provided, and the method may include: controlling a surface node CPF Receiving a policy and charging rule sent by the PCF, the policy and charging rule includes a first data packet filter, the first data packet filter includes data category identification information and a matching condition, and the data category identification information is used to classify the data packet to be transmitted. The matching condition is used to specify a matching relationship between the data category identification information and the corresponding data packet to be transmitted. The CPF sends the data category identification information to the data transmission device, so that the data transmission device transmits the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship, wherein the data transmission device includes a user plane function UPF or a terminal UE.
该方法可以应用在5G的会话建立或会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。The method can be applied to a 5G session establishment or session update scenario. The PCF obtains location information, and sends a QoS rule including data category identification information to the data transmission device through the CPF, and the UE and the UPF according to the corresponding packet filter. The data stream to be transmitted matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine the data stream and the data stream. Matching improves the speed of data stream transmission and ensures QoS guarantee for transmitting non-IP packets.
在一个可选的实现方式中,CPF向数据传输装置发送数据类别标识信息,包括:CPF向UPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,第二数据包过滤器用于UPF将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。In an optional implementation manner, the CPF sends the data category identifier information to the data transmission device, where the CPF sends a second packet filter to the UPF, where the second packet filter includes the data category identifier information and the matching condition, and the second The packet filter is used by the UPF to allocate the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
在一个可选的实现方式中,CPF向数据传输装置发送数据类别标识信息,包括:控制面节点CPF向UE发送服务质量规则,服务质量规则包括第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。In an optional implementation manner, the CPF sends the data category identifier information to the data transmission apparatus, where the control plane node CPF sends a service quality rule to the UE, where the service quality rule includes a third data packet filter, and the third data packet filter The data class identification information and the matching condition are included, and the third data packet filter is used by the UE to allocate the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
在一个可选的实现方式中,CPF向数据传输装置发送数据类别标识信息,包括:控制面节点CPF向UE发送数据类别标识信息和反转规则,反转规则用于在反转QoS机制中UE根据数据类别标识信息和下行数据包获取第三数据包过滤器,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送,从而简化节省网络侧(如CPF)向UE下发Qos rule引起的信令开销。In an optional implementation manner, the CPF sends the data category identifier information to the data transmission apparatus, where the control plane node CPF sends the data category identifier information and the reverse rule to the UE, and the reverse rule is used in the reverse QoS mechanism. Obtaining a third data packet filter according to the data category identification information and the downlink data packet, where the third data packet filter is used for the UE to allocate the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship, thereby simplifying saving of the network side (such as The CPF) delivers signaling overhead caused by the Qos rule to the UE.
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。In an optional implementation manner, the matching condition includes operation information and matching information, and the matching information includes data to be compared. The matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
在一个可选的实现方式中,第一数据包过滤器、第二数据包过滤器、第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。In an optional implementation manner, the first data packet filter, the second data packet filter, and the third data packet filter include at least one packet filtering rule, where each data packet filtering rule includes data category identification information and operation information. And matching information; or, each packet filtering rule includes data category identification information and matching information.
在一个可选的实现方式中,控制面节点CPF接收PCF发送的第一数据包过滤器之前,该方法还包括:控制面节点CPF向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。In an optional implementation manner, before the control plane node CPF receives the first packet filter sent by the PCF, the method further includes: the control plane node CPF sends the data category identifier information and the service information to the PCF, so that the PCF generates the policy. And billing rules.
在一个可选的实现方式中,控制面节点CPF接收PCF发送的第一数据包过滤器之前,该方法还包括:控制面节点CPF接收统一数据管理实体(UDM)发送的数据类别标识信息和业务信息。控制面节点CPF向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。In an optional implementation manner, before the control plane node CPF receives the first packet filter sent by the PCF, the method further includes: the control plane node CPF receives the data category identifier information and the service sent by the unified data management entity (UDM). information. The control plane node CPF sends the data category identification information and the service information to the PCF, so that the PCF generates the policy and the charging rule.
在一个可选的实现方式中,该方法还包括:控制面节点CPF获取第二数据包过滤器的匹配优先级信息和第三数据包过滤器的匹配优先级信息。匹配优先级信息用于规定UPF对待传输数据进行过滤时,第二数据包过滤器之间的优先匹配的顺序,以及规定UE对待传输数据包进行过滤时,第三数据包过滤器之间的优先匹配的顺序。控制面节 点CPF向UPF发送第二数据包过滤器的匹配优先级信息,以及向UE发送第三数据包过滤器的匹配优先级信息。In an optional implementation manner, the method further includes: the control plane node CPF acquires matching priority information of the second data packet filter and matching priority information of the third data packet filter. The matching priority information is used to specify the order of priority matching between the second packet filters when the UPF filters the data to be transmitted, and the priority between the third packet filters when the UE is required to filter the packets to be transmitted. The order of the matches. Control panel The point CPF sends the matching priority information of the second packet filter to the UPF, and sends the matching priority information of the third packet filter to the UE.
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息。位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。In an optional implementation manner, the data category identification information includes location information, where the location information is information about a location of one or more fields of the service data packet header. The location information includes at least one of relative location information, location offset information, and location sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a start position of the packet header; a relative location The information is used to indicate that the data to be transmitted is located at the location of the data packet; the positioning sequence format information is used to indicate the order of the data to be transmitted relative to the location of the data packet.
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。In an optional implementation manner, the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
第三方面,提供了再一种数据传输的控制方法,该方法可以包括:终端UE获取第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,匹配条件规定数据类别标识信息与对应的待传输数据的匹配关系。UE根据第三数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。In a third aspect, a method for controlling data transmission is provided. The method may include: acquiring, by a terminal UE, a third data packet filter, where the third data packet filter includes data category identification information and a matching condition, and the matching condition specifies a data category. The matching relationship between the identification information and the corresponding data to be transmitted. The UE transmits the to-be-transmitted data packet to the QoS transmission processing mechanism that satisfies the matching relationship according to the third packet filter.
该方法可以应用在5G的会话建立或会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。The method can be applied to a 5G session establishment or session update scenario. The PCF obtains location information, and sends a QoS rule including data category identification information to the data transmission device through the CPF, and the UE and the UPF according to the corresponding packet filter. The data stream to be transmitted matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine the data stream and the data stream. Matching improves the speed of data stream transmission and ensures QoS guarantee for transmitting non-IP packets.
在一个可选的实现方式中,终端UE获取第三数据包过滤器,包括:UE接收控制面节点CPF发送的服务质量规则,服务质量规则包括第三数据包过滤器。In an optional implementation manner, the terminal UE acquires the third data packet filter, including: the UE receives the quality of service rule sent by the control plane node CPF, and the quality of service rule includes a third data packet filter.
在一个可选的实现方式中,终端UE获取第三数据包过滤器,包括:UE接收制面节点CPF发送的数据类别标识信息和反转规则,反转规则用于在反转QoS机制中UE根据数据类别标识信息和下行数据包获取第三数据包过滤器,从而简化节省网络侧(如CPF)向UE下发Qos rule引起的信令开销。In an optional implementation manner, the terminal UE acquires the third data packet filter, including: the UE receives the data category identifier information and the reverse rule sent by the interface node CPF, and the reverse rule is used in the reverse QoS mechanism. The third packet filter is obtained according to the data category identifier information and the downlink data packet, so as to simplify the signaling overhead caused by the network side (such as CPF) to deliver the Qos rule to the UE.
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。In an optional implementation manner, the matching condition includes operation information and matching information, and the matching information includes data to be compared. The matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
在一个可选的实现方式中,第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。In an optional implementation manner, the third packet filter includes at least one packet filtering rule, where each packet filtering rule includes data category identification information, operation information, and matching information; or each packet filtering rule includes data. Category identification information and matching information.
在一个可选的实现方式中,该方法还包括:终端UE接收第三数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UE对待传输数据包的进行第三数据包过滤器之间的优先匹配的顺序。当终端传输待传输数据包时,终端根据第二数据包过滤器的匹配优先级信息,对待传输数据包进行匹配。In an optional implementation manner, the method further includes: receiving, by the terminal UE, matching priority information of the third data packet filter, where the matching priority information is used to specify that the UE performs a third data packet filter on the data packet to be transmitted. The order of priority matches between. When the terminal transmits the data packet to be transmitted, the terminal matches the data packet to be transmitted according to the matching priority information of the second data packet filter.
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息。位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。In an optional implementation manner, the data category identification information includes location information, where the location information is information about a location of one or more fields of the service data packet header. The location information includes at least one of relative location information, location offset information, and location sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a start position of the packet header; a relative location The information is used to indicate that the data to be transmitted is located at the location of the data packet; the positioning sequence format information is used to indicate the order of the data to be transmitted relative to the location of the data packet.
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。 In an optional implementation manner, the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
第四方面,提供了再一种数据传输的控制方法,该方法可以包括:用户面功能UPF接收控制面节点CPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。UPF根据第二数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。In a fourth aspect, a method for controlling data transmission is provided. The method may include: a user plane function UPF receiving control plane node CPF sends a second data packet filter, and the second data packet filter includes data category identification information and matching. The condition, the data category identifier information is used to classify the data to be transmitted, and the matching condition is used to specify a matching relationship between the data category identifier information and the corresponding data packet to be transmitted. The UPF allocates the to-be-transmitted data packet to the QoS transmission processing mechanism that satisfies the matching relationship according to the second packet filter.
该方法可以应用在5G的会话建立或会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。The method can be applied to a 5G session establishment or session update scenario. The PCF obtains location information, and sends a QoS rule including data category identification information to the data transmission device through the CPF, and the UE and the UPF according to the corresponding packet filter. The data stream to be transmitted matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine the data stream and the data stream. Matching improves the speed of data stream transmission and ensures QoS guarantee for transmitting non-IP packets.
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。In an optional implementation manner, the matching condition includes operation information and matching information, and the matching information includes data to be compared. The matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
在一个可选的实现方式中,第二数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息,以及匹配信息。In an optional implementation manner, the second packet filter includes at least one packet filtering rule, and each packet filtering rule includes data category identification information, operation information, and matching information.
在一个可选的实现方式中,该方法还包括:用户面节点UPF接收第二数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UPF对待传输数据包的进行第二数据包过滤器之间的优先匹配的顺序。当用户面节点UPF传输待传输数据时,用户面节点UPF根据第二数据包过滤器的匹配优先级信息对待传输数据包进行匹配。In an optional implementation manner, the method further includes: the user plane node UPF receives the matching priority information of the second data packet filter, and the matching priority information is used to specify that the UPF performs the second data packet filtering on the data packet to be transmitted. The order of priority matching between the devices. When the user plane node UPF transmits the data to be transmitted, the user plane node UPF matches the data packet to be transmitted according to the matching priority information of the second packet filter.
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息。位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。In an optional implementation manner, the data category identification information includes location information, where the location information is information about a location of one or more fields of the service data packet header. The location information includes at least one of relative location information, location offset information, and positioning sequence format information; the location offset information is used to indicate an offset of the location of the data relative to the start position of the packet header; The indication order data is located at the position of the data packet; the positioning order format information is used to indicate the order in which the data is arranged relative to the location of the data packet.
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。In an optional implementation manner, the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
第五方面,提供了一种网络设备PCF。该网络设备具有实现上述第一方面的方法实际中PCF行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的功能模块。In a fifth aspect, a network device PCF is provided. The network device has the function of implementing the actual PCF behavior of the method of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more functional modules corresponding to the functions described above.
第六方面,提供了一种网络设备CPF。该网络设备具有实现上述第一方面的方法实际中CPF行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的功能模块。In a sixth aspect, a network device CPF is provided. The network device has the function of implementing the actual CPF behavior of the method of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more functional modules corresponding to the functions described above.
第七方面,提供了一种终端设备UE。该UE具有实现上述第一方面的方法实际中UE行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的功能模块。 In a seventh aspect, a terminal device UE is provided. The UE has the function of implementing the actual UE behavior in the method of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more functional modules corresponding to the functions described above.
第八方面,提供了一种网络设备UPF。该网络设备具有实现上述第一方面的方法实际中UPF行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的功能模块。In an eighth aspect, a network device UPF is provided. The network device has the function of implementing the actual UPF behavior of the method of the first aspect described above. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more functional modules corresponding to the functions described above.
第九方面,提供了另一种网络设备PCF。该设备可以包括:接收器、处理器和发送器。接收器,用于获取数据类别标识信息和业务信息,数据类别标识信息用于对待传输数据包进行分类。处理器,用于根据数据类别标识信息和业务信息,生成策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。发送器,用于向控制面节点发送含有第一数据包过滤器的策略和计费规则,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。In a ninth aspect, another network device PCF is provided. The device can include a receiver, a processor, and a transmitter. The receiver is configured to obtain data category identification information and service information, and the data category identifier information is used to classify the data packet to be transmitted. a processor, configured to generate a policy and a charging rule according to the data category identification information and the service information, where the policy and the charging rule include a first data packet filter, where the first data packet filter includes the data category identifier information and the matching condition, and the matching The condition is used to specify a matching relationship between the data category identification information and the corresponding data to be transmitted. a transmitter, configured to send, to the control plane node, a policy and a charging rule that includes a first data packet filter, where the first data packet filter is used by the data transmission device to allocate the data to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship. .
该装置还可以包括存储器。存储器用于与处理器耦合,其保存处理器执行的程序指令和数据。The device can also include a memory. The memory is for coupling with a processor that holds program instructions and data executed by the processor.
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。In an optional implementation manner, the matching condition includes operation information and matching information, and the matching information includes data to be compared. The matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
在一个可选的实现方式中,接收器,具体用于接收应用功能发送的数据类别标识信息和业务信息。In an optional implementation, the receiver is specifically configured to receive data category identification information and service information sent by the application function.
在一个可选的实现方式中,接收器,具体用于接收控制面节点发送的数据类别标识信息和业务信息;其中,数据类别标识信息和业务信息是控制面节点从用户设备(UE)或统一数据管理(UDM)处获取。In an optional implementation manner, the receiver is specifically configured to receive data category identifier information and service information sent by the control plane node, where the data category identifier information and the service information are control plane nodes from the user equipment (UE) or unified Obtained at the Data Management (UDM).
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为数据包包头的一个或多个字段所在位置的信息。处理器,还用于根据位置信息和业务信息,生成策略和计费规则。In an optional implementation manner, the data category identification information includes location information, where the location information is information about a location of one or more fields of the packet header. The processor is further configured to generate a policy and a charging rule according to the location information and the service information.
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示数据包对应的服务质量信息。处理器,还用于根据服务质量需求标识和业务信息,生成策略和计费规则。In an optional implementation manner, the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate the quality of service information corresponding to the data packet. The processor is further configured to generate a policy and a charging rule according to the service quality requirement identifier and the service information.
第十方面,提供了另一种网络设备CPF。该设备包括:接收器和发送器。In a tenth aspect, another network device CPF is provided. The device includes: a receiver and a transmitter.
接收器,用于接收PCF发送的策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据包进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。发送器,用于向数据传输装置发送数据类别标识信息,以使数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,其中,数据传输装置包括用户面功能UPF或终端UE。a receiver, configured to receive a policy and charging rule sent by the PCF, where the policy and charging rule includes a first data packet filter, the first data packet filter includes data category identification information and a matching condition, and the data category identifier information is used to treat The data packet is classified, and the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data packet to be transmitted. a transmitter, configured to send data category identification information to the data transmission apparatus, so that the data transmission apparatus transmits the data to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship, where the data transmission apparatus includes a user plane function UPF or a terminal UE .
该装置还可以包括存储器和处理器。存储器用于与处理器耦合,其保存处理器执行的程序指令和数据。The apparatus can also include a memory and a processor. The memory is for coupling with a processor that holds program instructions and data executed by the processor.
在一个可选的实现方式中,发送器,还用于向UPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件述第二数据包过滤器用于UPF将待传输数据包分配到满足所配关系的QoS传输处理机制进行发送。In an optional implementation manner, the transmitter is further configured to send a second data packet filter to the UPF, where the second data packet filter includes data category identifier information and a matching condition, and the second data packet filter is used for the UPF to be configured. The transport packet is allocated to the QoS transport processing mechanism that satisfies the assigned relationship for transmission.
在一个可选的实现方式中,发送器,还用于向UE发送服务质量规则,服务质量规则包括第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,第 三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。In an optional implementation manner, the transmitter is further configured to send a QoS rule to the UE, where the QoS rule includes a third packet filter, and the third packet filter includes data category identifier information and a matching condition, where The three-packet filter is used by the UE to allocate the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
在一个可选的实现方式中,发送器,还用于向UE发送数据类别标识信息和反转规则,反转规则用于在反转QoS机制中UE根据数据类别标识信息和下行数据包获取第三数据包过滤器,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。In an optional implementation manner, the transmitter is further configured to send data category identifier information and a reverse rule to the UE, where the reverse rule is used by the UE to obtain, according to the data category identifier information and the downlink data packet, in the reverse QoS mechanism. The third packet filter is used by the UE to allocate the to-be-transmitted data packet to the QoS transmission processing mechanism that satisfies the matching relationship.
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。In an optional implementation manner, the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
在一个可选的实现方式中,第一数据包过滤器、第二数据包过滤器、第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。In an optional implementation manner, the first data packet filter, the second data packet filter, and the third data packet filter include at least one packet filtering rule, where each data packet filtering rule includes data category identification information and operation information. And matching information; or, each packet filtering rule includes data category identification information and matching information.
在一个可选的实现方式中,发送器,还用于向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。In an optional implementation manner, the transmitter is further configured to send data category identification information and service information to the PCF, so that the PCF generates a policy and a charging rule.
在一个可选的实现方式中,接收器,还用于接收统一数据管理实体(UDM)发送的数据类别标识信息和业务信息;In an optional implementation manner, the receiver is further configured to receive data category identifier information and service information sent by a unified data management entity (UDM);
发送器,还用于向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。The transmitter is further configured to send data category identification information and service information to the PCF, so that the PCF generates a policy and a charging rule.
第十一方面,提供了另一种终端设备UE。该设备包括:处理器和发送器。处理器,用于获取第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,匹配条件规定数据类别标识信息与对应的待传输数据的匹配关系。发送器,用于根据第三数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。In an eleventh aspect, another terminal device UE is provided. The device includes: a processor and a transmitter. The processor is configured to obtain a third data packet filter, where the third data packet filter includes data category identification information and a matching condition, and the matching condition specifies a matching relationship between the data category identifier information and the corresponding data to be transmitted. And a transmitter, configured to send, according to the third data packet filter, the data packet to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship.
该设备还可以包括存储器。存储器用于与处理器耦合,其保存处理器执行的程序指令和数据。The device can also include a memory. The memory is for coupling with a processor that holds program instructions and data executed by the processor.
在一个可选的实现方式中,该设备还包括接收器,接收器,还用于接收控制面节点CPF发送的服务质量规则,服务质量规则包括第三数据包过滤器。In an optional implementation manner, the device further includes a receiver, and the receiver is further configured to receive a quality of service rule sent by the control plane node CPF, where the quality of service rule includes a third data packet filter.
在一个可选的实现方式中,接收器,还用于接收控制面节点CPF发送的数据类别标识信息和反转规则,规则用于在反转QoS机制中处理器根据数据类别信息和下行数据包获取第三数据包过滤器。In an optional implementation, the receiver is further configured to receive data category identifier information and a reverse rule sent by the control plane node CPF, where the rule is used by the processor according to the data category information and the downlink data packet in the reverse QoS mechanism. Get the third packet filter.
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。In an optional implementation manner, the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
在一个可选的实现方式中,第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。In an optional implementation manner, the third packet filter includes at least one packet filtering rule, where each packet filtering rule includes data category identification information, operation information, and matching information; or each packet filtering rule includes data. Category identification information and matching information.
在一个可选的实现方式中,接收器,还用于接收第三数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UE对待传输数据包的进行第三数据包过滤器之间的优先匹配的顺序;发送器,还用于当用户设备传输待传输数据包时,根据第二数据包过滤器的匹配优先级信息,对待传输数据包进行匹配。In an optional implementation manner, the receiver is further configured to receive matching priority information of the third data packet filter, where the matching priority information is used to specify that the UE is to transmit the data packet between the third data packet filter. The order of the priority matching; the sender is further configured to: when the user equipment transmits the data packet to be transmitted, match the data packet to be transmitted according to the matching priority information of the second data packet filter.
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据 包包头的一个或多个字段所在位置的信息。位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。In an optional implementation manner, the data category identifier information includes location information, and the location information is service data. Information about the location of one or more fields of the packet header. The location information includes at least one of relative location information, location offset information, and location sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a start position of the packet header; a relative location The information is used to indicate that the data to be transmitted is located at the location of the data packet; the positioning sequence format information is used to indicate the order of the data to be transmitted relative to the location of the data packet.
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。In an optional implementation manner, the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
第十二方面,提供了另一种网络设备UPF。该设备包括:接收器和发送器。In a twelfth aspect, another network device UPF is provided. The device includes: a receiver and a transmitter.
接收器,用于接收控制面节点CPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。发送器,用于根据第二数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。a receiver, configured to receive a control plane node CPF to send a second data packet filter, the second data packet filter includes data category identification information and a matching condition, and the data category identifier information is used to classify the data to be transmitted, and the matching condition is used to specify The matching relationship between the data category identification information and the corresponding data packet to be transmitted. And a transmitter, configured to send, according to the second data packet filter, the data packet to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship.
该设备还可以包括存储器和处理器。存储器用于与处理器耦合,其保存处理器执行的程序指令和数据。The device can also include a memory and a processor. The memory is for coupling with a processor that holds program instructions and data executed by the processor.
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;In an optional implementation manner, the matching condition includes operation information and matching information, and the matching information includes data to be compared;
满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。The matching relationship is satisfied that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
在一个可选的实现方式中,第二数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息,以及匹配信息。In an optional implementation manner, the second packet filter includes at least one packet filtering rule, and each packet filtering rule includes data category identification information, operation information, and matching information.
在一个可选的实现方式中,装置还包括处理器,接收器,还用于接收第二数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UPF对待传输数据包的进行第二数据包过滤器之间的优先匹配的顺序。处理器,用于当用户面节点UPF传输待传输数据时,根据第二数据包过滤器的匹配优先级信息对待传输数据包进行匹配。In an optional implementation, the device further includes a processor, and the receiver is further configured to receive matching priority information of the second data packet filter, where the matching priority information is used to specify that the UPF performs the second transmission of the data packet. The order of priority matching between packet filters. And a processor, configured to: when the user plane node UPF transmits the data to be transmitted, match the data packet to be transmitted according to the matching priority information of the second data packet filter.
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息;位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。In an optional implementation manner, the data category identifier information includes location information, where the location information is information about a location of one or more fields of the service data packet header; the location information includes relative location information, location offset information, and a positioning sequence. At least one of the format information; the position offset information is used to indicate an offset of the location of the data relative to the start position of the packet header; the relative location information is used to indicate that the data is located at the location of the data packet; the positioning sequence format information is used for Indicates the order in which the data is ranked relative to the location of the packet.
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。In an optional implementation manner, the data category identifier information includes a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
第十三方面,提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面至第四方面所述的方法。In a thirteenth aspect, a computer program product comprising instructions for causing a computer to perform the methods of the first to fourth aspects described above when the computer program product is run on a computer.
第十四方面,提供了一种计算机可读存储介质。该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现上述第一方面至第四方面所述的方法。In a fourteenth aspect, a computer readable storage medium is provided. The computer readable storage medium stores a computer program that, when executed by the processor, implements the methods of the first to fourth aspects described above.
附图说明DRAWINGS
图1为本申请实施例提供的一种数据传输控制***的架构图; FIG. 1 is a schematic structural diagram of a data transmission control system according to an embodiment of the present application;
图2为本发明实施例提供的一种结构化非IP数据包的结构示意图;2 is a schematic structural diagram of a structured non-IP data packet according to an embodiment of the present invention;
图3为本发明实施例提供的另一种结构化非IP数据包的结构示意图;3 is a schematic structural diagram of another structured non-IP data packet according to an embodiment of the present invention;
图4为本发明实施例提供的一种数据传输的控制方法流程图;4 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention;
图5为本发明实施例提供的一种在会话建立场景中数据传输的控制方法流程图;FIG. 5 is a flowchart of a method for controlling data transmission in a session establishment scenario according to an embodiment of the present invention;
图6为本发明实施例提供的一种在会话更新场景中数据传输的控制方法流程图;FIG. 6 is a flowchart of a method for controlling data transmission in a session update scenario according to an embodiment of the present invention;
图7为本发明实施例提供的另一种在会话更新场景中数据传输的控制方法流程图;FIG. 7 is a flowchart of another method for controlling data transmission in a session update scenario according to an embodiment of the present invention;
图8为本发明实施例提供的再一种在会话更新场景中数据传输的控制方法流程图;FIG. 8 is a flowchart of still another method for controlling data transmission in a session update scenario according to an embodiment of the present invention;
图9为本发明实施例提供的一种策略控制功能装置的结构示意图;FIG. 9 is a schematic structural diagram of a policy control function device according to an embodiment of the present disclosure;
图10为本发明实施例提供的一种控制面节点装置的结构示意图;FIG. 10 is a schematic structural diagram of a control plane node device according to an embodiment of the present invention;
图11为本发明实施例提供的一种终端的结构示意图;FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图12为本发明实施例提供的一种用户面功能装置的结构示意图;FIG. 12 is a schematic structural diagram of a user plane function device according to an embodiment of the present invention;
图13为本发明实施例提供的另一种策略控制功能设备的结构示意图;FIG. 13 is a schematic structural diagram of another policy control function device according to an embodiment of the present disclosure;
图14为本发明实施例提供的另一种控制面节点设备的结构示意图;FIG. 14 is a schematic structural diagram of another control plane node device according to an embodiment of the present disclosure;
图15为本发明实施例提供的另一种终端的结构示意图;FIG. 15 is a schematic structural diagram of another terminal according to an embodiment of the present disclosure;
图16为本发明实施例提供的另一种用户面功能设备的结构示意图。FIG. 16 is a schematic structural diagram of another user plane function device according to an embodiment of the present invention.
具体实施方式detailed description
下面通过附图和实施例,对本申请的技术方案做进一步的详细描述。The technical solutions of the present application are further described in detail below through the accompanying drawings and embodiments.
本申请提出了一种与协议无关的服务质量(Quality of Service,QoS)传输处理机制,通过获取结构化的数据包过滤器(structure packet filters,SPF)来完成数据流的分类与处理,解决了5G网络通信数据传输中对传输的非IP数据包的QoS保障。其中,不同的包过滤器对应网络的不同QoS规则(rule)控制。The present application proposes a protocol-independent quality of service (QoS) transmission processing mechanism, and obtains structured packet filters (SPF) to complete classification and processing of data streams, and solves the problem. QoS guarantee for transmitted non-IP data packets in 5G network communication data transmission. Among them, different packet filters correspond to different QoS rule control of the network.
网络中传输的数据包的分类包括结构化的IP包和非IP包。非IP包又包括结构化的非IP包(如以太帧)和非结构化的非IP包,例如用于物联网(Internet of Things,IOT)场景下的裸包或者私有协议包。这里的裸包是指没有协议头的数据包,从包头第一位开始就是数据信息。本申请实施例配置的包过滤器适用于结构化的IP包和结构化的非IP包。The classification of data packets transmitted over the network includes structured IP packets and non-IP packets. Non-IP packets include structured non-IP packets (such as Ethernet frames) and unstructured non-IP packets, such as bare packets or private protocol packets for Internet of Things (IOT) scenarios. The bare packet here refers to a data packet without a protocol header, starting from the first bit of the packet header is the data information. The packet filter configured in the embodiment of the present application is applicable to a structured IP packet and a structured non-IP packet.
需要说明的是,本申请实施例中的“结构化”是指数据的存储方式遵循一定的协议格式,存储按照比特(binary digit,bit)或者字节存储。例如IEEE802.3以太帧头格式和每个字段的指示信息如数据包格式1所示。It should be noted that the “structured” in the embodiment of the present application means that the data storage manner follows a certain protocol format, and the storage is stored in a binary digit (bit) or a byte. For example, the IEEE 802.3 Ethernet frame header format and the indication information of each field are as shown in the packet format 1.
数据包格式1Packet format 1
前导码Preamble 帧开始符Frame starter 目标地址target address 源地址source address 长度/类型Length/type 数据和填充注Data and fill notes 帧校验序列Frame check sequence
77 11 66 66 22 46-150046-1500 44
在IEEE802.3以太帧头格式中,前导码(Preamble)用于同步,占用的字段长度为7个字节;帧开始符(Start Frame Division,SDF)用于表明下一个字节为目的媒体访问控制(Media Access Control,MAC)地址,占用的字段长度为1个字节;目的MAC地址用于执明帧的接受者,占用的字段长度为6个字节;源MAC地址用于执明帧的发送者,占用 的字段长度为6个字节;长度(Length)/类型(Type)用于表示帧中数据字段的长度或者帧中数据的协议类型,长度或者类型占用的字段长度为2个字节;数据和填充(Data and Pad)注为高层的数据,通常为3层协议数据单元,例如TCP/IP中的IP数据包,占用的字段长度为46-1500个字节;帧校验序列(frame check sequence,FCS)用于对接收网卡提供判断是否传输错误的一种方法,若发现错误,则丢弃此帧,占用的字段长度为4个字节。In the IEEE 802.3 Ethernet frame header format, a preamble (Preamble) is used for synchronization, and the occupied field length is 7 bytes; a Start Frame Division (SDF) is used to indicate that the next byte is the destination media access. Control (Media Access Control, MAC) address, the length of the occupied field is 1 byte; the destination MAC address is used for the recipient of the specified frame, the occupied field length is 6 bytes; the source MAC address is used for the obscured frame Sender, occupied The length of the field is 6 bytes; the length/type is used to indicate the length of the data field in the frame or the protocol type of the data in the frame, and the length or type of the field occupied by the field is 2 bytes; Data and Pad is a high-level data, usually a 3-layer protocol data unit, such as an IP packet in TCP/IP, occupying a field length of 46-1500 bytes; a frame check sequence , FCS) is a method for providing a receiving network card to determine whether to transmit an error. If an error is found, the frame is discarded, and the occupied field length is 4 bytes.
又例如802.1Q数据包头格式,如表数据包格式2所示。Another example is the 802.1Q packet header format, as shown in Table Packet Format 2.
数据包格式2Packet format 2
Figure PCTCN2017097399-appb-000001
Figure PCTCN2017097399-appb-000001
与IEEE802.3的区别在于,802.1Q包含了VLAN包(VLAN Tag),表明其组播的VLAN。其中,802.1Q VLAN Tag占用字段的长度为4bit。802.1Q VLAN包中包括包协议标识(Tag Protocol ID)0x8100,用户优先级(User Priority),规范格式指示(Canonical Format Indicator)和VLAN标识(VLAN ID)。The difference from IEEE802.3 is that 802.1Q contains a VLAN tag (VLAN Tag) indicating its multicast VLAN. The length of the 802.1Q VLAN Tag occupation field is 4 bits. The 802.1Q VLAN packet includes a Tag Protocol ID of 0x8100, a User Priority, a Canonical Format Indicator, and a VLAN ID.
又例如IP数据包包头的格式,如数据包格式3所示。Another example is the format of the IP packet header, as shown in packet format 3.
数据包格式3Packet format 3
Figure PCTCN2017097399-appb-000002
Figure PCTCN2017097399-appb-000002
数据包格式3中的版本号(Version)占用的字段长度为4比特,用于表示采用的IP协议的版本号,一般的值为0100(IPv4)或者0110(IPv6)。The version number (Version) in the packet format 3 occupies a field length of 4 bits and is used to indicate the version number of the adopted IP protocol. The general value is 0100 (IPv4) or 0110 (IPv6).
IP包头长度(Header Length)占用的字段长度为4比特,用于描述IP包头的长度,因为在IP包头中有变长的可选部分。该部分占4个bit位,单位为32bit(4个字节),即本区域值=IP头部长度(单位为bit)/(8*4),因此,一个IP包头的长度最长为“1111”,即15*4=60个字节。IP包头最小长度为20字节。The header length occupied by the IP header length is 4 bits, which is used to describe the length of the IP header because there is a variable length optional part in the IP header. This part occupies 4 bits, and the unit is 32 bits (4 bytes), that is, the value of this area = IP header length (in bits) / (8 * 4), therefore, the length of an IP header is the longest. 1111", that is, 15*4=60 bytes. The IP header has a minimum length of 20 bytes.
服务类型(Type of Service)占用的字段长度为8比特。8位按位被如下定义PPPDTRC0。 The type of service occupied by the Type of Service is 8 bits long. The 8-bit bitwise bit is defined as PPPDTRC0 as follows.
PPP:定义包的优先级,取值越大数据越重要;PPP: defines the priority of the package. The larger the value, the more important the data.
000普通(Routine);000 ordinary (Routine);
001优先的(Priority);001 priority (Priority);
010立即的发送(Immediate);010 immediate transmission (Immediate);
011闪电式的(Flash);011 lightning (Flash);
100比闪电还闪电式的(Flash Override);100 is lightning-fast than Flash (Flash Override);
101CRI/TIC/ECP;101CRI/TIC/ECP;
110网间控制(Internetwork Control);110 Internetwork Control (Internetwork Control);
111网络控制(Network Control)。111 Network Control (Network Control).
需要说明的是,DTRC0中的“D”表示时延(Delay);“T”表示吞吐量(throughput);“R”表示可靠性(reliability);“M”表示传输成本;最后一位的“0”保留,恒定为0。It should be noted that "D" in DTRC0 indicates delay; "T" indicates throughput; "R" indicates reliability; "M" indicates transmission cost; last bit " 0" reserved, constant at 0.
IP包总长(Total Length)占用字段长度为16比特。以字节为单位计算的IP包的长度(包括头部和数据),所以IP包最大长度为65535字节。The total length of the IP packet is 16 bits. The length of the IP packet (including the header and data) calculated in bytes, so the maximum length of the IP packet is 65535 bytes.
标识符(Identifier)占用的字段长度为16比特。该字段和IP标记(Flags)和片偏移(Fragment Offest)字段联合使用,对较大的上层数据包进行分段(fragment)操作。路由器将一个包拆分后,所有拆分开的小包被标记相同的值,以便目的端设备能够区分哪个包属于被拆分开的包的一部分。The length occupied by the identifier (Identifier) is 16 bits. This field is used in conjunction with the IPs (Flags) and Fragment Offest fields to perform fragmentation operations on larger upper layer packets. After the router splits a packet, all the split packets are marked with the same value, so that the destination device can distinguish which packet belongs to a part of the split package.
标记(IP Flags)占用的字段长度为3比特。该字段第一位(X)不使用。第二位是DF(Don't Fragment)位,DF位设为1时表明路由器不能对该上层数据包分段。如果一个上层数据包无法在不分段的情况下进行转发,则路由器会丢弃该上层数据包并返回一个错误信息。第三位是MF(More Fragments)位,当路由器对一个上层数据包分段,则路由器会在除了最后一个分段的IP包的包头中将MF位设为1。其中,第二位“DF”可以简写为“D”;第三位“MF”可以简写为“M”。The fields occupied by the flags (IP Flags) are 3 bits long. The first digit (X) of this field is not used. The second bit is the DF (Don't Fragment) bit. When the DF bit is set to 1, it indicates that the router cannot segment the upper layer data packet. If an upper layer packet cannot be forwarded without fragmentation, the router discards the upper layer packet and returns an error message. The third bit is the MF (More Fragments) bit. When the router segments an upper layer packet, the router sets the MF bit to 1 in the header of the IP packet except the last segment. Among them, the second bit "DF" can be abbreviated as "D"; the third bit "MF" can be abbreviated as "M".
片偏移(Fragment Offset)占用的字段长度为13比特。表示该IP包在该组分片包中的位置,接收端靠该片偏移来组装还原IP包。The Fragment Offset occupies a field length of 13 bits. Indicates the location of the IP packet in the component packet, and the receiving end assembles the restored IP packet by the slice offset.
生存时间(Time To Live,TTL)占用的字段长度为8比特。当IP包进行传送时,先会对该字段赋予某个特定的值。当IP包经过每一个沿途的路由器的时候,每个沿途的路由器会将IP包的TTL值减少1。如果TTL减少为0,就丢弃该IP包。这个字段可以防止由于路由环路而导致IP包在网络中不停被转发。The length of the field occupied by Time To Live (TTL) is 8 bits. When an IP packet is transmitted, the field is first given a specific value. When an IP packet passes through each router along the way, each router along the way will reduce the TTL value of the IP packet by one. If the TTL is reduced to 0, the IP packet is discarded. This field prevents IP packets from being forwarded throughout the network due to routing loops.
协议(Protocol)占用的字段长度为8比特。标识了上层所使用的协议。比较常用的协议包括:互联网控制报文协议(Internet Control Message Protocol,ICMP)、互联网组管理协议((Internet Group Manage Protocol,IGMP)、传输控制协议(Transmission Control Protocol,TCP)、用户数据报协议(User Datagram Protocol,UDP)、内部网关路由协议((Interior Gateway Routing Protocol,IGRP),开放最短路径优先(Open Shortest Path First,OSPF)属于一个内部网关协议((Interior Gateway Protocol,IGP),等等。The length of the field occupied by the protocol is 8 bits. Identifies the protocol used by the upper layer. Commonly used protocols include: Internet Control Message Protocol (ICMP), Internet Group Management Protocol (IGMP), Transmission Control Protocol (TCP), and User Datagram Protocol ( User Datagram Protocol (UDP), Interior Gateway Routing Protocol (IGRP), Open Shortest Path First (OSPF) belong to an Interior Gateway Protocol (IGP), and so on.
头部校验(Header Checksum)占用的字段长度为16位。用来做IP头部的正确性检测,但不包含数据部分。因为每个路由器要改变TTL的值,所以路由器会为每个通过的数据包重新计算这个值。The header length occupied by the Header Checksum is 16 bits. Used to do the correctness detection of the IP header, but does not contain the data part. Because each router wants to change the value of the TTL, the router recalculates this value for each passed packet.
起源和目标地址(Source and Destination Addresses):这两个字段均占用32比特。 标识了这个IP包的起源和目标地址。要注意除非使用网络地址转换(Network Address Translation,NAT),否则整个传输的过程中,这两个地址不会改变。Source and Destination Addresses: Both fields occupy 32 bits. Identifies the origin and destination address of this IP packet. Note that unless you use Network Address Translation (NAT), these two addresses will not change during the entire transfer.
可选项(IP Options)是一个可变长的字段。The IP Options is a variable length field.
根据数据包格式1的以太帧头格式、数据包格式2的802.1Q数据包头格式,以及数据包格式3的IP数据包包头格式的举例可知,结构化的数据包,其头域字段在数据包包头的存储为位置是固定的,因此提出本申请的技术方案,通过配置结构化的包过滤器来完成数据流的分类与处理,以实现5G网络通信数据传输中对传输的非IP数据包的QoS保障。According to the Ethernet frame header format of the packet format 1, the 802.1Q packet header format of the packet format 2, and the IP packet header format of the packet format 3, the structured packet has its header field in the packet. The storage of the packet header is fixed, so the technical solution of the present application is proposed, and the structured packet filter is configured to complete the classification and processing of the data stream, so as to realize the transmission of the non-IP data packet in the 5G network communication data transmission. QoS guarantee.
下面结合附图对本申请的技术方案进行详细的描述。The technical solutions of the present application are described in detail below with reference to the accompanying drawings.
图1为本申请实施例提供的一种数据传输控制***的架构图。如图1所示,该***可以包括:应用功能(applicationfunction,AF)设备、策略功能(policy function,PCF)设备、控制面(controlplane function,CPF)节点、数据网络(data network,DN)、用户面(user plan function,UPF)节点、接入网(accessing network,AN)(或radio accessing network,RAN)设备和终端(user equipment,UE)。该***可以包括UDM。FIG. 1 is a structural diagram of a data transmission control system according to an embodiment of the present application. As shown in FIG. 1 , the system may include: an application function (AF) device, a policy function (PCF) device, a control plane function (CPF) node, a data network (DN), and a user. User plan function (UPF) node, access network (AN) (or radio accessing network, RAN) device and user equipment (UE). The system can include a UDM.
其中,该CPF可以包括接入与移动管理功能实体(access and mobility management function,AMF)和会话管理功能实体(session management function,SMF),AMF通过隧道NG11与SMF通信。AF可以通过NG5与PCF相连;PCF可以通过NG7与CPF通信;CPF中的SMF可以通过NG4与UPF通信,还可以通过NG10与UDM通信;CPF中的AMF可以通过NG1与UE通信,还可以通过NG8与UDM通信;CPF中的AMF可以通过NG2与AN通信;AN与UE通信,AN可以通过NG3与UPF;UPF可以通过NG3与DN通信。UPF和UE可以统称为数据传输装置。The CPF may include an access and mobility management function (AMF) and a session management function (SMF), and the AMF communicates with the SMF through the tunnel NG11. AF can be connected to PCF through NG5; PCF can communicate with CPF through NG7; SMF in CPF can communicate with UPF through NG4, and can communicate with UDM through NG10; AMF in CPF can communicate with UE through NG1, and can also pass NG8 Communicate with the UDM; the AMF in the CPF can communicate with the AN through NG2; the AN communicates with the UE, the AN can communicate with the UPF through the NG3; and the UPF can communicate with the DN through the NG3. The UPF and UE can be collectively referred to as a data transmission device.
图1所述的***可以应用在5G的会话建立(业务建立)或会话更新(业务更新)的场景中。PCF配置QoS规则,QoS规则中包括结构化的包过滤器,例如,将分组数据单元(Packets data unit,PDU)会话(Session)按照结构化(Structure)的PDU会话类型(type)和非结构化(Unstructure)的PDU类型进行分类。QoS规则中可以包括按照结构化PDU会话类型配置结构化的包过滤器。结构化的包过滤器可以包括至少一个结构化过滤器规则(SPT rule),例如SPT=(SPF rule 1和SPF rule 2)或者(SPF rule 3和SPF rule4)或者SPF rule 5,等等。The system described in FIG. 1 can be applied in a scenario of 5G session establishment (service establishment) or session update (service update). The PCF configures QoS rules, and the QoS rules include structured packet filters, for example, packet data units (PDUs) sessions are structured according to a structured PDU session type and unstructured. (Unstructure) PDU types are classified. The QoS rules may include configuring structured packet filters in accordance with the structured PDU session type. The structured packet filter may include at least one structured filter rule (SPT rule) such as SPT = (SPF rule 1 and SPF rule 2) or (SPF rule 3 and SPF rule 4) or SPF rule 5, and the like.
在本申请实施例中,结构化的数据包过滤器可以简称为数据包过滤器;结构化过滤器规则可以简称为包过滤器规则。每个包过滤器规则可以包括数据类别标识信息和匹配条件,匹配条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。匹配条件可以包括操作(Operation)或者运算信息,以及匹配信息(或者称为匹配值(match data)),数据类别标识信息用于对待传输数据按照服务质量进行分类。In the embodiment of the present application, the structured packet filter may be simply referred to as a packet filter; the structured filter rule may be simply referred to as a packet filter rule. Each packet filter rule may include data category identification information and a matching condition, and the matching condition is used to specify a matching relationship between the data to be transmitted corresponding to the location information and the QoS transmission processing mechanism. The matching condition may include operation or operation information, and matching information (or called match data), and the data category identification information is used to classify the data to be transmitted according to the quality of service.
例如,UE需要传输上行数据,需要与包过滤器匹配,例如包过滤器的SPF rule为SPF rule 1,根据运算信息“=”对上行数据0bit位的数据进行运算,得到匹配值,若匹配值与SPF rule 1中匹配信息1相等,则UE采用SPF rule 1对应的承载传输该上行数据。For example, the UE needs to transmit uplink data, and needs to match the packet filter. For example, the SPF rule of the packet filter is SPF rule 1, and the data of the 0 bit of the uplink data is calculated according to the operation information “=” to obtain a matching value. If the matching information 1 in the SPF rule 1 is equal, the UE transmits the uplink data by using the bearer corresponding to the SPF rule 1.
匹配信息可以为不同协议类型中,结构化数据包包头中数据类别标识信息,例如IP协议类型中的目标MAC地址信息、源MAC地址信息或协议类型中任一项等;运算信息规定了一种逻辑关系,该逻辑比较关系如表1至表5所示,可为大于、等于、 小于、大于或等于,小于或等于,和、或以及16进制转换等;若数据类别标识信息所指示的待传输数据包和待比较数据包的关系符合运算信息中规定的逻辑关系,则将该数据包分配到与该包过滤器对应的服务质量QoS传输处理机制上进行数据传输。其中,QoS传输处理机制的功能类似与4G通信***中,EPS承载,简称承载的功能。The matching information may be the data category identification information in the structured data packet header in different protocol types, for example, the destination MAC address information, the source MAC address information, or the protocol type in the IP protocol type; the operation information defines a type Logical relationship, the logical comparison relationship is shown in Table 1 to Table 5, which may be greater than, equal to, Less than, greater than or equal to, less than or equal to, and, or hexadecimal conversion; if the relationship between the data packet to be transmitted and the data packet to be compared indicated by the data category identification information conforms to the logical relationship specified in the operation information, The data packet is allocated for data transmission on a quality of service QoS transmission processing mechanism corresponding to the packet filter. Among them, the function of the QoS transmission processing mechanism is similar to that of the 4G communication system, the EPS bearer, referred to as the bearer function.
在本发明的一个实施例中,数据包过滤器可以包括至少一个包过滤规则,每个数据包过滤器包括数据类别标识信息、运算信息,以及匹配信息。或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。In one embodiment of the invention, the packet filter may include at least one packet filtering rule, each packet filter including data category identification information, operational information, and matching information. Alternatively, each packet filtering rule includes data category identification information and matching information.
其中,数据类别标识信息可以包括数据包检测头域的位置信息(field position information)(下面简称“位置信息”)或服务质量需求标识。The data category identification information may include field location information (hereinafter referred to as “location information”) or a quality of service requirement identifier.
数据包过滤器中的服务质量需求标识用于指示业务数据包对应的服务质量信息。服务质量需求标识可以通过运营商和内容提供商合作或协议制定得出。服务质量需求标识为在业务数据包中一个或多个字段携带的与相应的服务质量对应的标识信息。也就是说,运营商根据不同的服务质量需求标识为携带不同质量服务标识的业务数据包提供不同的QoS服务。数据包过滤器根据不同的服务质量需求标识和匹配信息,将待传输数据包分配到对应的QoS传输处理机制进行发送。The quality of service requirement identifier in the packet filter is used to indicate the quality of service information corresponding to the service data packet. The quality of service requirement identifier can be determined through cooperation or agreement between the operator and the content provider. The quality of service requirement identifier is identification information corresponding to the corresponding quality of service carried in one or more fields in the service data packet. That is to say, the operator provides different QoS services for the service data packets carrying different quality service identifiers according to different service quality requirement identifiers. The packet filter allocates the to-be-transmitted data packet to the corresponding QoS transmission processing mechanism for transmission according to different quality of service requirement identification and matching information.
以结构化的非IP数据包为例,服务质量需求标识可以在非IP数据包的包头部分中,如图2所示,非IP数据包可以包括包头的服务质量需求标识和包头的其他信息(如长度信息和版本信息)以及负荷部分。可以理解的是,非IP数据包可以通过增加新的字段携带服务质量需求标识,也可以将服务质量需求标识放在非IP数据包包头的预留字段中,本发明实施例在此不作限定。Taking a structured non-IP packet as an example, the quality of service requirement identifier may be in the header portion of the non-IP packet, as shown in FIG. 2, and the non-IP packet may include the quality of service requirement identifier of the packet header and other information of the packet header ( Such as length information and version information) as well as the load part. It can be understood that the non-IP data packet can carry the service quality requirement identifier by adding a new field, and the service quality requirement identifier can be placed in the reserved field of the non-IP data packet header, which is not limited herein.
数据包过滤器中的位置信息为业务数据包包头的一个或多个字段所在位置的信息。数据包过滤器根据不同的位置信息、运算信息,以及匹配信息。或者,根据不同的位置信息和匹配信息,将待传输数据包分配到对应的QoS传输处理机制进行发送。The location information in the packet filter is information about the location of one or more fields of the header of the service data packet. The packet filter is based on different location information, operational information, and matching information. Or, according to different location information and matching information, the data packet to be transmitted is allocated to a corresponding QoS transmission processing mechanism for transmission.
数据包过滤器中的位置信息可以是根据对现有的结构化的协议进行分析,确定相应的需要用于策略匹配判断的位置信息。如IP协议中的IP五元组所在的位置信息,如以太网协议中的MAC地址的位置信息。或者是运营商自己封装的数据包所用的协议的关键头域的位置信息,如运营商把非IP包用IP协议进行封装,则位置信息就是IP协议中的IP五元组所在的位置信息。以结构化的非IP数据包为例,如图3所示,非IP数据可以包括包头部分和负荷部分。包头部分可以包括位置信息和其他信息(如长度信息和版本信息),其中,位置信息可以是位置1的比特位信息、位置2的比特位信息至位置n的比特位信息。The location information in the packet filter may be based on an analysis of the existing structured protocol to determine the corresponding location information needed for policy matching determination. For example, the location information of the IP quintuple in the IP protocol, such as the location information of the MAC address in the Ethernet protocol. Or the location information of the key header field of the protocol used by the carrier's own encapsulated data packet. If the operator encapsulates the non-IP packet with the IP protocol, the location information is the location information of the IP quintuple in the IP protocol. Taking a structured non-IP data packet as an example, as shown in FIG. 3, the non-IP data may include a header portion and a payload portion. The header portion may include location information and other information (such as length information and version information), wherein the location information may be bit position information of position 1, bit position information of position 2, and bit position information of position n.
在本发明的一个实施例中,数据包过滤器可以包括至少一个包过滤规则,每个数据包过滤器包括位置信息、运算信息,以及匹配信息。配置的结构化的包括过滤器如表1所示。 In one embodiment of the invention, the packet filter may include at least one packet filtering rule, each packet filter including location information, operational information, and matching information. The configured structured include filters are shown in Table 1.
表1Table 1
数据包过滤器Packet filter 位置信息location information 运算信息(=,>,<,or,and,xor)Operational information (=, >, <, or, and, xor) 匹配信息Matching information
SPF rule 1SPF rule 1 bit 0Bit 0 = 11
SPF rule 2SPF rule 2 bit 4-7Bit 4-7 and 0And 0 00
SPF rule 3SPF rule 3 bit 8-15Bit 8-15 >> 1010
SPF rule 4SPF rule 4 bit 23-48Bit 23-48 = 0x12,34,560x12,34,56
SPF rule 5SPF rule 5 bit 0-7Bit 0-7 Xor 0xff=Xor 0xff= 0x550x55
其中,表1中的“or”,“and”,“xor”为一种数学运算符。Among them, "or", "and", and "xor" in Table 1 are a kind of mathematical operators.
“or”表示逻辑运算中的“或”。其中,“或”在计算机中用“|”表示。运算规则为:0|0=0;0|1=1;1|0=1;1|1=1;即,参加运算的两个对象只要有一个为1,其值为1。"or" means "or" in a logical operation. Among them, "or" is represented by "|" in the computer. The operation rule is: 0|0=0; 0|1=1; 1|0=1; 1|1=1; that is, as long as one of the two objects participating in the operation is 1, the value is 1.
例如:3|5,即0000 0011|0000 0101=0000 0111因此,3|5的值得7。For example: 3|5, ie 0000 0011|0000 0101=0000 0111 Therefore, the value of 3|5 is 7.
在本申请实施例中,例如,若运算信息为“或”运算(0),则表示数据包在规则中的位置信息中该位置的值与0进行“或”运算,如果结果与匹配信息中的值一致,则该规则满足。In the embodiment of the present application, for example, if the operation information is an OR operation (0), it indicates that the value of the position in the rule in the rule is ORed with 0, if the result is in the matching information. The values are consistent and the rule is satisfied.
又例如:运算信息为(“与”运算=101010),表示数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行“或”运算,结果等于101010即为该规则匹配。For another example, the operation information is ("AND" operation = 011010), indicating that the value of the position in the rule in the rule and the value in the matching information are ORed with each other, and the result is equal to 101010, that is, the rule is matched. .
“and”表示逻辑运算中的“与”。其中,“与”也叫做“和”,计算机中用“&”表示。运算规则为,0&0=0;0&1=0;1&0=0;1&1=1;即,两位同时为1时,结果才为1,否则,为0。例如“3&5,即0000 0011&0101=0000 0001,因此3&5的值得1。"and" means "and" in logical operations. Among them, "and" is also called "and", and the computer is represented by "&". The operation rule is: 00&0=0;0&1=0;1&0=0;1&1=1; that is, when both bits are 1 at the same time, the result is 1, otherwise, it is 0. For example, "3&5, ie 0000 0011 & 0101 = 0000 0001, so 3 & 5 is worth 1.
在本申请实施例中,例如:若运算信息为“与”运算(0),则表示数据包在规则中的位置信息中该位置的值与0进行“与”运算,如果结果与匹配信息中的值一致,则该规则满足。In the embodiment of the present application, for example, if the operation information is an AND operation (0), it indicates that the value of the position in the rule in the rule is ANDed with 0, if the result is in the matching information. The values are consistent and the rule is satisfied.
又例如:若运算信息为“与”运算=101010,则标书数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行“与”运算,结果等于101010即为与该规则匹配。For another example, if the operation information is an AND operation = 101010, the value of the position in the position information of the tender data packet and the value in the matching information are ANDed with each other, and the result is equal to 101010. match.
“xor”标识逻辑运算中的“异或(exclusive OR,简称xor)”。其中,运算规则为:如果a、b两个值不相同,则异或结果为1;如果a、b两个值相同,异或结果为0。"xor" identifies the exclusive OR (xor) in the logical operation. The operation rule is: if the two values of a and b are not the same, the XOR result is 1; if the two values of a and b are the same, the XOR result is 0.
在本申请实施例中,例如:若运算信息为(异或(0))则表示数据包在规则中的位置信息中该位置的值与0进行异或运算,如果结果与匹配信息中的值一致,则该规则满足。In the embodiment of the present application, for example, if the operation information is (exclusive OR (0)), it indicates that the value of the position in the rule in the rule is XORed with 0, if the result and the value in the matching information Consistent, the rule is satisfied.
又例如,若运算信息为(异或=101010),则表示数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行异或运算,结果等于101010即为该规则匹配。另外,表1中的“0xff”表示16进制。For another example, if the operation information is (exclusive or 0101010), it indicates that the value of the position in the rule in the rule is XORed with the value in the matching information, and the result is equal to 101010, that is, the rule is matched. In addition, "0xff" in Table 1 indicates hexadecimal.
此外,表1所示的SPF rule 1,指示数据传输装置根据位置信息bit 0确定所要传输的数据包的bit 0位的数据,若该bit0位上的数据,和匹配信息中的数据相等,而运算信息中规定的规则为“=”,则在SPF rule 1对应的承载,或者称为Qos传输处理机制上传输该数据包。In addition, the SPF rule 1 shown in Table 1 instructs the data transmission device to determine the data of the bit 0 bits of the data packet to be transmitted according to the position information bit 0, and if the data on the bit 0 bit is equal to the data in the matching information, If the rule specified in the operation information is “=”, the data packet is transmitted on the bearer corresponding to the SPF rule 1, or the Qos transmission processing mechanism.
若该bit0位上的数据,和匹配信息中的数据不相等,而运算信息中规定的规则为“=”,则将该数据包与其他的包过滤器进行匹配。 If the data on the bit 0 bit is not equal to the data in the matching information, and the rule specified in the operation information is "=", the packet is matched with other packet filters.
例如,IEEE802.3数据包包头如数据包格式1所示,其中,前导码(preamble)、帧开始符(SDF)和帧校验序列(FCS)在网卡内部处理,在上层不会体现。针对IEEE802.3配置的数据包过滤器可以主要通过目标MAC地址,源MAC地址和协议类型进行配置,例如配置的IEEE802.3的数据包过滤器如表2所示。For example, the IEEE 802.3 packet header is as shown in packet format 1, in which the preamble, the frame start symbol (SDF), and the frame check sequence (FCS) are processed inside the network card and are not reflected in the upper layer. The packet filter configured for IEEE802.3 can be configured mainly by the target MAC address, the source MAC address, and the protocol type. For example, the configured IEEE802.3 packet filter is as shown in Table 2.
表2Table 2
数据包过滤器Packet filter 位置信息location information 运算信息(=,>,<,或,和,16进制)Operation information (=, >, <, or, and, hexadecimal) 匹配信息Matching information
SPF rule 1SPF rule 1 bit 0-5Bit 0-5 = 目标MAC地址Destination MAC address
SPF rule 2SPF rule 2 bit 6-11Bit 6-11 = 源MAC地址Source MAC address
SPF rule 3SPF rule 3 bit 12-13Bit 12-13 = 协议类型agreement type
在本申请实施例中,IEEE802.3配置的数据包过滤器可以包括多个SPF rule。例如数据包过滤器=SPF rule 1+SPF rule 2;或者数据包过滤器=SPF rule 1;或者包过滤器=SPF rule 2;或者数据包过滤器=SPF rule 3;或者数据包过滤器=SPF rule 1+SPF rule 2+SPF rule 3。In the embodiment of the present application, the IEEE 802.3 configured packet filter may include multiple SPF rules. For example, packet filter = SPF rule 1 + SPF rule 2; or packet filter = SPF rule 1; or packet filter = SPF rule 2; or packet filter = SPF rule 3; or packet filter = SPF Rule 1+SPF rule 2+SPF rule 3.
其中,SPF rule 1、SPF rule 2可以分别来自两个不同MAC地址的设备,例如SPF rule 1来自目标MAC地址的设备,SPF rule 2来自源MAC地址的设备;SPF rule3可以为协议类型,例如:IP/PPP。The SPF rule 1 and the SPF rule 2 may be respectively from two devices with different MAC addresses, for example, the SPF rule 1 device from the destination MAC address, the SPF rule 2 device from the source MAC address, and the SPF rule 3 may be a protocol type, for example: IP/PPP.
又例如,在802.1Q场景下,如数据包格式2所示,配置的数据包过滤器可以如表3和表4所示。For another example, in the 802.1Q scenario, as shown in packet format 2, the configured packet filter can be as shown in Tables 3 and 4.
表3table 3
数据包过滤器1Packet filter 1 位置信息location information 运算信息(=,>,<,或,和,16进制)Operation information (=, >, <, or, and, hexadecimal) 匹配信息Matching information
SPF rule 1SPF rule 1 bit 12-14Bit 12-14 = VLAN Tag协议VLAN Tag Protocol
表4Table 4
数据包过滤器2Packet filter 2 位置信息location information 运算信息(=,>,<,或,和,16进制)Operation information (=, >, <, or, and, hexadecimal) 匹配信息Matching information
SPF rule 1SPF rule 1 bit 0-5Bit 0-5 = 目标MAC地址Destination MAC address
SPF rule 2SPF rule 2 bit 6-11Bit 6-11 = 源MAC地址Source MAC address
SPF rule 3SPF rule 3 bit 17-18Bit 17-18 = 协议类型agreement type
又例如,IP数据包的数据包过滤器配置,IP数据包的包头格式如数据包格式3所示,设置的数据包过滤器可以如表5所示。 For another example, the packet filter configuration of the IP packet, the header format of the IP packet is as shown in the packet format 3, and the set packet filter can be as shown in Table 5.
表5table 5
Figure PCTCN2017097399-appb-000003
Figure PCTCN2017097399-appb-000003
同样,TCP数据包的数据包过滤器也可以设置为表5的形式,为简洁描述,在这里不再赘述。Similarly, the packet filter of the TCP packet can also be set to the form of Table 5, which is not described here.
在4G网络的数据包处理过程中,过滤器(filter)是通过五元组对数据进行匹配的,在本申请的技术方案中TCP/IP数据包匹配的是数据包包头(或者头域)中对应的五元组所在位置的值。In the packet processing process of the 4G network, the filter matches the data through the quintuple. In the technical solution of the present application, the TCP/IP packet matches the packet header (or the header field). The value of the location of the corresponding quintuple.
可选地,在本申请实施例中,QoS规则还可以包括数据包过滤器的匹配优先级信息,用于指示UE和UPF按照数据包过滤器的匹配优先级信息对数据进行匹配。Optionally, in the embodiment of the present application, the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the UE and the UPF match the data according to the matching priority information of the packet filter.
例如:UE需要传输上行数据时,按照数据包过滤器的匹配优先级信息确定将上行数据优先与哪个数据包过滤器进行匹配,若与优先匹配的数据包过滤器匹配成功,则UE将上行数据采用优先匹配的数据包过滤器对应的承载传输该上行数据。若该上行数据没有与优先匹配的数据包过滤器匹配成功,则将该上行数据与匹配优先级信息中优先顺序排序次级的数据包过滤器进行匹配,依次对上行数据进行匹配。For example, when the UE needs to transmit uplink data, it determines, according to the matching priority information of the packet filter, which uplink packet data is preferentially matched with the packet filter. If the matching packet filter matches successfully, the UE will uplink data. The uplink data is transmitted by using a bearer corresponding to the packet filter of the priority match. If the uplink data is not successfully matched with the preferentially matched packet filter, the uplink data is matched with the packet filter of the priority ordering secondary in the matching priority information, and the uplink data is matched in turn.
UPF传输下行数据时,将下行数据与数据包过滤器进行匹配的过程与UE将上行数据与数据包过滤器匹配的过程相同,为简洁描述,在此不再赘述。When the downlink data is transmitted by the UPF, the process of matching the downlink data with the data packet filter is the same as the process of matching the uplink data with the data packet filter by the UE, and is not described here.
采用本申请实施例提供的数据传输的控制方法,可以根据业务的优先级,有效保证业务的QoS。The data transmission control method provided by the embodiment of the present application can effectively guarantee the QoS of the service according to the priority of the service.
图4为本发明实施例提供的一种数据传输的控制方法流程图。该方法可以包括:FIG. 4 is a flowchart of a method for controlling data transmission according to an embodiment of the present invention. The method can include:
步骤410、PCF需要获取会话信息。Step 410: The PCF needs to acquire session information.
会话信息可以包括数据类别标识信息和业务信息,业务信息可以是数据类别标识信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识(data network name,DNN)、业务所在数据网络的接口信息(如NG6隧道信息)、会话类型等信息中的一种或多种。数据类别标识信息可以包括位置信息或服务质量需求标识。The session information may include data category identification information and service information, where the service information may be a matching value corresponding to the data category identifier information, a service QoS requirement, a UE identifier, a service identifier, a data network name (DNN) of the service, and a service location. One or more of the interface information of the data network (such as NG6 tunnel information), session type, and the like. The data category identification information may include location information or a quality of service requirement identifier.
可选地,PCF需要获取会话信息可以通过PCF接收应用功能AF发送的会话信息。或者,接收控制面节点CPF发送的会话信息,其中,会话信息可以是控制面节点CPF从终端UE或统一数据管理UDM处获取。可以理解的是,PCF还可以通过其他网络实体获取该会话信息,在此不做限定。 Optionally, the PCF needs to acquire the session information, and the session information sent by the application function AF can be received by the PCF. Alternatively, the session information sent by the control plane node CPF is received, where the session information may be obtained by the control plane node CPF from the terminal UE or the unified data management UDM. It can be understood that the PCF can also obtain the session information through other network entities, which is not limited herein.
步骤420、PCF根据数据类别标识信息和业务信息,生成策略和计费规则(Policy and Charging Control rule,PCC rule)。Step 420: The PCF generates a policy and a charging control rule (PCC rule) according to the data category identification information and the service information.
策略和计费规则可以包括结构化数据的QoS规则(rule),QoS rule可以包括第一数据包过滤器(packet filter),第一数据包过滤器用于数据传输装置(如UPF或UE)将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。The policy and charging rules may include QoS rules for structured data, the QoS rule may include a first packet filter, and the first packet filter is used by the data transmission device (such as UPF or UE) The transmission data is allocated to the QoS transmission processing mechanism that satisfies the matching relationship for transmission.
其中,第一数据包过滤器可以包括数据类别标识信息和匹配条件。满足匹配关系为待传输数据和匹配条件中待比较数据的关系符合运算信息中规定的逻辑关系。QoS传输处理机制为控制面节点CPF为业务分配的服务质量流标识QFI(QoS Flow Identity)所采用的处理机制。The first packet filter may include data category identification information and matching conditions. The relationship that satisfies the matching relationship between the data to be transmitted and the data to be compared in the matching condition is in accordance with the logical relationship specified in the operation information. The QoS transmission processing mechanism is a processing mechanism adopted by the control plane node CPF for the QoS Flow Identity (QFI) allocated for the service.
具体的,第一数据包过滤器可以包括服务质量需求标识和匹配条件,或者,第一数据包过滤器可以包括位置信息和匹配条件。Specifically, the first data packet filter may include a quality of service requirement identifier and a matching condition, or the first data packet filter may include location information and a matching condition.
步骤430、PCF向CPF发送包括第一数据包过滤器的策略和计费规则。Step 430: The PCF sends a policy and a charging rule including the first packet filter to the CPF.
PCF将包含第一数据包过滤器的策略和计费规则通过NG7发送给CPF。The PCF sends the policy and charging rules containing the first packet filter to the CPF through NG7.
第一数据包过滤器可以包括服务质量需求标识和匹配条件,或者,第一数据包过滤器可以包括位置信息和匹配条件。The first packet filter may include a quality of service requirement identifier and a matching condition, or the first packet filter may include location information and matching conditions.
步骤440、CPF根据策略和计费规则,向UPF发送第二数据包过滤器。Step 440: The CPF sends a second packet filter to the UPF according to the policy and the charging rule.
当CPF检测到第一数据包过滤器中的服务质量需求标识时,CPF根据匹配条件(如丢包率),匹配相应的QFI值,生成第二数据包过滤器。When the CPF detects the quality of service requirement identifier in the first packet filter, the CPF matches the corresponding QFI value according to the matching condition (such as the packet loss rate) to generate a second packet filter.
或者,CPF根据第一数据包过滤器中的位置信息和匹配条件(如丢包率),匹配相应的QFI值,生成第二数据包过滤器。第二数据包过滤器用于UPF将待传输数据过滤后使用匹配关系的QoS传输处理机制进行发送。Alternatively, the CPF generates a second packet filter according to the location information in the first packet filter and the matching condition (such as the packet loss rate), matching the corresponding QFI value. The second packet filter is used by the UPF to filter the data to be transmitted and then use the QoS transmission processing mechanism of the matching relationship.
CPF将第二数据包过滤器通过NG4发送给UPF。The CPF sends the second packet filter to the UPF through NG4.
第二数据包过滤器可以包括服务质量需求标识和匹配条件,或者,第一数据包过滤器可以包括位置信息和匹配条件。The second packet filter may include a quality of service requirement identifier and a matching condition, or the first packet filter may include location information and matching conditions.
步骤450、CPF根据策略和计费规则,向UE发送位置信息。Step 450: The CPF sends the location information to the UE according to the policy and the charging rule.
CPF根据策略和计费规则向UE发送服务质量规则(Qos rule),服务质量规则可以包括第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件。The CPF sends a QS rule to the UE according to the policy and charging rules. The QoS rule may include a third packet filter, and the third packet filter includes data category identification information and matching conditions.
具体的,当CPF检测到第一数据包过滤器中的服务质量需求标识时,CPF根据匹配条件(如丢包率),匹配相应的QFI值,生成第三数据包过滤器。Specifically, when the CPF detects the quality of service requirement identifier in the first data packet filter, the CPF matches the corresponding QFI value according to the matching condition (such as the packet loss rate) to generate a third data packet filter.
或者,CPF根据第一数据包过滤器中的位置信息和匹配条件(如丢包率),匹配相应的QFI值,生成第三数据包过滤器。第二数据包过滤器用于UPF将待传输数据过滤后使用匹配关系的QoS传输处理机制进行发送。Alternatively, the CPF generates a third packet filter according to the location information in the first packet filter and the matching condition (such as the packet loss rate), matching the corresponding QFI value. The second packet filter is used by the UPF to filter the data to be transmitted and then use the QoS transmission processing mechanism of the matching relationship.
当数据类别标识信息包括位置信息时,UE根据Qos rule中的第三数据包过滤器对上行数据进行匹配,或者说过滤,通过第三数据包过滤器中的位置信息、运算信息和匹配信息对上行数据进行匹配,例如优先匹配的第三数据包过滤器为IEEE802.3的数据包过滤器,第三数据包过滤器包括一个SPF rule2,SPF rule2的位置信息为“bit 6-11”; 运算信息为“=”;匹配信息为“源MAC地址”,那么,UE判断上行数据中的bit 6-11位的数据和源MAC地址”数据满足“=”的关系,则匹配成功。When the data category identification information includes the location information, the UE matches, or filters, the uplink data according to the third packet filter in the Qos rule, and uses the location information, the operation information, and the matching information in the third packet filter. The uplink data is matched, for example, the third packet filter with priority matching is a packet filter of IEEE802.3, the third packet filter includes one SPF rule 2, and the location information of SPF rule 2 is “bit 6-11”; The operation information is "="; if the matching information is "source MAC address", then the UE determines that the bit 6-11 bit data and the source MAC address "data" in the uplink data satisfy the relationship of "=", and the matching is successful.
又例如,优先匹配的第三数据包过滤器为802.1Q的数据包过滤器1,数据包过滤器1包括SPF rule 1,SPF rule1的位置信息为“bit 12-14”;运算信息为“=”;匹配信息为“VLAN Tag协议”,那么,UE判断上行数据中的bit 12-14位的数据和“VLAN Tag协议”的数据满足“=”的关系,则匹配成功。For another example, the third packet filter with priority matching is the packet filter 1 of 802.1Q, the packet filter 1 includes the SPF rule 1, and the location information of the SPF rule 1 is "bit 12-14"; the operation information is "= The matching information is the "VLAN Tag Protocol". Then, the UE determines that the data of the bit 12-14 bits in the uplink data and the data of the "VLAN Tag Protocol" satisfy the relationship of "=", and the matching succeeds.
又例如,优先匹配的第三数据包过滤器为IP数据包的数据包过滤器,第三数据包过滤器包括一个SPF rule1,SPF rule1的位置信息为“bit 12-15”;运算信息为“=”;匹配信息为“源地址”,那么,UE判断上行数据中的bit 12-15位的数据进行和“源地址”数据满足“=”的关系则匹配成功。For another example, the third packet filter that matches the priority is the packet filter of the IP packet, and the third packet filter includes an SPF rule1, and the location information of the SPF rule1 is “bit 12-15”; the operation information is “ If the matching information is "source address", then the UE determines that the data of bit 12-15 bits in the uplink data and the "source address" data satisfy the relationship of "=", and the matching succeeds.
需要说明的是,在本申请实施例中,UE将上行数据与第三数据包过滤器进行匹配时,不需要确定是哪种协议的数据包过滤器,以上的优先匹配的是IEEE802.3的数据包过滤器,802.1Q的数据包过滤器1,以及IP数据包的包过滤器仅仅是为了通过具体的例子说明本申请的技术方案。It should be noted that, in the embodiment of the present application, when the UE matches the uplink data with the third data packet filter, it is not necessary to determine which protocol packet filter is used, and the above priority matching is IEEE802.3. The packet filter, the packet filter 1 of 802.1Q, and the packet filter of the IP packet are merely for explaining the technical solution of the present application by way of specific examples.
若匹配不成功,则将该上行数据与该过滤包中的其他SPF rule进行匹配,若该上行数据与该包过滤器中任一SPF rule均为匹配成功,则将该上行数据与次级匹配的包过滤器进行匹配,直到匹配成功,UE采用匹配成功的SPF rule对应的承载传输该上行数据。If the matching is unsuccessful, the uplink data is matched with other SPF rules in the filtering packet. If the uplink data is successfully matched with any SPF rule in the packet filter, the uplink data is matched with the secondary data. The packet filter is matched until the match is successful, and the UE transmits the uplink data by using the bearer corresponding to the SPF rule that is successfully matched.
若UE将上行数据与所有的包过滤器进行匹配后,依然没有匹配成功的包过滤器,则UE采用默认(default)的承载传输该上行数据。If the UE does not match the packet filter after the uplink data is matched with all the packet filters, the UE uses the default bearer to transmit the uplink data.
或者,or,
为简化节省网络侧(如CPF)向UE下发Qos rule引起的信令开销,5G网络引入了固网的反转(Reflective)QoS机制。In order to simplify the signaling overhead caused by the Qos rule sent to the UE by the network side (such as CPF), the 5G network introduces a reverse refractory QoS mechanism of the fixed network.
CPF根据策略和计费规则向UE发送数据类别标识信息和反转规则。反转规则用于在反转QoS(reflective QoS)机制中UE根据数据类别标识信息和下行数据包推导生成推导QoS rules(Derived QoS rules),推导QoS rules可以包括第三数据包过滤器。第三数据包过滤器用于UE将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。The CPF sends data category identification information and inversion rules to the UE according to the policy and charging rules. The inversion rule is used in the reverse QoS mechanism to generate derived QoS rules according to the data category identification information and the downlink data packet derivation, and the derivation QoS rules may include a third data packet filter. The third packet filter is used by the UE to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
若CPF通过信令发给UE的QoS rules称为显示(explicit)QoS rule,则UE根据Reflective QoS机制自动生成的QoS rules称为隐式(derived)QoS rule(或implicit QoS rule)。If the QoS rules sent by the CPF to the UE by the signaling are referred to as an explicit QoS rule, the QoS rules automatically generated by the UE according to the Reflective QoS mechanism are called implicit QoS rules (or implicit QoS rules).
以数据类别标识信息包括位置信息为例,对于IP数据包来说,UE知道数据包IP五元组的位置信息,因此可以直接通过IP五元组(目标地址、源地址、目标端口、源端口和协议类型)进行反转,生成Derived QoS rule中的第三数据包过滤器。对于结构化非IP包来说,协议中数据包的信息对于UE来说是未知的,但是可以通过预先配置或者通过AF经网络下发位置信息,获取生成Derived QoS rule中的第三数据包过滤器。Taking the data category identification information including location information as an example, for the IP data packet, the UE knows the location information of the data packet IP quintuple, and thus can directly pass the IP quintuple (target address, source address, target port, source port). Reverse with the protocol type) to generate the third packet filter in the Derived QoS rule. For a structured non-IP packet, the information of the data packet in the protocol is unknown to the UE, but the third packet filtering in the generated Derived QoS rule can be obtained by pre-configuring or transmitting the location information through the network through the AF. Device.
在本申请实施例中,UE传输的待传输数据可以称为上行数据。上行数据为UE向网络侧发送的数据,例如UE向AN发送的数据。UPF传输的待传输数据可以称为下行数据。下行数据为网络侧向UE发送的数据,例如UPF向UE发送的数据。 In the embodiment of the present application, the data to be transmitted transmitted by the UE may be referred to as uplink data. The uplink data is data that the UE sends to the network side, for example, data that the UE sends to the AN. The data to be transmitted transmitted by the UPF may be referred to as downlink data. The downlink data is data sent by the network side to the UE, such as data sent by the UPF to the UE.
在一个例子中,若UPF接收的下行QoS规则为第二数据包过滤器对应的QoS等级为QFI 1(DL packet filter->QFI 1)。UPF接收到DN发送的下行数据包的五元组为:源IP地址、目的IP地址、源端口号、目的端口号和协议类型。其中,源IP地址(Source IP address)为X;目的IP地址(Destination IP address)为Y;源端口号(Source port number)为A;目的端口号(Destination port number)为B;协议类型(Protocol type)为C。若该下行数据包与第二数据包过滤器匹配,UPF将此下行数据包通过QFI 1传输给UE。In an example, if the UPF receives the downlink QoS rule, the QoS level corresponding to the second packet filter is QFI 1 (DL packet filter->QFI 1). The quintuple of the downlink data packet sent by the UPF to the DN is: source IP address, destination IP address, source port number, destination port number, and protocol type. The source IP address is X, the destination IP address is Y, the source port number is A, the destination port number is B, and the protocol type (Protocol) Type) is C. If the downlink data packet matches the second data packet filter, the UPF transmits the downlink data packet to the UE through QFI 1.
UE收到UPF下发的下行数据包和CPF下发的反转规则和数据类别标识信息,在Reflective QoS机制下,UE按照反转规则和数据类别标识信息中的位置信息对下行数据包对应的位置进行反转,生成第三数据包过滤器。The UE receives the downlink data packet delivered by the UPF and the inversion rule and data category identifier information sent by the CPF. Under the Reflective QoS mechanism, the UE corresponds to the downlink data packet according to the location information in the inversion rule and the data category identifier information. The position is reversed to generate a third packet filter.
第三数据包过滤器为:源IP地址(Source IP address)为Y;目的IP地址(Destination IP address)为X;源端口号(Source port number)为B;目的端口号(Destination port number)为A;协议类型(Protocol type)为C。生成的第三数据包过滤器对应的QoS等级仍为QFI1(UL packet filter->QFI 1)。若上行数据包与第三数据包过滤器匹配,则UE将此上行数据包通过QFI 1传输给UPF。The third packet filter is: the source IP address is Y; the destination IP address is X; the source port number is B; and the destination port number is A; the protocol type is C. The QoS level corresponding to the generated third packet filter is still QFI1 (UL packet filter->QFI 1). If the uplink data packet matches the third data packet filter, the UE transmits the uplink data packet to the UPF through QFI 1.
可见,对于IP数据包来说,Reflective QoS机制是将源IP地址与目的IP地址的位置对换,将源端口号与目的端口号的位置对换。It can be seen that for the IP data packet, the Reflective QoS mechanism replaces the location of the source IP address and the destination IP address, and swaps the source port number and the destination port number.
需要说明的是,CPF根据会话信息中业务信息的不同,如业务信息可以包括业务1、业务2和业务3,CPF可以向UE发送对业务1的服务质量规则,该服务质量规则包括业务1数据包的数据类别标识信息、对业务2数据包的数据类别标识信息和反转规则,以及对业务3数据包的数据类别标识信息和反转规则,UE根据业务1的服务质量规则数据包生成业务1的第三数据包过滤器;UE根据业务2的数据类别标识信息和反转规则生成业务2的第三数据包过滤器;UE根据业务3的数据类别标识信息和反转规则生成业务3的第三数据包过滤器。也就是说,UE可以同时对不同的业务信息生成相应的第三数据包过滤器。It should be noted that, according to the service information in the session information, the CPF may include the service 1, the service 2, and the service 3. The CPF may send a service quality rule for the service 1 to the UE, where the service quality rule includes the service 1 data. The data category identification information of the packet, the data category identification information and the inversion rule for the service 2 data packet, and the data category identification information and the inversion rule for the service 3 data packet, and the UE generates the service according to the service quality rule data packet of the service 1 a third packet filter of the UE; the UE generates a third packet filter of the service 2 according to the data category identification information and the inversion rule of the service 2; the UE generates the service 3 according to the data category identification information of the service 3 and the inversion rule The third packet filter. That is to say, the UE can generate a corresponding third packet filter for different service information at the same time.
步骤460、UPF根据第二数据包过滤器,将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。Step 460: The UPF allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the second data packet filter.
UPF接收到第二数据包过滤器后保存QoS规则,并根据第二数据包过滤器对DN下发或接收的数据包进行过滤处理,该过滤处理可以包括下行数据的QoS过滤匹配以及上行数据的检测。After receiving the second packet filter, the UPF saves the QoS rule, and performs filtering processing on the data packet sent or received by the DN according to the second packet filter, where the filtering process may include QoS filtering matching of the downlink data and uplink data. Detection.
UPF根据第二数据包过滤器的SPF rule对下行数据进行匹配,通过SPF rule中的位置信息、运算信息和匹配信息对下行数据进行匹配,例如优先匹配的第二数据包过滤器包括SP rule,SPF rule的位置信息为“bit23-48”;运算信息为“=”;匹配信息为“16进制的12,16进制的34,16进制的56”,那么,UE判断下行数据中的bit23-48位的数据和匹配信息的数据满足“=”的关系,则匹配成功。The UPF matches the downlink data according to the SPF rule of the second packet filter, and matches the downlink data by using the location information, the operation information, and the matching information in the SPF rule. For example, the second packet filter with the priority matching includes the SP rule. The location information of the SPF rule is "bit23-48"; the operation information is "="; the matching information is "hexadecimal 12, hexadecimal 34, hexadecimal 56", then the UE judges the downlink data. If the data of bit 23-48 bits and the data of the matching information satisfy the relationship of "=", the matching is successful.
其UPF将下行数据与第二数据包过滤器进行匹配的过程与UE将上行数据与包过滤器匹配的过程相同,为简洁描述,在这里不再赘述。The process in which the UPF matches the downlink data with the second packet filter is the same as the process in which the UE matches the uplink data with the packet filter, and is not described here.
若匹配不成功,则将该下行数据与该过滤包中的其他SPF rule进行匹配,若该下行数据与该包过滤器中任一SPF rule均为匹配成功,则将该下行数据与次级匹配的包 过滤器进行匹配,直到匹配成功,UE采用匹配成功的SPF rule对应的承载传输该上行数据。If the matching is unsuccessful, the downlink data is matched with other SPF rules in the filtering packet. If the downlink data matches any SPF rule in the packet filter, the downlink data is matched with the secondary. Package The filter performs matching until the matching is successful, and the UE transmits the uplink data by using the bearer corresponding to the successfully matched SPF rule.
若UPF将下行数据与所有的包过滤器进行匹配后,依然没有匹配成功的包过滤器,则UPF采用默认(default)的承载传输该下行数据。If the UPF matches the downlink data with all the packet filters and still does not match the successful packet filter, the UPF uses the default bearer to transmit the downlink data.
可选地,CPF还可以获取第二数据包过滤器的匹配优先级信息和第三数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UPF对待传输数据进行过滤时,第二数据包过滤器之间的优先匹配的顺序,以及规定UE对待传输数据进行过滤时,第三数据包过滤器之间的优先匹配的顺序。Optionally, the CPF may also obtain matching priority information of the second data packet filter and matching priority information of the third data packet filter, where the matching priority information is used to specify the second data when the UPF filters the data to be transmitted. The order of priority matching between packet filters, and the order of priority matching between third packet filters when filtering the data to be transmitted by the UE.
控制面节点CPF向UPF发送第二数据包过滤器的匹配优先级信息,以及向UE发送第三数据包过滤器的匹配优先级信息。The control plane node CPF sends the matching priority information of the second packet filter to the UPF, and sends the matching priority information of the third packet filter to the UE.
需要说明的是,在本申请的各种实施例中,步骤440和步骤450序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be noted that, in various embodiments of the present application, the size of the sequence number of step 440 and step 450 does not mean the order of execution sequence, and the execution order of each process should be determined by its function and internal logic, and should not be addressed. The implementation process of the application embodiment constitutes any limitation.
本申请可以在5G的会话建立或会话更新的场景中,PCF获取数据类别标识信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。In the scenario of session establishment or session update of the 5G, the PCF obtains the data category identification information, and sends a QoS rule including the data category identification information to the data transmission device (UPF and the UE) through the CPF, and the UE and the UPF according to the corresponding The data packet filter matches the data stream to be transmitted to different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets, and the method can quickly determine data. Streaming, and matching the data stream, improves the speed of data stream transmission, and ensures the QoS guarantee for transmitting non-IP data packets.
在本申请提供的数据传输的控制方法,相对于4G传输数据的处理方法的不同之处在于,在本申请的技术方案中,UE和UPF不需要知道所传输数据所属的协议类型,只需要按照数据包过滤器中的位置信息,完成相应的运算,并判断操作后的值是否与匹配信息一致,若一致,则匹配成功,UE或UPF可以采用所匹配的数据包过滤器对应的承载传输数据,实现了所要传输数据的数据流的分流,实现了所传输结构化数据的QoS保障。The method for controlling the data transmission provided by the present application differs from the processing method for the 4G transmission data in that, in the technical solution of the present application, the UE and the UPF do not need to know the protocol type to which the transmitted data belongs, and only need to follow the protocol type to which the transmitted data belongs. The location information in the packet filter completes the corresponding operation and determines whether the value after the operation is consistent with the matching information. If the matching is successful, the matching is successful, and the UE or the UPF can use the bearer transmission data corresponding to the matched packet filter. The shunting of the data stream of the data to be transmitted is realized, and the QoS guarantee of the transmitted structured data is realized.
下面以数据类别标识信息包括位置信息为例进行详细说明。The following describes the data category identification information including location information as an example.
图5为本发明实施例提供的一种在会话建立场景中数据传输的控制方法流程图。如图5所示,该方法可以包括:FIG. 5 is a flowchart of a method for controlling data transmission in a session establishment scenario according to an embodiment of the present invention. As shown in FIG. 5, the method may include:
步骤500、PCF接收AF发送的会话信息。Step 500: The PCF receives the session information sent by the AF.
该会话信息可以包括结构化的PDU信息,该结构化的PDU信息可以包括位置信息The session information may include structured PDU information, and the structured PDU information may include location information.
业务信息,该业务信息可以包括位置信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识等中的一种或多种信息。The service information may include one or more pieces of information such as a matching value corresponding to the location information, a service QoS requirement, a UE identifier, a service identifier, and a data network identifier of the service.
PCF根据位置信息和业务信息,生成默认(default)的QoS ruler,该QoS ruler可以包括第一数据包过滤器,第一数据包过滤器包括位置信息和匹配条件,以用于UPF或UE将待传输数据分配到匹配条件满足的匹配关系的QoS传输处理机制进行发送。The PCF generates a default QoS ruler according to the location information and the service information, and the QoS ruler may include a first packet filter, where the first packet filter includes location information and a matching condition for the UPF or the UE to be used. The transmission data is allocated to the QoS transmission processing mechanism that matches the matching condition that the matching condition satisfies.
步骤501、UE向AMF发送PDU会话建立请求(PDU session establishment request) 消息,以指示建立PDU会话。Step 501: The UE sends a PDU session establishment request to the AMF. A message to indicate the establishment of a PDU session.
该PDU会话建立请求消息可以包括结构化的PDU类型(如结构化的IP数据包和结构化的非IP数据包)、会话标识(Session ID)和数据网络标识(Data Network Name,DNN)等信息。The PDU session establishment request message may include structured PDU types (such as structured IP data packets and structured non-IP data packets), session ID (Session ID), and Data Network Name (DNN) information. .
步骤502、AMF向SMF发送会话管理请求(session management request,SM request)消息。Step 502: The AMF sends a session management request (SM request) message to the SMF.
该会话管理请求消息可以包括PDU会话的建立请求的指示信息、Session ID、DNN等信息。The session management request message may include indication information of the establishment request of the PDU session, a Session ID, a DNN, and the like.
在进行该步骤之前,AMF需要进行SMF的选择过程,以从多个SMF中选择可以进行PDU会话的目标SMF,并保存Session ID和SMF ID或SMF ID地址的对应关系。Before performing this step, the AMF needs to perform an SMF selection process to select a target SMF that can perform a PDU session from a plurality of SMFs, and save the correspondence between the Session ID and the SMF ID or the SMF ID address.
步骤503、SMF向统一数据管理模块(UDM)发送签约数据请求(subscription data request)消息,该签约数据请求可以包括DNN、Session ID、SMF ID或SMF地址等信息。Step 503: The SMF sends a subscription data request message to the unified data management module (UDM), where the subscription data request may include information such as a DNN, a Session ID, an SMF ID, or an SMF address.
步骤504、UDM向SMF发送签约数据应答(subscription data response)消息,以获取UE的签约数据,实现UE的PDU会话身份验证/授权(PDU Session authentication/authorization)。Step 504: The UDM sends a subscription data response message to the SMF to obtain subscription data of the UE, and implement PDU session authentication/authorization of the UE.
步骤505、SMF向PCF发送PDU-CAN会话建立请求(PDU-CAN session establishment request)消息。Step 505: The SMF sends a PDU-CAN session establishment request message to the PCF.
在执行该步骤之前,SMF根据DNN、Session ID、SMF ID或SMF地址等信息,确定目标PCF。Before performing this step, the SMF determines the target PCF based on information such as DNN, Session ID, SMF ID, or SMF address.
步骤506、PCF向SMF发送PDU-CAN会话建立响应(PDU-CAN session establishment response)消息。Step 506: The PCF sends a PDU-CAN session establishment response (PDU-CAN session establishment response) message to the SMF.
该PDU-CAN session establishment response消息可以包括默认(default)的QoS ruler,其中,该QoS ruler可以包括第一数据包过滤器The PDU-CAN session establishment response message may include a default QoS ruler, where the QoS ruler may include a first packet filter
可见,通过步骤304和305,SMF获取PCF中的第一数据包过滤器。It can be seen that through steps 304 and 305, the SMF obtains the first packet filter in the PCF.
步骤507、SMF根据DNN、Session ID、SMF ID或SMF地址等信息,确定目标UPF。SMF为该PDU session分配IP地址,保存Session ID和IP地址的对应关系,SMF为UPF分配隧道ID和地址。Step 507: The SMF determines the target UPF according to information such as a DNN, a Session ID, an SMF ID, or an SMF address. The SMF allocates an IP address to the PDU session, and stores the correspondence between the session ID and the IP address. The SMF allocates a tunnel ID and an address for the UPF.
步骤508、SMF向PCF发送PDU-CAN会话更新请求(PDU-CAN session modificationrequest)消息或PDU-CAN session establishment request消息。Step 508: The SMF sends a PDU-CAN session modification request (PDU-CAN session modification request) message or a PDU-CAN session establishment request message to the PCF.
步骤509、PCF向SMF发送PDU-CAN会话更新响应(PDU-CAN session modification response)消息或PDU-CAN session establishment response消息。Step 509: The PCF sends a PDU-CAN session modification response (PDU-CAN session modification response) message or a PDU-CAN session establishment response message to the SMF.
该PDU-CAN session modification response消息可以包括策略和计费规则,该策略和计费规则可以包括第一数据包过滤器。The PDU-CAN session modification response message may include a policy and charging rule, and the policy and charging rule may include a first packet filter.
可见,若在步骤506中SMF未获取到PCF中的第一数据包过滤器,则可以通过步骤509获取PCF中的第一数据包过滤器。It can be seen that if the SMF does not obtain the first packet filter in the PCF in step 506, the first packet filter in the PCF can be obtained through step 509.
进一步的,若SMF与PCF为第一次连接,则执行步骤505至步骤507;若SMF与PCF在该会话建立之前已连接,则不需要执行步骤505和步骤506,只需要执行步骤508和步骤509。Further, if the SMF and the PCF are connected for the first time, step 505 to step 507 are performed; if the SMF and the PCF are connected before the session is established, step 505 and step 506 need not be performed, and only step 508 and step need to be performed. 509.
步骤510、SMF向UPF发送N4会话建立请求(N4session establishment request)消 息。Step 510: The SMF sends an N4 session establishment request to the UPF. interest.
SMF根据策略和计费规则,生成第二数据包过滤器。The SMF generates a second packet filter based on the policy and charging rules.
该N4session establishment request消息可以包括SMF为UPF分配隧道ID和地址,以及第二数据包过滤器,以使UPF获取第二数据包过滤器。第二数据包过滤器包括位置信息和匹配条件。第二数据包过滤器用于UPF将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。The N4 session establishment request message may include the SMF assigning a tunnel ID and an address to the UPF, and a second packet filter to enable the UPF to acquire the second packet filter. The second packet filter includes location information and matching conditions. The second packet filter is used by the UPF to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
其中,当UPF传输待传输数据时,该待传输数据可以包括上行数据包和下行数据包UPF将待传输数据与第二数据包过滤器对下行数据包进行匹配和对上行数据包进行检测。When the UPF transmits the data to be transmitted, the data to be transmitted may include an uplink data packet and a downlink data packet UPF to match the data to be transmitted with the second data packet filter for the downlink data packet and detect the uplink data packet.
步骤511、UPF向SMF发送N4会话建立响应(N4session establishment response)消息。Step 511: The UPF sends an N4 session establishment response message to the SMF.
步骤512、SMF向AMF发送SM Response消息。Step 512: The SMF sends an SM Response message to the AMF.
SM Response消息可以包括SMF为UPF分配的隧道ID和地址、SMF发送给UE的PDU会话建立接受信息、位置信息和反转规则,反转规则用于在反转QoS机制中UE根据位置信息和下行数据包获取第三数据包过滤器。The SM Response message may include a tunnel ID and address allocated by the SMF for the UPF, PDU session establishment acceptance information sent by the SMF to the UE, location information, and a reverse rule, and the reverse rule is used in the reverse QoS mechanism, the UE according to the location information and the downlink The packet gets the third packet filter.
或者,SM Response消息可以包括SMF为UPF分配的隧道ID和地址、SMF发送给UE的PDU会话建立接受信息和服务质量规则,该服务质量规则可以包括第三数据包过滤器。Alternatively, the SM Response message may include a tunnel ID and address allocated by the SMF for the UPF, PDU session establishment acceptance information sent by the SMF to the UE, and a quality of service rule, and the quality of service rule may include a third packet filter.
步骤513、AMF向AN发送N2PDUsession request消息。Step 513: The AMF sends an N2 PDU session request message to the AN.
N2PDU session request消息可以包括SMF为UPF分配的隧道ID和地址、位置信息和反转规则,反转规则用于在反转QoS机制中UE根据位置信息和下行数据包获取第三数据包过滤器。The N2PDU session request message may include a tunnel ID and address, location information, and an inversion rule allocated by the SMF for the UPF, and the inversion rule is used by the UE to acquire the third packet filter according to the location information and the downlink data packet in the reverse QoS mechanism.
或者,N2PDU session request消息可以包括SMF为UPF分配的隧道ID和地址、SMF发送给UE的PDU会话建立接受信息和服务质量规则,该服务质量规则可以包括第三数据包过滤器。Alternatively, the N2PDU session request message may include a tunnel ID and address allocated by the SMF for the UPF, PDU session establishment acceptance information sent by the SMF to the UE, and a quality of service rule, and the quality of service rule may include a third packet filter.
步骤514、AN与UE实现AN的特定资源配置(AN-specific resource setup request)。Step 514: The AN and the UE implement an AN-specific resource setup request.
该AN的特定资源配置信息可以包括SMF发送给UE的PDU session establishmentaccept信息、服务质量规则或位置信息和反转规则,以使UE与AN间建立该PDU session建立无线承载,并使UE获取第三数据包过滤器。第三数据包过滤器包括位置信息和匹配条件。第三数据包过滤器用于UE将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。The specific resource configuration information of the AN may include the PDU session establishmentaccept information, the QoS rule or the location information, and the reverse rule sent by the SMF to the UE, so that the UE establishes the PDU session with the AN to establish a radio bearer, and the UE obtains the third. Packet filter. The third packet filter includes location information and matching conditions. The third packet filter is used by the UE to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
其中,当UE传输待传输数据时,UE将待传输数据与第三数据包过滤器进行匹配。The UE matches the data to be transmitted with the third packet filter when the UE transmits the data to be transmitted.
步骤515、AN向AMF发送N2PDU会话响应(N2PDU session request Ack)消息。Step 515: The AN sends an N2 PDU session request Ack message to the AMF.
该N2PDU session request Ack可以包括AN分配的隧道ID和地址。The N2PDU session request Ack may include the tunnel ID and address assigned by the AN.
步骤516、AMF向SMF发送会话管理请求(SM Request)消息。Step 516: The AMF sends a session management request (SM Request) message to the SMF.
该SM Request消息可以包括N2Information、AN分配的隧道ID和地址The SM Request message may include a tunnel ID and an address assigned by the N2Information and the AN.
步骤517、SMF向UPF发送N4会话更新请求(N4session modification request)消 息。Step 517: The SMF sends an N4 session modification request to the UPF. interest.
该N4会话更新请求消息可以包括AN分配的隧道ID和地址。The N4 session update request message may include a tunnel ID and an address assigned by the AN.
可选地,该N4会话更新请求消息还可以包括PCF下发的第二数据包过滤器,以使UPF获取第二数据包过滤器。Optionally, the N4 session update request message may further include a second data packet filter delivered by the PCF, so that the UPF acquires the second data packet filter.
可以理解的是,若步骤510处UPF未获取到PCF下发的第二数据包过滤器,则UPF可以通过步骤517获取到PCF下发的第二数据包过滤器,以完成下行数据的传输。It can be understood that, if the UPF does not obtain the second packet filter delivered by the PCF, the UPF can obtain the second packet filter delivered by the PCF in step 517 to complete the transmission of the downlink data.
步骤518、UPF向SMF发送N4会话更新响应(N4session modification response)消息,以实现SMF对UPF的PDU session modification,使UPF根据RAN分配的隧道ID和地址发送下行数据。Step 518: The UPF sends an N4 session modification response message to the SMF to implement the SMF-to-UPF PDU session modification, so that the UPF sends downlink data according to the tunnel ID and address allocated by the RAN.
步骤519、SMF向AMF发送SMresponse with N2Information消息。Step 519: The SMF sends a SMresponse with N2Information message to the AMF.
可以理解的是,在本申请上述实施例中,步骤500的执行可以发生在步骤505之前的任意时刻。步骤500的执行时间应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It will be appreciated that in the above-described embodiments of the present application, execution of step 500 may occur at any time prior to step 505. The execution time of step 500 should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
本申请实施例的数据传输的控制方法,通过配置结构化的数据包的包过滤器,并将包括数据包过滤器的服务质量QoS规则分别发送给UE和UPF,以便于UE和UPF分别根据各自的数据包过滤器对传输的数据流进行过滤,将数据流分流到不同的承载上传输,保证了传输结构化的数据包,例如非IP数据包的QoS保障。The data transmission control method of the embodiment of the present application, by configuring a packet filter of the structured data packet, and transmitting the quality of service QoS rule including the data packet filter to the UE and the UPF, respectively, so that the UE and the UPF respectively The packet filter filters the transmitted data stream and offloads the data stream to different bearers, ensuring the transmission of structured data packets, such as QoS guarantees for non-IP packets.
本申请可以在5G的会话建立的场景中,PCF获取位置信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含位置信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障。In the scenario where the 5G session is established, the PCF obtains the location information, and sends a QoS rule including the location information to the data transmission device (UPF and the UE) through the CPF, and the UE and the UPF are to be configured according to the corresponding packet filter. The transmission data stream matches different QOS transmission processing mechanisms to implement data stream shunting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets.
图6为本发明实施例提供的另一种在会话更新场景中数据传输的控制方法流程图。在该方法中,触发QOS rule更新的条件可以由UE通过SMF下发至PCF,如图6所示,该方法可以包括:FIG. 6 is a flowchart of another method for controlling data transmission in a session update scenario according to an embodiment of the present invention. In the method, the condition for triggering the QOS rule update may be sent by the UE to the PCF through the SMF. As shown in FIG. 6, the method may include:
步骤600、UE获取新的服务请求消息。Step 600: The UE acquires a new service request message.
该新的服务请求(new service request)消息可以包括结构化的PDU信息,该结构化的PDU信息可以包括位置信息和业务信息,该业务信息可以包括位置信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识等中的一种或多种信息The new service request message may include structured PDU information, and the structured PDU information may include location information and service information, where the service information may include a matching value corresponding to the location information, a service QoS requirement, and a UE. One or more information of the identifier, the service identifier, the data network identifier of the service, and the like
UE可以通过接收用户的操作,获取新的服务请求消息。用户的操作可以是用户在UE上打开一个新的应用。The UE may acquire a new service request message by receiving an operation of the user. The user's operation may be that the user opens a new application on the UE.
步骤601、UE向AMF发送PDU会话更新请求(PDU session modification request)消息,以指示更新PDU会话。Step 601: The UE sends a PDU session modification request message to the AMF to indicate that the PDU session is updated.
该PDU session modification request消息可以包括位置信息和业务信息。The PDU session modification request message may include location information and service information.
步骤602、AMF向SMF发送会话管理请求(session management request,SM request)消息。Step 602: The AMF sends a session management request (SM request) message to the SMF.
该SM request消息可以包括PDU会话更新请求的指示信息和位置信息和业务信息、 Session ID、DNN等信息,以使SMF获取位置信息和业务信息。The SM request message may include indication information and location information and service information of the PDU session update request, Session ID, DNN and other information, so that the SMF obtains location information and business information.
步骤603、SMF根据PDU会话更新请求的指示信息、位置信息和业务信息,获取对QOS rule进行触发(QoS Update Trigger)的更新指示信息。Step 603: The SMF obtains update indication information for triggering the QoS Update Trigger according to the indication information, the location information, and the service information of the PDU session update request.
步骤604、AN向AMF发送N2消息。Step 604: The AN sends an N2 message to the AMF.
该N2消息可以包括PDU session ID和会话管理信息(SM information)The N2 message may include a PDU session ID and session management information (SM information).
步骤605、AMF向SMF发送SM request消息。Step 605: The AMF sends an SM request message to the SMF.
该SM request消息可以包括SM information。The SM request message may include SM information.
步骤606、SMF向PCF发送PDU-CAN session establishment request消息。Step 606: The SMF sends a PDU-CAN session establishment request message to the PCF.
PDU-CAN session establishment request消息可以包括更新指示信息、位置信息和业务信息。The PDU-CAN session establishment request message may include update indication information, location information, and service information.
PCF根据更新指示信息、位置信息和业务信息,获取更新后的QoS ruler,更新后的QoS ruler可以包括第一数据包过滤器。第一数据包过滤器包括位置信息和匹配条件,以用于数据传输装置(UPF或UE)将待传输数据分配到匹配条件满足的匹配关系的QoS传输处理机制进行发送。The PCF obtains the updated QoS ruler according to the update indication information, the location information, and the service information, and the updated QoS ruler may include the first packet filter. The first packet filter includes location information and matching conditions for the data transmission device (UPF or UE) to transmit the data to be transmitted to a QoS transmission processing mechanism that matches the matching condition that the matching condition satisfies.
步骤607、PCF向SMF发送PDU-CAN session establishment response消息。Step 607: The PCF sends a PDU-CAN session establishment response message to the SMF.
PDU-CAN session establishment response消息可以包括策略和计费规则,策略和计费规则可以第一数据包过滤器。The PDU-CAN session establishment response message may include a policy and charging rule, and the policy and charging rule may be a first packet filter.
步骤608、SMF向AMF发送SM Request消息。Step 608: The SMF sends an SM Request message to the AMF.
SM Request消息可以包括PDU Session修改命令(Modification Command)信息、session ID、位置信息和反转规则,反转规则用于在反转QoS机制中UE根据位置信息和下行数据包获取第三数据包过滤器。The SM Request message may include a PDU Session Modification Command (Modification Command) information, a session ID, a location information, and an inversion rule. The inversion rule is used in the reverse QoS mechanism to acquire a third packet filtering according to the location information and the downlink data packet. Device.
或者,SM Response消息可以包括SMF发送给UE的服务质量规则,该服务质量规则可以包括第三数据包过滤器。Alternatively, the SM Response message may include a quality of service rule sent by the SMF to the UE, and the quality of service rule may include a third data packet filter.
步骤609、AMF向AN发送N2PDUsession request消息,Step 609: The AMF sends an N2 PDU session request message to the AN.
该N2PDU session request消息可以包括PDU Session修改命令(Modification Command)信息、session ID、位置信息和反转规则,反转规则用于在反转QoS机制中UE根据位置信息和下行数据包获取第三数据包过滤器。The N2PDU session request message may include a PDU Session Modification Command (Modification Command) information, a session ID, a location information, and a reverse rule. The reverse rule is used by the UE to obtain the third data according to the location information and the downlink data packet in the reverse QoS mechanism. Packet filter.
或者,N2PDU session request消息可以包括SMF发送给UE的服务质量规则,该服务质量规则可以包括第三数据包过滤器。Alternatively, the N2PDU session request message may include a quality of service rule sent by the SMF to the UE, and the quality of service rule may include a third data packet filter.
步骤610、AN与UE实现AN的特定资源配置(AN-specific resource setup request)。Step 610: The AN and the UE implement an AN-specific resource setup request.
该AN的特定资源配置信息可以包括PDU Session修改命令(Modification Command)信息、session ID、服务质量规则或位置信息和反转规则,以使UE与AN间建立该PDU session建立无线承载,使UE获取第三数据包过滤器。第三数据包过滤器包括位置信息和匹配条件。第三数据包过滤器用于UE将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。The specific resource configuration information of the AN may include a PDU Session Modification Command (Modification Command) information, a session ID, a QoS rule or a location information, and an inversion rule, so that the PDU session is established between the UE and the AN to establish a radio bearer, so that the UE acquires The third packet filter. The third packet filter includes location information and matching conditions. The third packet filter is used by the UE to allocate the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
其中,当UE传输待传输数据时,UE将待传输数据与第三数据包过滤器进行匹配。The UE matches the data to be transmitted with the third packet filter when the UE transmits the data to be transmitted.
步骤611、AN向AMF发送N2PDU session request Ack消息。Step 611: The AN sends an N2PDU session request Ack message to the AMF.
该N2PDU session request Ack可以包括AN为PDU session分配的隧道ID和地址。 The N2PDU session request Ack may include the tunnel ID and address assigned by the AN to the PDU session.
步骤612、AMF向SMF发送会话管理请求应答(SM Request ACK)消息。Step 612: The AMF sends a session management request response (SM Request ACK) message to the SMF.
该SM Request ACK可以包括N2PDU Session Modification Command ACK。The SM Request ACK may include an N2PDU Session Modification Command ACK.
该SM Request with N2Information消息可以包括AN分配的隧道ID和地址。The SM Request with N2Information message may include a tunnel ID and an address assigned by the AN.
步骤613、SMF向UPF发送N4session modification request消息。Step 613: The SMF sends an N4 session modification request message to the UPF.
该N4session modification request消息可以包括AN分配的隧道ID和地址,以及PCF下发的第二数据包过滤器,以使UPF获取第二数据包过滤器。The N4 session modification request message may include a tunnel ID and an address allocated by the AN, and a second packet filter delivered by the PCF, so that the UPF acquires the second packet filter.
当UPF传输待传输数据时,UPF将待传输数据与第二数据包过滤器匹配。When the UPF transmits the data to be transmitted, the UPF matches the data to be transmitted with the second packet filter.
步骤614、UPF向SMF发送N4session modification response消息,以实现SMF对UPF的PDU session modification,使UPF根据RAN分配的隧道ID和地址发送下行数据。Step 614: The UPF sends an N4 session modification response message to the SMF to implement SMF-to-UPF PDU session modification, so that the UPF sends downlink data according to the tunnel ID and address allocated by the RAN.
步骤615、SMF与PCF间建立PDU-CAN session modification。Step 615, establishing a PDU-CAN session modification between the SMF and the PCF.
可见,本申请可以在5G的会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含位置信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障。It can be seen that, in the scenario of 5G session update, the PCF obtains location information, and sends a QoS rule including location information to the data transmission device (UPF and UE) through the CPF, and the UE and the UPF according to the corresponding packet filter. The data stream to be transmitted is matched to different QOS transmission processing mechanisms to implement data stream splitting, which ensures transmission of structured data packets, such as QoS guarantee for non-IP data packets.
图7为本发明实施例提供的另一种在会话更新场景中数据传输的控制方法流程图。在该方法中,触发QOS rule更新的条件可以通过预配置的方式存储在UDM内,如图7所示,该方法可以包括:FIG. 7 is a flowchart of another method for controlling data transmission in a session update scenario according to an embodiment of the present invention. In this method, the condition for triggering the QOS rule update may be stored in the UDM in a pre-configured manner. As shown in FIG. 7, the method may include:
步骤700、UE向AMF发送PDU session modification request消息,以指示修改PDU会话。Step 700: The UE sends a PDU session modification request message to the AMF to indicate to modify the PDU session.
步骤701、AMF向SMF发送SM request消息。Step 701: The AMF sends an SM request message to the SMF.
该SM request消息可以包括PDU会话更新请求的指示信息。The SM request message may include indication information of a PDU session update request.
步骤702、SMF向UDM发送签约数据请求(subscription data request)消息。Step 702: The SMF sends a subscription data request message to the UDM.
该签约数据请求可以包括Session ID等信息。The subscription data request may include information such as a Session ID.
步骤703、UDM向SMF发送签约数据应答(subscription data response)消息,以获取UE的签约数据,实现UE的PDU会话身份验证/授权(PDU Session authentication/authorization)。Step 703: The UDM sends a subscription data response message to the SMF to obtain subscription data of the UE, and implement PDU session authentication/authorization of the UE.
该subscription data response消息可以包括位置信息、业务信息和Session ID等信息。该业务信息可以包括位置信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识等中的一种或多种信息。The subscription data response message may include information such as location information, service information, and session ID. The service information may include one or more pieces of information such as a matching value corresponding to the location information, a service QoS requirement, a UE identifier, a service identifier, and a data network identifier of the service.
步骤704、SMF根据PDU会话更新请求的指示信息、位置信息和业务信息,获取对QOS rule进行触发(QoS Update Trigger)的更新指示信息。Step 704: The SMF obtains update indication information for triggering the QOS rule according to the indication information, the location information, and the service information of the PDU session update request.
之后执行的步骤与步骤604-615相同,在此不做赘述。The steps performed thereafter are the same as steps 604-615, and are not described herein.
可见,本申请可以在5G的会话更新的场景中,将触发QOS更新的条件可以通过预配置的方式存储在UDM中,并通过信令交互使PCF获取位置信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含位置信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障。 It can be seen that, in the scenario of 5G session update, the condition that triggers the QOS update can be stored in the UDM in a pre-configured manner, and the PCF obtains the location information through the signaling interaction, and sends the location information through the CPF to the data transmission device. The UPF and the UE respectively send the QoS rule including the location information, and the UE and the UPF match the data stream to be transmitted according to the corresponding data packet filter to different QOS transmission processing mechanisms to implement data stream shunting, thereby ensuring transmission of structured data. Packets, such as QoS guarantees for non-IP packets.
图8为本发明实施例提供的再一种在会话更新场景中数据传输的控制方法流程图。在该方法中,触发QOS rule更新的条件可以通过AF下发至PCF,如图8所示,该方法可以包括:FIG. 8 is a flowchart of still another method for controlling data transmission in a session update scenario according to an embodiment of the present invention. In this method, the condition for triggering the update of the QOS rule can be sent to the PCF through the AF. As shown in FIG. 8, the method may include:
步骤800、PCF接收AF发送的会话信息。Step 800: The PCF receives the session information sent by the AF.
会话信息可以包括位置信息和业务信息,该业务信息可以包括位置信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识等中的一种或多种信息。The session information may include location information and service information, and the service information may include one or more of a matching value corresponding to the location information, a service QoS requirement, a UE identifier, a service identifier, and a data network identifier of the service.
PCF根据位置信息和业务信息,生成默认(default)的QoS ruler,该QoS ruler可以包括第一数据包过滤器,第一数据包过滤器包括位置信息和匹配条件,以用于UPF或UE将待传输数据分配到匹配条件满足的匹配关系的QoS传输处理机制进行发送。The PCF generates a default QoS ruler according to the location information and the service information, and the QoS ruler may include a first packet filter, where the first packet filter includes location information and a matching condition for the UPF or the UE to be used. The transmission data is allocated to the QoS transmission processing mechanism that matches the matching condition that the matching condition satisfies.
步骤801、UE向AMF发送PDU session modification request消息,以指示更新PDU会话。Step 801: The UE sends a PDU session modification request message to the AMF to indicate that the PDU session is updated.
该PDU会话建立请求消息可以包括结构化的PDU类型(如结构化的IP数据包和结构化的非IP数据包)、会话标识(Session ID)和数据网络标识(Data Network Name,DNN)等信息。The PDU session establishment request message may include structured PDU types (such as structured IP data packets and structured non-IP data packets), session ID (Session ID), and Data Network Name (DNN) information. .
步骤802、AMF向SMF发送SM request消息。Step 802: The AMF sends an SM request message to the SMF.
该SM request消息可以包括PDU会话更新请求的指示信息、Session ID、DNN等信息。The SM request message may include indication information of the PDU session update request, a Session ID, a DNN, and the like.
步骤803、SMF向PCF发送PDU-CAN会话更新请求(PDU-CAN session modification request)消息。Step 803: The SMF sends a PDU-CAN session modification request message to the PCF.
步骤804、PCF向SMF发送PDU-CAN会话建立响应(PDU-CAN session modification response)消息。Step 804: The PCF sends a PDU-CAN session modification response (PDU-CAN session modification response) message to the SMF.
该PDU-CAN session modification response消息可以包括更新后的QOS ruler,以使SMF获取更新后的QOS ruler,更新后的QOS ruler可以包括第一数据包过滤器。The PDU-CAN session modification response message may include an updated QOS ruler to enable the SMF to obtain an updated QOS ruler, and the updated QOS ruler may include a first packet filter.
步骤805、SMF根据PDU会话更新请求的指示信息和第一数据包过滤器,获取对QOS rule进行触发(QoS Update Trigger)的更新指示信息。Step 805: The SMF obtains update indication information for triggering the QOS rule according to the indication information of the PDU session update request and the first packet filter.
之后执行的步骤与步骤404-415相同,在此不做赘述。The steps performed thereafter are the same as steps 404-415, and are not described herein.
可以理解的是,在本申请上述实施例中,步骤800的执行可以发生在步骤804之前的任意时刻。步骤800的执行时间应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It will be appreciated that in the above-described embodiments of the present application, execution of step 800 may occur at any time prior to step 804. The execution time of step 800 should be determined by its function and intrinsic logic, and should not be construed as limiting the implementation process of the embodiments of the present application.
可见,本申请可以在5G的会话更新的场景中,通过AF使PCF获取位置信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含位置信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障。It can be seen that, in the scenario of the session update of the 5G, the PCF can obtain the location information by using the AF, and send the QoS rule including the location information to the data transmission device (UPF and the UE) through the CPF, and the UE and the UPF according to the corresponding data. The packet filter implements the offloading of the data stream by matching the data stream to be transmitted to different QOS transmission processing mechanisms, and ensures the transmission of the structured data packet, for example, the QoS guarantee of the non-IP data packet.
与图4所示的方法对应的,本发明实施例还提供一种策略控制功能装置,如图9所 示,该装置可以包括:处理单元910、发送单元920和接收单元930。Corresponding to the method shown in FIG. 4, the embodiment of the present invention further provides a policy control function device, as shown in FIG. The device may include a processing unit 910, a transmitting unit 920, and a receiving unit 930.
接收单元930,用于获取数据类别标识信息和业务信息,数据类别标识信息用于对待传输数据包进行分类。The receiving unit 930 is configured to obtain data category identification information and service information, where the data category identifier information is used to classify the data packet to be transmitted.
处理单元910,用于根据数据类别标识信息和业务信息,生成策略和计费规则(PCC rule),策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。The processing unit 910 is configured to generate a policy and charging rule (PCC rule) according to the data category identification information and the service information, where the policy and charging rule includes a first data packet filter, where the first data packet identifier includes data category identifier information. And a matching condition, the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data to be transmitted.
发送单元920,用于向控制面节点发送含有第一数据包过滤器的策略和计费规则,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。The sending unit 920 is configured to send, to the control plane node, a policy and a charging rule that include a first data packet filter, where the first data packet filter is used by the data transmission device to allocate the data to be transmitted to a QoS transmission processing mechanism that satisfies the matching relationship. send.
可选地,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。Optionally, the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
可选地,接收单元930,还用于接收应用功能发送的数据类别标识信息和业务信息。Optionally, the receiving unit 930 is further configured to receive data category identifier information and service information sent by the application function.
可选地,接收单元930,还用于接收控制面节点发送的数据类别标识信息和业务信息。其中,数据类别标识信息和业务信息是控制面节点从终端UE或统一数据管理UDM处获取。Optionally, the receiving unit 930 is further configured to receive data category identifier information and service information sent by the control plane node. The data category identification information and the service information are obtained by the control plane node from the terminal UE or the unified data management UDM.
可选地,数据类别标识信息包括位置信息,位置信息为数据包包头的一个或多个字段所在位置的信息。处理单元910,根据位置信息和业务信息,生成策略和计费规则。Optionally, the data category identification information includes location information, where the location information is information about a location of one or more fields of the packet header. The processing unit 910 generates a policy and a charging rule according to the location information and the service information.
可选地,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示数据包对应的服务质量信息,处理单元910,根据服务质量需求标识和业务信息,生成策略和计费规则。Optionally, the data category identifier information includes a service quality requirement identifier, where the service quality requirement identifier is used to indicate the service quality information corresponding to the data packet, and the processing unit 910 generates a policy and a charging rule according to the service quality requirement identifier and the service information.
由于上述实施例中该装置的各器件解决问题的实施方式以及有益效果可以参见各个方法实施方式以及有益效果,故在此不复赘述。For the implementation of the problem and the beneficial effects of the various devices of the device in the above embodiments, reference may be made to the various method embodiments and the beneficial effects, and thus no further details are provided herein.
与图4所示的方法对应的,本发明实施例还提供一种控制面节点装置,如图10所示,该装置可以包括:接收单元1010和发送单元1020。Corresponding to the method shown in FIG. 4, the embodiment of the present invention further provides a control plane node device. As shown in FIG. 10, the device may include: a receiving unit 1010 and a sending unit 1020.
接收单元1010,用于接收PCF发送的策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据包进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。The receiving unit 1010 is configured to receive a policy and a charging rule sent by the PCF, where the policy and charging rule includes a first data packet filter, where the first data packet filter includes data category identification information and a matching condition, and the data category identifier information is used. The data packet to be transmitted is classified, and the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data packet to be transmitted.
发送单元1020,用于向数据传输装置发送数据类别标识信息,以使数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,其中,数据传输装置包括用户面功能UPF或终端UE。The sending unit 1020 is configured to send data category identification information to the data transmission apparatus, so that the data transmission apparatus sends the data to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship, where the data transmission apparatus includes a user plane function UPF or a terminal. UE.
可选地,发送单元1020,还用于向UPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,第二数据包过滤器用于UPF将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。Optionally, the sending unit 1020 is further configured to send, to the UPF, a second data packet filter, where the second data packet filter includes data category identifier information and a matching condition, and the second data packet filter is used by the UPF to allocate the data packet to be transmitted. The QoS transmission processing mechanism that satisfies the matching relationship is sent.
可选地,发送单元1020,还用于向UE发送服务质量规则,服务质量规则包括第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。Optionally, the sending unit 1020 is further configured to send a QoS rule to the UE, where the QoS rule includes a third packet filter, the third packet filter includes data category identifier information and a matching condition, and the third packet filter is used by the third packet filter. The UE transmits the data packet to be transmitted to a QoS transmission processing mechanism that satisfies the matching relationship.
可选地,发送单元1020,还用于向UE发送数据类别标识信息和反转规则,反转规则用于在反转QoS机制中UE根据数据类别标识信息和下行数据包获取第三数据包过滤器,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输 处理机制进行发送。Optionally, the sending unit 1020 is further configured to send data category identifier information and a reverse rule to the UE, where the reverse rule is used by the UE to obtain the third packet filtering according to the data category identifier information and the downlink data packet in the reverse QoS mechanism. The third packet filter is used by the UE to allocate the data packet to be transmitted to the QoS transmission that satisfies the matching relationship. The processing mechanism is sent.
可选地,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。Optionally, the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
可选地,第一数据包过滤器、第二数据包过滤器、第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。Optionally, the first data packet filter, the second data packet filter, and the third data packet filter include at least one packet filtering rule, where each data packet filtering rule includes data category identification information, operation information, and matching information; or Each packet filtering rule includes data category identification information and matching information.
可选地,发送单元1020,还用于向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。Optionally, the sending unit 1020 is further configured to send data category identifier information and service information to the PCF, so that the PCF generates a policy and a charging rule.
可选地,接收单元1010,还用于接收统一数据管理实体(UDM)发送的数据类别标识信息和业务信息;Optionally, the receiving unit 1010 is further configured to receive data category identifier information and service information sent by a unified data management entity (UDM);
发送单元1020,还用于向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。The sending unit 1020 is further configured to send data category identification information and service information to the PCF, so that the PCF generates a policy and a charging rule.
可选地,接收单元1010,还用于获取第二数据包过滤器的匹配优先级信息和第三数据包过滤器的匹配优先级信息;匹配优先级信息用于规定UPF对待传输数据进行过滤时,第二数据包过滤器之间的优先匹配的顺序,以及规定UE对待传输数据包进行过滤时,第三数据包过滤器之间的优先匹配的顺序;Optionally, the receiving unit 1010 is further configured to obtain matching priority information of the second data packet filter and matching priority information of the third data packet filter, where the matching priority information is used to specify that the UPF filters the data to be transmitted. The order of priority matching between the second packet filters, and the order of priority matching between the third packet filters when the UE is to be filtered for filtering;
发送单元1020,还用于向UPF发送第二数据包过滤器的匹配优先级信息,以及向UE发送第三数据包过滤器的匹配优先级信息。The sending unit 1020 is further configured to send the matching priority information of the second data packet filter to the UPF, and send the matching priority information of the third data packet filter to the UE.
可选地,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息;位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置。定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。Optionally, the data category identification information includes location information, where the location information is information of a location of one or more fields of the service data packet header; the location information includes at least: relative location information, location offset information, and positioning sequence format information. One; the position offset information is used to indicate the offset of the location of the data to be transmitted relative to the start position of the packet header; the relative location information is used to indicate that the data to be transmitted is located at the location of the data packet. The positioning order format information is used to indicate the order in which the data to be transmitted is arranged relative to the location of the data packet.
可选地,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。Optionally, the data category identifier information includes a service quality requirement identifier, where the service quality requirement identifier is used to indicate service quality information corresponding to the service data packet.
由于上述实施例中该装置的各器件解决问题的实施方式以及有益效果可以参见各个方法实施方式以及有益效果,故在此不复赘述。For the implementation of the problem and the beneficial effects of the various devices of the device in the above embodiments, reference may be made to the various method embodiments and the beneficial effects, and thus no further details are provided herein.
与图4所示的方法对应的,本发明实施例还提供一种终端,如图11所示,该设备可以包括:处理单元1110和发送单元1120。Corresponding to the method shown in FIG. 4, the embodiment of the present invention further provides a terminal. As shown in FIG. 11, the device may include: a processing unit 1110 and a sending unit 1120.
处理单元1110,用于获取第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,匹配条件规定数据类别标识信息与对应的待传输数据的匹配关系,The processing unit 1110 is configured to obtain a third data packet filter, where the third data packet filter includes data category identifier information and a matching condition, where the matching condition specifies a matching relationship between the data category identifier information and the corresponding data to be transmitted.
发送单元1120,用于根据第三数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。The sending unit 1120 is configured to allocate, according to the third data packet filter, the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
可选地,终端还可以包括接收单元1130,Optionally, the terminal may further include a receiving unit 1130.
接收单元1130,用于接收控制面节点CPF发送的服务质量规则,服务质量规则包括第三数据包过滤器。The receiving unit 1130 is configured to receive a quality of service rule sent by the control plane node CPF, where the quality of service rule includes a third data packet filter.
可选地,接收单元1130,还用于接收控制面节点CPF发送的数据类别标识信息和反转规则,反转规则用于在反转QoS机制中处理单元1110根据数据类别标识信息和下行数据包获取第三数据包过滤器。Optionally, the receiving unit 1130 is further configured to receive data category identifier information and a reverse rule sent by the control plane node CPF, where the inversion rule is used by the processing unit 1110 according to the data category identifier information and the downlink data packet in the reverse QoS mechanism. Get the third packet filter.
可选地,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹 配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。Optionally, the matching condition includes operation information and matching information, and the matching information includes data to be compared. Satisfy The relationship between the data to be transmitted and the data to be compared corresponds to the logical relationship specified in the operation information.
可选地,第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。Optionally, the third data packet filter includes at least one packet filtering rule, where each data packet filtering rule includes data category identification information, operation information, and matching information; or each data packet filtering rule includes data category identification information and matching. information.
可选地,终端还可以包括接收单元1130,还用于接收第三数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UE对待传输数据包的进行第三数据包过滤器之间的优先匹配的顺序;Optionally, the terminal may further include a receiving unit 1130, configured to receive matching priority information of the third data packet filter, where the matching priority information is used to specify that the UE is to transmit the data packet between the third data packet filters. Priority matching order;
当终端传输待传输数据包时,处理单元1110根据第二数据包过滤器的匹配优先级信息,对待传输数据包进行匹配。When the terminal transmits the data packet to be transmitted, the processing unit 1110 matches the data packet to be transmitted according to the matching priority information of the second data packet filter.
可选地,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息;位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置.定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。Optionally, the data category identification information includes location information, where the location information is information of a location of one or more fields of the service data packet header; the location information includes at least: relative location information, location offset information, and positioning sequence format information. The position offset information is used to indicate the offset of the location of the data to be transmitted relative to the start position of the data packet header; the relative location information is used to indicate that the data to be transmitted is located at the location of the data packet. The positioning sequence format information is used to indicate The order in which the data to be transmitted is arranged relative to the location of the packet.
可选地,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。Optionally, the data category identifier information includes a service quality requirement identifier, where the service quality requirement identifier is used to indicate service quality information corresponding to the service data packet.
由于上述实施例中该装置的各器件解决问题的实施方式以及有益效果可以参见各个方法实施方式以及有益效果,故在此不复赘述。For the implementation of the problem and the beneficial effects of the various devices of the device in the above embodiments, reference may be made to the various method embodiments and the beneficial effects, and thus no further details are provided herein.
与图4所示的方法对应的,本发明实施例还提供一种用户面功能装置,如图12所示,该装置可以包括:接收单元1210和发送单元1220,Corresponding to the method shown in FIG. 4, the embodiment of the present invention further provides a user plane function device. As shown in FIG. 12, the device may include: a receiving unit 1210 and a sending unit 1220.
接收单元1210,用于接收控制面节点CPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系;The receiving unit 1210 is configured to receive a control plane node CPF to send a second data packet filter, where the second data packet filter includes data category identifier information and a matching condition, and the data category identifier information is used to classify the data to be transmitted, and the matching condition is used for Specifying a matching relationship between the data category identification information and the corresponding data packet to be transmitted;
发送单元1220,用于根据第二数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。The sending unit 1220 is configured to allocate, according to the second data packet filter, the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
可选地,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。Optionally, the matching condition includes the operation information and the matching information, and the matching information includes the data to be compared; and the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
可选地,第二数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息,以及匹配信息。Optionally, the second packet filter includes at least one packet filtering rule, and each packet filtering rule includes data category identification information, operation information, and matching information.
可选地,该装置还包括处理单元1230,Optionally, the apparatus further includes a processing unit 1230,
接收单元1210,还用于接收第二数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UPF对待传输数据包的进行第二数据包过滤器之间的优先匹配的顺序;The receiving unit 1210 is further configured to receive matching priority information of the second data packet filter, where the matching priority information is used to specify an order in which the UPF performs a priority matching between the second data packet filters of the data packet to be transmitted;
处理单元1230,用于当用户面节点UPF传输待传输数据时,根据第二数据包过滤器的匹配优先级信息对待传输数据包进行匹配。The processing unit 1230 is configured to: when the user plane node UPF transmits the data to be transmitted, match the data packet to be transmitted according to the matching priority information of the second data packet filter.
可选地,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息;位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。Optionally, the data category identification information includes location information, where the location information is information of a location of one or more fields of the service data packet header; the location information includes at least: relative location information, location offset information, and positioning sequence format information. a position offset information is used to indicate an offset of the location of the data relative to the start position of the packet header; relative location information is used to indicate that the data is located at the location of the data packet; and the positioning sequence format information is used to indicate the data relative to the data. The order in which the packages are located.
可选地,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。 Optionally, the data category identifier information includes a service quality requirement identifier, where the service quality requirement identifier is used to indicate service quality information corresponding to the service data packet.
由于上述实施例中该设备的各器件解决问题的实施方式以及有益效果可以参见各个方法实施方式以及有益效果,故在此不复赘述。For the embodiments and the beneficial effects of the solutions of the devices in the foregoing embodiments, reference may be made to the various method embodiments and the beneficial effects, and thus no further details are provided herein.
图13为本发明实施例提供的另一种策略控制功能设备的结构示意图。如图13所示,该设备可以包括:处理器1310、接收器1320和发送器1330。FIG. 13 is a schematic structural diagram of another policy control function device according to an embodiment of the present invention. As shown in FIG. 13, the device may include a processor 1310, a receiver 1320, and a transmitter 1330.
可选地,该装置还可以包括存储器1340。Optionally, the device may also include a memory 1340.
处理器1310可以是中央处理器(central processing unit,CPU),或者CPU和硬件芯片的组合。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。The processor 1310 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL), or any combination thereof.
存储器1340用于存储各种应用,操作***和数据。存储器1340可以将存储的数据传输给处理器1310。存储器1340可以包括易失性存储器,例如非挥发性动态随机存取内存(nonvolatile random access memory,NVRAM)、相变化随机存取内存(phase change RAM,PRAM)、磁阻式随机存取内存(magetoresistive RAM,MRAM)等,还可以包括非易失性存储器,例如至少一个磁盘存储器件、电子可擦除可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、闪存器件,例如反或闪存(NOR flash memory)或是反及闪存(NAND flash memory)、半导体器件,例如固态硬盘(solid state disk,SSD)等。存储器1340还可以包括上述种类的存储器的组合。Memory 1340 is used to store various applications, operating systems and data. The memory 1340 can transfer the stored data to the processor 1310. The memory 1340 can include volatile memory, such as nonvolatile random access memory (NVRAM), phase change RAM (PRAM), and magnetoresistive random access memory (magetoresistive). RAM, MRAM, etc., may also include non-volatile memory, such as at least one magnetic disk storage device, electrically erasable programmable read-only memory (EEPROM), flash memory device, such as anti-flash memory (NOR flash memory) or NAND flash memory, semiconductor devices, such as solid state disk (SSD). Memory 1340 can also include a combination of the above types of memory.
可以理解的是,存储器1340可以集成在处理器1310中,也可以独立存在。接收器1320和发送器1330可以集成在收发器中,也可以独立存在。It can be understood that the memory 1340 can be integrated in the processor 1310 or can exist independently. The receiver 1320 and the transmitter 1330 may be integrated in the transceiver or may exist independently.
接收器1320,用于获取数据类别标识信息和业务信息,数据类别标识信息用于对待传输数据包进行分类。The receiver 1320 is configured to obtain data category identifier information and service information, where the data category identifier information is used to classify the data packet to be transmitted.
处理器1310,用于根据数据类别标识信息和业务信息,生成策略和计费规则(PCC rule),策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。The processor 1310 is configured to generate a policy and charging rule (PCC rule) according to the data category identification information and the service information, where the policy and charging rule includes a first data packet filter, where the first data packet identifier includes data category identifier information. And a matching condition, the matching condition is used to specify a matching relationship between the data category identification information and the corresponding data to be transmitted.
发送器1330,用于向控制面节点发送含有第一数据包过滤器的策略和计费规则,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。The transmitter 1330 is configured to send, to the control plane node, a policy and a charging rule that include a first data packet filter, where the first data packet filter is used by the data transmission device to allocate the data to be transmitted to a QoS transmission processing mechanism that satisfies the matching relationship. send.
由于上述实施例中该设备的各器件解决问题的实施方式以及有益效果可以参见方法实施方式以及有益效果,故在此不复赘述。For the embodiments and the beneficial effects of the solutions of the devices in the foregoing embodiments, reference may be made to the method embodiments and the beneficial effects, and thus no further details are provided herein.
图14为本发明实施例提供的另一种控制面节点设备的结构示意图。如图14所示,该设备可以包括:接收器1410和发送器1420。FIG. 14 is a schematic structural diagram of another control plane node device according to an embodiment of the present invention. As shown in FIG. 14, the device may include a receiver 1410 and a transmitter 1420.
可选地,该设备还可以包括存储器1430和处理器1440。处理器1440可以于前文的处理器1310可以相同,也可以不同,在此不作限定。Optionally, the device may further include a memory 1430 and a processor 1440. The processor 1440 may be the same or different in the foregoing processor 1310, and is not limited herein.
接收器1410,用于接收PCF发送的策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信 息用于对待传输数据包进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。The receiver 1410 is configured to receive a policy and charging rule sent by the PCF, where the policy and charging rule includes a first data packet filter, where the first data packet filter includes data category identification information and a matching condition, and the data category identifier is The information is used to classify the data packets to be transmitted, and the matching condition is used to specify the matching relationship between the data class identification information and the corresponding data packet to be transmitted.
发送器1420,用于向数据传输装置发送数据类别标识信息,以使数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,其中,数据传输装置包括用户面功能UPF或终端UE。The transmitter 1420 is configured to send data category identification information to the data transmission apparatus, so that the data transmission apparatus sends the data to be transmitted to a QoS transmission processing mechanism that satisfies a matching relationship, where the data transmission apparatus includes a user plane function UPF or a terminal. UE.
由于上述实施例中该设备的各器件解决问题的实施方式以及有益效果可以参见方法实施方式以及有益效果,故在此不复赘述。For the embodiments and the beneficial effects of the solutions of the devices in the foregoing embodiments, reference may be made to the method embodiments and the beneficial effects, and thus no further details are provided herein.
图15为本发明实施例提供的另一种终端的结构示意图。如图15所示,该终端可以包括:处理器1510和发送器1520。FIG. 15 is a schematic structural diagram of another terminal according to an embodiment of the present invention. As shown in FIG. 15, the terminal may include a processor 1510 and a transmitter 1520.
可选地,该终端还可以包括存储器1530和接收器1540。处理器1530可以于前文的处理器1310可以相同,也可以不同,在此不作限定。Optionally, the terminal may further include a memory 1530 and a receiver 1540. The processor 1530 may be the same or different in the foregoing processor 1310, and is not limited herein.
处理器1510,用于获取第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,匹配条件规定数据类别标识信息与对应的待传输数据的匹配关系,The processor 1510 is configured to obtain a third data packet filter, where the third data packet filter includes data category identifier information and a matching condition, where the matching condition specifies a matching relationship between the data category identifier information and the corresponding data to be transmitted.
发送器1520,用于根据第三数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。The transmitter 1520 is configured to allocate, according to the third data packet filter, the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
由于上述实施例中该终端的各器件解决问题的实施方式以及有益效果可以参见方法实施方式以及有益效果,故在此不复赘述。For the embodiments and the beneficial effects of the solutions of the devices in the foregoing embodiments, reference may be made to the method embodiments and the beneficial effects, and thus no further details are provided herein.
图16为本发明实施例提供的另一种用户面功能设备的结构示意图。如图16所示,该设备可以包括:接收器1610和发送器1620。FIG. 16 is a schematic structural diagram of another user plane function device according to an embodiment of the present invention. As shown in FIG. 16, the device may include a receiver 1610 and a transmitter 1620.
可选地,该设备还可以包括存储器1630和处理器1640。处理器1640可以于前文的处理器1310可以相同,也可以不同,在此不作限定。Optionally, the device may also include a memory 1630 and a processor 1640. The processor 1640 may be the same or different in the foregoing processor 1310, which is not limited herein.
接收器1610,用于接收控制面节点CPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系;The receiver 1610 is configured to receive a control plane node CPF to send a second data packet filter, where the second data packet filter includes data category identification information and a matching condition, and the data category identifier information is used to classify the data to be transmitted, and the matching condition is used for Specifying a matching relationship between the data category identification information and the corresponding data packet to be transmitted;
发送器1620,用于根据第二数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。The transmitter 1620 is configured to allocate, according to the second data packet filter, the data packet to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
由于上述实施例中该设备的各器件解决问题的实施方式以及有益效果可以参见方法实施方式以及有益效果,故在此不复赘述。For the embodiments and the beneficial effects of the solutions of the devices in the foregoing embodiments, reference may be made to the method embodiments and the beneficial effects, and thus no further details are provided herein.
需要说明的是,本发明实施例还提供了一种计算机可读存储介质。该计算机可读存储介质上存储有计算机程序,该程序被上述处理器执行。It should be noted that the embodiment of the present invention further provides a computer readable storage medium. A computer program is stored on the computer readable storage medium, the program being executed by the processor.
本发明实施例还提供了一种包含指令的计算机程序产品。当该计算机程序产品在计算机上运行时,使得上述处理器执行上述图4所述的方法。Embodiments of the present invention also provide a computer program product comprising instructions. When the computer program product is run on a computer, the processor is caused to perform the method described above with respect to FIG.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (37)

  1. 一种数据传输的控制方法,其特征在于,A method of controlling data transmission, characterized in that
    策略控制功能PCF获取数据类别标识信息和业务信息,所述数据类别标识信息用于对待传输数据包进行分类;The policy control function PCF obtains data category identification information and service information, where the data category identification information is used to classify the data packet to be transmitted;
    所述PCF根据所述数据类别标识信息和所述业务信息,生成策略和计费规则,所述策略和计费规则包括第一数据包过滤器,所述第一数据包过滤器包括所述数据类别标识信息和匹配条件,所述匹配条件用于规定所述数据类别标识信息与对应的待传输数据的匹配关系;Generating, by the PCF, a policy and a charging rule according to the data category identification information and the service information, where the policy and charging rule includes a first data packet filter, where the first data packet filter includes the data a category identification information and a matching condition, where the matching condition is used to specify a matching relationship between the data category identifier information and the corresponding data to be transmitted;
    所述PCF向控制面节点发送含有所述第一数据包过滤器的所述策略和计费规则,所述第一数据包过滤器用于所述数据传输装置将所述待传输数据分配到满足所述匹配关系的服务质量QoS传输处理机制进行发送。Sending, by the PCF, the policy and charging rule including the first data packet filter to a control plane node, where the first data packet filter is used by the data transmission device to allocate the to-be-transmitted data to a satisfied location The quality of service QoS transmission processing mechanism of the matching relationship is transmitted.
  2. 根据权利要求1所述的方法,其特征在于,所述匹配条件包括运算信息和匹配信息,所述匹配信息包括待比较数据;The method according to claim 1, wherein the matching condition comprises operation information and matching information, and the matching information comprises data to be compared;
    所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The relationship that satisfies the matching relationship that the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information.
  3. 根据权利要求1或2所述的方法,其特征在于,所述PCF获取数据类别标识信息和业务信息,包括:The method according to claim 1 or 2, wherein the PCF obtains data category identification information and service information, including:
    所述PCF接收应用功能发送的所述数据类别标识信息和所述业务信息。The PCF receives the data category identification information and the service information sent by an application function.
  4. 根据权利要求1或2所述的方法,其特征在于,所述PCF获取数据类别标识信息和业务信息,包括:The method according to claim 1 or 2, wherein the PCF obtains data category identification information and service information, including:
    所述PCF接收所述控制面节点发送的所述数据类别标识信息和所述业务信息;Receiving, by the PCF, the data category identifier information and the service information sent by the control plane node;
    其中,所述数据类别标识信息和所述业务信息是所述控制面节点从终端UE或统一数据管理UDM处获取。The data category identifier information and the service information are obtained by the control plane node from a terminal UE or a unified data management UDM.
  5. 根据权利要求1所述的方法,其特征在于,所述数据类别标识信息包括位置信息,所述位置信息为数据包包头的一个或多个字段所在位置的信息;The method according to claim 1, wherein the data category identification information comprises location information, and the location information is information of a location of one or more fields of the data packet header;
    所述PCF根据所述数据类别标识信息和所述业务信息,生成策略和计费规则,包括:The PCF generates a policy and a charging rule according to the data category identification information and the service information, including:
    所述PCF根据所述位置信息和所述业务信息,生成策略和计费规则。The PCF generates a policy and a charging rule according to the location information and the service information.
  6. 根据权利要求1所述的方法,其特征在于,所述数据类别标识信息包括服务质量需求标识,所述服务质量需求标识用于指示数据包对应的服务质量信息,The method according to claim 1, wherein the data category identification information comprises a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the data packet,
    所述PCF根据所述数据类别标识信息和所述业务信息,生成策略和计费规则,包括:The PCF generates a policy and a charging rule according to the data category identification information and the service information, including:
    所述PCF根据所述服务质量需求标识和所述业务信息,生成策略和计费规则。The PCF generates a policy and a charging rule according to the service quality requirement identifier and the service information.
  7. 一种数据传输的控制方法,其特征在于,A method of controlling data transmission, characterized in that
    控制面节点CPF接收PCF发送的策略和计费规则,所述策略和计费规则包括第一数据包过滤器,所述第一数据包过滤器包括数据类别标识信息和匹配条件,所述数据类别标识信息用于对待传输数据包进行分类,所述匹配条件用于规定所述数据类别标识信息与对应的待传输数据包的匹配关系;The control plane node CPF receives the policy and charging rules sent by the PCF, the policy and charging rules include a first data packet filter, the first data packet filter includes data category identification information and matching conditions, and the data category The identifier information is used to classify the data packet to be transmitted, and the matching condition is used to specify a matching relationship between the data category identifier information and the corresponding data packet to be transmitted;
    所述CPF向数据传输装置发送所述数据类别标识信息,以使所述数据传输装置将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送,其中,所述数据传输装置包括用户面功能UPF或终端UE。Sending, by the CPF, the data category identification information to a data transmission apparatus, so that the data transmission apparatus sends the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship, where the data transmission apparatus Includes user plane function UPF or terminal UE.
  8. 根据权利要求7所述的方法,其特征在于,所述CPF向数据传输装置发送所 述数据类别标识信息,包括:The method according to claim 7, wherein said CPF transmits to said data transmission device Data category identification information, including:
    所述CPF向所述UPF发送第二数据包过滤器,所述第二数据包过滤器包括所述数据类别标识信息和所述匹配条件,所述第二数据包过滤器用于所述UPF将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。The CPF sends a second packet filter to the UPF, the second packet filter includes the data category identification information and the matching condition, and the second packet filter is used by the UPF The transmission data packet is allocated to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
  9. 根据权利要求7所述的方法,其特征在于,所述CPF向数据传输装置发送所述数据类别标识信息,包括:The method according to claim 7, wherein the CPF sends the data category identification information to the data transmission device, including:
    所述控制面节点CPF向所述UE发送服务质量规则,所述服务质量规则包括第三数据包过滤器,所述第三数据包过滤器包括所述数据类别标识信息和所述匹配条件,所述第三数据包过滤器用于所述UE将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。The control plane node CPF sends a quality of service rule to the UE, the quality of service rule includes a third data packet filter, and the third data packet filter includes the data category identification information and the matching condition, where The third data packet filter is used by the UE to allocate the to-be-transmitted data packet to a QoS transmission processing mechanism that satisfies the matching relationship.
  10. 根据权利要求7所述的方法,其特征在于,所述CPF向数据传输装置发送所述数据类别标识信息,包括:The method according to claim 7, wherein the CPF sends the data category identification information to the data transmission device, including:
    所述控制面节点CPF向所述UE发送所述数据类别标识信息和反转规则,所述反转规则用于在反转QoS机制中所述UE根据所述数据类别标识信息和下行数据包获取第三数据包过滤器,所述第三数据包过滤器用于所述UE将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。The control plane node CPF sends the data category identification information and the inversion rule to the UE, where the inversion rule is used by the UE to obtain the downlink data packet according to the data category identifier information and the downlink data packet in the reverse QoS mechanism. And a third data packet filter, where the third data packet filter is used by the UE to allocate the to-be-transmitted data packet to a QoS transmission processing mechanism that satisfies the matching relationship.
  11. 根据权利要求7至10任一项所述的方法,其特征在于,所述匹配条件包括运算信息和匹配信息,所述匹配信息包括待比较数据;The method according to any one of claims 7 to 10, wherein the matching condition comprises operation information and matching information, and the matching information comprises data to be compared;
    所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The relationship that satisfies the matching relationship that the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information.
  12. 根据权利要求7至10任一项所述的方法,其特征在于,所述第一数据包过滤器、第二数据包过滤器、第三数据包过滤器包括至少一个包过滤规则,每个所述数据包过滤规则包括数据类别标识信息、所述运算信息以及所述匹配信息;或者,每个所述数据包过滤规则包括所述数据类别标识信息和所述匹配信息。The method according to any one of claims 7 to 10, wherein the first packet filter, the second packet filter, and the third packet filter comprise at least one packet filtering rule, each of The data packet filtering rule includes data category identification information, the operation information, and the matching information; or each of the data packet filtering rules includes the data category identification information and the matching information.
  13. 根据权利要求7所述的方法,其特征在于,所述控制面节点CPF接收PCF发送的第一数据包过滤器之前,所述方法还包括:The method according to claim 7, wherein before the control plane node CPF receives the first packet filter sent by the PCF, the method further includes:
    所述控制面节点CPF向所述PCF发送所述数据类别标识信息和所述业务信息,以使所述PCF生成所述策略和计费规则。The control plane node CPF sends the data category identification information and the service information to the PCF, so that the PCF generates the policy and charging rules.
  14. 根据权利要求7所述的方法,其特征在于,所述控制面节点CPF接收PCF发送的第一数据包过滤器之前,所述方法还包括:The method according to claim 7, wherein before the control plane node CPF receives the first packet filter sent by the PCF, the method further includes:
    所述控制面节点CPF接收统一数据管理实体UDM发送的所述数据类别标识信息和所述业务信息;The control plane node CPF receives the data category identification information and the service information sent by the unified data management entity UDM;
    所述控制面节点CPF向所述PCF发送所述数据类别标识信息和所述业务信息,以使所述PCF生成所述策略和计费规则。The control plane node CPF sends the data category identification information and the service information to the PCF, so that the PCF generates the policy and charging rules.
  15. 根据权利要求7至14任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7 to 14, wherein the method further comprises:
    所述控制面节点CPF获取所述第二数据包过滤器的匹配优先级信息和第三数据包过滤器的匹配优先级信息;所述匹配优先级信息用于规定所述UPF对所述待传输数据进行过滤时,第二数据包过滤器之间的优先匹配的顺序,以及规定所述UE对所述待传输数据包进行过滤时,第三数据包过滤器之间的优先匹配的顺序;The control plane node CPF acquires the matching priority information of the second packet filter and the matching priority information of the third packet filter; the matching priority information is used to specify that the UPF is to be transmitted. The order of priority matching between the second packet filters when the data is filtered, and the order of priority matching between the third packet filters when the UE filters the to-be-transmitted packets;
    所述控制面节点CPF向所述UPF发送所述第二数据包过滤器的匹配优先级信息,以及向所述UE发送所述第三数据包过滤器的匹配优先级信息。The control plane node CPF sends the matching priority information of the second data packet filter to the UPF, and sends the matching priority information of the third data packet filter to the UE.
  16. 根据权利要求7至14任一项所述的方法,其特征在于,所述数据类别标识 信息包括位置信息,所述位置信息为业务数据包包头的一个或多个字段所在位置的信息;The method according to any one of claims 7 to 14, wherein the data category identifier The information includes location information, where the location information is information of a location of one or more fields of the service data packet header;
    所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。The location information includes at least one of relative location information, location offset information, and location sequence format information; the location offset information is used to indicate that the location of the to-be-transmitted data is relative to a start location of the packet header. The offset information is used to indicate that the to-be-transmitted data is located at a location of the data packet; the positioning sequence format information is used to indicate an order of arrangement of the to-be-transmitted data relative to a location of the data packet.
  17. 根据权利要求7至14任一项所述的方法,其特征在于,所述数据类别标识信息包括服务质量需求标识,所述服务质量需求标识用于指示业务数据包对应的服务质量信息。The method according to any one of claims 7 to 14, wherein the data category identification information comprises a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
  18. 一种数据传输的控制方法,其特征在于,所述方法包括:A method for controlling data transmission, characterized in that the method comprises:
    终端UE获取第三数据包过滤器,所述第三数据包过滤器包括所述数据类别标识信息和所述匹配条件,所述匹配条件规定所述数据类别标识信息与对应的待传输数据的匹配关系,The terminal UE acquires a third data packet filter, where the third data packet filter includes the data category identification information and the matching condition, where the matching condition specifies that the data category identifier information matches the corresponding data to be transmitted. relationship,
    所述UE根据所述第三数据包过滤器,将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。The UE allocates the to-be-transmitted data packet to a QoS transmission processing mechanism that satisfies the matching relationship according to the third data packet filter.
  19. 根据权利要求18所述的方法,其特征在于,所述终端UE获取第三数据包过滤器,包括:The method according to claim 18, wherein the acquiring, by the terminal UE, the third data packet filter comprises:
    所述UE接收所述控制面节点CPF发送的服务质量规则,所述服务质量规则包括所述第三数据包过滤器。The UE receives a quality of service rule sent by the control plane node CPF, where the quality of service rule includes the third data packet filter.
  20. 根据权利要求18所述的方法,其特征在于,所述终端UE获取第三数据包过滤器,包括:The method according to claim 18, wherein the acquiring, by the terminal UE, the third data packet filter comprises:
    所述UE接收所述控制面节点CPF发送的所述数据类别标识信息和反转规则,所述反转规则用于在反转QoS机制中所述UE根据所述数据类别标识信息和下行数据包获取第三数据包过滤器。Receiving, by the UE, the data category identifier information and the inversion rule sent by the control plane node CPF, where the inversion rule is used by the UE according to the data category identifier information and the downlink data packet in the reverse QoS mechanism Get the third packet filter.
  21. 根据权利要求18至20任一项所述的方法,其特征在于,所述匹配条件包括运算信息和匹配信息,所述匹配信息包括待比较数据;The method according to any one of claims 18 to 20, wherein the matching condition comprises operation information and matching information, and the matching information comprises data to be compared;
    所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The relationship that satisfies the matching relationship that the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information.
  22. 根据权利要求18至20任一项所述的方法,其特征在于,所述第三数据包过滤器包括至少一个包过滤规则,每个所述数据包过滤规则包括所述数据类别标识信息、所述运算信息以及所述匹配信息;或者,每个所述数据包过滤规则包括所述数据类别标识信息和所述匹配信息。The method according to any one of claims 18 to 20, wherein the third packet filter includes at least one packet filtering rule, and each of the packet filtering rules includes the data category identification information, The operation information and the matching information; or each of the data packet filtering rules includes the data category identification information and the matching information.
  23. 根据权利要求18至22任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18 to 22, wherein the method further comprises:
    所述终端UE接收所述第三数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述UE对所述待传输数据包的进行所述第三数据包过滤器之间的优先匹配的顺序;The terminal UE receives the matching priority information of the third data packet filter, where the matching priority information is used to specify that the UE performs the data packet to be transmitted between the third data packet filters. Priority matching order;
    当所述终端传输待传输数据包时,所述终端根据所述第二数据包过滤器的匹配优先级信息,对所述待传输数据包进行匹配。When the terminal transmits the data packet to be transmitted, the terminal matches the data packet to be transmitted according to the matching priority information of the second data packet filter.
  24. 根据权利要求18至22任一项所述的方法,其特征在于,所述数据类别标识信息包括位置信息,所述位置信息为业务数据包包头的一个或多个字段所在位置的信息; The method according to any one of claims 18 to 22, wherein the data category identification information comprises location information, and the location information is information of a location of one or more fields of a service data packet header;
    所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。The location information includes at least one of relative location information, location offset information, and location sequence format information; the location offset information is used to indicate that the location of the to-be-transmitted data is relative to a start location of the packet header. The offset information is used to indicate that the to-be-transmitted data is located at a location of the data packet; the positioning sequence format information is used to indicate an order of arrangement of the to-be-transmitted data relative to a location of the data packet.
  25. 根据权利要求18至22任一项所述的方法,其特征在于,所述数据类别标识信息包括服务质量需求标识,所述服务质量需求标识用于指示业务数据包对应的服务质量信息。The method according to any one of claims 18 to 22, wherein the data category identification information comprises a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
  26. 一种数据传输的控制方法,其特征在于,所述方法包括:A method for controlling data transmission, characterized in that the method comprises:
    用户面功能UPF接收控制面节点CPF发送第二数据包过滤器,所述第二数据包过滤器包括数据类别标识信息和所述匹配条件,所述数据类别标识信息用于对待传输数据进行分类,所述匹配条件用于规定所述数据类别标识信息与对应的待传输数据包的匹配关系;The user plane function UPF receiving control plane node CPF sends a second data packet filter, the second data packet filter includes data category identification information and the matching condition, and the data category identification information is used to classify the data to be transmitted. The matching condition is used to specify a matching relationship between the data category identifier information and a corresponding data packet to be transmitted;
    所述UPF根据所述第二数据包过滤器,将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。The UPF allocates the to-be-transmitted data packet to a QoS transmission processing mechanism that satisfies the matching relationship according to the second data packet filter.
  27. 根据权利要求26所述的方法,其特征在于,所述匹配条件包括运算信息和匹配信息,所述匹配信息包括待比较数据;The method according to claim 26, wherein said matching condition comprises operation information and matching information, said matching information comprising data to be compared;
    所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The relationship that satisfies the matching relationship that the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information.
  28. 根据权利要求26或27所述的方法,其特征在于,所述第二数据包过滤器包括至少一个包过滤规则,每个所述数据包过滤规则包括所述数据类别标识信息、所述运算信息,以及所述匹配信息。The method according to claim 26 or 27, wherein said second packet filter includes at least one packet filtering rule, and each of said packet filtering rules includes said data category identification information and said operation information And the matching information.
  29. 根据权利要求26至28任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 26 to 28, wherein the method further comprises:
    所述用户面节点UPF接收所述第二数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述UPF对所述待传输数据包的进行所述第二数据包过滤器之间的优先匹配的顺序;The user plane node UPF receives the matching priority information of the second data packet filter, where the matching priority information is used to specify that the UPF performs the second data packet filter on the to-be-transmitted data packet. The order of priority matches between;
    当所述用户面节点UPF传输待传输数据时,所述用户面节点UPF根据所述第二数据包过滤器的匹配优先级信息对所述待传输数据包进行匹配。When the user plane node UPF transmits the data to be transmitted, the user plane node UPF matches the to-be-transmitted data packet according to the matching priority information of the second data packet filter.
  30. 根据权利要求26至28任一项所述的方法,其特征在于,所述数据类别标识信息包括位置信息,所述位置信息为业务数据包包头的一个或多个字段所在位置的信息;The method according to any one of claims 26 to 28, wherein the data category identification information comprises location information, and the location information is information of a location of one or more fields of a service data packet header;
    所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示数据位于数据包的位置;所述定位顺序格式信息用于指示数据相对于所述数据包所在位置的排列顺序。The location information includes at least one of relative location information, location offset information, and positioning sequence format information; the location offset information is used to indicate an offset of a location of the data relative to a start position of the packet header; The relative location information is used to indicate that the data is located at a location of the data packet; the positioning sequence format information is used to indicate an order of arrangement of the data relative to a location of the data packet.
  31. 根据权利要求26至28任一项所述的方法,其特征在于,所述数据类别标识信息包括服务质量需求标识,所述服务质量需求标识用于指示业务数据包对应的服务质量信息。The method according to any one of claims 26 to 28, wherein the data category identification information comprises a quality of service requirement identifier, and the quality of service requirement identifier is used to indicate service quality information corresponding to the service data packet.
  32. 一种网络设备,其特征在于,所述网络设备用于执行权利要求1至6任一所述的方法。A network device, characterized in that the network device is operative to perform the method of any one of claims 1 to 6.
  33. 一种网络设备,其特征在于,所述网络设备用于执行权利要求7至17任一 所述的方法。A network device, wherein the network device is configured to perform any one of claims 7 to Said method.
  34. 一种终端装置,其特征在于,所述终端装置用于执行权利要求18至25任一所述的方法。A terminal device, characterized in that the terminal device is for performing the method according to any one of claims 18 to 25.
  35. 一种网络设备,其特征在于,所述网络设备用于执行权利要求26至31任一所述的方法。A network device, characterized in that the network device is operative to perform the method of any one of claims 26 to 31.
  36. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-31任意一项所述的方法。A computer program product comprising instructions, wherein the computer program product, when run on a computer, causes the computer to perform the method of any of claims 1-31.
  37. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-31任意一项所述的方法。 A computer readable storage medium, wherein the computer readable storage medium stores a computer program, the computer program being executed by a processor to implement the method of any one of claims 1-31.
PCT/CN2017/097399 2017-01-09 2017-08-14 Method and apparatus for controlling data transmission WO2018126692A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNPCT/CN2017/070681 2017-01-09
PCT/CN2017/070681 WO2018126488A1 (en) 2017-01-09 2017-01-09 Data transmission control method and data transmission device

Publications (1)

Publication Number Publication Date
WO2018126692A1 true WO2018126692A1 (en) 2018-07-12

Family

ID=62788903

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2017/070681 WO2018126488A1 (en) 2017-01-09 2017-01-09 Data transmission control method and data transmission device
PCT/CN2017/097399 WO2018126692A1 (en) 2017-01-09 2017-08-14 Method and apparatus for controlling data transmission

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070681 WO2018126488A1 (en) 2017-01-09 2017-01-09 Data transmission control method and data transmission device

Country Status (1)

Country Link
WO (2) WO2018126488A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167847A (en) * 2018-08-09 2019-01-08 中国联合网络通信集团有限公司 A kind of generation method and SMF, communication system of the address IPv6
CN111586674A (en) * 2019-02-18 2020-08-25 华为技术有限公司 Communication method, device and system
CN112672364A (en) * 2019-10-16 2021-04-16 ***通信有限公司研究院 Policy configuration method and device, related equipment and storage medium
CN113079541A (en) * 2020-01-06 2021-07-06 华为技术有限公司 Method, device and system for sending report information
CN113395213A (en) * 2021-06-10 2021-09-14 哲库科技(北京)有限公司 Configuration method of routing table item, storage medium, electronic equipment and mobile terminal
CN115412507A (en) * 2021-05-28 2022-11-29 ***通信有限公司研究院 Data processing method, information determining equipment and storage medium
WO2024051443A1 (en) * 2022-09-09 2024-03-14 维沃移动通信有限公司 Method and apparatus for determining end of data transmission, communication device, and readable storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147422B (en) * 2018-11-02 2021-08-13 华为技术有限公司 Method and device for controlling connection between terminal and network
CN110267312B (en) * 2019-06-17 2023-09-19 腾讯科技(深圳)有限公司 Data transmission method, equipment and medium for managing service quality stream
CN111601299B (en) * 2020-05-09 2023-04-14 中国联合网络通信有限公司广东省分公司 Information association backfill system under 5G framework

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674606A (en) * 2009-09-25 2010-03-17 华为技术有限公司 Data transmission method and device
CN102325350A (en) * 2011-07-20 2012-01-18 大唐移动通信设备有限公司 Service filtering method and device based on default bearer
CN102611616A (en) * 2012-02-21 2012-07-25 杭州华三通信技术有限公司 Method and equipment for identifying message ToS field
US20140160924A1 (en) * 2012-12-06 2014-06-12 At&T Intellectual Property I, L.P. Advertising network layer reachability information specifying a quality of service for an identified network flow
US20160344638A1 (en) * 2015-05-20 2016-11-24 Intel IP Corporation Quality of service for a universal serial bus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9219694B2 (en) * 2013-03-15 2015-12-22 Wisconsin Alumni Research Foundation Content addressable memory with reduced power consumption

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674606A (en) * 2009-09-25 2010-03-17 华为技术有限公司 Data transmission method and device
CN102325350A (en) * 2011-07-20 2012-01-18 大唐移动通信设备有限公司 Service filtering method and device based on default bearer
CN102611616A (en) * 2012-02-21 2012-07-25 杭州华三通信技术有限公司 Method and equipment for identifying message ToS field
US20140160924A1 (en) * 2012-12-06 2014-06-12 At&T Intellectual Property I, L.P. Advertising network layer reachability information specifying a quality of service for an identified network flow
US20160344638A1 (en) * 2015-05-20 2016-11-24 Intel IP Corporation Quality of service for a universal serial bus

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167847A (en) * 2018-08-09 2019-01-08 中国联合网络通信集团有限公司 A kind of generation method and SMF, communication system of the address IPv6
CN109167847B (en) * 2018-08-09 2021-04-06 中国联合网络通信集团有限公司 IPv6 address generation method, SMF and communication system
CN111586674A (en) * 2019-02-18 2020-08-25 华为技术有限公司 Communication method, device and system
US11677646B2 (en) 2019-02-18 2023-06-13 Huawei Technologies Co., Ltd. Communication policy control method, apparatus, and system
CN112672364A (en) * 2019-10-16 2021-04-16 ***通信有限公司研究院 Policy configuration method and device, related equipment and storage medium
CN112672364B (en) * 2019-10-16 2024-03-19 ***通信有限公司研究院 Policy configuration method, device, related equipment and storage medium
CN113079541A (en) * 2020-01-06 2021-07-06 华为技术有限公司 Method, device and system for sending report information
CN113079541B (en) * 2020-01-06 2023-05-05 华为技术有限公司 Report information sending method, device and system
CN115412507A (en) * 2021-05-28 2022-11-29 ***通信有限公司研究院 Data processing method, information determining equipment and storage medium
CN113395213A (en) * 2021-06-10 2021-09-14 哲库科技(北京)有限公司 Configuration method of routing table item, storage medium, electronic equipment and mobile terminal
WO2024051443A1 (en) * 2022-09-09 2024-03-14 维沃移动通信有限公司 Method and apparatus for determining end of data transmission, communication device, and readable storage medium

Also Published As

Publication number Publication date
WO2018126488A1 (en) 2018-07-12

Similar Documents

Publication Publication Date Title
WO2018126692A1 (en) Method and apparatus for controlling data transmission
US11343192B2 (en) Packet processing method, and device
US11533781B2 (en) Policy mapping methods and apparatus for use in interconnecting software-defined wide area network (SD-WAN) fabrics with mobile networks for communications with UEs
CN107079015B (en) System and method for stream-based addressing in a mobile environment
CN109792788B (en) Method and apparatus for tunneling-related data transmission in a wireless communication network
US11533669B2 (en) Enterprise network fabric extension across mobile networks
JP6619815B2 (en) Access control apparatus, system, and method
US8982888B2 (en) Service data flow detection in a conforming 3GPP access network having a packet modification function
US11558879B2 (en) Handling network traffic via a fixed access
US11690092B2 (en) Wireless communications system, base station, mobile station, and processing method
WO2021000827A1 (en) Data transmission link establishment method and apparatus, and computer-readable storage medium
KR20050048684A (en) Method and apparatus for the use of micro-tunnels in a communications system
JP7477661B2 (en) Data transmission method and device
CN114128228B (en) Transmitting MTNC-ID through SRv head to realize 5G transmission
WO2019196788A1 (en) Communication method and communication apparatus
WO2019101054A1 (en) Aggregation rate control method, device and system
WO2020036928A1 (en) Service data flow awareness for latency reduction
CN114128227B (en) Transmitting MTNC-ID on SRv 6-enabled data plane to enable 5G transmission
EP3982598A1 (en) Method and apparatus for sending and receiving message, and communication system
CN110505137B (en) Function expansion type wired network device
WO2012083803A1 (en) Priority inheritance method and system for quality of service in identifier network

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

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

Country of ref document: EP

Kind code of ref document: A1