WO2018126692A1 - 数据传输的控制方法和设备 - Google Patents

数据传输的控制方法和设备 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
English (en)
French (fr)
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/zh

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.

Landscapes

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

Abstract

公开了一种数据传输的控制方法和装置。通过策略控制功能PCF获取数据类别标识信息和业务信息,数据类别标识信息用于对待传输数据包进行分类,并根据数据类别标识信息和业务信息,生成包含第一数据包过滤器的策略和计费规则,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。PCF向控制面节点发送第一数据包过滤器,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,实现了数据流的分流,提高了数据传输速度,保证了传输非IP数据包的QoS保障。

Description

数据传输的控制方法和设备
本申请要求于2017年1月9日提交中国专利局、申请号为PCT/CN2017/070681、申请名称为“数据传输的控制方法和数据传输装置”的国际专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种数据传输的控制方法和设备。
背景技术
无线网络作为基础的网络架构,越来越多的业务在无线网络上承载。根据业务的特性、要求,以及无线资源的稀缺性,决定了网络的行为,而网络的行为事先由服务质量(Quality of Service,QoS)规则(rule)来定义和实现接入控制,资源保证和调度,例如,当你正在打一个电话时,某人开始下载一个文件,由于无线资源的稀缺性,下载一个文件会抢占你通信的通信资源而导致你正在通信的电话被挂断,此时,就需要保证语音通话的无线资源比下载一个文件具有更高的资源使用优先级,这样才能保证无线资源不足时,语音通话正常。当然,在无线网络中,会有不同的业务接入,需要设置不同的QoS rule以保证关键的业务得到保证。
在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)之间的一种逻辑传输通道。
服务数据流和承载通过数据流模板(Traffic Flow Template,TFT)进行关联和映射,而在无线网络中与RB-ID进行关联,在核心网中与隧道端点标识符(Tunnel End Point Identity,TEID)进行关联。上行数据流和TFT的关联由UE执行,下行数据流的TFT由PGW执行。其中,每个SDF包括至少一个IP数据流过滤器(IP Flower Filter)。将不同的业务根据不同的QoS需求由TFT过滤到不同的承载上传输,实现了QoS保障。
在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值。
然而,在3GPP无线网络QoS机制中,只涉及IP数据包的处理,并没有涉及非IP(non-IP)数据包的处理,对于5G网络还需要明确如何支持非IP数据包的QoS保障机制。其中,IP 数据包可以简称为IP包。IP包为支持IP协议通信传输中的数据单位;非IP包为除支持IP协议通信传输中,支持其他协议通信传输的数据单位。
发明内容
本申请提供一种数据传输的控制方法和设备,通过配置结构化的数据包过滤器来完成数据流的分类与处理,保证了结构化非IP数据包QoS保障。
第一方面,提供了一种数据传输的控制方法,该方法可以包括:策略控制功能PCF获取数据类别标识信息和业务信息,业务信息可以是数据类别标识信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识(data network name,DNN)、业务所在数据网络的接口信息(如NG6隧道信息)、会话类型等信息中的一种或多种。数据类别标识信息用于对待传输数据包进行分类。PCF根据数据类别标识信息和业务信息,生成策略和计费规则(QoS rule),策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。PCF向控制面节点发送含有第一数据包过滤器的策略和计费规则,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
该方法可以应用在5G的会话建立或会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
在一个可选的实现方式中,PCF获取数据类别标识信息和业务信息,包括:PCF接收应用功能发送的数据类别标识信息和业务信息,以使PCF获取数据类别标识信息和业务信息。
在一个可选的实现方式中,PCF获取数据类别标识信息和业务信息,包括:PCF接收控制面节点发送的数据类别标识信息和业务信息。其中,数据类别标识信息和业务信息是控制面节点从终端或统一数据管理(UDM)处获取,以使PCF获取数据类别标识信息和业务信息。
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为数据包包头的一个或多个字段所在位置的信息。PCF根据数据类别标识信息和业务信息,生成策略和计费规则,包括:PCF根据位置信息和业务信息,生成策略和计费规则。
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示数据包对应的服务质量信息,PCF根据数据类别标识信息和业务信息,生成策略和计费规则,包括:PCF根据服务质量需求标识和业务信息,生成策略和计费规则。
第二方面,提供了另一种数据传输的控制方法,该方法可以包括:控制面节点CPF 接收PCF发送的策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据包进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。CPF向数据传输装置发送数据类别标识信息,以使数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,其中,数据传输装置包括用户面功能UPF或终端UE。
该方法可以应用在5G的会话建立或会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。
在一个可选的实现方式中,CPF向数据传输装置发送数据类别标识信息,包括:CPF向UPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,第二数据包过滤器用于UPF将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
在一个可选的实现方式中,CPF向数据传输装置发送数据类别标识信息,包括:控制面节点CPF向UE发送服务质量规则,服务质量规则包括第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
在一个可选的实现方式中,CPF向数据传输装置发送数据类别标识信息,包括:控制面节点CPF向UE发送数据类别标识信息和反转规则,反转规则用于在反转QoS机制中UE根据数据类别标识信息和下行数据包获取第三数据包过滤器,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送,从而简化节省网络侧(如CPF)向UE下发Qos rule引起的信令开销。
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
在一个可选的实现方式中,第一数据包过滤器、第二数据包过滤器、第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。
在一个可选的实现方式中,控制面节点CPF接收PCF发送的第一数据包过滤器之前,该方法还包括:控制面节点CPF向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。
在一个可选的实现方式中,控制面节点CPF接收PCF发送的第一数据包过滤器之前,该方法还包括:控制面节点CPF接收统一数据管理实体(UDM)发送的数据类别标识信息和业务信息。控制面节点CPF向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。
在一个可选的实现方式中,该方法还包括:控制面节点CPF获取第二数据包过滤器的匹配优先级信息和第三数据包过滤器的匹配优先级信息。匹配优先级信息用于规定UPF对待传输数据进行过滤时,第二数据包过滤器之间的优先匹配的顺序,以及规定UE对待传输数据包进行过滤时,第三数据包过滤器之间的优先匹配的顺序。控制面节 点CPF向UPF发送第二数据包过滤器的匹配优先级信息,以及向UE发送第三数据包过滤器的匹配优先级信息。
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息。位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。
第三方面,提供了再一种数据传输的控制方法,该方法可以包括:终端UE获取第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,匹配条件规定数据类别标识信息与对应的待传输数据的匹配关系。UE根据第三数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
该方法可以应用在5G的会话建立或会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。
在一个可选的实现方式中,终端UE获取第三数据包过滤器,包括:UE接收控制面节点CPF发送的服务质量规则,服务质量规则包括第三数据包过滤器。
在一个可选的实现方式中,终端UE获取第三数据包过滤器,包括:UE接收制面节点CPF发送的数据类别标识信息和反转规则,反转规则用于在反转QoS机制中UE根据数据类别标识信息和下行数据包获取第三数据包过滤器,从而简化节省网络侧(如CPF)向UE下发Qos rule引起的信令开销。
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
在一个可选的实现方式中,第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。
在一个可选的实现方式中,该方法还包括:终端UE接收第三数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UE对待传输数据包的进行第三数据包过滤器之间的优先匹配的顺序。当终端传输待传输数据包时,终端根据第二数据包过滤器的匹配优先级信息,对待传输数据包进行匹配。
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息。位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。
第四方面,提供了再一种数据传输的控制方法,该方法可以包括:用户面功能UPF接收控制面节点CPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。UPF根据第二数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
该方法可以应用在5G的会话建立或会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
在一个可选的实现方式中,第二数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息,以及匹配信息。
在一个可选的实现方式中,该方法还包括:用户面节点UPF接收第二数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UPF对待传输数据包的进行第二数据包过滤器之间的优先匹配的顺序。当用户面节点UPF传输待传输数据时,用户面节点UPF根据第二数据包过滤器的匹配优先级信息对待传输数据包进行匹配。
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息。位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。
第五方面,提供了一种网络设备PCF。该网络设备具有实现上述第一方面的方法实际中PCF行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的功能模块。
第六方面,提供了一种网络设备CPF。该网络设备具有实现上述第一方面的方法实际中CPF行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的功能模块。
第七方面,提供了一种终端设备UE。该UE具有实现上述第一方面的方法实际中UE行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的功能模块。
第八方面,提供了一种网络设备UPF。该网络设备具有实现上述第一方面的方法实际中UPF行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的功能模块。
第九方面,提供了另一种网络设备PCF。该设备可以包括:接收器、处理器和发送器。接收器,用于获取数据类别标识信息和业务信息,数据类别标识信息用于对待传输数据包进行分类。处理器,用于根据数据类别标识信息和业务信息,生成策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。发送器,用于向控制面节点发送含有第一数据包过滤器的策略和计费规则,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
该装置还可以包括存储器。存储器用于与处理器耦合,其保存处理器执行的程序指令和数据。
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
在一个可选的实现方式中,接收器,具体用于接收应用功能发送的数据类别标识信息和业务信息。
在一个可选的实现方式中,接收器,具体用于接收控制面节点发送的数据类别标识信息和业务信息;其中,数据类别标识信息和业务信息是控制面节点从用户设备(UE)或统一数据管理(UDM)处获取。
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为数据包包头的一个或多个字段所在位置的信息。处理器,还用于根据位置信息和业务信息,生成策略和计费规则。
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示数据包对应的服务质量信息。处理器,还用于根据服务质量需求标识和业务信息,生成策略和计费规则。
第十方面,提供了另一种网络设备CPF。该设备包括:接收器和发送器。
接收器,用于接收PCF发送的策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据包进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。发送器,用于向数据传输装置发送数据类别标识信息,以使数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,其中,数据传输装置包括用户面功能UPF或终端UE。
该装置还可以包括存储器和处理器。存储器用于与处理器耦合,其保存处理器执行的程序指令和数据。
在一个可选的实现方式中,发送器,还用于向UPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件述第二数据包过滤器用于UPF将待传输数据包分配到满足所配关系的QoS传输处理机制进行发送。
在一个可选的实现方式中,发送器,还用于向UE发送服务质量规则,服务质量规则包括第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,第 三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
在一个可选的实现方式中,发送器,还用于向UE发送数据类别标识信息和反转规则,反转规则用于在反转QoS机制中UE根据数据类别标识信息和下行数据包获取第三数据包过滤器,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
在一个可选的实现方式中,第一数据包过滤器、第二数据包过滤器、第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。
在一个可选的实现方式中,发送器,还用于向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。
在一个可选的实现方式中,接收器,还用于接收统一数据管理实体(UDM)发送的数据类别标识信息和业务信息;
发送器,还用于向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。
第十一方面,提供了另一种终端设备UE。该设备包括:处理器和发送器。处理器,用于获取第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,匹配条件规定数据类别标识信息与对应的待传输数据的匹配关系。发送器,用于根据第三数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
该设备还可以包括存储器。存储器用于与处理器耦合,其保存处理器执行的程序指令和数据。
在一个可选的实现方式中,该设备还包括接收器,接收器,还用于接收控制面节点CPF发送的服务质量规则,服务质量规则包括第三数据包过滤器。
在一个可选的实现方式中,接收器,还用于接收控制面节点CPF发送的数据类别标识信息和反转规则,规则用于在反转QoS机制中处理器根据数据类别信息和下行数据包获取第三数据包过滤器。
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
在一个可选的实现方式中,第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。
在一个可选的实现方式中,接收器,还用于接收第三数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UE对待传输数据包的进行第三数据包过滤器之间的优先匹配的顺序;发送器,还用于当用户设备传输待传输数据包时,根据第二数据包过滤器的匹配优先级信息,对待传输数据包进行匹配。
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据 包包头的一个或多个字段所在位置的信息。位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。
第十二方面,提供了另一种网络设备UPF。该设备包括:接收器和发送器。
接收器,用于接收控制面节点CPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。发送器,用于根据第二数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
该设备还可以包括存储器和处理器。存储器用于与处理器耦合,其保存处理器执行的程序指令和数据。
在一个可选的实现方式中,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;
满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
在一个可选的实现方式中,第二数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息,以及匹配信息。
在一个可选的实现方式中,装置还包括处理器,接收器,还用于接收第二数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UPF对待传输数据包的进行第二数据包过滤器之间的优先匹配的顺序。处理器,用于当用户面节点UPF传输待传输数据时,根据第二数据包过滤器的匹配优先级信息对待传输数据包进行匹配。
在一个可选的实现方式中,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息;位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。
在一个可选的实现方式中,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。
第十三方面,提供了一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面至第四方面所述的方法。
第十四方面,提供了一种计算机可读存储介质。该计算机可读存储介质上存储有计算机程序,该程序被处理器执行时实现上述第一方面至第四方面所述的方法。
附图说明
图1为本申请实施例提供的一种数据传输控制***的架构图;
图2为本发明实施例提供的一种结构化非IP数据包的结构示意图;
图3为本发明实施例提供的另一种结构化非IP数据包的结构示意图;
图4为本发明实施例提供的一种数据传输的控制方法流程图;
图5为本发明实施例提供的一种在会话建立场景中数据传输的控制方法流程图;
图6为本发明实施例提供的一种在会话更新场景中数据传输的控制方法流程图;
图7为本发明实施例提供的另一种在会话更新场景中数据传输的控制方法流程图;
图8为本发明实施例提供的再一种在会话更新场景中数据传输的控制方法流程图;
图9为本发明实施例提供的一种策略控制功能装置的结构示意图;
图10为本发明实施例提供的一种控制面节点装置的结构示意图;
图11为本发明实施例提供的一种终端的结构示意图;
图12为本发明实施例提供的一种用户面功能装置的结构示意图;
图13为本发明实施例提供的另一种策略控制功能设备的结构示意图;
图14为本发明实施例提供的另一种控制面节点设备的结构示意图;
图15为本发明实施例提供的另一种终端的结构示意图;
图16为本发明实施例提供的另一种用户面功能设备的结构示意图。
具体实施方式
下面通过附图和实施例,对本申请的技术方案做进一步的详细描述。
本申请提出了一种与协议无关的服务质量(Quality of Service,QoS)传输处理机制,通过获取结构化的数据包过滤器(structure packet filters,SPF)来完成数据流的分类与处理,解决了5G网络通信数据传输中对传输的非IP数据包的QoS保障。其中,不同的包过滤器对应网络的不同QoS规则(rule)控制。
网络中传输的数据包的分类包括结构化的IP包和非IP包。非IP包又包括结构化的非IP包(如以太帧)和非结构化的非IP包,例如用于物联网(Internet of Things,IOT)场景下的裸包或者私有协议包。这里的裸包是指没有协议头的数据包,从包头第一位开始就是数据信息。本申请实施例配置的包过滤器适用于结构化的IP包和结构化的非IP包。
需要说明的是,本申请实施例中的“结构化”是指数据的存储方式遵循一定的协议格式,存储按照比特(binary digit,bit)或者字节存储。例如IEEE802.3以太帧头格式和每个字段的指示信息如数据包格式1所示。
数据包格式1
前导码 帧开始符 目标地址 源地址 长度/类型 数据和填充注 帧校验序列
7 1 6 6 2 46-1500 4
在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个字节。
又例如802.1Q数据包头格式,如表数据包格式2所示。
数据包格式2
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)。
又例如IP数据包包头的格式,如数据包格式3所示。
数据包格式3
Figure PCTCN2017097399-appb-000002
数据包格式3中的版本号(Version)占用的字段长度为4比特,用于表示采用的IP协议的版本号,一般的值为0100(IPv4)或者0110(IPv6)。
IP包头长度(Header Length)占用的字段长度为4比特,用于描述IP包头的长度,因为在IP包头中有变长的可选部分。该部分占4个bit位,单位为32bit(4个字节),即本区域值=IP头部长度(单位为bit)/(8*4),因此,一个IP包头的长度最长为“1111”,即15*4=60个字节。IP包头最小长度为20字节。
服务类型(Type of Service)占用的字段长度为8比特。8位按位被如下定义PPPDTRC0。
PPP:定义包的优先级,取值越大数据越重要;
000普通(Routine);
001优先的(Priority);
010立即的发送(Immediate);
011闪电式的(Flash);
100比闪电还闪电式的(Flash Override);
101CRI/TIC/ECP;
110网间控制(Internetwork Control);
111网络控制(Network Control)。
需要说明的是,DTRC0中的“D”表示时延(Delay);“T”表示吞吐量(throughput);“R”表示可靠性(reliability);“M”表示传输成本;最后一位的“0”保留,恒定为0。
IP包总长(Total Length)占用字段长度为16比特。以字节为单位计算的IP包的长度(包括头部和数据),所以IP包最大长度为65535字节。
标识符(Identifier)占用的字段长度为16比特。该字段和IP标记(Flags)和片偏移(Fragment Offest)字段联合使用,对较大的上层数据包进行分段(fragment)操作。路由器将一个包拆分后,所有拆分开的小包被标记相同的值,以便目的端设备能够区分哪个包属于被拆分开的包的一部分。
标记(IP Flags)占用的字段长度为3比特。该字段第一位(X)不使用。第二位是DF(Don't Fragment)位,DF位设为1时表明路由器不能对该上层数据包分段。如果一个上层数据包无法在不分段的情况下进行转发,则路由器会丢弃该上层数据包并返回一个错误信息。第三位是MF(More Fragments)位,当路由器对一个上层数据包分段,则路由器会在除了最后一个分段的IP包的包头中将MF位设为1。其中,第二位“DF”可以简写为“D”;第三位“MF”可以简写为“M”。
片偏移(Fragment Offset)占用的字段长度为13比特。表示该IP包在该组分片包中的位置,接收端靠该片偏移来组装还原IP包。
生存时间(Time To Live,TTL)占用的字段长度为8比特。当IP包进行传送时,先会对该字段赋予某个特定的值。当IP包经过每一个沿途的路由器的时候,每个沿途的路由器会将IP包的TTL值减少1。如果TTL减少为0,就丢弃该IP包。这个字段可以防止由于路由环路而导致IP包在网络中不停被转发。
协议(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),等等。
头部校验(Header Checksum)占用的字段长度为16位。用来做IP头部的正确性检测,但不包含数据部分。因为每个路由器要改变TTL的值,所以路由器会为每个通过的数据包重新计算这个值。
起源和目标地址(Source and Destination Addresses):这两个字段均占用32比特。 标识了这个IP包的起源和目标地址。要注意除非使用网络地址转换(Network Address Translation,NAT),否则整个传输的过程中,这两个地址不会改变。
可选项(IP Options)是一个可变长的字段。
根据数据包格式1的以太帧头格式、数据包格式2的802.1Q数据包头格式,以及数据包格式3的IP数据包包头格式的举例可知,结构化的数据包,其头域字段在数据包包头的存储为位置是固定的,因此提出本申请的技术方案,通过配置结构化的包过滤器来完成数据流的分类与处理,以实现5G网络通信数据传输中对传输的非IP数据包的QoS保障。
下面结合附图对本申请的技术方案进行详细的描述。
图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。
其中,该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可以统称为数据传输装置。
图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,等等。
在本申请实施例中,结构化的数据包过滤器可以简称为数据包过滤器;结构化过滤器规则可以简称为包过滤器规则。每个包过滤器规则可以包括数据类别标识信息和匹配条件,匹配条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。匹配条件可以包括操作(Operation)或者运算信息,以及匹配信息(或者称为匹配值(match data)),数据类别标识信息用于对待传输数据按照服务质量进行分类。
例如,UE需要传输上行数据,需要与包过滤器匹配,例如包过滤器的SPF rule为SPF rule 1,根据运算信息“=”对上行数据0bit位的数据进行运算,得到匹配值,若匹配值与SPF rule 1中匹配信息1相等,则UE采用SPF rule 1对应的承载传输该上行数据。
匹配信息可以为不同协议类型中,结构化数据包包头中数据类别标识信息,例如IP协议类型中的目标MAC地址信息、源MAC地址信息或协议类型中任一项等;运算信息规定了一种逻辑关系,该逻辑比较关系如表1至表5所示,可为大于、等于、 小于、大于或等于,小于或等于,和、或以及16进制转换等;若数据类别标识信息所指示的待传输数据包和待比较数据包的关系符合运算信息中规定的逻辑关系,则将该数据包分配到与该包过滤器对应的服务质量QoS传输处理机制上进行数据传输。其中,QoS传输处理机制的功能类似与4G通信***中,EPS承载,简称承载的功能。
在本发明的一个实施例中,数据包过滤器可以包括至少一个包过滤规则,每个数据包过滤器包括数据类别标识信息、运算信息,以及匹配信息。或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。
其中,数据类别标识信息可以包括数据包检测头域的位置信息(field position information)(下面简称“位置信息”)或服务质量需求标识。
数据包过滤器中的服务质量需求标识用于指示业务数据包对应的服务质量信息。服务质量需求标识可以通过运营商和内容提供商合作或协议制定得出。服务质量需求标识为在业务数据包中一个或多个字段携带的与相应的服务质量对应的标识信息。也就是说,运营商根据不同的服务质量需求标识为携带不同质量服务标识的业务数据包提供不同的QoS服务。数据包过滤器根据不同的服务质量需求标识和匹配信息,将待传输数据包分配到对应的QoS传输处理机制进行发送。
以结构化的非IP数据包为例,服务质量需求标识可以在非IP数据包的包头部分中,如图2所示,非IP数据包可以包括包头的服务质量需求标识和包头的其他信息(如长度信息和版本信息)以及负荷部分。可以理解的是,非IP数据包可以通过增加新的字段携带服务质量需求标识,也可以将服务质量需求标识放在非IP数据包包头的预留字段中,本发明实施例在此不作限定。
数据包过滤器中的位置信息为业务数据包包头的一个或多个字段所在位置的信息。数据包过滤器根据不同的位置信息、运算信息,以及匹配信息。或者,根据不同的位置信息和匹配信息,将待传输数据包分配到对应的QoS传输处理机制进行发送。
数据包过滤器中的位置信息可以是根据对现有的结构化的协议进行分析,确定相应的需要用于策略匹配判断的位置信息。如IP协议中的IP五元组所在的位置信息,如以太网协议中的MAC地址的位置信息。或者是运营商自己封装的数据包所用的协议的关键头域的位置信息,如运营商把非IP包用IP协议进行封装,则位置信息就是IP协议中的IP五元组所在的位置信息。以结构化的非IP数据包为例,如图3所示,非IP数据可以包括包头部分和负荷部分。包头部分可以包括位置信息和其他信息(如长度信息和版本信息),其中,位置信息可以是位置1的比特位信息、位置2的比特位信息至位置n的比特位信息。
在本发明的一个实施例中,数据包过滤器可以包括至少一个包过滤规则,每个数据包过滤器包括位置信息、运算信息,以及匹配信息。配置的结构化的包括过滤器如表1所示。
表1
数据包过滤器 位置信息 运算信息(=,>,<,or,and,xor) 匹配信息
SPF rule 1 bit 0 1
SPF rule 2 bit 4-7 and 0 0
SPF rule 3 bit 8-15 > 10
SPF rule 4 bit 23-48 0x12,34,56
SPF rule 5 bit 0-7 Xor 0xff= 0x55
其中,表1中的“or”,“and”,“xor”为一种数学运算符。
“or”表示逻辑运算中的“或”。其中,“或”在计算机中用“|”表示。运算规则为:0|0=0;0|1=1;1|0=1;1|1=1;即,参加运算的两个对象只要有一个为1,其值为1。
例如:3|5,即0000 0011|0000 0101=0000 0111因此,3|5的值得7。
在本申请实施例中,例如,若运算信息为“或”运算(0),则表示数据包在规则中的位置信息中该位置的值与0进行“或”运算,如果结果与匹配信息中的值一致,则该规则满足。
又例如:运算信息为(“与”运算=101010),表示数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行“或”运算,结果等于101010即为该规则匹配。
“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。
在本申请实施例中,例如:若运算信息为“与”运算(0),则表示数据包在规则中的位置信息中该位置的值与0进行“与”运算,如果结果与匹配信息中的值一致,则该规则满足。
又例如:若运算信息为“与”运算=101010,则标书数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行“与”运算,结果等于101010即为与该规则匹配。
“xor”标识逻辑运算中的“异或(exclusive OR,简称xor)”。其中,运算规则为:如果a、b两个值不相同,则异或结果为1;如果a、b两个值相同,异或结果为0。
在本申请实施例中,例如:若运算信息为(异或(0))则表示数据包在规则中的位置信息中该位置的值与0进行异或运算,如果结果与匹配信息中的值一致,则该规则满足。
又例如,若运算信息为(异或=101010),则表示数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行异或运算,结果等于101010即为该规则匹配。另外,表1中的“0xff”表示16进制。
此外,表1所示的SPF rule 1,指示数据传输装置根据位置信息bit 0确定所要传输的数据包的bit 0位的数据,若该bit0位上的数据,和匹配信息中的数据相等,而运算信息中规定的规则为“=”,则在SPF rule 1对应的承载,或者称为Qos传输处理机制上传输该数据包。
若该bit0位上的数据,和匹配信息中的数据不相等,而运算信息中规定的规则为“=”,则将该数据包与其他的包过滤器进行匹配。
例如,IEEE802.3数据包包头如数据包格式1所示,其中,前导码(preamble)、帧开始符(SDF)和帧校验序列(FCS)在网卡内部处理,在上层不会体现。针对IEEE802.3配置的数据包过滤器可以主要通过目标MAC地址,源MAC地址和协议类型进行配置,例如配置的IEEE802.3的数据包过滤器如表2所示。
表2
数据包过滤器 位置信息 运算信息(=,>,<,或,和,16进制) 匹配信息
SPF rule 1 bit 0-5 目标MAC地址
SPF rule 2 bit 6-11 源MAC地址
SPF rule 3 bit 12-13 协议类型
在本申请实施例中,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。
其中,SPF rule 1、SPF rule 2可以分别来自两个不同MAC地址的设备,例如SPF rule 1来自目标MAC地址的设备,SPF rule 2来自源MAC地址的设备;SPF rule3可以为协议类型,例如:IP/PPP。
又例如,在802.1Q场景下,如数据包格式2所示,配置的数据包过滤器可以如表3和表4所示。
表3
数据包过滤器1 位置信息 运算信息(=,>,<,或,和,16进制) 匹配信息
SPF rule 1 bit 12-14 VLAN Tag协议
表4
数据包过滤器2 位置信息 运算信息(=,>,<,或,和,16进制) 匹配信息
SPF rule 1 bit 0-5 目标MAC地址
SPF rule 2 bit 6-11 源MAC地址
SPF rule 3 bit 17-18 协议类型
又例如,IP数据包的数据包过滤器配置,IP数据包的包头格式如数据包格式3所示,设置的数据包过滤器可以如表5所示。
表5
Figure PCTCN2017097399-appb-000003
同样,TCP数据包的数据包过滤器也可以设置为表5的形式,为简洁描述,在这里不再赘述。
在4G网络的数据包处理过程中,过滤器(filter)是通过五元组对数据进行匹配的,在本申请的技术方案中TCP/IP数据包匹配的是数据包包头(或者头域)中对应的五元组所在位置的值。
可选地,在本申请实施例中,QoS规则还可以包括数据包过滤器的匹配优先级信息,用于指示UE和UPF按照数据包过滤器的匹配优先级信息对数据进行匹配。
例如:UE需要传输上行数据时,按照数据包过滤器的匹配优先级信息确定将上行数据优先与哪个数据包过滤器进行匹配,若与优先匹配的数据包过滤器匹配成功,则UE将上行数据采用优先匹配的数据包过滤器对应的承载传输该上行数据。若该上行数据没有与优先匹配的数据包过滤器匹配成功,则将该上行数据与匹配优先级信息中优先顺序排序次级的数据包过滤器进行匹配,依次对上行数据进行匹配。
UPF传输下行数据时,将下行数据与数据包过滤器进行匹配的过程与UE将上行数据与数据包过滤器匹配的过程相同,为简洁描述,在此不再赘述。
采用本申请实施例提供的数据传输的控制方法,可以根据业务的优先级,有效保证业务的QoS。
图4为本发明实施例提供的一种数据传输的控制方法流程图。该方法可以包括:
步骤410、PCF需要获取会话信息。
会话信息可以包括数据类别标识信息和业务信息,业务信息可以是数据类别标识信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识(data network name,DNN)、业务所在数据网络的接口信息(如NG6隧道信息)、会话类型等信息中的一种或多种。数据类别标识信息可以包括位置信息或服务质量需求标识。
可选地,PCF需要获取会话信息可以通过PCF接收应用功能AF发送的会话信息。或者,接收控制面节点CPF发送的会话信息,其中,会话信息可以是控制面节点CPF从终端UE或统一数据管理UDM处获取。可以理解的是,PCF还可以通过其他网络实体获取该会话信息,在此不做限定。
步骤420、PCF根据数据类别标识信息和业务信息,生成策略和计费规则(Policy and Charging Control rule,PCC rule)。
策略和计费规则可以包括结构化数据的QoS规则(rule),QoS rule可以包括第一数据包过滤器(packet filter),第一数据包过滤器用于数据传输装置(如UPF或UE)将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
其中,第一数据包过滤器可以包括数据类别标识信息和匹配条件。满足匹配关系为待传输数据和匹配条件中待比较数据的关系符合运算信息中规定的逻辑关系。QoS传输处理机制为控制面节点CPF为业务分配的服务质量流标识QFI(QoS Flow Identity)所采用的处理机制。
具体的,第一数据包过滤器可以包括服务质量需求标识和匹配条件,或者,第一数据包过滤器可以包括位置信息和匹配条件。
步骤430、PCF向CPF发送包括第一数据包过滤器的策略和计费规则。
PCF将包含第一数据包过滤器的策略和计费规则通过NG7发送给CPF。
第一数据包过滤器可以包括服务质量需求标识和匹配条件,或者,第一数据包过滤器可以包括位置信息和匹配条件。
步骤440、CPF根据策略和计费规则,向UPF发送第二数据包过滤器。
当CPF检测到第一数据包过滤器中的服务质量需求标识时,CPF根据匹配条件(如丢包率),匹配相应的QFI值,生成第二数据包过滤器。
或者,CPF根据第一数据包过滤器中的位置信息和匹配条件(如丢包率),匹配相应的QFI值,生成第二数据包过滤器。第二数据包过滤器用于UPF将待传输数据过滤后使用匹配关系的QoS传输处理机制进行发送。
CPF将第二数据包过滤器通过NG4发送给UPF。
第二数据包过滤器可以包括服务质量需求标识和匹配条件,或者,第一数据包过滤器可以包括位置信息和匹配条件。
步骤450、CPF根据策略和计费规则,向UE发送位置信息。
CPF根据策略和计费规则向UE发送服务质量规则(Qos rule),服务质量规则可以包括第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件。
具体的,当CPF检测到第一数据包过滤器中的服务质量需求标识时,CPF根据匹配条件(如丢包率),匹配相应的QFI值,生成第三数据包过滤器。
或者,CPF根据第一数据包过滤器中的位置信息和匹配条件(如丢包率),匹配相应的QFI值,生成第三数据包过滤器。第二数据包过滤器用于UPF将待传输数据过滤后使用匹配关系的QoS传输处理机制进行发送。
当数据类别标识信息包括位置信息时,UE根据Qos rule中的第三数据包过滤器对上行数据进行匹配,或者说过滤,通过第三数据包过滤器中的位置信息、运算信息和匹配信息对上行数据进行匹配,例如优先匹配的第三数据包过滤器为IEEE802.3的数据包过滤器,第三数据包过滤器包括一个SPF rule2,SPF rule2的位置信息为“bit 6-11”; 运算信息为“=”;匹配信息为“源MAC地址”,那么,UE判断上行数据中的bit 6-11位的数据和源MAC地址”数据满足“=”的关系,则匹配成功。
又例如,优先匹配的第三数据包过滤器为802.1Q的数据包过滤器1,数据包过滤器1包括SPF rule 1,SPF rule1的位置信息为“bit 12-14”;运算信息为“=”;匹配信息为“VLAN Tag协议”,那么,UE判断上行数据中的bit 12-14位的数据和“VLAN Tag协议”的数据满足“=”的关系,则匹配成功。
又例如,优先匹配的第三数据包过滤器为IP数据包的数据包过滤器,第三数据包过滤器包括一个SPF rule1,SPF rule1的位置信息为“bit 12-15”;运算信息为“=”;匹配信息为“源地址”,那么,UE判断上行数据中的bit 12-15位的数据进行和“源地址”数据满足“=”的关系则匹配成功。
需要说明的是,在本申请实施例中,UE将上行数据与第三数据包过滤器进行匹配时,不需要确定是哪种协议的数据包过滤器,以上的优先匹配的是IEEE802.3的数据包过滤器,802.1Q的数据包过滤器1,以及IP数据包的包过滤器仅仅是为了通过具体的例子说明本申请的技术方案。
若匹配不成功,则将该上行数据与该过滤包中的其他SPF rule进行匹配,若该上行数据与该包过滤器中任一SPF rule均为匹配成功,则将该上行数据与次级匹配的包过滤器进行匹配,直到匹配成功,UE采用匹配成功的SPF rule对应的承载传输该上行数据。
若UE将上行数据与所有的包过滤器进行匹配后,依然没有匹配成功的包过滤器,则UE采用默认(default)的承载传输该上行数据。
或者,
为简化节省网络侧(如CPF)向UE下发Qos rule引起的信令开销,5G网络引入了固网的反转(Reflective)QoS机制。
CPF根据策略和计费规则向UE发送数据类别标识信息和反转规则。反转规则用于在反转QoS(reflective QoS)机制中UE根据数据类别标识信息和下行数据包推导生成推导QoS rules(Derived QoS rules),推导QoS rules可以包括第三数据包过滤器。第三数据包过滤器用于UE将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
若CPF通过信令发给UE的QoS rules称为显示(explicit)QoS rule,则UE根据Reflective QoS机制自动生成的QoS rules称为隐式(derived)QoS rule(或implicit QoS rule)。
以数据类别标识信息包括位置信息为例,对于IP数据包来说,UE知道数据包IP五元组的位置信息,因此可以直接通过IP五元组(目标地址、源地址、目标端口、源端口和协议类型)进行反转,生成Derived QoS rule中的第三数据包过滤器。对于结构化非IP包来说,协议中数据包的信息对于UE来说是未知的,但是可以通过预先配置或者通过AF经网络下发位置信息,获取生成Derived QoS rule中的第三数据包过滤器。
在本申请实施例中,UE传输的待传输数据可以称为上行数据。上行数据为UE向网络侧发送的数据,例如UE向AN发送的数据。UPF传输的待传输数据可以称为下行数据。下行数据为网络侧向UE发送的数据,例如UPF向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。
UE收到UPF下发的下行数据包和CPF下发的反转规则和数据类别标识信息,在Reflective QoS机制下,UE按照反转规则和数据类别标识信息中的位置信息对下行数据包对应的位置进行反转,生成第三数据包过滤器。
第三数据包过滤器为:源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。
可见,对于IP数据包来说,Reflective QoS机制是将源IP地址与目的IP地址的位置对换,将源端口号与目的端口号的位置对换。
需要说明的是,CPF根据会话信息中业务信息的不同,如业务信息可以包括业务1、业务2和业务3,CPF可以向UE发送对业务1的服务质量规则,该服务质量规则包括业务1数据包的数据类别标识信息、对业务2数据包的数据类别标识信息和反转规则,以及对业务3数据包的数据类别标识信息和反转规则,UE根据业务1的服务质量规则数据包生成业务1的第三数据包过滤器;UE根据业务2的数据类别标识信息和反转规则生成业务2的第三数据包过滤器;UE根据业务3的数据类别标识信息和反转规则生成业务3的第三数据包过滤器。也就是说,UE可以同时对不同的业务信息生成相应的第三数据包过滤器。
步骤460、UPF根据第二数据包过滤器,将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
UPF接收到第二数据包过滤器后保存QoS规则,并根据第二数据包过滤器对DN下发或接收的数据包进行过滤处理,该过滤处理可以包括下行数据的QoS过滤匹配以及上行数据的检测。
UPF根据第二数据包过滤器的SPF rule对下行数据进行匹配,通过SPF rule中的位置信息、运算信息和匹配信息对下行数据进行匹配,例如优先匹配的第二数据包过滤器包括SP rule,SPF rule的位置信息为“bit23-48”;运算信息为“=”;匹配信息为“16进制的12,16进制的34,16进制的56”,那么,UE判断下行数据中的bit23-48位的数据和匹配信息的数据满足“=”的关系,则匹配成功。
其UPF将下行数据与第二数据包过滤器进行匹配的过程与UE将上行数据与包过滤器匹配的过程相同,为简洁描述,在这里不再赘述。
若匹配不成功,则将该下行数据与该过滤包中的其他SPF rule进行匹配,若该下行数据与该包过滤器中任一SPF rule均为匹配成功,则将该下行数据与次级匹配的包 过滤器进行匹配,直到匹配成功,UE采用匹配成功的SPF rule对应的承载传输该上行数据。
若UPF将下行数据与所有的包过滤器进行匹配后,依然没有匹配成功的包过滤器,则UPF采用默认(default)的承载传输该下行数据。
可选地,CPF还可以获取第二数据包过滤器的匹配优先级信息和第三数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UPF对待传输数据进行过滤时,第二数据包过滤器之间的优先匹配的顺序,以及规定UE对待传输数据进行过滤时,第三数据包过滤器之间的优先匹配的顺序。
控制面节点CPF向UPF发送第二数据包过滤器的匹配优先级信息,以及向UE发送第三数据包过滤器的匹配优先级信息。
需要说明的是,在本申请的各种实施例中,步骤440和步骤450序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本申请可以在5G的会话建立或会话更新的场景中,PCF获取数据类别标识信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含数据类别标识信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障,同时该方法可以快速确定数据流,并对数据流进行匹配,提高了数据流传输的速度,且保证了传输非IP数据包的QoS保障。
在本申请提供的数据传输的控制方法,相对于4G传输数据的处理方法的不同之处在于,在本申请的技术方案中,UE和UPF不需要知道所传输数据所属的协议类型,只需要按照数据包过滤器中的位置信息,完成相应的运算,并判断操作后的值是否与匹配信息一致,若一致,则匹配成功,UE或UPF可以采用所匹配的数据包过滤器对应的承载传输数据,实现了所要传输数据的数据流的分流,实现了所传输结构化数据的QoS保障。
下面以数据类别标识信息包括位置信息为例进行详细说明。
图5为本发明实施例提供的一种在会话建立场景中数据传输的控制方法流程图。如图5所示,该方法可以包括:
步骤500、PCF接收AF发送的会话信息。
该会话信息可以包括结构化的PDU信息,该结构化的PDU信息可以包括位置信息
业务信息,该业务信息可以包括位置信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识等中的一种或多种信息。
PCF根据位置信息和业务信息,生成默认(default)的QoS ruler,该QoS ruler可以包括第一数据包过滤器,第一数据包过滤器包括位置信息和匹配条件,以用于UPF或UE将待传输数据分配到匹配条件满足的匹配关系的QoS传输处理机制进行发送。
步骤501、UE向AMF发送PDU会话建立请求(PDU session establishment request) 消息,以指示建立PDU会话。
该PDU会话建立请求消息可以包括结构化的PDU类型(如结构化的IP数据包和结构化的非IP数据包)、会话标识(Session ID)和数据网络标识(Data Network Name,DNN)等信息。
步骤502、AMF向SMF发送会话管理请求(session management request,SM request)消息。
该会话管理请求消息可以包括PDU会话的建立请求的指示信息、Session ID、DNN等信息。
在进行该步骤之前,AMF需要进行SMF的选择过程,以从多个SMF中选择可以进行PDU会话的目标SMF,并保存Session ID和SMF ID或SMF ID地址的对应关系。
步骤503、SMF向统一数据管理模块(UDM)发送签约数据请求(subscription data request)消息,该签约数据请求可以包括DNN、Session ID、SMF ID或SMF地址等信息。
步骤504、UDM向SMF发送签约数据应答(subscription data response)消息,以获取UE的签约数据,实现UE的PDU会话身份验证/授权(PDU Session authentication/authorization)。
步骤505、SMF向PCF发送PDU-CAN会话建立请求(PDU-CAN session establishment request)消息。
在执行该步骤之前,SMF根据DNN、Session ID、SMF ID或SMF地址等信息,确定目标PCF。
步骤506、PCF向SMF发送PDU-CAN会话建立响应(PDU-CAN session establishment response)消息。
该PDU-CAN session establishment response消息可以包括默认(default)的QoS ruler,其中,该QoS ruler可以包括第一数据包过滤器
可见,通过步骤304和305,SMF获取PCF中的第一数据包过滤器。
步骤507、SMF根据DNN、Session ID、SMF ID或SMF地址等信息,确定目标UPF。SMF为该PDU session分配IP地址,保存Session ID和IP地址的对应关系,SMF为UPF分配隧道ID和地址。
步骤508、SMF向PCF发送PDU-CAN会话更新请求(PDU-CAN session modificationrequest)消息或PDU-CAN session establishment request消息。
步骤509、PCF向SMF发送PDU-CAN会话更新响应(PDU-CAN session modification response)消息或PDU-CAN session establishment response消息。
该PDU-CAN session modification response消息可以包括策略和计费规则,该策略和计费规则可以包括第一数据包过滤器。
可见,若在步骤506中SMF未获取到PCF中的第一数据包过滤器,则可以通过步骤509获取PCF中的第一数据包过滤器。
进一步的,若SMF与PCF为第一次连接,则执行步骤505至步骤507;若SMF与PCF在该会话建立之前已连接,则不需要执行步骤505和步骤506,只需要执行步骤508和步骤509。
步骤510、SMF向UPF发送N4会话建立请求(N4session establishment request)消 息。
SMF根据策略和计费规则,生成第二数据包过滤器。
该N4session establishment request消息可以包括SMF为UPF分配隧道ID和地址,以及第二数据包过滤器,以使UPF获取第二数据包过滤器。第二数据包过滤器包括位置信息和匹配条件。第二数据包过滤器用于UPF将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
其中,当UPF传输待传输数据时,该待传输数据可以包括上行数据包和下行数据包UPF将待传输数据与第二数据包过滤器对下行数据包进行匹配和对上行数据包进行检测。
步骤511、UPF向SMF发送N4会话建立响应(N4session establishment response)消息。
步骤512、SMF向AMF发送SM Response消息。
SM Response消息可以包括SMF为UPF分配的隧道ID和地址、SMF发送给UE的PDU会话建立接受信息、位置信息和反转规则,反转规则用于在反转QoS机制中UE根据位置信息和下行数据包获取第三数据包过滤器。
或者,SM Response消息可以包括SMF为UPF分配的隧道ID和地址、SMF发送给UE的PDU会话建立接受信息和服务质量规则,该服务质量规则可以包括第三数据包过滤器。
步骤513、AMF向AN发送N2PDUsession request消息。
N2PDU session request消息可以包括SMF为UPF分配的隧道ID和地址、位置信息和反转规则,反转规则用于在反转QoS机制中UE根据位置信息和下行数据包获取第三数据包过滤器。
或者,N2PDU session request消息可以包括SMF为UPF分配的隧道ID和地址、SMF发送给UE的PDU会话建立接受信息和服务质量规则,该服务质量规则可以包括第三数据包过滤器。
步骤514、AN与UE实现AN的特定资源配置(AN-specific resource setup request)。
该AN的特定资源配置信息可以包括SMF发送给UE的PDU session establishmentaccept信息、服务质量规则或位置信息和反转规则,以使UE与AN间建立该PDU session建立无线承载,并使UE获取第三数据包过滤器。第三数据包过滤器包括位置信息和匹配条件。第三数据包过滤器用于UE将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
其中,当UE传输待传输数据时,UE将待传输数据与第三数据包过滤器进行匹配。
步骤515、AN向AMF发送N2PDU会话响应(N2PDU session request Ack)消息。
该N2PDU session request Ack可以包括AN分配的隧道ID和地址。
步骤516、AMF向SMF发送会话管理请求(SM Request)消息。
该SM Request消息可以包括N2Information、AN分配的隧道ID和地址
步骤517、SMF向UPF发送N4会话更新请求(N4session modification request)消 息。
该N4会话更新请求消息可以包括AN分配的隧道ID和地址。
可选地,该N4会话更新请求消息还可以包括PCF下发的第二数据包过滤器,以使UPF获取第二数据包过滤器。
可以理解的是,若步骤510处UPF未获取到PCF下发的第二数据包过滤器,则UPF可以通过步骤517获取到PCF下发的第二数据包过滤器,以完成下行数据的传输。
步骤518、UPF向SMF发送N4会话更新响应(N4session modification response)消息,以实现SMF对UPF的PDU session modification,使UPF根据RAN分配的隧道ID和地址发送下行数据。
步骤519、SMF向AMF发送SMresponse with N2Information消息。
可以理解的是,在本申请上述实施例中,步骤500的执行可以发生在步骤505之前的任意时刻。步骤500的执行时间应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本申请实施例的数据传输的控制方法,通过配置结构化的数据包的包过滤器,并将包括数据包过滤器的服务质量QoS规则分别发送给UE和UPF,以便于UE和UPF分别根据各自的数据包过滤器对传输的数据流进行过滤,将数据流分流到不同的承载上传输,保证了传输结构化的数据包,例如非IP数据包的QoS保障。
本申请可以在5G的会话建立的场景中,PCF获取位置信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含位置信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障。
图6为本发明实施例提供的另一种在会话更新场景中数据传输的控制方法流程图。在该方法中,触发QOS rule更新的条件可以由UE通过SMF下发至PCF,如图6所示,该方法可以包括:
步骤600、UE获取新的服务请求消息。
该新的服务请求(new service request)消息可以包括结构化的PDU信息,该结构化的PDU信息可以包括位置信息和业务信息,该业务信息可以包括位置信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识等中的一种或多种信息
UE可以通过接收用户的操作,获取新的服务请求消息。用户的操作可以是用户在UE上打开一个新的应用。
步骤601、UE向AMF发送PDU会话更新请求(PDU session modification request)消息,以指示更新PDU会话。
该PDU session modification request消息可以包括位置信息和业务信息。
步骤602、AMF向SMF发送会话管理请求(session management request,SM request)消息。
该SM request消息可以包括PDU会话更新请求的指示信息和位置信息和业务信息、 Session ID、DNN等信息,以使SMF获取位置信息和业务信息。
步骤603、SMF根据PDU会话更新请求的指示信息、位置信息和业务信息,获取对QOS rule进行触发(QoS Update Trigger)的更新指示信息。
步骤604、AN向AMF发送N2消息。
该N2消息可以包括PDU session ID和会话管理信息(SM information)
步骤605、AMF向SMF发送SM request消息。
该SM request消息可以包括SM information。
步骤606、SMF向PCF发送PDU-CAN session establishment request消息。
PDU-CAN session establishment request消息可以包括更新指示信息、位置信息和业务信息。
PCF根据更新指示信息、位置信息和业务信息,获取更新后的QoS ruler,更新后的QoS ruler可以包括第一数据包过滤器。第一数据包过滤器包括位置信息和匹配条件,以用于数据传输装置(UPF或UE)将待传输数据分配到匹配条件满足的匹配关系的QoS传输处理机制进行发送。
步骤607、PCF向SMF发送PDU-CAN session establishment response消息。
PDU-CAN session establishment response消息可以包括策略和计费规则,策略和计费规则可以第一数据包过滤器。
步骤608、SMF向AMF发送SM Request消息。
SM Request消息可以包括PDU Session修改命令(Modification Command)信息、session ID、位置信息和反转规则,反转规则用于在反转QoS机制中UE根据位置信息和下行数据包获取第三数据包过滤器。
或者,SM Response消息可以包括SMF发送给UE的服务质量规则,该服务质量规则可以包括第三数据包过滤器。
步骤609、AMF向AN发送N2PDUsession request消息,
该N2PDU session request消息可以包括PDU Session修改命令(Modification Command)信息、session ID、位置信息和反转规则,反转规则用于在反转QoS机制中UE根据位置信息和下行数据包获取第三数据包过滤器。
或者,N2PDU session request消息可以包括SMF发送给UE的服务质量规则,该服务质量规则可以包括第三数据包过滤器。
步骤610、AN与UE实现AN的特定资源配置(AN-specific resource setup request)。
该AN的特定资源配置信息可以包括PDU Session修改命令(Modification Command)信息、session ID、服务质量规则或位置信息和反转规则,以使UE与AN间建立该PDU session建立无线承载,使UE获取第三数据包过滤器。第三数据包过滤器包括位置信息和匹配条件。第三数据包过滤器用于UE将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
其中,当UE传输待传输数据时,UE将待传输数据与第三数据包过滤器进行匹配。
步骤611、AN向AMF发送N2PDU session request Ack消息。
该N2PDU session request Ack可以包括AN为PDU session分配的隧道ID和地址。
步骤612、AMF向SMF发送会话管理请求应答(SM Request ACK)消息。
该SM Request ACK可以包括N2PDU Session Modification Command ACK。
该SM Request with N2Information消息可以包括AN分配的隧道ID和地址。
步骤613、SMF向UPF发送N4session modification request消息。
该N4session modification request消息可以包括AN分配的隧道ID和地址,以及PCF下发的第二数据包过滤器,以使UPF获取第二数据包过滤器。
当UPF传输待传输数据时,UPF将待传输数据与第二数据包过滤器匹配。
步骤614、UPF向SMF发送N4session modification response消息,以实现SMF对UPF的PDU session modification,使UPF根据RAN分配的隧道ID和地址发送下行数据。
步骤615、SMF与PCF间建立PDU-CAN session modification。
可见,本申请可以在5G的会话更新的场景中,PCF获取位置信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含位置信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障。
图7为本发明实施例提供的另一种在会话更新场景中数据传输的控制方法流程图。在该方法中,触发QOS rule更新的条件可以通过预配置的方式存储在UDM内,如图7所示,该方法可以包括:
步骤700、UE向AMF发送PDU session modification request消息,以指示修改PDU会话。
步骤701、AMF向SMF发送SM request消息。
该SM request消息可以包括PDU会话更新请求的指示信息。
步骤702、SMF向UDM发送签约数据请求(subscription data request)消息。
该签约数据请求可以包括Session ID等信息。
步骤703、UDM向SMF发送签约数据应答(subscription data response)消息,以获取UE的签约数据,实现UE的PDU会话身份验证/授权(PDU Session authentication/authorization)。
该subscription data response消息可以包括位置信息、业务信息和Session ID等信息。该业务信息可以包括位置信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识等中的一种或多种信息。
步骤704、SMF根据PDU会话更新请求的指示信息、位置信息和业务信息,获取对QOS rule进行触发(QoS Update Trigger)的更新指示信息。
之后执行的步骤与步骤604-615相同,在此不做赘述。
可见,本申请可以在5G的会话更新的场景中,将触发QOS更新的条件可以通过预配置的方式存储在UDM中,并通过信令交互使PCF获取位置信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含位置信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障。
图8为本发明实施例提供的再一种在会话更新场景中数据传输的控制方法流程图。在该方法中,触发QOS rule更新的条件可以通过AF下发至PCF,如图8所示,该方法可以包括:
步骤800、PCF接收AF发送的会话信息。
会话信息可以包括位置信息和业务信息,该业务信息可以包括位置信息对应的匹配值、业务QoS需求、UE标识、业务标识、业务所在数据网络标识等中的一种或多种信息。
PCF根据位置信息和业务信息,生成默认(default)的QoS ruler,该QoS ruler可以包括第一数据包过滤器,第一数据包过滤器包括位置信息和匹配条件,以用于UPF或UE将待传输数据分配到匹配条件满足的匹配关系的QoS传输处理机制进行发送。
步骤801、UE向AMF发送PDU session modification request消息,以指示更新PDU会话。
该PDU会话建立请求消息可以包括结构化的PDU类型(如结构化的IP数据包和结构化的非IP数据包)、会话标识(Session ID)和数据网络标识(Data Network Name,DNN)等信息。
步骤802、AMF向SMF发送SM request消息。
该SM request消息可以包括PDU会话更新请求的指示信息、Session ID、DNN等信息。
步骤803、SMF向PCF发送PDU-CAN会话更新请求(PDU-CAN session modification request)消息。
步骤804、PCF向SMF发送PDU-CAN会话建立响应(PDU-CAN session modification response)消息。
该PDU-CAN session modification response消息可以包括更新后的QOS ruler,以使SMF获取更新后的QOS ruler,更新后的QOS ruler可以包括第一数据包过滤器。
步骤805、SMF根据PDU会话更新请求的指示信息和第一数据包过滤器,获取对QOS rule进行触发(QoS Update Trigger)的更新指示信息。
之后执行的步骤与步骤404-415相同,在此不做赘述。
可以理解的是,在本申请上述实施例中,步骤800的执行可以发生在步骤804之前的任意时刻。步骤800的执行时间应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
可见,本申请可以在5G的会话更新的场景中,通过AF使PCF获取位置信息,并通过CPF向数据传输装置(UPF和UE)分别发送包含位置信息的QoS rule,UE和UPF根据相应的数据包过滤器将待传输数据流匹配不同的QOS传输处理机制上实现了数据流的分流,保证了传输结构化的数据包,例如非IP数据包的QoS保障。
与图4所示的方法对应的,本发明实施例还提供一种策略控制功能装置,如图9所 示,该装置可以包括:处理单元910、发送单元920和接收单元930。
接收单元930,用于获取数据类别标识信息和业务信息,数据类别标识信息用于对待传输数据包进行分类。
处理单元910,用于根据数据类别标识信息和业务信息,生成策略和计费规则(PCC rule),策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。
发送单元920,用于向控制面节点发送含有第一数据包过滤器的策略和计费规则,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
可选地,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
可选地,接收单元930,还用于接收应用功能发送的数据类别标识信息和业务信息。
可选地,接收单元930,还用于接收控制面节点发送的数据类别标识信息和业务信息。其中,数据类别标识信息和业务信息是控制面节点从终端UE或统一数据管理UDM处获取。
可选地,数据类别标识信息包括位置信息,位置信息为数据包包头的一个或多个字段所在位置的信息。处理单元910,根据位置信息和业务信息,生成策略和计费规则。
可选地,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示数据包对应的服务质量信息,处理单元910,根据服务质量需求标识和业务信息,生成策略和计费规则。
由于上述实施例中该装置的各器件解决问题的实施方式以及有益效果可以参见各个方法实施方式以及有益效果,故在此不复赘述。
与图4所示的方法对应的,本发明实施例还提供一种控制面节点装置,如图10所示,该装置可以包括:接收单元1010和发送单元1020。
接收单元1010,用于接收PCF发送的策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据包进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。
发送单元1020,用于向数据传输装置发送数据类别标识信息,以使数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,其中,数据传输装置包括用户面功能UPF或终端UE。
可选地,发送单元1020,还用于向UPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,第二数据包过滤器用于UPF将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
可选地,发送单元1020,还用于向UE发送服务质量规则,服务质量规则包括第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
可选地,发送单元1020,还用于向UE发送数据类别标识信息和反转规则,反转规则用于在反转QoS机制中UE根据数据类别标识信息和下行数据包获取第三数据包过滤器,第三数据包过滤器用于UE将待传输数据包分配到满足匹配关系的QoS传输 处理机制进行发送。
可选地,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
可选地,第一数据包过滤器、第二数据包过滤器、第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。
可选地,发送单元1020,还用于向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。
可选地,接收单元1010,还用于接收统一数据管理实体(UDM)发送的数据类别标识信息和业务信息;
发送单元1020,还用于向PCF发送数据类别标识信息和业务信息,以使PCF生成策略和计费规则。
可选地,接收单元1010,还用于获取第二数据包过滤器的匹配优先级信息和第三数据包过滤器的匹配优先级信息;匹配优先级信息用于规定UPF对待传输数据进行过滤时,第二数据包过滤器之间的优先匹配的顺序,以及规定UE对待传输数据包进行过滤时,第三数据包过滤器之间的优先匹配的顺序;
发送单元1020,还用于向UPF发送第二数据包过滤器的匹配优先级信息,以及向UE发送第三数据包过滤器的匹配优先级信息。
可选地,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息;位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置。定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。
可选地,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。
由于上述实施例中该装置的各器件解决问题的实施方式以及有益效果可以参见各个方法实施方式以及有益效果,故在此不复赘述。
与图4所示的方法对应的,本发明实施例还提供一种终端,如图11所示,该设备可以包括:处理单元1110和发送单元1120。
处理单元1110,用于获取第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,匹配条件规定数据类别标识信息与对应的待传输数据的匹配关系,
发送单元1120,用于根据第三数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
可选地,终端还可以包括接收单元1130,
接收单元1130,用于接收控制面节点CPF发送的服务质量规则,服务质量规则包括第三数据包过滤器。
可选地,接收单元1130,还用于接收控制面节点CPF发送的数据类别标识信息和反转规则,反转规则用于在反转QoS机制中处理单元1110根据数据类别标识信息和下行数据包获取第三数据包过滤器。
可选地,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据。满足匹 配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
可选地,第三数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息以及匹配信息;或者,每个数据包过滤规则包括数据类别标识信息和匹配信息。
可选地,终端还可以包括接收单元1130,还用于接收第三数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UE对待传输数据包的进行第三数据包过滤器之间的优先匹配的顺序;
当终端传输待传输数据包时,处理单元1110根据第二数据包过滤器的匹配优先级信息,对待传输数据包进行匹配。
可选地,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息;位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置.定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。
可选地,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。
由于上述实施例中该装置的各器件解决问题的实施方式以及有益效果可以参见各个方法实施方式以及有益效果,故在此不复赘述。
与图4所示的方法对应的,本发明实施例还提供一种用户面功能装置,如图12所示,该装置可以包括:接收单元1210和发送单元1220,
接收单元1210,用于接收控制面节点CPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系;
发送单元1220,用于根据第二数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
可选地,匹配条件包括运算信息和匹配信息,匹配信息包括待比较数据;满足匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
可选地,第二数据包过滤器包括至少一个包过滤规则,每个数据包过滤规则包括数据类别标识信息、运算信息,以及匹配信息。
可选地,该装置还包括处理单元1230,
接收单元1210,还用于接收第二数据包过滤器的匹配优先级信息,匹配优先级信息用于规定UPF对待传输数据包的进行第二数据包过滤器之间的优先匹配的顺序;
处理单元1230,用于当用户面节点UPF传输待传输数据时,根据第二数据包过滤器的匹配优先级信息对待传输数据包进行匹配。
可选地,数据类别标识信息包括位置信息,位置信息为业务数据包包头的一个或多个字段所在位置的信息;位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。
可选地,数据类别标识信息包括服务质量需求标识,服务质量需求标识用于指示业务数据包对应的服务质量信息。
由于上述实施例中该设备的各器件解决问题的实施方式以及有益效果可以参见各个方法实施方式以及有益效果,故在此不复赘述。
图13为本发明实施例提供的另一种策略控制功能设备的结构示意图。如图13所示,该设备可以包括:处理器1310、接收器1320和发送器1330。
可选地,该装置还可以包括存储器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)或其任意组合。
存储器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还可以包括上述种类的存储器的组合。
可以理解的是,存储器1340可以集成在处理器1310中,也可以独立存在。接收器1320和发送器1330可以集成在收发器中,也可以独立存在。
接收器1320,用于获取数据类别标识信息和业务信息,数据类别标识信息用于对待传输数据包进行分类。
处理器1310,用于根据数据类别标识信息和业务信息,生成策略和计费规则(PCC rule),策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,匹配条件用于规定数据类别标识信息与对应的待传输数据的匹配关系。
发送器1330,用于向控制面节点发送含有第一数据包过滤器的策略和计费规则,第一数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。
由于上述实施例中该设备的各器件解决问题的实施方式以及有益效果可以参见方法实施方式以及有益效果,故在此不复赘述。
图14为本发明实施例提供的另一种控制面节点设备的结构示意图。如图14所示,该设备可以包括:接收器1410和发送器1420。
可选地,该设备还可以包括存储器1430和处理器1440。处理器1440可以于前文的处理器1310可以相同,也可以不同,在此不作限定。
接收器1410,用于接收PCF发送的策略和计费规则,策略和计费规则包括第一数据包过滤器,第一数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信 息用于对待传输数据包进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系。
发送器1420,用于向数据传输装置发送数据类别标识信息,以使数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送,其中,数据传输装置包括用户面功能UPF或终端UE。
由于上述实施例中该设备的各器件解决问题的实施方式以及有益效果可以参见方法实施方式以及有益效果,故在此不复赘述。
图15为本发明实施例提供的另一种终端的结构示意图。如图15所示,该终端可以包括:处理器1510和发送器1520。
可选地,该终端还可以包括存储器1530和接收器1540。处理器1530可以于前文的处理器1310可以相同,也可以不同,在此不作限定。
处理器1510,用于获取第三数据包过滤器,第三数据包过滤器包括数据类别标识信息和匹配条件,匹配条件规定数据类别标识信息与对应的待传输数据的匹配关系,
发送器1520,用于根据第三数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
由于上述实施例中该终端的各器件解决问题的实施方式以及有益效果可以参见方法实施方式以及有益效果,故在此不复赘述。
图16为本发明实施例提供的另一种用户面功能设备的结构示意图。如图16所示,该设备可以包括:接收器1610和发送器1620。
可选地,该设备还可以包括存储器1630和处理器1640。处理器1640可以于前文的处理器1310可以相同,也可以不同,在此不作限定。
接收器1610,用于接收控制面节点CPF发送第二数据包过滤器,第二数据包过滤器包括数据类别标识信息和匹配条件,数据类别标识信息用于对待传输数据进行分类,匹配条件用于规定数据类别标识信息与对应的待传输数据包的匹配关系;
发送器1620,用于根据第二数据包过滤器,将待传输数据包分配到满足匹配关系的QoS传输处理机制进行发送。
由于上述实施例中该设备的各器件解决问题的实施方式以及有益效果可以参见方法实施方式以及有益效果,故在此不复赘述。
需要说明的是,本发明实施例还提供了一种计算机可读存储介质。该计算机可读存储介质上存储有计算机程序,该程序被上述处理器执行。
本发明实施例还提供了一种包含指令的计算机程序产品。当该计算机程序产品在计算机上运行时,使得上述处理器执行上述图4所述的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (37)

  1. 一种数据传输的控制方法,其特征在于,
    策略控制功能PCF获取数据类别标识信息和业务信息,所述数据类别标识信息用于对待传输数据包进行分类;
    所述PCF根据所述数据类别标识信息和所述业务信息,生成策略和计费规则,所述策略和计费规则包括第一数据包过滤器,所述第一数据包过滤器包括所述数据类别标识信息和匹配条件,所述匹配条件用于规定所述数据类别标识信息与对应的待传输数据的匹配关系;
    所述PCF向控制面节点发送含有所述第一数据包过滤器的所述策略和计费规则,所述第一数据包过滤器用于所述数据传输装置将所述待传输数据分配到满足所述匹配关系的服务质量QoS传输处理机制进行发送。
  2. 根据权利要求1所述的方法,其特征在于,所述匹配条件包括运算信息和匹配信息,所述匹配信息包括待比较数据;
    所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。
  3. 根据权利要求1或2所述的方法,其特征在于,所述PCF获取数据类别标识信息和业务信息,包括:
    所述PCF接收应用功能发送的所述数据类别标识信息和所述业务信息。
  4. 根据权利要求1或2所述的方法,其特征在于,所述PCF获取数据类别标识信息和业务信息,包括:
    所述PCF接收所述控制面节点发送的所述数据类别标识信息和所述业务信息;
    其中,所述数据类别标识信息和所述业务信息是所述控制面节点从终端UE或统一数据管理UDM处获取。
  5. 根据权利要求1所述的方法,其特征在于,所述数据类别标识信息包括位置信息,所述位置信息为数据包包头的一个或多个字段所在位置的信息;
    所述PCF根据所述数据类别标识信息和所述业务信息,生成策略和计费规则,包括:
    所述PCF根据所述位置信息和所述业务信息,生成策略和计费规则。
  6. 根据权利要求1所述的方法,其特征在于,所述数据类别标识信息包括服务质量需求标识,所述服务质量需求标识用于指示数据包对应的服务质量信息,
    所述PCF根据所述数据类别标识信息和所述业务信息,生成策略和计费规则,包括:
    所述PCF根据所述服务质量需求标识和所述业务信息,生成策略和计费规则。
  7. 一种数据传输的控制方法,其特征在于,
    控制面节点CPF接收PCF发送的策略和计费规则,所述策略和计费规则包括第一数据包过滤器,所述第一数据包过滤器包括数据类别标识信息和匹配条件,所述数据类别标识信息用于对待传输数据包进行分类,所述匹配条件用于规定所述数据类别标识信息与对应的待传输数据包的匹配关系;
    所述CPF向数据传输装置发送所述数据类别标识信息,以使所述数据传输装置将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送,其中,所述数据传输装置包括用户面功能UPF或终端UE。
  8. 根据权利要求7所述的方法,其特征在于,所述CPF向数据传输装置发送所 述数据类别标识信息,包括:
    所述CPF向所述UPF发送第二数据包过滤器,所述第二数据包过滤器包括所述数据类别标识信息和所述匹配条件,所述第二数据包过滤器用于所述UPF将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。
  9. 根据权利要求7所述的方法,其特征在于,所述CPF向数据传输装置发送所述数据类别标识信息,包括:
    所述控制面节点CPF向所述UE发送服务质量规则,所述服务质量规则包括第三数据包过滤器,所述第三数据包过滤器包括所述数据类别标识信息和所述匹配条件,所述第三数据包过滤器用于所述UE将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。
  10. 根据权利要求7所述的方法,其特征在于,所述CPF向数据传输装置发送所述数据类别标识信息,包括:
    所述控制面节点CPF向所述UE发送所述数据类别标识信息和反转规则,所述反转规则用于在反转QoS机制中所述UE根据所述数据类别标识信息和下行数据包获取第三数据包过滤器,所述第三数据包过滤器用于所述UE将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。
  11. 根据权利要求7至10任一项所述的方法,其特征在于,所述匹配条件包括运算信息和匹配信息,所述匹配信息包括待比较数据;
    所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。
  12. 根据权利要求7至10任一项所述的方法,其特征在于,所述第一数据包过滤器、第二数据包过滤器、第三数据包过滤器包括至少一个包过滤规则,每个所述数据包过滤规则包括数据类别标识信息、所述运算信息以及所述匹配信息;或者,每个所述数据包过滤规则包括所述数据类别标识信息和所述匹配信息。
  13. 根据权利要求7所述的方法,其特征在于,所述控制面节点CPF接收PCF发送的第一数据包过滤器之前,所述方法还包括:
    所述控制面节点CPF向所述PCF发送所述数据类别标识信息和所述业务信息,以使所述PCF生成所述策略和计费规则。
  14. 根据权利要求7所述的方法,其特征在于,所述控制面节点CPF接收PCF发送的第一数据包过滤器之前,所述方法还包括:
    所述控制面节点CPF接收统一数据管理实体UDM发送的所述数据类别标识信息和所述业务信息;
    所述控制面节点CPF向所述PCF发送所述数据类别标识信息和所述业务信息,以使所述PCF生成所述策略和计费规则。
  15. 根据权利要求7至14任一项所述的方法,其特征在于,所述方法还包括:
    所述控制面节点CPF获取所述第二数据包过滤器的匹配优先级信息和第三数据包过滤器的匹配优先级信息;所述匹配优先级信息用于规定所述UPF对所述待传输数据进行过滤时,第二数据包过滤器之间的优先匹配的顺序,以及规定所述UE对所述待传输数据包进行过滤时,第三数据包过滤器之间的优先匹配的顺序;
    所述控制面节点CPF向所述UPF发送所述第二数据包过滤器的匹配优先级信息,以及向所述UE发送所述第三数据包过滤器的匹配优先级信息。
  16. 根据权利要求7至14任一项所述的方法,其特征在于,所述数据类别标识 信息包括位置信息,所述位置信息为业务数据包包头的一个或多个字段所在位置的信息;
    所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。
  17. 根据权利要求7至14任一项所述的方法,其特征在于,所述数据类别标识信息包括服务质量需求标识,所述服务质量需求标识用于指示业务数据包对应的服务质量信息。
  18. 一种数据传输的控制方法,其特征在于,所述方法包括:
    终端UE获取第三数据包过滤器,所述第三数据包过滤器包括所述数据类别标识信息和所述匹配条件,所述匹配条件规定所述数据类别标识信息与对应的待传输数据的匹配关系,
    所述UE根据所述第三数据包过滤器,将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。
  19. 根据权利要求18所述的方法,其特征在于,所述终端UE获取第三数据包过滤器,包括:
    所述UE接收所述控制面节点CPF发送的服务质量规则,所述服务质量规则包括所述第三数据包过滤器。
  20. 根据权利要求18所述的方法,其特征在于,所述终端UE获取第三数据包过滤器,包括:
    所述UE接收所述控制面节点CPF发送的所述数据类别标识信息和反转规则,所述反转规则用于在反转QoS机制中所述UE根据所述数据类别标识信息和下行数据包获取第三数据包过滤器。
  21. 根据权利要求18至20任一项所述的方法,其特征在于,所述匹配条件包括运算信息和匹配信息,所述匹配信息包括待比较数据;
    所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。
  22. 根据权利要求18至20任一项所述的方法,其特征在于,所述第三数据包过滤器包括至少一个包过滤规则,每个所述数据包过滤规则包括所述数据类别标识信息、所述运算信息以及所述匹配信息;或者,每个所述数据包过滤规则包括所述数据类别标识信息和所述匹配信息。
  23. 根据权利要求18至22任一项所述的方法,其特征在于,所述方法还包括:
    所述终端UE接收所述第三数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述UE对所述待传输数据包的进行所述第三数据包过滤器之间的优先匹配的顺序;
    当所述终端传输待传输数据包时,所述终端根据所述第二数据包过滤器的匹配优先级信息,对所述待传输数据包进行匹配。
  24. 根据权利要求18至22任一项所述的方法,其特征在于,所述数据类别标识信息包括位置信息,所述位置信息为业务数据包包头的一个或多个字段所在位置的信息;
    所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。
  25. 根据权利要求18至22任一项所述的方法,其特征在于,所述数据类别标识信息包括服务质量需求标识,所述服务质量需求标识用于指示业务数据包对应的服务质量信息。
  26. 一种数据传输的控制方法,其特征在于,所述方法包括:
    用户面功能UPF接收控制面节点CPF发送第二数据包过滤器,所述第二数据包过滤器包括数据类别标识信息和所述匹配条件,所述数据类别标识信息用于对待传输数据进行分类,所述匹配条件用于规定所述数据类别标识信息与对应的待传输数据包的匹配关系;
    所述UPF根据所述第二数据包过滤器,将所述待传输数据包分配到满足所述匹配关系的QoS传输处理机制进行发送。
  27. 根据权利要求26所述的方法,其特征在于,所述匹配条件包括运算信息和匹配信息,所述匹配信息包括待比较数据;
    所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。
  28. 根据权利要求26或27所述的方法,其特征在于,所述第二数据包过滤器包括至少一个包过滤规则,每个所述数据包过滤规则包括所述数据类别标识信息、所述运算信息,以及所述匹配信息。
  29. 根据权利要求26至28任一项所述的方法,其特征在于,所述方法还包括:
    所述用户面节点UPF接收所述第二数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述UPF对所述待传输数据包的进行所述第二数据包过滤器之间的优先匹配的顺序;
    当所述用户面节点UPF传输待传输数据时,所述用户面节点UPF根据所述第二数据包过滤器的匹配优先级信息对所述待传输数据包进行匹配。
  30. 根据权利要求26至28任一项所述的方法,其特征在于,所述数据类别标识信息包括位置信息,所述位置信息为业务数据包包头的一个或多个字段所在位置的信息;
    所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示数据位于数据包的位置;所述定位顺序格式信息用于指示数据相对于所述数据包所在位置的排列顺序。
  31. 根据权利要求26至28任一项所述的方法,其特征在于,所述数据类别标识信息包括服务质量需求标识,所述服务质量需求标识用于指示业务数据包对应的服务质量信息。
  32. 一种网络设备,其特征在于,所述网络设备用于执行权利要求1至6任一所述的方法。
  33. 一种网络设备,其特征在于,所述网络设备用于执行权利要求7至17任一 所述的方法。
  34. 一种终端装置,其特征在于,所述终端装置用于执行权利要求18至25任一所述的方法。
  35. 一种网络设备,其特征在于,所述网络设备用于执行权利要求26至31任一所述的方法。
  36. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-31任意一项所述的方法。
  37. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-31任意一项所述的方法。
PCT/CN2017/097399 2017-01-09 2017-08-14 数据传输的控制方法和设备 WO2018126692A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNPCT/CN2017/070681 2017-01-09
PCT/CN2017/070681 WO2018126488A1 (zh) 2017-01-09 2017-01-09 数据传输的控制方法和数据传输装置

Publications (1)

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

Family

ID=62788903

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2017/070681 WO2018126488A1 (zh) 2017-01-09 2017-01-09 数据传输的控制方法和数据传输装置
PCT/CN2017/097399 WO2018126692A1 (zh) 2017-01-09 2017-08-14 数据传输的控制方法和设备

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070681 WO2018126488A1 (zh) 2017-01-09 2017-01-09 数据传输的控制方法和数据传输装置

Country Status (1)

Country Link
WO (2) WO2018126488A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109167847A (zh) * 2018-08-09 2019-01-08 中国联合网络通信集团有限公司 一种IPv6地址的生成方法及SMF、通信***
CN111586674A (zh) * 2019-02-18 2020-08-25 华为技术有限公司 通信方法、装置及***
CN112672364A (zh) * 2019-10-16 2021-04-16 ***通信有限公司研究院 策略配置方法、装置、相关设备及存储介质
CN113079541A (zh) * 2020-01-06 2021-07-06 华为技术有限公司 一种报告信息的发送方法、装置及***
CN113395213A (zh) * 2021-06-10 2021-09-14 哲库科技(北京)有限公司 路由表项的配置方法、存储介质、电子设备和移动终端
CN115412507A (zh) * 2021-05-28 2022-11-29 ***通信有限公司研究院 数据处理、信息确定方法及设备、存储介质
WO2024051443A1 (zh) * 2022-09-09 2024-03-14 维沃移动通信有限公司 确定数据传送结束的方法、装置、通信设备及可读存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147422B (zh) 2018-11-02 2021-08-13 华为技术有限公司 控制终端与网络连接的方法及装置
CN110267312B (zh) * 2019-06-17 2023-09-19 腾讯科技(深圳)有限公司 数据传输的方法、管理服务质量流的方法、设备及介质
CN111601299B (zh) * 2020-05-09 2023-04-14 中国联合网络通信有限公司广东省分公司 一种5g架构下信息关联回填***

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674606A (zh) * 2009-09-25 2010-03-17 华为技术有限公司 数据传输方法及装置
CN102325350A (zh) * 2011-07-20 2012-01-18 大唐移动通信设备有限公司 基于默认承载的业务过滤方法和设备
CN102611616A (zh) * 2012-02-21 2012-07-25 杭州华三通信技术有限公司 一种报文ToS字段的识别方法和设备
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 (zh) * 2009-09-25 2010-03-17 华为技术有限公司 数据传输方法及装置
CN102325350A (zh) * 2011-07-20 2012-01-18 大唐移动通信设备有限公司 基于默认承载的业务过滤方法和设备
CN102611616A (zh) * 2012-02-21 2012-07-25 杭州华三通信技术有限公司 一种报文ToS字段的识别方法和设备
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 (zh) * 2018-08-09 2019-01-08 中国联合网络通信集团有限公司 一种IPv6地址的生成方法及SMF、通信***
CN109167847B (zh) * 2018-08-09 2021-04-06 中国联合网络通信集团有限公司 一种IPv6地址的生成方法及SMF、通信***
CN111586674A (zh) * 2019-02-18 2020-08-25 华为技术有限公司 通信方法、装置及***
US11677646B2 (en) 2019-02-18 2023-06-13 Huawei Technologies Co., Ltd. Communication policy control method, apparatus, and system
CN112672364A (zh) * 2019-10-16 2021-04-16 ***通信有限公司研究院 策略配置方法、装置、相关设备及存储介质
CN112672364B (zh) * 2019-10-16 2024-03-19 ***通信有限公司研究院 策略配置方法、装置、相关设备及存储介质
CN113079541A (zh) * 2020-01-06 2021-07-06 华为技术有限公司 一种报告信息的发送方法、装置及***
CN113079541B (zh) * 2020-01-06 2023-05-05 华为技术有限公司 一种报告信息的发送方法、装置及***
CN115412507A (zh) * 2021-05-28 2022-11-29 ***通信有限公司研究院 数据处理、信息确定方法及设备、存储介质
CN113395213A (zh) * 2021-06-10 2021-09-14 哲库科技(北京)有限公司 路由表项的配置方法、存储介质、电子设备和移动终端
WO2024051443A1 (zh) * 2022-09-09 2024-03-14 维沃移动通信有限公司 确定数据传送结束的方法、装置、通信设备及可读存储介质

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2018126692A1 (zh) 数据传输的控制方法和设备
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 (zh) 用于移动环境下的基于流的寻址的***及方法
CN109792788B (zh) 用于在无线通信网络中涉及隧道的数据传输的方法和设备
US11533669B2 (en) Enterprise network fabric extension across mobile networks
JP6619815B2 (ja) アクセス制御装置、システム、及び方法
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
KR20050048684A (ko) 통신 시스템에서 마이크로-터널들을 사용하기 위한 방법 및장치
JP7477661B2 (ja) データ伝送方法および装置
CN114128228B (zh) 通过SRv6头传输MTNC-ID以实现5G传输
WO2019196788A1 (zh) 通信方法和通信装置
WO2019101054A1 (zh) 聚合速率控制方法、设备以及***
WO2020036928A1 (en) Service data flow awareness for latency reduction
CN114128227B (zh) 在支持SRv6的数据面上传输MTNC-ID以实现5G传输
EP3982598A1 (en) Method and apparatus for sending and receiving message, and communication system
CN110505137B (zh) 功能扩展式有线网络装置
WO2012083803A1 (zh) 标识网中的服务质量优先级继承方法和***

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