WO2018126488A1 - Data transmission control method and data transmission device - Google Patents
Data transmission control method and data transmission device Download PDFInfo
- Publication number
- WO2018126488A1 WO2018126488A1 PCT/CN2017/070681 CN2017070681W WO2018126488A1 WO 2018126488 A1 WO2018126488 A1 WO 2018126488A1 CN 2017070681 W CN2017070681 W CN 2017070681W WO 2018126488 A1 WO2018126488 A1 WO 2018126488A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- information
- transmitted
- matching
- location
- Prior art date
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 194
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000012545 processing Methods 0.000 claims abstract description 88
- 230000007246 mechanism Effects 0.000 claims abstract description 62
- 238000001914 filtration Methods 0.000 claims description 101
- 230000006870 function Effects 0.000 description 17
- 230000008569 process Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 9
- 239000012634 fragment Substances 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013467 fragmentation Methods 0.000 description 2
- 238000006062 fragmentation reaction Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- JKMBMIMLVFMXRW-LYYFRFARSA-N epicocconone Chemical compound C1=C2C[C@@H](CO)OC=C2C(=O)[C@]2(C)C1=C(C(/O)=C/C(=O)/C=C/C=C/C=C/C)C(=O)O2 JKMBMIMLVFMXRW-LYYFRFARSA-N 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/24—Negotiating 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 data transmission control method and a data transmission device.
- 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 radio resources, the behavior of the network is determined. The behavior of the network is defined and implemented by the quality of service (QoS) rules in advance. Scheduling, for example, when you are making a call, someone starts downloading a file. Due to the scarcity of wireless resources, downloading a file will preempt the communication resources of your communication and cause the phone you are communicating to hang up. It is necessary to ensure that the wireless resource of the voice call has a higher priority of resource usage than downloading a file, so as to ensure that the voice call is normal when the wireless resource is insufficient. Of course, in a wireless network, there are different service accesses, and different QoS rules need to be set to ensure that critical services are guaranteed.
- 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.
- IP 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 a data transmission device, which configures a structured packet filter to complete classification and processing of a data stream, realizes data transmission control of a structured non-IP data packet, and ensures a structure.
- Non-IP packet QoS guarantee is a requirement for a data transmission control method and a data transmission device.
- an embodiment of the present application provides a data transmission control method, where the control method includes:
- the packet filter includes location information and filter conditions, and the filter conditions are used to specify The matching relationship between the data to be transmitted corresponding to the location information and the QoS transmission processing mechanism.
- Sending a data packet filter to a data transmission device (such as a user equipment, a user plane node, etc.), and the 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, and is configured to facilitate the data transmission device.
- the data packet filter is used to filter the transmitted data, and the transmission data is offloaded, and the structured data packet for the transmission, such as the QoS guarantee of the IP packet, is supported.
- the filtering condition includes operation information and matching information
- the matching information includes data to be compared
- the data packet filter is used by the data transmission device to allocate the data to be transmitted to satisfy
- the matching relationship in the QoS transmission processing mechanism of 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 data packet filter may include at least one packet filtering rule, and each data packet filter includes Location information, operational information, and matching information.
- the QoS rule may also
- the matching priority information of the packet filter is used to indicate that the user equipment or the user plane node matches the transmitted data according to the matching priority information of the packet filter.
- the QoS provided by the data service with higher priority is ensured by using the solution provided by the embodiment of the present application.
- the location information includes relative location information, location offset information And positioning order 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 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 transmission device may comprise a user equipment or a user plane node.
- protocol-independent data classification can be implemented, and a highly scalable QoS control is implemented through a unified QoS mechanism.
- an embodiment of the present application provides a data transmission control method, where the method includes:
- the user equipment receives the data packet filter, and the data packet filter includes location information and a filtering condition, where the filtering 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 user equipment When the user equipment transmits the uplink data, the user equipment allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
- the data transmission method provided by the embodiment of the present application does not need to determine the protocol type to which the transmission data belongs, and allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship by using the location information and the filtering condition, thereby ensuring structured data transmission.
- QoS Quality of Service
- the filtering condition includes operation information and matching information
- the matching information includes data to be compared
- the data packet filter is used by the data transmission device to allocate the data to be transmitted to meet
- the matching relationship in the QoS transmission processing mechanism of 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 data packet filter may include at least one packet filtering rule, where each packet filtering rule includes Location information, operational information, and matching information.
- the method may further include:
- the user equipment When the user equipment transmits the data to be transmitted, the user equipment matches the data to be transmitted according to the matching priority information of the packet filter, thereby ensuring the QoS of the data service with higher priority.
- the location information includes relative location information, location offset information And at least one of the positioning order format information; the position offset information is used to indicate an offset of the location of the data to be transmitted relative to the start position of the data packet header; and the relative location information is used to indicate that the data to be transmitted is located at 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.
- an embodiment of the present application provides a data transmission control method, where the method includes:
- the user plane node receives the packet filter, and the packet filter includes location information and a filter condition, and the filter condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
- the user equipment node allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
- the data transmission method provided by the embodiment of the present application does not need to determine the protocol type to which the transmission data belongs, and allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship by using the location information and the filtering condition, thereby ensuring structured data transmission.
- QoS Quality of Service
- the filtering condition includes the operation information and the matching information
- the matching information includes the data to be compared
- the data packet filter is used by the data transmission device to allocate the data to be transmitted to satisfy
- the matching relationship in the QoS transmission processing mechanism of 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 packet filter includes at least one packet filtering rule, where each packet filtering rule includes location information, Operational information, as well as matching information.
- the method further includes:
- the matching priority information of the data packet filter is received, and the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted.
- the user plane node When the user plane node transmits the data to be transmitted, the user plane node matches the data to be transmitted according to the matching priority information of the packet filter to ensure the QoS of the data service with higher priority.
- the location information includes the relative location information, the location offset information, and the location sequence format information One less position; 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 for Indicates the order in which the data to be transmitted is arranged relative to the location of the packet.
- the embodiment of the present application provides a data transmission device, where the data transmission device is a control plane node, and the control plane node includes:
- the obtaining unit is configured to obtain a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
- a sending unit configured to send a data packet filter to the data transmission device, where the 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 transmission data is offloaded, and the structured data packet for the transmission, such as the QoS guarantee of the IP packet, is supported.
- the filtering condition includes operation information and matching information
- the matching information includes data to be compared
- the data packet filter is used by the data transmission device to allocate the data to be transmitted to meet
- the matching relationship in the QoS transmission processing mechanism of 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 packet filter includes at least one packet filtering rule, and each packet filter includes Location information, operational information, and matching information.
- the obtaining unit is further configured to obtain matching priority information of the packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted.
- the sending unit is further configured to send the matching priority information to the data transmission device, where the matching priority information is used to instruct the data transmission device to match the data to be transmitted according to the matching priority information of the packet filter, thereby ensuring the data with higher priority.
- the QoS of the service is further configured to send the matching priority information to the data transmission device, where the matching priority information is used to instruct the data transmission device to match the data to be transmitted according to the matching priority information of the packet filter, thereby ensuring the data with higher priority.
- the location information includes relative location information, location offset information, and positioning sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a start position of the packet header; the relative location information is used to indicate 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.
- protocol-independent data classification can be implemented quickly, and a highly scalable QoS control is implemented through a unified QoS mechanism.
- the data transmission apparatus comprises a user equipment or a user plane node.
- the embodiment of the present application provides a data transmission device, where the data transmission device can be a user equipment, and the user equipment includes: a receiving unit and a processing unit.
- the receiving unit is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
- the processing unit allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
- the data transmission apparatus does not need to determine the protocol type to which the transmission data belongs, and allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship by using the location information and the filtering condition, thereby ensuring structured data transmission.
- QoS Quality of Service
- the filtering condition includes the operation information and the matching information
- the matching information includes the data to be compared
- the data packet filter is used by the data transmission device to allocate the data to be transmitted to satisfy
- the matching relationship in the QoS transmission processing mechanism of 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 data packet filter includes at least one packet filtering rule, where each packet filtering rule includes a location Information, operational information, and matching information.
- the receiving unit is further configured to receive matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;
- the processing unit matches the data to be transmitted according to the matching priority information of the packet filter, thereby ensuring the QoS of the data service with higher priority.
- the location information includes relative location information, location offset information, and Locating at least one of the positioning order format information; the position offset information is used to indicate an offset of the location of the data to be transmitted relative to the start position of the data packet header; and 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.
- an embodiment of the present application provides a data transmission apparatus, where the data transmission apparatus may be a user plane node, where the user plane node includes a receiving unit, a processing unit, and a sending unit.
- the receiving unit is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
- the processing unit location information and the filtering condition distribute the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
- the data transmission apparatus does not need to determine the protocol type to which the transmission data belongs, and allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship by using the location information and the filtering condition, thereby ensuring structured data transmission.
- QoS Quality of Service
- the filtering condition includes the operation information and the matching information
- the matching information includes the data to be compared
- the data packet filter is used by the data transmission device to allocate the data to be transmitted to satisfy
- the matching relationship in the QoS transmission processing mechanism of 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 data packet filter includes at least one packet filtering rule, where each packet filtering rule includes a location Information, operational information, and matching information.
- the receiving unit is further configured to receive matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted.
- the processing unit matches the downlink data according to the matching priority information of the packet filter.
- the location information includes at least one of relative location information, location offset information, and positioning sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a 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 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 transmission control method and the data transmission device thereof by configuring a structured data packet filter, and transmitting the data packet filter to the data transmission device, when the data transmission device transmits the data to be transmitted, There is no need to know the protocol type of the data to be transmitted, and the data to be transmitted can be allocated to different QoS transmission processing mechanisms for transmission through the packet filter, thereby ensuring the QoS of the structured data.
- FIG. 1 is a system frame diagram provided according to an embodiment of the present application.
- FIG. 2 is a flowchart of a method for controlling data transmission according to an embodiment of the present application
- FIG. 3 is a schematic structural diagram of a device according to an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of another device according to an embodiment of the present application.
- FIG. 5 is a schematic structural diagram of another device according to an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a control plane node according to an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a user equipment according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a user plane node according to an embodiment of the present application.
- the application provides a data transmission control method and a data transmission device thereof.
- a protocol-independent Quality of Service (QoS) transmission processing mechanism is proposed.
- QoS Quality of Service
- SPF structured packet filters
- the 5G network is solved.
- different packet filters correspond to different QoS rule control of the network.
- 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 the packet without the protocol header, starting from the first bit of the packet header. It 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.
- a preamble is used for synchronization, and the occupied field length is 7 bytes; a Start Frame Division (SDF) is used to indicate that the next byte is the destination media access.
- Control Media Access Control, MAC address, the length of the occupied field is 1 byte; the destination MAC address is used for the recipient of the specified frame, the occupied field length is 6 bytes; the source MAC address is used for the obscured frame
- the length of the field occupied by the sender 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.
- the length or type of the field is 2 fields.
- data and pad are high-level data, usually 3-layer protocol data units, such as IP packets in TCP/IP, occupying field lengths of 46-1500 bytes; frame check A frame check sequence (FCS) is used to provide a method for determining whether a transmission error is transmitted to a receiving network card. If an error is found, the frame is discarded, and the occupied field length is 4 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. Therefore, the technical solution of the present application is proposed, and a structured packet filter is configured to complete classification and processing of the data stream to implement QoS for transmitting non-IP data packets in 5G network communication data transmission. Guarantee.
- FIG. 1 is a system architecture diagram of an embodiment of the present application.
- the system includes a Policy Function device 110, a Control Plane (CP) node 120, a user equipment 130, a user plane node 140, and an Access Network (AN) 150.
- the policy function device 110 is required to configure QoS rules, and the QoS rules include structured packet filters.
- a Packet Data Unit (PDU) session is classified according to a structured PDU session type and an Unstructured PDU type.
- the QoS rules may include configuring structured packet filters in accordance with the structured PDU session type.
- the configured structured include filters are shown in Table 1.
- SPT rule structured filter rule
- 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.
- 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 location information, operation or operation information, and matching information (or called match data).
- the policy function device 110 sends the QoS rule to the CP 120.
- the CP 120 sends the QoS rule to the UE 130 and the UP 140 through the NG1 interface and the NG4 interface.
- the CP 120 may also send the QoS rule to the AN 150 through the NG2 interface.
- the AN 150 is used to provide wireless access services for the UE 130.
- the AN 150 may be a base station eNodeB, an access point (AP), etc., but is not limited thereto.
- the UE 130 and the UP 140 save the QoS rules after receiving the QoS rules.
- the data stream is matched with different SPFs to determine the QoS used to transmit the data stream, and the data stream is shunted to ensure the QoS control of the data stream.
- 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 UE transmits the uplink data by using the bearer corresponding to the SPF rule 1.
- FIG. 2 is a flowchart of a method for controlling data transmission according to an embodiment of the present application. As shown in FIG. 2, the method may include the following steps:
- the data packet filter includes location information and a filtering condition, where the filtering 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 filtering condition may include operation information and matching information, and the matching information includes data to be compared, and the filtering condition is satisfied when the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information. It can be said that the matching condition is satisfied.
- the location information indicates the data to be transmitted at the location indicated by the location information in the to-be-transmitted data packet, and the matching information may be information of a specific location in the structured data packet header in different protocol types, such as an IP protocol type.
- 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 location information in the packet filter may be based on an analysis of an existing structured protocol to determine 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 matching information in the packet filter may be based on an analysis of the existing structured protocol and a specific policy to determine corresponding matching information related to the location information required for the policy matching judgment. For example, this policy provides a unified QoS guarantee for all data flows accessing the A server, and then the matching information is the IP address of the A server.
- the location information is location information where the source node is located in the IP protocol
- the location information is location information where the UE is the destination address in the IP protocol.
- the packet filter may include at least one packet filtering rule, each packet filter including location information, operational information, and matching information.
- the packet is matched with other packet filters.
- the packet filter configured by the policy function device in FIG. 1 may be used, and the control plane node CP receives the quality of service QoS rule sent by the policy function device, where the QoS rule includes the configured packet filter.
- control plane node may obtain the QoS rule from the policy function device, which is not limited in this embodiment.
- the configured packet filter can be set according to requirements.
- 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 IEEE 802.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 filters can be as shown in Tables 3 and 4.
- the packet filter configuration of the IP data packet, the packet header format of the IP data packet is as shown in the data 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 (target address, source address, target port, source port, and protocol type).
- TCP The /IP packet matches the value of the location of the corresponding quintuple in the packet header (or header field).
- the control plane node sends a quality of service QoS rule to the data transmission device, the QoS rule including a packet filter.
- the data transmission device can be a user equipment and a user plane node.
- the control plane node sends the acquired QoS rules to the user equipment UE and the user plane node UP respectively, so that when the UE and the UP need to transmit data, the data to be transmitted is matched with the data packet filter to implement data of the data to be transmitted.
- the shunting of the flow guarantees the QoS guarantee of the data to be transmitted.
- the UE and the UP respectively save the received QoS rule.
- the QoS rule includes a packet filter, and the packet filter may include at least one packet filter rule (SPF rule).
- the SPF rule can include location information, operation or operation information, and matching information.
- the data to be transmitted transmitted by the user equipment 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 UE matches the uplink data according to the SPF rule of the packet filter, or filters, and matches the uplink data by using the location information, the operation information, and the matching information in the SPF rule, for example, the packet filter whose priority is matched is the IEEE802.3 packet.
- the packet filter with priority matching is the packet filter 1 of 802.1Q
- 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 user equipment transmits the data to be transmitted by using a QoS transmission processing mechanism corresponding to the packet filter to which the data to be transmitted is matched.
- the user plane node When the user plane node transmits the data to be transmitted, the user plane node matches the data to be transmitted with the packet filter.
- the data to be transmitted may be referred to as downlink data.
- the downlink data is data sent by the network side to the UE, for example, data sent by the UP to the UE.
- the UP matches the downlink data according to the SPF rule of the packet filter, and matches the downlink data by using the location information, the operation information, and the matching information in the SPF rule.
- the process in which the UP matches the downlink data with the packet filter is the same as the process in which the UE matches the uplink data with the packet filter. For brevity, it will not be 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. 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 UP uses the default bearer to transmit the downlink data.
- the user plane node transmits the data to be transmitted by using a bearer corresponding to the packet filter to which the data to be transmitted is matched.
- S220 and S230, S240 and S250, and S260 and S270 are not meant to be sequential, and the execution order of each process should be based on its function and internality.
- the logic is determined without 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 user equipment and the user plane node respectively, so as to facilitate the user equipment and
- the user plane node filters the transmitted data stream according to the packet filter, and distributes the data stream to different bearers for transmission, thereby ensuring transmission of structured data packets, such as QoS guarantee of non-IP data packets.
- the method for controlling data transmission is different from the method for processing data transmitted by 4G.
- the UE and the UP do not need to know the protocol type to which the transmitted data belongs. According to the location information in the packet filter, the corresponding operation is performed, and the value of the operation is consistent with the matching information. If the matching is successful, the matching is successful, and the UE or the UP can use the bearer transmission data corresponding to the matched SPF rule. 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 QoS rule may further include matching priority information of the packet filter, and is used to indicate that the user equipment or the user plane node matches the data according to the matching priority information of the packet filter.
- the UE when the UE needs to transmit the uplink data, it determines, according to the matching priority information of the packet filter, which packet filter is preferentially matched with the packet filter. If the packet matching with the preferential matching succeeds, the UE preferentially matches the uplink data. The corresponding packet of the packet filter transmits the uplink data. If the uplink data does not match the packet filter that matches the priority match, 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 packet filter is the same as the process of matching the uplink data with the 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.
- the location information may include 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 relative to the start of the packet header.
- the data does not start from the first bit of the packet header, but starts from the 4th bit of the packet header, and the position offset information is 3 bits.
- Relative location information is used to indicate where the data is located in the packet. For example: the data is located in the 8-15th bit of the 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. For example, the location of the data is located in the positioning order format from the left to the right of the packet header. If the relative position information is the sixth bit, the position of the sixth bit is located from left to right, and the data of the sixth bit is determined.
- data can be quickly determined, and the data is matched, the speed of data transmission is improved, and the QoS guarantee for transmitting non-IP data packets is guaranteed.
- control method of the data transmission provided by the embodiment of the present application is described in detail in FIG. 2 above.
- the apparatus provided in the embodiment of the present application namely, the control plane node, the user equipment and the user plane node, are described in detail below with reference to FIGS.
- FIG. 3 is a device provided by an embodiment of the present application, and the device may be a control plane node, that is, the CP 120 in FIG. 1 .
- the control plane node may include an obtaining unit 310 and a transmitting unit 320. among them,
- the obtaining unit 310 may be a receiving unit or a receiver;
- the sending unit 320 may be a transmitter.
- the obtaining unit 310 is configured to acquire a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism. .
- the sending unit 320 is configured to send a data packet filter to the data transmission device, where the 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.
- the data transmission device can be a user equipment and/or a user plane node.
- the filtering condition includes the operation information and the matching information, where the matching information includes the data to be compared, and the filtering condition is met when the relationship between the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information. It can also be said to satisfy the matching condition.
- the obtaining unit 310 acquires a QoS rule from the policy function device (such as the policy function device 110 in FIG. 1), and the rule includes a configured packet filter.
- the acquiring unit 310 may obtain multiple QoS rules, and each QoS rule performs data transmission through a specific QoS transmission processing mechanism, and each QoS rule includes a packet filter corresponding thereto, and each The packet filter includes location information, operation information and matching information, so as to match the data to be transmitted through the packet filter, and determine the QoS rules used for transmitting the data to complete the QoS guarantee of the data transmission.
- the packet filter includes location information, operation information and matching information, so as to match the data to be transmitted through the packet filter, and determine the QoS rules used for transmitting the data to complete the QoS guarantee of the data transmission.
- the function of the QoS transmission processing mechanism is similar to the EPS bearer in the 4G communication system, which is referred to as the bearer function.
- the location information may include relative location information, location offset information, and positioning format information.
- the relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
- the acquiring unit 310 may receive the QoS rule sent by the policy function device, where the QoS rule includes a packet filter.
- the packet filter may include at least one packet filtering rule, where each packet filter includes the location information, the operation information, and the matching information.
- the QoS rule acquired by the obtaining unit 310 may further include matching priority information of the packet filter, and is used to instruct the data transmission device to match the data according to the matching priority information of the packet filter.
- control plane node may further include a storage unit 330, configured to store the QoS rule acquired by the obtaining unit 310.
- storage unit 330 may be a memory.
- the QoS rule is respectively sent to the user equipment and the user plane node, so that when the user equipment and the user plane node transmit data, the data to be transmitted is filtered by the packet filter included in the QoS rule.
- the packet filter included in the QoS rule To achieve the offloading of data streams and to achieve unstructured data packets, such as QoS guarantees for IP packets.
- FIG. 4 is another device provided by the embodiment of the present application, and the device may be a user equipment, such as the user equipment 130 in FIG. 1 .
- the user equipment may include a receiving unit 410 and a processing unit 420.
- the receiving unit 410 may be a receiver
- the processing unit may be a processor
- the sending unit may be a transmitter.
- the receiving unit 410 is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
- the processing unit 420 allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition. .
- the receiving unit 410 of the user equipment receives the QoS rule sent by the control plane node, where the QoS rule includes a packet filter.
- each packet filter may include at least one packet filtering rule, and each packet filtering rule includes location information, operation information, and matching information.
- the location information may further include relative location information, location offset information, and positioning format information.
- the relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
- the user equipment 130 may further include a sending unit 430, configured to send data to be transmitted.
- the user equipment may further include a storage unit 440, configured to store the received QoS rules.
- the storage unit 440 can be a memory.
- the processing unit 420 of the user equipment matches the uplink data to be transmitted with the packet filter.
- the specific matching process please refer to the description of S240 in FIG. 2 for brevity, and details are not described herein again.
- the sending unit 430 of the user equipment transmits the uplink data through the bearer corresponding to the matched packet filter, completes the offloading of the data stream, and completes the QoS guarantee of the structured data packet.
- the QoS rule further includes matching priority information of the packet filter, where the matching priority information is used to indicate that the user equipment matches the uplink data according to the matching priority information of the packet filter.
- FIG. 5 is another apparatus provided by an embodiment of the present application.
- the device may be a user plane node, and the node may be the user plane node 140 in FIG. 1 .
- the user plane node may include a receiving unit 510 and a processing unit 520.
- the receiving unit 510 may be a receiver
- the processing unit 520 may be a processor
- the sending unit 530 may be a transmitter.
- the receiving unit 510 is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
- the processing unit 520 location information and the filtering condition allocate the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship.
- the receiving unit 510 receives the QoS rule sent by the control plane node, where the QoS rule may be multiple, each QoS rule includes a packet filter corresponding thereto, and the packet filter may include at least one packet. Filtering rules, each packet filtering rule includes location information, operation information, and matching information, which are used to match the transmitted downlink data to implement QoS guarantee for downlink data.
- the user plane node 140 may further include a sending unit 530, configured to send data to be transmitted.
- the user plane node may further include a storage unit 540 for storing the QoS rule received by the receiving unit 510.
- the storage unit 540 may be a memory.
- the processing unit 520 of the user plane node matches the downlink data with the packet filter.
- the specific matching process refer to the detailed description of S260 in FIG. 2, which is not described here for brevity.
- the sending unit 530 of the user equipment transmits the downlink data through the bearer corresponding to the matched packet filter, completes the offloading of the data stream, and implements the QoS guarantee of the structured data packet.
- the QoS rule further includes matching priority information of the packet filter, where the matching priority information is used to indicate that the user equipment matches the uplink data according to the matching priority information of the packet filter.
- FIG. 6 is a schematic structural diagram of a control plane node according to an embodiment of the present application. As shown in FIG. 6, the control plane node may include a receiver 610 and a transmitter 620.
- the receiver 610 is configured to obtain a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
- a transmitter 620 configured to send the data packet filter to a data transmission apparatus, where the data packet filter is configured to send, by the data transmission apparatus, the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship .
- the data transmission device may comprise a user equipment and/or a user plane node.
- the receiver 610 may receive a policy function device, such as the policy function device 110 shown in FIG. 1, and send a QoS rule, where the rule may include a configured packet filter and the received QoS.
- the rules are sent to the user equipment and the user plane node, so that the user equipment or the user plane node filters the transmitted data by using a packet filter to implement QoS control on the transmission data.
- the specific process of performing packet filtering on the transmission data by using the location information, the operation information, and the matching information in the packet filter refer to the specific descriptions of S240 and S260 in FIG. 2, for the sake of brevity, no longer here. Narration.
- control plane node provided by the embodiment of the present application may complete the method steps of S210, S220, and S230 in FIG.
- control plane node provided in FIG. 3 can perform the method steps S210, S220, and S230 of FIG. 2 through the control plane node of FIG.
- the location information may include relative location information and location offset information.
- positioning format information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
- the technical solution provided by the application can speed up the determination of the data corresponding to the location information, and further accelerate the data transmission.
- the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the user equipment or the user plane node matches the data according to the matching priority information of the packet filter.
- the QoS of the higher priority business data is guaranteed.
- FIG. 7 is a schematic structural diagram of a user equipment according to an embodiment of the present disclosure.
- the user equipment can include a receiver 710, a processor 720, and a transmitter 730.
- the receiver 710 is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the data to be transmitted and the QoS transmission processing mechanism corresponding to the location information.
- the processor 720 allocates the to-be-transmitted data to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
- the transmitter 730 is configured to send data to be transmitted.
- the packet filter may include location information, operation information, and matching information, so that the user equipment filters the uplink data according to the location information, the operation information, and the matching information included in the packet, and the specific matching process is performed.
- the user equipment provided by the embodiment of the present application can filter the uplink data by using a packet filter, and does not need to consider the protocol type of the uplink data, and directly performs uplink data according to the indication information of the packet filter, that is, the location information, the operation information, and the matching information. Filtering ensures QoS for structured data.
- the user equipment provided in FIG. 7 can complete the methods/steps of S240 and S250 in FIG. 2.
- the method and the steps of S240 and S250 in FIG. 2 are also completed by the user equipment provided in FIG. 7 for the sake of brevity, and are not described herein again.
- the filtering condition includes the operation information and the matching information
- the matching information includes the data to be compared
- the filtering is satisfied when the relationship between the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information.
- Conditions can also be referred to as satisfying matching conditions.
- the packet filter may include at least one packet filtering rule, where each packet filtering rule includes the location information, the operation information, and the matching information.
- the location information may include relative location information, location offset information, and positioning format information.
- the relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
- the technical solution provided by the application can speed up the determination of the data corresponding to the location information, and further accelerate the data transmission.
- the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the user equipment or the user plane node matches the data according to the matching priority information of the packet filter.
- the QoS of the higher priority business data is guaranteed.
- FIG. 8 is a schematic structural diagram of a user plane node according to an embodiment of the present application.
- the user plane node may include a receiver 810, a processor 820, and a transmitter 830.
- the receiver 810 is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
- the processing unit 820 location information and the filtering condition allocate the data to be transmitted to a QoS transmission processing mechanism that satisfies the matching relationship.
- the transmitter 830 is configured to send data to be transmitted. .
- the packet filter may include location information, operation information, and matching information, so that the user equipment filters the downlink data according to the location information, the operation information, and the matching information included in the packet filter, and the specific matching process may be performed. Referring to the detailed description of S260 in FIG. 2, for brevity, it will not be repeated here.
- the user plane node provided by the embodiment of the present application can filter the downlink data by using a packet filter, and does not need to consider the protocol type of the downlink data, and directly according to the indication information of the packet filter, that is, the location information, the operation information, and the matching information to the downlink data. Filtering ensures QoS for structured data.
- the user equipment provided in FIG. 8 can complete the methods/steps of S260 and S270 in FIG. 2.
- the method and the steps of S260 and S270 in FIG. 2 are also completed by the user plane nodes provided in FIG. 8 for the sake of brevity, and are not described herein again.
- the filtering condition includes the operation information and the matching information, where the matching information includes the data to be compared, and the filtering condition is met when the relationship between the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information. It can also be said to satisfy the matching condition.
- the packet filter may include at least one packet filtering rule, and each packet filtering rule may include the location information, the operation information, and the matching information.
- the location information may include relative location information, location offset information, and positioning format information.
- the relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
- the technical solution provided by the application can speed up the determination of the data corresponding to the location information, and further accelerate the data transmission.
- the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the user equipment or the user plane node matches the data according to the matching priority information of the packet filter.
- the QoS of the higher priority business data is guaranteed.
- the user equipment provided in FIG. 7 and the processor 720/820 in the user plane node provided in FIG. 8 may be a central processing unit (CPU), and may be other general-purpose processors, digital signal processors ( DSP), application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
- the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
- control plane node provided in FIG. 6 can include a memory 630 for storing QoS rules received by the receiver 610.
- the user equipment provided in FIG. 7 may include a memory 740 for storing QoS rules sent by the control plane node.
- the user plane node provided in FIG. 8 may include a memory 840 for storing QoS rules sent by the control plane node.
- Memory 630/740/840 can include read only memory and random access memory and provides instructions and data to processor 520/620. A portion of the memory may also include a non-volatile random access memory.
- control plane node may be implemented in other manners.
- control plane node, user equipment, and user plane node embodiments described above are merely illustrative.
- the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, Multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented.
- the units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above set unit can be implemented in the form of hardware or in the form of a software functional unit.
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present application relates to a data transmission control method and a data transmission device. The method may comprise: acquiring a data packet filter, wherein the data packet filter comprises location information and a filter condition, and the filter condition is used to specify a matching relationship between transmission data corresponding to the location information and a QoS transmission processing mechanism; and sending the data packet filter to a data transmission device, wherein the data packet filter is used by the data transmission device to distribute the transmission data to a QoS transmission processing mechanism satisfying the matching relationship in order to perform transmission. According to the data transmission control method of the present application, upon transmitting transmission data, the data transmission device does not need to ascertain a protocol type of the transmission data, and can distribute the transmission data via a data packet filter to different QoS transmission processing mechanisms for transmission, ensuring the QoS of structured data.
Description
本申请涉及通信技术领域,尤其涉及一种数据传输的控制方法和数据传输装置。The present application relates to the field of communications technologies, and in particular, to a data transmission control method and a data transmission device.
无线网络作为基础的网络架构,越来越多的业务在无线网络上承载。根据业务的特性、要求,以及无线资源的稀缺性,决定了网络的行为,而网络的行为事先由服务质量(Quality of Service,QoS)规则(rules)来定义和实现接入控制,资源保证和调度,例如,当你正在打一个电话时,某人开始下载一个文件,由于无线资源的稀缺性,下载一个文件会抢占你通信的通信资源而导致你正在通信的电话被挂断,此时,就需要保证语音通话的无线资源比下载一个文件具有更高的资源使用优先级,这样才能保证无线资源不足时,语音通话正常。当然,在无线网络中,会有不同的业务接入,需要设置不同的QoS rule以保证关键的业务得到保证。Wireless networks are the underlying network architecture, and more and more services are carried over wireless networks. According to the characteristics and requirements of the service, and the scarcity of radio resources, the behavior of the network is determined. The behavior of the network is defined and implemented by the quality of service (QoS) rules in advance. Scheduling, for example, when you are making a call, someone starts downloading a file. Due to the scarcity of wireless resources, downloading a file will preempt the communication resources of your communication and cause the phone you are communicating to hang up. It is necessary to ensure that the wireless resource of the voice call has a higher priority of resource usage than downloading a file, so as to ensure that the voice call is normal when the wireless resource is insufficient. Of course, in a wireless network, there are different service accesses, and different QoS rules need to be set to ensure that critical services are guaranteed.
在3GPP中所定义的EPS无线系统中QoS的管理方式为:EPS系统提供的各种IP业务的QoS保障可以通过一个IP业务传输其数据的一个或多个服务数据流(service data flow,SDF)来标识,一个SDF对应一个EPS承载,即一个SDF通过一个EPS承载来传输,以实现IP业务的QoS保障。其中,承载为逻辑传输通道。这样,IP业务的QoS保障就转化为EPS承载的QoS保障,或者说一个特定QoS的SDF映射到一个特定QoS的EPS承载上。其中,承载为逻辑传输通道。EPS承载是用户设备(User Equipment,UE)到PGW(PDN GateWay)之间的一种逻辑传输通道。The QoS management method in the EPS wireless system defined in 3GPP is: QoS guarantee of various IP services provided by the EPS system can transmit one or more service data flows (SDF) of its data through one IP service. To identify that an SDF corresponds to an EPS bearer, that is, an SDF is transmitted through an EPS bearer to implement QoS guarantee for IP services. The bearer is a logical transmission channel. In this way, the QoS guarantee of the IP service is converted into the QoS guarantee of the EPS bearer, or the SDF of a specific QoS is mapped to the EPS bearer of a specific QoS. The bearer is a logical transmission channel. The EPS bearer is a logical transmission channel between a User Equipment (UE) and a PGW (PDN GateWay).
服务数据流和承载通过数据流模板(Traffic Flow Template,TFT)进行关联和映射,而在无线网络中与RB-ID进行关联,在核心网中与隧道端点标识符(Tunnel End Point Identity,TEID)进行关联。上行数据流和TFT的关联由UE执行,下行数据流的TFT由PGW执行。其中,每个SDF包括至少一个IP数据流过滤器(IP Flower Filter)。将不同的业务根据不同的QoS需求由TFT过滤到不同的承载上传输,实现了QoS保障。The service data stream and the bearer are associated and mapped by a Traffic Flow Template (TFT), and are associated with the RB-ID in the wireless network, and the Tunnel End Point Identity (TEID) in the core network. Make an association. The association of the upstream data stream and the TFT is performed by the UE, and the TFT of the downstream data stream is executed by the PGW. Wherein each SDF includes at least one IP Flower Filter. Different services are filtered by TFTs to different bearers according to different QoS requirements, and QoS guarantee is realized.
在3GPP无线网络QoS机制中,只涉及IP数据包的处理,并没有涉及非IP(non-IP)数据包的处理,而对于5G网络还需要明确如何支持非IP数据包的QoS保障机制,IP数据包可以简称为IP包。IP包为支持IP协议通信传输中的数据单位;非IP包为除支持IP协议通信传输中,支持其他协议通信传输的数据单位。In the 3GPP wireless network QoS mechanism, only the processing of IP data packets is involved, and no non-IP (non-IP) data packet processing is involved. For the 5G network, it is also necessary to specify how to support the QoS guarantee mechanism of non-IP data packets, IP. A data packet can be simply referred to as an IP packet. The IP packet is a data unit that supports IP protocol communication transmission; the non-IP packet is a data unit that supports transmission of other protocols in addition to supporting IP protocol communication transmission.
发明内容Summary of the invention
本申请提供一种数据传输的控制方法和数据传输装置,通过配置结构化的数据包过滤器来完成数据流的分类与处理,实现对结构化的非IP数据包的数据传输控制,保证了结构化非IP数据包QoS保障。The present application provides a data transmission control method and a data transmission device, which configures a structured packet filter to complete classification and processing of a data stream, realizes data transmission control of a structured non-IP data packet, and ensures a structure. Non-IP packet QoS guarantee.
第一方面,本申请实施例提供了一种数据传输的控制方法,该控制方法包括:In a first aspect, an embodiment of the present application provides a data transmission control method, where the control method includes:
获取数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定
位置信息对应的待传输数据与QoS传输处理机制的匹配关系。Get the packet filter, the packet filter includes location information and filter conditions, and the filter conditions are used to specify
The matching relationship between the data to be transmitted corresponding to the location information and the QoS transmission processing mechanism.
向数据传输装置(如用户设备、用户面节点等设备)发送数据包过滤器,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送以便于数据传输装置采用数据包过滤器对传输的数据进行过滤,完成了对传输数据分流,并支持了对传输的结构化数据包,例如IP包的QoS保障。Sending a data packet filter to a data transmission device (such as a user equipment, a user plane node, etc.), and the 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, and is configured to facilitate the data transmission device. The data packet filter is used to filter the transmitted data, and the transmission data is offloaded, and the structured data packet for the transmission, such as the QoS guarantee of the IP packet, is supported.
结合第一方面,在第一方面的第一种可能实现的方式中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制中的满足述匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。With reference to the first aspect, in a first possible implementation manner of the first aspect, the filtering condition includes operation information and matching information, the matching information includes data to be compared, and the data packet filter is used by the data transmission device to allocate the data to be transmitted to satisfy The matching relationship in the QoS transmission processing mechanism of 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.
结合第一方面,第一方面的第一种可能实现的方式,在第一方面的第二种可能实现的方式中,数据包过滤器可以包括至少一个包过滤规则,每个数据包过滤器包括位置信息、运算信息,以及匹配信息。With reference to the first aspect, the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the data packet filter may include at least one packet filtering rule, and each data packet filter includes Location information, operational information, and matching information.
结合第一方面,或第一方面的第一种可能实现的方式,或第一方面的第二种可能实现的方式,在第一方面的第三种可能实现的方式中,,QoS规则还可以包括数据包过滤器的匹配优先级信息,用于指示用户设备或用户面节点按照数据包过滤器的匹配优先级信息对传输的数据进行匹配。采用本申请实施例提供的方案,保证了优先级别较高的数据业务的QoS。In combination with the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the QoS rule may also The matching priority information of the packet filter is used to indicate that the user equipment or the user plane node matches the transmitted data according to the matching priority information of the packet filter. The QoS provided by the data service with higher priority is ensured by using the solution provided by the embodiment of the present application.
结合第一方面至第一方面的第三种可能实现方式中的任一可能实现的方式,在第一方面的第四种可能实现的方式中,位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。In conjunction with the first aspect to any of the possible implementations of the third possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the location information includes relative location information, location offset information And positioning order 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 information is used to indicate the order in which the data to be transmitted is arranged relative to the location of the data packet.
结合第一方面,或者上述在第一方面的任一种可能实现的方式,在第一方面的第五种可能实现的方式中,数据传输装置可以包括用户设备或者用户面节点。In conjunction with the first aspect, or the manner in which any of the first aspects described above may be implemented, in a fifth possible implementation of the first aspect, the data transmission device may comprise a user equipment or a user plane node.
采用本申请实施例提供的方案,可以实现协议无关的数据分类,通过统一的QoS机制,实现高扩展性QoS控制。With the solution provided by the embodiment of the present application, protocol-independent data classification can be implemented, and a highly scalable QoS control is implemented through a unified QoS mechanism.
第二方面,本申请实施例提供了一种数据传输的控制方法,该方法包括:In a second aspect, an embodiment of the present application provides a data transmission control method, where the method includes:
用户设备接收数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The user equipment receives the data packet filter, and the data packet filter includes location information and a filtering condition, where the filtering 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.
当用户设备传输上行数据时,用户设备根据位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。When the user equipment transmits the uplink data, the user equipment allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
基于本申请实施例提供的数据传输方法,无需确定传输数据所属的协议类型,通过位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制上进行发送,保证了结构化数据传输的QoS。The data transmission method provided by the embodiment of the present application does not need to determine the protocol type to which the transmission data belongs, and allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship by using the location information and the filtering condition, thereby ensuring structured data transmission. QoS.
结合第二方面,在第二方面的第一种可能实现的方式中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制中的满足述匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
With reference to the second aspect, in a first possible implementation manner of the second aspect, the filtering condition includes operation information and matching information, the matching information includes data to be compared, and the data packet filter is used by the data transmission device to allocate the data to be transmitted to meet The matching relationship in the QoS transmission processing mechanism of the matching relationship is that the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information.
结合第二方面或者在第二方面的第一种可能实现的方式,在第二方面的第二种可能实现的方式中,数据包过滤器可以包括至少一个包过滤规则,每个包过滤规则包括位置信息、运算信息和匹配信息。In combination with the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the data packet filter may include at least one packet filtering rule, where each packet filtering rule includes Location information, operational information, and matching information.
结合第二方面或者第二方面的第一种可能实现的方式,在第二方面的第三种可能实现的方式中,方法还可以包括:In conjunction with the second aspect or the first possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the method may further include:
接收数据包过滤器的匹配优先级信息,匹配优先级信息用于规定数据传输装置对待传输数据的进行优先匹配的顺序;Receiving matching priority information of the packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;
当用户设备传输待传输数据时,用户设备按照数据包过滤器的匹配优先级信息对待传输数据进行匹配,保证了优先级别较高的数据业务的QoS。When the user equipment transmits the data to be transmitted, the user equipment matches the data to be transmitted according to the matching priority information of the packet filter, thereby ensuring the QoS of the data service with higher priority.
结合第二方面,或者第二方面的任一可能实现方式中的一个可能实现的方式,在第二方面的第四种可能实现的方式中,,位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。With reference to the second aspect, or a possible implementation manner of any of the possible implementations of the second aspect, in a fourth possible implementation manner of the second aspect, the location information includes relative location information, location offset information And at least one of the positioning order format information; the position offset information is used to indicate an offset of the location of the data to be transmitted relative to the start position of the data packet header; and the relative location information is used to indicate that the data to be transmitted is located at 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.
第三方面,本申请实施例提供了一种数据传输的控制方法,该方法包括:In a third aspect, an embodiment of the present application provides a data transmission control method, where the method includes:
用户面节点接收数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The user plane node receives the packet filter, and the packet filter includes location information and a filter condition, and the filter condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
当用户面节点传输待传输数据时,用户设备节点根据位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。When the user plane node transmits the data to be transmitted, the user equipment node allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
基于本申请实施例提供的数据传输方法,无需确定传输数据所属的协议类型,通过位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制上进行发送,保证了结构化数据传输的QoS。The data transmission method provided by the embodiment of the present application does not need to determine the protocol type to which the transmission data belongs, and allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship by using the location information and the filtering condition, thereby ensuring structured data transmission. QoS.
结合第三方面,在第三方面的第一种可能实现的方式中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制中的满足述匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。With reference to the third aspect, in a first possible implementation manner of the third aspect, the filtering condition includes the operation information and the matching information, the matching information includes the data to be compared, and the data packet filter is used by the data transmission device to allocate the data to be transmitted to satisfy The matching relationship in the QoS transmission processing mechanism of 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.
结合第三方面或者第三方面的第一种可能实现的方式,在第三方面的第二种可能实现的方式中,包过滤器包括至少一个包过滤规则,每个包过滤规则包括位置信息、运算信息,以及匹配信息。With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the packet filter includes at least one packet filtering rule, where each packet filtering rule includes location information, Operational information, as well as matching information.
结合第三方面,或者第三方面的第一种可能实现的方式,或者第三方面的第二种可能实现的方式,在第三方面的第三种可能实现的方式中,该方法还包括:With reference to the third aspect, or the first possible implementation manner of the third aspect, or the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, the method further includes:
接收数据包包过滤器的匹配优先级信息,匹配优先级信息用于规定数据传输装置对待传输数据的进行优先匹配的顺序。The matching priority information of the data packet filter is received, and the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted.
当用户面节点传输待传输数据时,用户面节点按照数据包过滤器的匹配优先级信息对待传输数据进行匹配保证了优先级别较高的数据业务的QoS。When the user plane node transmits the data to be transmitted, the user plane node matches the data to be transmitted according to the matching priority information of the packet filter to ensure the QoS of the data service with higher priority.
结合第三方面,或第三方面的任一可能实现的方式在第三方面的第四种可能实现的方式中,位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至
少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。With reference to the third aspect, or any possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the location information includes the relative location information, the location offset information, and the location sequence format information
One less position; 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 for Indicates the order in which the data to be transmitted is arranged relative to the location of the packet.
第四方面,本申请实施例提供了一种数据传输装置,数据传输装置为控制面节点,该控制面节点包括:In a fourth aspect, the embodiment of the present application provides a data transmission device, where the data transmission device is a control plane node, and the control plane node includes:
获取单元,用于获取数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The obtaining unit is configured to obtain a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
发送单元,用于向数据传输装置发送数据包过滤器,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。And a sending unit, configured to send a data packet filter to the data transmission device, where the 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.
以便于用于设备或用户面节点采用数据包过滤器对传输的数据进行过滤,完成了对传输数据分流,并支持了对传输的结构化数据包,例如IP包的QoS保障。In order to filter the transmitted data by the packet filter for the device or the user plane node, the transmission data is offloaded, and the structured data packet for the transmission, such as the QoS guarantee of the IP packet, is supported.
结合第四方面,在第四方面的第一种可能实现的方式中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制中的满足述匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the filtering condition includes operation information and matching information, the matching information includes data to be compared, and the data packet filter is used by the data transmission device to allocate the data to be transmitted to meet The matching relationship in the QoS transmission processing mechanism of 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.
结合第四方面,或者第四方面的第一种可能实现的方式,在第四方面的第一种可能实现的方式中,数据包过滤器包括至少一个包过滤规则,每个数据包过滤器包括位置信息、运算信息,以及匹配信息。With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a first possible implementation manner of the fourth aspect, the packet filter includes at least one packet filtering rule, and each packet filter includes Location information, operational information, and matching information.
结合第四方面,或第四方面的第一种可能实现的方式至第四方面的第二种可能实现的方式中的任一可能实现的方式,在第四方面的第三种可能实现的方式中,With reference to the fourth aspect, or any of the possible ways of implementing the first possible implementation of the fourth aspect to the second possible implementation of the fourth aspect, the third possible implementation manner of the fourth aspect in,
获取单元,还用于获取数据包过滤器的匹配优先级信息,匹配优先级信息用于规定数据传输装置对待传输数据的进行优先匹配的顺序。The obtaining unit is further configured to obtain matching priority information of the packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted.
发送单元,还用于向数据传输装置发送匹配优先级信息,匹配优先级信息用于指示数据传输装置按照数据包过滤器的匹配优先级信息对待传输数据进行匹配,保证了优先级别较高的数据业务的QoS。The sending unit is further configured to send the matching priority information to the data transmission device, where the matching priority information is used to instruct the data transmission device to match the data to be transmitted according to the matching priority information of the packet filter, thereby ensuring the data with higher priority. The QoS of the service.
结合第四方面、第四方面的第一种可能实现的方式至第四方面的第三种可能实现方式中的任一可能实现的方式,在第四方面的第四种可能实现的方式中,位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。In a fourth possible implementation manner of the fourth aspect, in combination with the fourth aspect, the first possible implementation manner of the fourth aspect, or any possible implementation manner of the third possible implementation manner of the fourth aspect, The location information includes relative location information, location offset information, and positioning sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a start position of the packet header; the relative location information is used to indicate 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.
采用本申请实施例提供的方案,可以快实现协议无关的数据分类,通过统一的QoS机制,实现高扩展性QoS控制。With the solution provided by the embodiment of the present application, protocol-independent data classification can be implemented quickly, and a highly scalable QoS control is implemented through a unified QoS mechanism.
结合第四方面,或者第四方面的任一种可能实现方式中的一种可能实现的方式,在第四方面的第四种可能实现的方式中,数据传输装置包括用户设备或用户面节点。In conjunction with the fourth aspect, or one of the possible implementations of any one of the possible implementations of the fourth aspect, in a fourth possible implementation of the fourth aspect, the data transmission apparatus comprises a user equipment or a user plane node.
第五方面,本申请实施例提供了一种数据传输装置,该数据传输装置可以为用户设备,该用户设备包括:接收单元和处理单元。
In a fifth aspect, the embodiment of the present application provides a data transmission device, where the data transmission device can be a user equipment, and the user equipment includes: a receiving unit and a processing unit.
接收单元,用于接收数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The receiving unit is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
当用户设备传输待传输数据时,处理单元根据位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。When the user equipment transmits the data to be transmitted, the processing unit allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
基于本申请实施例提供的数据传输装置,无需确定传输数据所属的协议类型,通过位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制上进行发送,保证了结构化数据传输的QoS。The data transmission apparatus provided by the embodiment of the present application does not need to determine the protocol type to which the transmission data belongs, and allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship by using the location information and the filtering condition, thereby ensuring structured data transmission. QoS.
结合第五方面,在第五方面的第一种可能实现的方式中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制中的满足述匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the filtering condition includes the operation information and the matching information, the matching information includes the data to be compared, and the data packet filter is used by the data transmission device to allocate the data to be transmitted to satisfy The matching relationship in the QoS transmission processing mechanism of 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.
结合第五方面,或者第五方面的第一种可能实现的方式,在第五方面的第二种可能实现的方式中,数据包过滤器包括至少一个包过滤规则,每个包过滤规则包括位置信息、运算信息和匹配信息。With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the data packet filter includes at least one packet filtering rule, where each packet filtering rule includes a location Information, operational information, and matching information.
结合第五方面或者第五方面的第一种可能实现的方式,或者第五方面的第二种可能实现的方式,在第五方面的第二种可能实现的方式中,With reference to the fifth aspect or the first possible implementation manner of the fifth aspect, or the second possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect,
接收单元,还用于接收数据包过滤器的匹配优先级信息,匹配优先级信息用于规定数据传输装置对待传输数据的进行优先匹配的顺序;The receiving unit is further configured to receive matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;
当用户设备传输待传输数据时,处理单元按照数据包过滤器的匹配优先级信息对待传输数据进行匹配,保证了优先级别较高的数据业务的QoS。When the user equipment transmits the data to be transmitted, the processing unit matches the data to be transmitted according to the matching priority information of the packet filter, thereby ensuring the QoS of the data service with higher priority.
结合第五方面,或者第五方面的任一可能实现方式中的一个可能实现的方式,在第五方面的第四种可能实现的方式中,位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。With reference to the fifth aspect, or a possible implementation manner of any of the possible implementation manners of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, the location information includes relative location information, location offset information, and Locating at least one of the positioning order format information; the position offset information is used to indicate an offset of the location of the data to be transmitted relative to the start position of the data packet header; and 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.
第六方面,本申请实施例提供了一种数据传输装置,该数据传输装置可以为用户面节点,该用户面节点包括接收单元,处理单元和发送单元。In a sixth aspect, an embodiment of the present application provides a data transmission apparatus, where the data transmission apparatus may be a user plane node, where the user plane node includes a receiving unit, a processing unit, and a sending unit.
接收单元,用于接收数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The receiving unit is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
当用户面节点传输待传输数据时,处理单元位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。When the user plane node transmits the data to be transmitted, the processing unit location information and the filtering condition distribute the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship.
基于本申请实施例提供的数据传输装置,无需确定传输数据所属的协议类型,通过位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制上进行发送,保证了结构化数据传输的QoS。The data transmission apparatus provided by the embodiment of the present application does not need to determine the protocol type to which the transmission data belongs, and allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship by using the location information and the filtering condition, thereby ensuring structured data transmission. QoS.
结合第六方面,在第六方面的第一种可能实现的方式中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制中的满足述匹配关系为待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系。
With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the filtering condition includes the operation information and the matching information, the matching information includes the data to be compared, and the data packet filter is used by the data transmission device to allocate the data to be transmitted to satisfy The matching relationship in the QoS transmission processing mechanism of 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.
结合第六方面,或者第六方面的第一种可能实现的方式,在第六方面的第二种可能实现的方式中,数据包过滤器包括至少一个包过滤规则,每个包过滤规则包括位置信息、运算信息,以及匹配信息。With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the data packet filter includes at least one packet filtering rule, where each packet filtering rule includes a location Information, operational information, and matching information.
结合第六方面,或者第六方面的第一种可能实现的方式中,或者第六方面的第二种可能实现的方式,在第六方面的第三种可能实现的方式中,With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, or the second possible implementation manner of the sixth aspect, in a third possible implementation manner of the sixth aspect,
接收单元,还用于接收数据包过滤器的匹配优先级信息,匹配优先级信息用于规定数据传输装置对待传输数据的进行优先匹配的顺序。The receiving unit is further configured to receive matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted.
当用户面节点传输待传输数据时,处理单元按照数据包过滤器的匹配优先级信息对下行数据进行匹配。When the user plane node transmits the data to be transmitted, the processing unit matches the downlink data according to the matching priority information of the packet filter.
结合第六方面,或第六方面的第一种可能实现的方式至第六方面的第三种可能实现的方式中的任一可能实现的方式,在第六方面的第四种可能实现的方式中,位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;位置偏移量信息用于指示待传输数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示待传输数据位于数据包的位置;定位顺序格式信息用于指示待传输数据相对于数据包所在位置的排列顺序。A fourth possible implementation manner of the sixth aspect, in combination with the sixth aspect, or the first possible implementation manner of the sixth aspect, to any of the possible implementation manners of the third possible implementation manner of the sixth aspect The location information includes at least one of relative location information, location offset information, and positioning sequence format information; the location offset information is used to indicate an offset of a location of the data to be transmitted relative to a 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 sequence format information is used to indicate the order of the data to be transmitted relative to the location of the data packet.
基于本申请实施例的数据传输的控制方法及其数据传输装置,通过配置结构化的数据包包过滤器,并将数据包过滤器发送给数据传输装置,在数据传输装置传输待传输数据时,无需知晓待传输数据的协议类型,通过数据包过滤器就可以将待传输数据分配到不同的QoS传输处理机制上进行传输,保证了结构化数据的QoS。The data transmission control method and the data transmission device thereof according to the embodiment of the present application, by configuring a structured data packet filter, and transmitting the data packet filter to the data transmission device, when the data transmission device transmits the data to be transmitted, There is no need to know the protocol type of the data to be transmitted, and the data to be transmitted can be allocated to different QoS transmission processing mechanisms for transmission through the packet filter, thereby ensuring the QoS of the structured data.
图1是根据本申请实施例提供的系统框架图;1 is a system frame diagram provided according to an embodiment of the present application;
图2为本申请实施例提供的一种数据传输的控制方法流程图;2 is a flowchart of a method for controlling data transmission according to an embodiment of the present application;
图3为本发申请实施例提供的一种装置结构示意图;3 is a schematic structural diagram of a device according to an embodiment of the present application;
图4为本申请实施例提供的另一种装置结构示意图;4 is a schematic structural diagram of another device according to an embodiment of the present application;
图5为本申请实施例提供的另一种装置结构示意图;FIG. 5 is a schematic structural diagram of another device according to an embodiment of the present disclosure;
图6为本申请实施例提供的一种控制面节点的结构示意图;FIG. 6 is a schematic structural diagram of a control plane node according to an embodiment of the present application;
图7为本申请实施例提供的一种用户设备的结构示意图;FIG. 7 is a schematic structural diagram of a user equipment according to an embodiment of the present disclosure;
图8为本申请实施例提供的一种用户面节点的结构示意图。FIG. 8 is a schematic structural diagram of a user plane node according to an embodiment of the present application.
本申请提供一种数据传输的控制方法及其数据传输装置。提出了一种与协议无关的服务质量(Quality of Service,QoS)传输处理机制,通过配置结构化的数据包过滤器(structure packet filters,SPF)来完成数据流的分类与处理,解决了5G网络通信数据传输中对传输的非IP数据包的QoS保障。其中,不同的包过滤器对应网络的不同QoS规则(rule)控制。The application provides a data transmission control method and a data transmission device thereof. A protocol-independent Quality of Service (QoS) transmission processing mechanism is proposed. By configuring structured packet filters (SPF) to complete the classification and processing of data streams, the 5G network is solved. QoS guarantee for transmitted non-IP packets in communication data transmission. Among them, different packet filters correspond to different QoS rule control of the network.
网络中传输的数据包的分类包括结构化的IP包和非IP包。非IP包又包括结构化的非IP包(如以太帧)和非结构化的非IP包,例如用于物联网(Internet of Things,IOT)场景下的裸包或者私有协议包。这里的裸包是指没有协议头的数据包,从包头第一位开始
就是数据信息。本申请实施例配置的包过滤器适用于结构化的IP包和结构化的非IP包。The classification of data packets transmitted over the network includes structured IP packets and non-IP packets. Non-IP packets include structured non-IP packets (such as Ethernet frames) and unstructured non-IP packets, such as bare packets or private protocol packets for Internet of Things (IOT) scenarios. The bare packet here refers to the packet without the protocol header, starting from the first bit of the packet header.
It is the data information. The packet filter configured in the embodiment of the present application is applicable to a structured IP packet and a structured non-IP packet.
需要说明的是,本申请实施例中的“结构化”是指数据的存储方式遵循一定的协议格式,存储按照比特(binary digit,bit)或者字节存储。例如IEEE802.3以太帧头格式和每个字段的指示信息如数据包格式1所示。It should be noted that the “structured” in the embodiment of the present application means that the data storage manner follows a certain protocol format, and the storage is stored in a binary digit (bit) or a byte. For example, the IEEE 802.3 Ethernet frame header format and the indication information of each field are as shown in the packet format 1.
数据包格式1Packet format 1
在IEEE802.3以太帧头格式中,前导码(Preamble)用于同步,占用的字段长度为7个字节;帧开始符(Start Frame Division,SDF)用于表明下一个字节为目的媒体访问控制(Media Access Control,MAC)地址,占用的字段长度为1个字节;目的MAC地址用于执明帧的接受者,占用的字段长度为6个字节;源MAC地址用于执明帧的发送者,占用的字段长度为6个字节;长度(Length)/类型(Type)用于表示帧中数据字段的长度或者帧中数据的协议类型,长度或者类型占用的字段长度为2个字节;数据和填充(Data and Pad)注为高层的数据,通常为3层协议数据单元,例如TCP/IP中的IP数据包,占用的字段长度为46-1500个字节;帧校验序列(frame check sequence,FCS)用于对接收网卡提供判断是否传输错误的一种方法,若发现错误,则丢弃此帧,占用的字段长度为4个字节。In the IEEE 802.3 Ethernet frame header format, a preamble (Preamble) is used for synchronization, and the occupied field length is 7 bytes; a Start Frame Division (SDF) is used to indicate that the next byte is the destination media access. Control (Media Access Control, MAC) address, the length of the occupied field is 1 byte; the destination MAC address is used for the recipient of the specified frame, the occupied field length is 6 bytes; the source MAC address is used for the obscured frame The length of the field occupied by the sender 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. The length or type of the field is 2 fields. Bytes; data and pad (Data and Pad) are high-level data, usually 3-layer protocol data units, such as IP packets in TCP/IP, occupying field lengths of 46-1500 bytes; frame check A frame check sequence (FCS) is used to provide a method for determining whether a transmission error is transmitted to a receiving network card. If an error is found, the frame is discarded, and the occupied field length is 4 bytes.
又例如802.1Q数据包头格式,如表数据包格式2所示。Another example is the 802.1Q packet header format, as shown in Table Packet Format 2.
数据包格式2Packet format 2
与IEEE802.3的区别在于,802.1Q包含了VLAN包(VLAN Tag),表明其组播的VLAN。其中,802.1Q VLAN Tag占用字段的长度为4bit。802.1Q VLAN包中包括包协议标识(Tag Protocol ID)0x8100,用户优先级(User Priority),规范格式指示(Canonical Format Indicator)和VLAN标识(VLAN ID)。The difference from IEEE802.3 is that 802.1Q contains a VLAN tag (VLAN Tag) indicating its multicast VLAN. The length of the 802.1Q VLAN Tag occupation field is 4 bits. The 802.1Q VLAN packet includes a Tag Protocol ID of 0x8100, a User Priority, a Canonical Format Indicator, and a VLAN ID.
又例如IP数据包包头的格式,如数据包格式3所示。Another example is the format of the IP packet header, as shown in packet format 3.
数据包格式3
Packet format 3
数据包格式3中的版本号(Version)占用的字段长度为4比特,用于表示采用的IP协议的版本号,一般的值为0100(IPv4)或者0110(IPv6)。The version number (Version) in the packet format 3 occupies a field length of 4 bits and is used to indicate the version number of the adopted IP protocol. The general value is 0100 (IPv4) or 0110 (IPv6).
IP包头长度(Header Length)占用的字段长度为4比特,用于描述IP包头的长度,因为在IP包头中有变长的可选部分。该部分占4个bit位,单位为32bit(4个字节),即本区域值=IP头部长度(单位为bit)/(8*4),因此,一个IP包头的长度最长为“1111”,即15*4=60个字节。IP包头最小长度为20字节。The header length occupied by the IP header length is 4 bits, which is used to describe the length of the IP header because there is a variable length optional part in the IP header. This part occupies 4 bits, and the unit is 32 bits (4 bytes), that is, the value of this area = IP header length (in bits) / (8 * 4), therefore, the length of an IP header is the longest. 1111", that is, 15*4=60 bytes. The IP header has a minimum length of 20 bytes.
服务类型(Type of Service)占用的字段长度为8比特。8位按位被如下定义PPPDTRC0。The type of service occupied by the Type of Service is 8 bits long. The 8-bit bitwise bit is defined as PPPDTRC0 as follows.
PPP:定义包的优先级,取值越大数据越重要PPP: defines the priority of the package. The larger the value, the more important the data.
000普通(Routine);000 ordinary (Routine);
001优先的(Priority);001 priority (Priority);
010立即的发送(Immediate);010 immediate transmission (Immediate);
011闪电式的(Flash);011 lightning (Flash);
100比闪电还闪电式的(Flash Override);100 is lightning-fast than Flash (Flash Override);
101CRI/TIC/ECP;101CRI/TIC/ECP;
110网间控制(Internetwork Control);110 Internetwork Control (Internetwork Control);
111网络控制(Network Control)。111 Network Control (Network Control).
需要说明的是,DTRC0中的“D”表示时延(Delay);“T”表示吞吐量(throughput);“R”表示可靠性(reliability);“M”表示传输成本;最后一位的“0”保留,恒定为0。It should be noted that "D" in DTRC0 indicates delay; "T" indicates throughput; "R" indicates reliability; "M" indicates transmission cost; last bit " 0" reserved, constant at 0.
IP包总长(Total Length)占用字段长度为16比特。以字节为单位计算的IP包的长度(包括头部和数据),所以IP包最大长度为65535字节。The total length of the IP packet is 16 bits. The length of the IP packet (including the header and data) calculated in bytes, so the maximum length of the IP packet is 65535 bytes.
标识符(Identifier)占用的字段长度为16比特。该字段和IP标记(Flags)和片偏移(Fragment Offest)字段联合使用,对较大的上层数据包进行分段(fragment)操作。路由器将一个包拆分后,所有拆分开的小包被标记相同的值,以便目的端设备能够区分哪个包属于被拆分开的包的一部分。The length occupied by the identifier (Identifier) is 16 bits. This field is used in conjunction with the IPs (Flags) and Fragment Offest fields to perform fragmentation operations on larger upper layer packets. After the router splits a packet, all the split packets are marked with the same value, so that the destination device can distinguish which packet belongs to a part of the split package.
标记(IP Flags)占用的字段长度为3比特。该字段第一位(X)不使用。第二位是DF(Don't Fragment)位,DF位设为1时表明路由器不能对该上层数据包分段。如果一个上层数据包无法在不分段的情况下进行转发,则路由器会丢弃该上层数据包并返回一个错误信息。第三位是MF(More Fragments)位,当路由器对一个上层数据包分段,则路由器会在除了最后一个分段的IP包的包头中将MF位设为1。其中,第二位“DF”可以简写为“D”;第三位“MF”可以简写为“M”。The fields occupied by the flags (IP Flags) are 3 bits long. The first digit (X) of this field is not used. The second bit is the DF (Don't Fragment) bit. When the DF bit is set to 1, it indicates that the router cannot segment the upper layer data packet. If an upper layer packet cannot be forwarded without fragmentation, the router discards the upper layer packet and returns an error message. The third bit is the MF (More Fragments) bit. When the router segments an upper layer packet, the router sets the MF bit to 1 in the header of the IP packet except the last segment. Among them, the second bit "DF" can be abbreviated as "D"; the third bit "MF" can be abbreviated as "M".
片偏移(Fragment Offset)占用的字段长度为13比特。表示该IP包在该组分片包中的位置,接收端靠该片偏移来组装还原IP包。
The Fragment Offset occupies a field length of 13 bits. Indicates the location of the IP packet in the component packet, and the receiving end assembles the restored IP packet by the slice offset.
生存时间(Time To Live,TTL)占用的字段长度为8比特。当IP包进行传送时,先会对该字段赋予某个特定的值。当IP包经过每一个沿途的路由器的时候,每个沿途的路由器会将IP包的TTL值减少1。如果TTL减少为0,就丢弃该IP包。这个字段可以防止由于路由环路而导致IP包在网络中不停被转发。The length of the field occupied by Time To Live (TTL) is 8 bits. When an IP packet is transmitted, the field is first given a specific value. When an IP packet passes through each router along the way, each router along the way will reduce the TTL value of the IP packet by one. If the TTL is reduced to 0, the IP packet is discarded. This field prevents IP packets from being forwarded throughout the network due to routing loops.
协议(Protocol)占用的字段长度为8比特。标识了上层所使用的协议。比较常用的协议包括:互联网控制报文协议(Internet Control Message Protocol,ICMP)、互联网组管理协议((Internet Group Manage Protocol,IGMP)、传输控制协议(Transmission Control Protocol,TCP)、用户数据报协议(User Datagram Protocol,UDP)、内部网关路由协议((Interior Gateway Routing Protocol,IGRP),开放最短路径优先(Open Shortest Path First,OSPF)属于一个内部网关协议((Interior Gateway Protocol,IGP),等等。The length of the field occupied by the protocol is 8 bits. Identifies the protocol used by the upper layer. Commonly used protocols include: Internet Control Message Protocol (ICMP), Internet Group Management Protocol (IGMP), Transmission Control Protocol (TCP), and User Datagram Protocol ( User Datagram Protocol (UDP), Interior Gateway Routing Protocol (IGRP), Open Shortest Path First (OSPF) belong to an Interior Gateway Protocol (IGP), and so on.
头部校验(Header Checksum)占用的字段长度为16位。用来做IP头部的正确性检测,但不包含数据部分。因为每个路由器要改变TTL的值,所以路由器会为每个通过的数据包重新计算这个值。The header length occupied by the Header Checksum is 16 bits. Used to do the correctness detection of the IP header, but does not contain the data part. Because each router wants to change the value of the TTL, the router recalculates this value for each passed packet.
起源和目标地址(Source and Destination Addresses):这两个字段均占用32比特。标识了这个IP包的起源和目标地址。要注意除非使用网络地址转换(Network Address Translation,NAT),否则整个传输的过程中,这两个地址不会改变。Source and Destination Addresses: Both fields occupy 32 bits. Identifies the origin and destination address of this IP packet. Note that unless you use Network Address Translation (NAT), these two addresses will not change during the entire transfer.
可选项(IP Options)是一个可变长的字段。The IP Options is a variable length field.
根据数据包格式1的以太帧头格式、数据包格式2的802.1Q数据包头格式,以及数据包格式3的IP数据包包头格式的举例可知,结构化的数据包,其头域字段在数据包包头的存储为位置是固定的,因此提出本申请的技术方案,配置结构化的包过滤器来完成数据流的分类与处理,以实现5G网络通信数据传输中对传输的非IP数据包的QoS保障。According to the Ethernet frame header format of the packet format 1, the 802.1Q packet header format of the packet format 2, and the IP packet header format of the packet format 3, the structured packet has its header field in the packet. The storage of the packet header is fixed. Therefore, the technical solution of the present application is proposed, and a structured packet filter is configured to complete classification and processing of the data stream to implement QoS for transmitting non-IP data packets in 5G network communication data transmission. Guarantee.
下面结合附图对本申请的技术方案进行详细的描述。The technical solutions of the present application are described in detail below with reference to the accompanying drawings.
图1为本申请实施例的系统架构图。如图1所示,该系统包括策略功能(Policy Function)设备110,控制面(Control Plane,CP)节点120、用户设备130、用户面节点140和接入网(Accessing Network,AN)150。首先,需要策略功能设备110配置QoS规则,QoS规则中包括结构化的包过滤器。例如,将分组数据单元(Packets data unit,PDU)会话(Session)按照结构化(Structure)的PDU会话类型(type)和非结构化(Unstructure)的PDU类型进行分类。QoS规则中可以包括按照结构化PDU会话类型配置结构化的包过滤器。配置的结构化的包括过滤器如表1所示。结构化的包过滤器可以包括至少一个结构化过滤器规则(SPT rule),例如SPT=(SPF rule 1和SPF rule 2)或者(SPF rule 3和SPF rule 4)或者SPF rule 5,等等。FIG. 1 is a system architecture diagram of an embodiment of the present application. As shown in FIG. 1, the system includes a Policy Function device 110, a Control Plane (CP) node 120, a user equipment 130, a user plane node 140, and an Access Network (AN) 150. First, the policy function device 110 is required to configure QoS rules, and the QoS rules include structured packet filters. For example, a Packet Data Unit (PDU) session is classified according to a structured PDU session type and an Unstructured PDU type. The QoS rules may include configuring structured packet filters in accordance with the structured PDU session type. The configured structured include filters are shown in Table 1. The structured packet filter may include at least one structured filter rule (SPT rule) such as SPT = (SPF rule 1 and SPF rule 2) or (SPF rule 3 and SPF rule 4) or SPF rule 5, and the like.
表1Table 1
其中,表1中的“or”,“and”,“xor”为一种数学运算符。Among them, "or", "and", and "xor" in Table 1 are a kind of mathematical operators.
“or”表示逻辑运算中的“或”。其中,“或”在计算机中用“|”表示。运算规则为:0|0=0;0|1=1;1|0=1;1|1=1;即,参加运算的两个对象只要有一个为1,其值为1。"or" means "or" in a logical operation. Among them, "or" is represented by "|" in the computer. The operation rule is: 0|0=0; 0|1=1; 1|0=1; 1|1=1; that is, as long as one of the two objects participating in the operation is 1, the value is 1.
例如:3|5,即0000 0011|0000 0101=0000 0111因此,3|5的值得7。For example: 3|5, ie 0000 0011|0000 0101=0000 0111 Therefore, the value of 3|5 is 7.
在本申请实施例中,例如,若运算信息为“或”运算(0),则表示数据包在规则中的位置信息中该位置的值与0进行“或”运算,如果结果与匹配信息中的值一致,则该规则满足。In the embodiment of the present application, for example, if the operation information is an OR operation (0), it indicates that the value of the position in the rule in the rule is ORed with 0, if the result is in the matching information. The values are consistent and the rule is satisfied.
又例如:运算信息为(“与”运算=101010),表示数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行“或”运算,结果等于101010即为该规则匹配。For another example, the operation information is ("AND" operation = 011010), indicating that the value of the position in the rule in the rule and the value in the matching information are ORed with each other, and the result is equal to 101010, that is, the rule is matched. .
“and”表示逻辑运算中的“与”。其中,“与”也叫做“和”,计算机中用“&”表示。运算规则为,0&0=0;0&1=0;1&0=0;1&1=1;即,两位同时为1时,结果才为1,否则,为0。例如“3&5,即0000 0011&0101=0000 0001,因此3&5的值得1。"and" means "and" in logical operations. Among them, "and" is also called "and", and the computer is represented by "&". The operation rule is: 00&0=0;0&1=0;1&0=0;1&1=1; that is, when both bits are 1 at the same time, the result is 1, otherwise, it is 0. For example, "3&5, ie 0000 0011 & 0101 = 0000 0001, so 3 & 5 is worth 1.
在本申请实施例中,例如:若运算信息为“与”运算(0),则表示数据包在规则中的位置信息中该位置的值与0进行“与”运算,如果结果与匹配信息中的值一致,则该规则满足。In the embodiment of the present application, for example, if the operation information is an AND operation (0), it indicates that the value of the position in the rule in the rule is ANDed with 0, if the result is in the matching information. The values are consistent and the rule is satisfied.
又例如:若运算信息为“与”运算=101010,则标书数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行“与”运算,结果等于101010即为与该规则匹配。For another example, if the operation information is an AND operation = 101010, the value of the position in the position information of the tender data packet and the value in the matching information are ANDed with each other, and the result is equal to 101010. match.
“xor”标识逻辑运算中的“异或(exclusive OR,简称xor)”。其中,运算规则为:如果a、b两个值不相同,则异或结果为1;如果a、b两个值相同,异或结果为0。"xor" identifies the exclusive OR (xor) in the logical operation. The operation rule is: if the two values of a and b are not the same, the XOR result is 1; if the two values of a and b are the same, the XOR result is 0.
在本申请实施例中,例如:若运算信息为(异或(0))则表示数据包在规则中的位置信息中该位置的值与0进行异或运算,如果结果与匹配信息中的值一致,则该规则满足。In the embodiment of the present application, for example, if the operation information is (exclusive OR (0)), it indicates that the value of the position in the rule in the rule is XORed with 0, if the result and the value in the matching information Consistent, the rule is satisfied.
又例如,若运算信息为(异或=101010),则表示数据包在规则中的位置信息中该位置的值与匹配信息中的值相互进行异或运算,结果等于101010即为该规则匹配。For another example, if the operation information is (exclusive or 0101010), it indicates that the value of the position in the rule in the rule is XORed with the value in the matching information, and the result is equal to 101010, that is, the rule is matched.
另外,表1中的“0xff”表示16进制。In addition, "0xff" in Table 1 indicates hexadecimal.
在本申请实施例中,结构化的数据包过滤器可以简称为包过滤器;结构化过滤器规则可以简称为包过滤器规则。In the embodiment of the present application, the structured packet filter may be simply referred to as a packet filter; the structured filter rule may be simply referred to as a packet filter rule.
每个包过滤器规则可以包括位置(location)信息、操作(Operation)或者运算信息,以及匹配信息(或者称为匹配值(match data))。Each packet filter rule may include location information, operation or operation information, and matching information (or called match data).
策略功能设备110配置好QoS规则后,将QoS规则发送给CP 120;CP 120接收到QoS规则后,分别通过NG1接口、NG4接口将QoS规则发送给UE 130、UP 140。在本申请实施例中,CP 120还可以将QoS规则通过NG2接口发送给AN 150。AN 150用于为UE130提供无线接入服务。AN 150可以为基站eNodeB,接入点(Access Point,AP)等,但不仅限于此。UE 130和UP 140接收到QoS规则后保存QoS规则。After the QoS rule is configured, the policy function device 110 sends the QoS rule to the CP 120. After receiving the QoS rule, the CP 120 sends the QoS rule to the UE 130 and the UP 140 through the NG1 interface and the NG4 interface. In the embodiment of the present application, the CP 120 may also send the QoS rule to the AN 150 through the NG2 interface. The AN 150 is used to provide wireless access services for the UE 130. The AN 150 may be a base station eNodeB, an access point (AP), etc., but is not limited thereto. The UE 130 and the UP 140 save the QoS rules after receiving the QoS rules.
当UE和UP接收到数据流后,将数据流匹配不同的SPF,来确定传输该数据流所采用的QoS,实现了数据流的分流,保证了数据流的QoS控制。After the UE and the UP receive the data stream, the data stream is matched with different SPFs to determine the QoS used to transmit the data stream, and the data stream is shunted to ensure the QoS control of the data stream.
例如,UE需要传输上行数据,需要与包过滤器匹配,例如包过滤器的SPF rule为SPF rule 1,根据运算信息“=”对上行数据0bit位的数据进行运算,得到匹配值,若匹配值与
SPF rule 1中匹配信息1相等,则UE采用SPF rule 1对应的承载传输该上行数据。For example, the UE needs to transmit uplink data, and needs to match the packet filter. For example, the SPF rule of the packet filter is SPF rule 1, and the data of the 0 bit of the uplink data is calculated according to the operation information “=” to obtain a matching value. versus
If the matching information 1 is equal in the SPF rule 1, the UE transmits the uplink data by using the bearer corresponding to the SPF rule 1.
图2为本申请实施例提供的一种数据传输的控制方法流程图。如图2所示,该方法可以包括以下步骤:FIG. 2 is a flowchart of a method for controlling data transmission according to an embodiment of the present application. As shown in FIG. 2, the method may include the following steps:
S210,获取数据包过滤器。S210. Acquire a packet filter.
其中,数据包过滤器包括位置信息和过滤条件,该过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The data packet filter includes location information and a filtering condition, where the filtering 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.
在本申请的一个实施例中,过滤条件可以包括运算信息和匹配信息,匹配信息包括待比较数据,待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系时为满足过滤条件,也可称为满足匹配条件。In an embodiment of the present application, the filtering condition may include operation information and matching information, and the matching information includes data to be compared, and the filtering condition is satisfied when the relationship between the data to be transmitted and the data to be compared conforms to the logical relationship specified in the operation information. It can be said that the matching condition is satisfied.
位置信息指示了在待传输数据包中,对应该位置信息所指示的位置上的待传输数据,匹配信息可以为不同协议类型中,结构化数据包包头中特定位置的信息,例如IP协议类型中的目标MAC地址信息、源MAC地址信息或协议类型中任一项等;运算信息规定了一种逻辑关系,该逻辑比较关系如表1至表5所示,可为大于、等于、小于、大于或等于,小于或等于,和、或以及16进制转换等;若位置信息所指示的待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系,则将该数据包分配到与该包过滤器对应的服务质量QoS传输处理机制上进行数据传输。其中,QoS传输处理机制的功能类似与4G通信系统中,EPS承载,简称承载的功能。The location information indicates the data to be transmitted at the location indicated by the location information in the to-be-transmitted data packet, and the matching information may be information of a specific location in the structured data packet header in different protocol types, such as an IP protocol type. The target MAC address information, the source MAC address information, or any of the protocol types; the operation information defines a logical relationship, and the logical comparison relationship is as shown in Tables 1 to 5, and may be greater than, equal to, less than, greater than Or equal to, less than or equal to, and, or hexadecimal conversion, etc.; if the relationship between the data to be transmitted and the data to be compared indicated by the location information conforms to the logical relationship specified in the operation information, the data packet is allocated to Data transmission is performed on the quality of service QoS transmission processing mechanism corresponding to the packet filter. Among them, the function of the QoS transmission processing mechanism is similar to that of the 4G communication system, the EPS bearer, referred to as the bearer function.
包过滤器中的位置信息可以是根据对现有的结构化的协议进行分析,确定相应的需要用于策略匹配判断的位置信息。如IP协议中的IP五元组所在的位置信息,如以太网协议中的MAC地址的位置信息。或者是运营商自己封装的数据包所用的协议的关键头域的位置信息,如运营商把非IP包用IP协议进行封装,则位置信息就是IP协议中的IP五元组所在的位置信息。The location information in the packet filter may be based on an analysis of an existing structured protocol to determine 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.
包过滤器中的匹配信息可以根据对现有的结构化的协议进行分析以及具体策略,确定相应的需要用于策略匹配判断的位置信息相关的匹配信息。例如:此策略为对所有访问A服务器的数据流的提供统一一QoS保障,那么此时匹配信息为A服务器的IP地址。可选的,位置信息在网络节点为IP协议中源地址所在的位置信息,位置信息在UE为IP协议中目的地址所在的位置信息。The matching information in the packet filter may be based on an analysis of the existing structured protocol and a specific policy to determine corresponding matching information related to the location information required for the policy matching judgment. For example, this policy provides a unified QoS guarantee for all data flows accessing the A server, and then the matching information is the IP address of the A server. Optionally, the location information is location information where the source node is located in the IP protocol, and the location information is location information where the UE is the destination address in the IP protocol.
在本发明的一个实施例中,包过滤器可以包括至少一个包过滤规则,每个包过滤器包括位置信息、运算信息,以及匹配信息。In one embodiment of the invention, the packet filter may include at least one packet filtering rule, each packet filter including location information, operational information, and matching information.
例如表1所示的SPF rule 1,指示数据传输装置根据位置信息bit 0确定所要传输的数据包的bit 0位的数据,若该bit0位上的数据,和匹配信息中的数据相等,而运算信息中规定的规则为“=”,则在SPF rule 1对应的承载,或者称为Qos传输处理机制上传输该数据包。For example, the SPF rule 1 shown in Table 1 instructs the data transmission device to determine the data of the bit 0 bits of the data packet to be transmitted according to the position information bit 0, and if the data on the bit 0 bit is equal to the data in the matching information, the operation is performed. If the rule specified in the message is “=”, the packet is transmitted on the bearer corresponding to SPF rule 1, or called the QoS transmission processing mechanism.
若该bit0位上的数据,和匹配信息中的数据不相等,而运算信息中规定的规则为“=”,则将该数据包与其他的包过滤器进行匹配。If the data on the bit 0 bit is not equal to the data in the matching information, and the rule specified in the operation information is "=", the packet is matched with other packet filters.
在本申请实施例中,可以是图1中的策略功能设备配置的包过滤器,控制面节点CP接收策略功能设备发送的服务质量QoS规则,QoS规则中包括配置好的包过滤器。In the embodiment of the present application, the packet filter configured by the policy function device in FIG. 1 may be used, and the control plane node CP receives the quality of service QoS rule sent by the policy function device, where the QoS rule includes the configured packet filter.
在本申请实施中,也可以是控制面节点从策略功能设备中获取服务质量QoS规则,在本申请实施例中对此不作限制。
In the implementation of the present application, the control plane node may obtain the QoS rule from the policy function device, which is not limited in this embodiment.
在本申请实施例中,配置的包过滤器可以根据需求进行设置。In the embodiment of the present application, the configured packet filter can be set according to requirements.
例如,IEEE802.3数据包包头如数据包格式1所示,其中,前导码(preamble)、帧开始符(SDF)和帧校验序列(FCS)在网卡内部处理,在上层不会体现。针对IEEE802.3配置的包过滤器可以主要通过目标MAC地址,源MAC地址和协议类型进行配置,例如配置的IEEE802.3的包过滤器如表2所示。For example, the IEEE 802.3 packet header is as shown in packet format 1, in which the preamble, the frame start symbol (SDF), and the frame check sequence (FCS) are processed inside the network card and are not reflected in the upper layer. The packet filter configured for IEEE802.3 can be configured mainly by the target MAC address, the source MAC address, and the protocol type. For example, the configured IEEE 802.3 packet filter is as shown in Table 2.
表2Table 2
在本申请实施例中,IEEE802.3配置的包过滤器可以包括多个SPF rule。例如包过滤器=SPF rule 1+SPF rule 2;或者包过滤器=SPF rule 1;或者包过滤器=SPF rule 2;或者包过滤器=SPF rule 3;或者过滤器=SPF rule 1+SPF rule 2+SPF rule 3。In the embodiment of the present application, the packet filter configured by IEEE802.3 may include multiple SPF rules. For example, packet filter = SPF rule 1 + SPF rule 2; or packet filter = SPF rule 1; or packet filter = SPF rule 2; or packet filter = SPF rule 3; or filter = SPF rule 1 + SPF rule 2+SPF rule 3.
其中,SPF rule 1、SPF rule 2可以分别来自两个不同MAC地址的设备,例如SPF rule 1来自目标MAC地址的设备,SPF rule 2来自源MAC地址的设备;SPF rule3可以为协议类型,例如:IP/PPP。The SPF rule 1 and the SPF rule 2 may be respectively from two devices with different MAC addresses, for example, the SPF rule 1 device from the destination MAC address, the SPF rule 2 device from the source MAC address, and the SPF rule 3 may be a protocol type, for example: IP/PPP.
又例如,在802.1Q场景下,如数据包格式2所示,配置的包过滤器可以如表3和表4所示。For another example, in an 802.1Q scenario, as shown in packet format 2, the configured packet filters can be as shown in Tables 3 and 4.
表3table 3
表4Table 4
又例如,IP数据包的包过滤器配置,IP数据包的包头格式如数据包格式3所示,设置的包过滤器可以如表5所示。
For another example, the packet filter configuration of the IP data packet, the packet header format of the IP data packet is as shown in the data packet format 3, and the set packet filter can be as shown in Table 5.
表5table 5
同样,TCP数据包的包过滤器也可以设置为表5的形式,为简洁描述,在这里不再赘述。Similarly, the packet filter of the TCP packet can also be set to the form of Table 5, which is not described here.
在4G网络的数据包处理过程中,过滤器(filter)是通过五元组(目标地址、源地址、目标端口、源端口和协议类型)对数据进行匹配的,在本申请的技术方案中TCP/IP数据包匹配的是数据包包头(或者头域)中对应的五元组所在位置的值。In the packet processing process of the 4G network, the filter matches the data through the quintuple (target address, source address, target port, source port, and protocol type). In the technical solution of the present application, TCP The /IP packet matches the value of the location of the corresponding quintuple in the packet header (or header field).
控制面节点向数据传输装置发送服务质量QoS规则,QoS规则包括包过滤器。在本申请的一个实施例中,数据传输装置可以为用户设备和用户面节点。The control plane node sends a quality of service QoS rule to the data transmission device, the QoS rule including a packet filter. In one embodiment of the present application, the data transmission device can be a user equipment and a user plane node.
S220,向用户设备发送数据包过滤器。S220. Send a packet filter to the user equipment.
S230,向用户面节点发送数据包过滤器。S230. Send a packet filter to the user plane node.
控制面节点将获取到的QoS规则分别发送给用户设备UE和用户面节点UP,以便于UE和UP需要传输数据时,将所要传输的数据与数据包过滤器进行匹配,实现所要传输数据的数据流的分流,保证所要传输数据的QoS保障。The control plane node sends the acquired QoS rules to the user equipment UE and the user plane node UP respectively, so that when the UE and the UP need to transmit data, the data to be transmitted is matched with the data packet filter to implement data of the data to be transmitted. The shunting of the flow guarantees the QoS guarantee of the data to be transmitted.
UE和UP分别接收到CP发送的QoS规则之后,保存接收到的QoS规则,需要说明的是,QoS规则中包括包过滤器,包过滤器可以包括至少一个包过滤器规则(SPF rule),每个SPF rule中可以包括位置信息、操作或者运算信息,以及匹配信息。After receiving the QoS rule sent by the CP, the UE and the UP respectively save the received QoS rule. It should be noted that the QoS rule includes a packet filter, and the packet filter may include at least one packet filter rule (SPF rule). The SPF rule can include location information, operation or operation information, and matching information.
S240,当用户设备传输待传输数据时,用户设备将待传输数据与数据包过滤器匹配。S240. When the user equipment transmits the data to be transmitted, the user equipment matches the data to be transmitted with the data packet filter.
在本申请实施例中,用户设备传输的待传输数据可以称为上行数据。上行数据为UE向网络侧发送的数据,例如UE向AN发送的数据。In the embodiment of the present application, the data to be transmitted transmitted by the user equipment 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.
UE根据包过滤器的SPF rule对上行数据进行匹配,或者说过滤,通过SPF rule中的位置信息、运算信息和匹配信息对上行数据进行匹配,例如优先匹配的包过滤器为IEEE802.3的包过滤器,包过滤器包括一个SPF rule2,SPF rule2的位置信息为“bit6-11”;运算信息为“=”;匹配信息为“源MAC地址”,那么,UE判断上行数据中的bit 6-11位的数据和源MAC地址”数据满足“=”的关系,则匹配成功,执行S250。The UE matches the uplink data according to the SPF rule of the packet filter, or filters, and matches the uplink data by using the location information, the operation information, and the matching information in the SPF rule, for example, the packet filter whose priority is matched is the IEEE802.3 packet. Filter, the packet filter includes an SPF rule2, the location information of the SPF rule2 is "bit6-11"; the operation information is "="; the matching information is "source MAC address", then the UE determines the bit 6- in the uplink data. If the 11-bit data and the source MAC address "data satisfy the relationship of "=", the matching is successful, and S250 is executed.
又例如,优先匹配的包过滤器为802.1Q的包过滤器1,包过滤器1包括SPF rule1,SPF rule1的位置信息为“bit 12-14”;运算信息为“=”;匹配信息为“VLAN Tag
协议”,那么,UE判断上行数据中的bit 12-14位的数据和“VLAN Tag协议”的数据满足“=”的关系,则匹配成功,执行S250。For another example, the packet filter with priority matching is the packet filter 1 of 802.1Q, the packet filter 1 includes SPF rule1, the location information of SPF rule1 is “bit 12-14”; the operation information is “=”; the matching information is “ VLAN Tag
Then, the UE determines that the data of the bit 12-14 bits in the uplink data and the data of the "VLAN Tag Protocol" satisfy the relationship of "=", the matching is successful, and S250 is performed.
又例如,优先匹配的是IP数据包的包过滤器,包过滤器包括一个SPF rule1,SPF rule1的位置信息为“bit 12-15”;运算信息为“=”;匹配信息为“源地址”,那么,UE判断上行数据中的bit 12-15位的数据进行和“源地址”数据满足“=”的关系则匹配成功,执行S250。For another example, the packet matching filter of the IP packet is preferentially matched, and the packet filter includes an SPF rule1, the location information of the SPF rule1 is “bit 12-15”; the operation information is “=”; the matching information is “source address”. Then, the UE determines that the data of the bit 12-15 bits in the uplink data and the "source address" data satisfy the relationship of "=", and the matching is successful, and S250 is performed.
需要说明的是,在本申请实施例中,UE将上行数据与包过滤器进行匹配时,不需要确定是哪种协议的包过滤器,以上的优先匹配的是IEEE802.3的包过滤器,802.1Q的包过滤器1,以及IP数据包的包过滤器仅仅是为了通过具体的例子说明本申请的技术方案。It should be noted that, in the embodiment of the present application, when the UE matches the uplink data with the packet filter, it is not necessary to determine which protocol packet filter is used, and the above priority matches the packet filter of IEEE802.3. The packet filter 1 of 802.1Q and the packet filter of the IP packet are merely for explaining the technical solution of the present application by way of specific examples.
若匹配不成功,则将该上行数据与该过滤包中的其他SPF rule进行匹配,若该上行数据与该包过滤器中任一SPF rule均为匹配成功,则将该上行数据与次级匹配的包过滤器进行匹配,直到匹配成功,UE采用匹配成功的SPF rule对应的承载传输该上行数据。If the matching is unsuccessful, the uplink data is matched with other SPF rules in the filtering packet. If the uplink data is successfully matched with any SPF rule in the packet filter, the uplink data is matched with the secondary data. The packet filter is matched until the match is successful, and the UE transmits the uplink data by using the bearer corresponding to the SPF rule that is successfully matched.
若UE将上行数据与所有的包过滤器进行匹配后,依然没有匹配成功的包过滤器,则UE采用默认(default)的承载传输该上行数据。If the UE does not match the packet filter after the uplink data is matched with all the packet filters, the UE uses the default bearer to transmit the uplink data.
S250,用户设备采用待传输数据匹配的包过滤器对应的QoS传输处理机制传输待传输数据。S250. The user equipment transmits the data to be transmitted by using a QoS transmission processing mechanism corresponding to the packet filter to which the data to be transmitted is matched.
S260,当用户面节点传输待传输数据时,用户面节点将待传输数据与包过滤器匹配。S260. When the user plane node transmits the data to be transmitted, the user plane node matches the data to be transmitted with the packet filter.
在本申请实施例中,待传输数据可以称为下行数据。下行数据为网络侧向UE发送的数据,例如UP向UE发送的数据。In the embodiment of the present application, the data to be transmitted may be referred to as downlink data. The downlink data is data sent by the network side to the UE, for example, data sent by the UP to the UE.
UP根据包过滤器的SPF rule对下行数据进行匹配,通过SPF rule中的位置信息、运算信息和匹配信息对下行数据进行匹配,例如包优先匹配的过滤器包括SP rule,SPF rule的位置信息为“bit23-48”;运算信息为“=”;匹配信息为“16进制的12,16进制的34,16进制的56”,那么,UE判断下行数据中的bit23-48位的数据和匹配信息的数据满足“=”的关系,则匹配成功,执行S270。The UP matches the downlink data according to the SPF rule of the packet filter, and matches the downlink data by using the location information, the operation information, and the matching information in the SPF rule. For example, the packet matching priority filter includes the SP rule, and the location information of the SPF rule is "bit23-48"; the operation information is "="; the matching information is "hexadecimal 12, hexadecimal 34, hexadecimal 56", then the UE judges the bit 23-48 bits of data in the downlink data. If the data of the matching information satisfies the relationship of "=", the matching is successful, and S270 is executed.
其UP将下行数据与包过滤器进行匹配的过程与UE将上行数据与包过滤器匹配的过程相同,为简洁描述,在这里不再赘述。The process in which the UP matches the downlink data with the packet filter is the same as the process in which the UE matches the uplink data with the packet filter. For brevity, it will not be described here.
若匹配不成功,则将该下行数据与该过滤包中的其他SPF rule进行匹配,若该下行数据与该包过滤器中任一SPF rule均为匹配成功,则将该下行数据与次级匹配的包过滤器进行匹配,直到匹配成功,UE采用匹配成功的SPF rule对应的承载传输该上行数据。If the matching is unsuccessful, the downlink data is matched with other SPF rules in the filtering packet. If the downlink data matches any SPF rule in the packet filter, the downlink data is matched with the secondary. 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.
若UP将下行数据与所有的包过滤器进行匹配后,依然没有匹配成功的包过滤器,则UP采用默认(default)的承载传输该下行数据。If the UP matches the downlink data with all the packet filters, and there is still no matching packet filter, the UP uses the default bearer to transmit the downlink data.
S270,用户面节点采用待传输数据匹配的包过滤器对应的承载传输待传输数据。S270. The user plane node transmits the data to be transmitted by using a bearer corresponding to the packet filter to which the data to be transmitted is matched.
需要说明的是,在本申请的各种实施例中,S220与S230,S240与S250,以及S260和S270序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
It should be noted that, in various embodiments of the present application, the sizes of S220 and S230, S240 and S250, and S260 and S270 are not meant to be sequential, and the execution order of each process should be based on its function and internality. The logic is determined without any limitation on the implementation process of the embodiments of the present application.
本申请实施例的数据传输的控制方法,通过配置结构化的数据包的包过滤器,并将包括数据包过滤器的服务质量QoS规则分别发送给用户设备和用户面节点,以便于用户设备和用户面节点分别根据数据包过滤器对传输的数据流进行过滤,将数据流分流到不同的承载上传输,保证了传输结构化的数据包,例如非IP数据包的QoS保障。The data transmission control method of the embodiment of the present application, by configuring a packet filter of the structured data packet, and transmitting the quality of service QoS rule including the data packet filter to the user equipment and the user plane node respectively, so as to facilitate the user equipment and The user plane node filters the transmitted data stream according to the packet filter, and distributes the data stream to different bearers for transmission, thereby ensuring transmission of structured data packets, such as QoS guarantee of non-IP data packets.
在本申请实施例提供的数据传输的控制方法,相对于4G传输数据的处理方法的不同之处在于,在本申请的技术方案中,UE和UP不需要知道所传输数据所属的协议类型,只需要按照包过滤器中的位置信息指示,完成相应的运算,并判断操作后的值是否与匹配信息一致,若一致,则匹配成功,UE或UP可以采用所匹配的SPF rule对应的承载传输数据,实现了所要传输数据的数据流的分流,实现了所传输结构化数据的QoS保障。The method for controlling data transmission provided by the embodiment of the present application is different from the method for processing data transmitted by 4G. In the technical solution of the present application, the UE and the UP do not need to know the protocol type to which the transmitted data belongs. According to the location information in the packet filter, the corresponding operation is performed, and the value of the operation is consistent with the matching information. If the matching is successful, the matching is successful, and the UE or the UP can use the bearer transmission data corresponding to the matched SPF rule. 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.
可选地,在本申请实施例中,QoS规则还可以包括包过滤器的匹配优先级信息,用于指示用户设备或用户面节点按照包过滤器的匹配优先级信息对数据进行匹配。Optionally, in the embodiment of the present application, the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the user equipment or the user plane node matches the data according to the matching priority information of the packet filter.
例如:UE需要传输上行数据时,按照包过滤器的匹配优先级信息确定将上行数据优先与哪个包过滤器进行匹配,若与优先匹配的包过滤器匹配成功,则UE将上行数据采用优先匹配的包过滤器对应的承载传输该上行数据。若该上行数据没有与优先匹配的包过滤器匹配成功,则将该上行数据与匹配优先级信息中优先顺序排序次级的包过滤器进行匹配,依次对上行数据进行匹配。For example, when the UE needs to transmit the uplink data, it determines, according to the matching priority information of the packet filter, which packet filter is preferentially matched with the packet filter. If the packet matching with the preferential matching succeeds, the UE preferentially matches the uplink data. The corresponding packet of the packet filter transmits the uplink data. If the uplink data does not match the packet filter that matches the priority match, 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.
UP传输下行数据时,将下行数据与包过滤器进行匹配的过程与UE将上行数据与包过滤器匹配的过程相同,为简洁描述,在此不再赘述。When the downlink data is transmitted by the UP, the process of matching the downlink data with the packet filter is the same as the process of matching the uplink data with the packet filter by the UE, and is not described here.
采用本申请实施例提供的数据传输的控制方法,可以根据业务的优先级,有效保证业务的QoS。The data transmission control method provided by the embodiment of the present application can effectively guarantee the QoS of the service according to the priority of the service.
可选地,在本申请实施例中,位置信息可以包括相对位置信息、位置偏移量信息和定位顺序格式信息。Optionally, in the embodiment of the present application, the location information may include relative location information, location offset information, and positioning sequence format information.
位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量。例如:数据并不是从数据包包头的第1bit开始的,而是从数据包包头的第4bit为开始,则位置偏移量信息为3bit。The position offset information is used to indicate the offset of the location of the data relative to the start of the packet header. For example, the data does not start from the first bit of the packet header, but starts from the 4th bit of the packet header, and the position offset information is 3 bits.
相对位置信息用于指示数据位于数据包的位置。例如:数据位于数据包的第8-15bit。Relative location information is used to indicate where the data is located in the packet. For example: the data is located in the 8-15th bit of the packet.
定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。例如:数据所在位置相对数据包包头依从左向右的定位顺序格式进行定位,若相对位置信息为第6bit,则从左向右的方式定位该第6bit的位置,确定第6bit的数据。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. For example, the location of the data is located in the positioning order format from the left to the right of the packet header. If the relative position information is the sixth bit, the position of the sixth bit is located from left to right, and the data of the sixth bit is determined.
采用本申请实施例的技术方案,可以快速确定数据,并对数据进行匹配,提高了数据传输的速度,且保证了传输非IP数据包的QoS保障。With the technical solution of the embodiment of the present application, data can be quickly determined, and the data is matched, the speed of data transmission is improved, and the QoS guarantee for transmitting non-IP data packets is guaranteed.
上文的图2详细描述了本申请实施例提供的数据传输的控制方法,下面结合附图3至5对本申请实施例提供的装置,即控制面节点,用户设备和用户面节点进行详细描述。The control method of the data transmission provided by the embodiment of the present application is described in detail in FIG. 2 above. The apparatus provided in the embodiment of the present application, namely, the control plane node, the user equipment and the user plane node, are described in detail below with reference to FIGS.
图3为本申请实施例提供的一种装置,该装置可以为控制面节点,即图1中的CP 120。如图3所示,该控制面节点可以包括获取单元310和发送单元320。其中,
在本申请实施例中,获取单元310可以为接收单元,也可以为接收器;发送单元320可以为发送器。FIG. 3 is a device provided by an embodiment of the present application, and the device may be a control plane node, that is, the CP 120 in FIG. 1 . As shown in FIG. 3, the control plane node may include an obtaining unit 310 and a transmitting unit 320. among them,
In the embodiment of the present application, the obtaining unit 310 may be a receiving unit or a receiver; the sending unit 320 may be a transmitter.
获取单元310,用于获取数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。。The obtaining unit 310 is configured to acquire a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism. .
发送单元320,用于向数据传输装置发送数据包过滤器,数据包过滤器用于数据传输装置将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。The sending unit 320 is configured to send a data packet filter to the data transmission device, where the 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.
在本申请的一个实施例中,数据传输装置可以为用户设备和/或用户面节点。In one embodiment of the present application, the data transmission device can be a user equipment and/or a user plane node.
可选地,在本申请实施例中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系时为满足过滤条件,也可称为满足匹配条件。Optionally, in the embodiment of the present application, the filtering condition includes the operation information and the matching information, where the matching information includes the data to be compared, and the filtering condition is met when the relationship between the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information. It can also be said to satisfy the matching condition.
获取单元310从策略功能设备(如图1中策略功能设备110)中获取QoS规则,该规则中包括配置好的数据包过滤器。在本申请实施例中,获取单元310获取的QoS规则可以为多个,每个QoS规则通过特定的QoS传输处理机制进行数据传输,每个QoS规则都包括与之对应的包过滤器,每个包过滤器包括位置信息、运算信息和匹配信息,以便于通过包过滤器对所要传输的数据进行匹配,确定出传输数据所采用的QoS规则,以完成数据传输的QoS保障。通过包过滤器对数据进行匹配的具体描述过程,请参见图2中S240或S260,为简洁描述,在这里不再赘述。The obtaining unit 310 acquires a QoS rule from the policy function device (such as the policy function device 110 in FIG. 1), and the rule includes a configured packet filter. In the embodiment of the present application, the acquiring unit 310 may obtain multiple QoS rules, and each QoS rule performs data transmission through a specific QoS transmission processing mechanism, and each QoS rule includes a packet filter corresponding thereto, and each The packet filter includes location information, operation information and matching information, so as to match the data to be transmitted through the packet filter, and determine the QoS rules used for transmitting the data to complete the QoS guarantee of the data transmission. For a detailed description of the data matching by the packet filter, refer to S240 or S260 in Figure 2. For brevity, it will not be described here.
需要说明的是,在本发明实施例中,QoS传输处理机制的功能类似与4G通信系统中的EPS承载,简称承载的功能。It should be noted that, in the embodiment of the present invention, the function of the QoS transmission processing mechanism is similar to the EPS bearer in the 4G communication system, which is referred to as the bearer function.
可选地,在本申请实施例中,位置信息可以包括相对位置信息、位置偏移量信息和定位格式信息。相对位置信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。Optionally, in the embodiment of the present application, the location information may include relative location information, location offset information, and positioning format information. The relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
在本申请实施例中,可以为获取单元310接收策略功能设备发送的QoS规则,QoS规则包括包过滤器。In the embodiment of the present application, the acquiring unit 310 may receive the QoS rule sent by the policy function device, where the QoS rule includes a packet filter.
需要说明的是,在本申请实施例中,包过滤器的的具体形式,可以参见表1,以及表2至表5的几种具体举例。It should be noted that, in the embodiment of the present application, the specific form of the packet filter can be referred to Table 1, and several specific examples of Tables 2 to 5.
可选地,在本申请实施例中,包过滤器可以包括至少一个包过滤规则,每个包过滤器包括所述位置信息、所述运算信息,以及所述匹配信息。Optionally, in the embodiment of the present application, the packet filter may include at least one packet filtering rule, where each packet filter includes the location information, the operation information, and the matching information.
可选地,在本申请实施例中,获取单元310获取的QoS规则还可以包括包过滤器的匹配优先级信息,用于指示数据传输装置按照包过滤器的匹配优先级信息对数据进行匹配。Optionally, in the embodiment of the present application, the QoS rule acquired by the obtaining unit 310 may further include matching priority information of the packet filter, and is used to instruct the data transmission device to match the data according to the matching priority information of the packet filter.
在本申请实施例中,如图3所示,该控制面节点还可以包括存储单元330,用于存储获取单元310获取到的QoS规则。需要说明的是,在本申请实施例中,存储单元330可以为存储器。In the embodiment of the present application, as shown in FIG. 3, the control plane node may further include a storage unit 330, configured to store the QoS rule acquired by the obtaining unit 310. It should be noted that, in the embodiment of the present application, the storage unit 330 may be a memory.
当获取单元310获取到QoS规则后,分别将QoS规则发送给用户设备和用户面节点,以便于用户设备和用户面节点传输数据时,通过QoS规则包括的包过滤器对所要传输的数据进行过滤,以实现将数据流进行分流,并实现非结构化的数据包,例如IP包的QoS保障。
After the acquiring unit 310 obtains the QoS rule, the QoS rule is respectively sent to the user equipment and the user plane node, so that when the user equipment and the user plane node transmit data, the data to be transmitted is filtered by the packet filter included in the QoS rule. To achieve the offloading of data streams and to achieve unstructured data packets, such as QoS guarantees for IP packets.
通过配置结构化的数据包的包过滤器,并将包括数据包过滤器的服务质量QoS规则分别发送给用户设备和用户面节点,以便于用户设备和用户面节点分别根据数据包过滤器对传输的数据流进行过滤,将数据流分流到不同的承载上传输,保证了传输结构化数据包,例如非IP数据包的QoS保障。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 user equipment and the user plane node, respectively, so that the user equipment and the user plane node respectively transmit according to the packet filter pair. The data stream is filtered, and the data stream is offloaded to different bearers for transmission, which ensures the transmission of structured data packets, such as QoS guarantee for non-IP data packets.
图4为本申请实施例提供的另一种装置,该装置可以为用户设备,如图1中的用户设备130。如图4所示,该用户设备可以包括接收单元410和处理单元420。在本申请实施例中,接收单元410可以为接收器,处理单元可以为处理器,发送单元可以为发送器。FIG. 4 is another device provided by the embodiment of the present application, and the device may be a user equipment, such as the user equipment 130 in FIG. 1 . As shown in FIG. 4, the user equipment may include a receiving unit 410 and a processing unit 420. In the embodiment of the present application, the receiving unit 410 may be a receiver, the processing unit may be a processor, and the sending unit may be a transmitter.
接收单元410,用于接收数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The receiving unit 410 is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
当用户设备传输上行数据时,处理单元420根据位置信息和过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。。When the user equipment transmits the uplink data, the processing unit 420 allocates the data to be transmitted to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition. .
在本申请实施例中,用户设备的接收单元410接收控制面节点发送的QoS规则,该QoS规则中包括包过滤器。在本申请实施例中,每个包过滤器中可以包括至少一个包过滤规则,每个包过滤规则中包括位置信息、运算信息和匹配信息。In the embodiment of the present application, the receiving unit 410 of the user equipment receives the QoS rule sent by the control plane node, where the QoS rule includes a packet filter. In the embodiment of the present application, each packet filter may include at least one packet filtering rule, and each packet filtering rule includes location information, operation information, and matching information.
可选地,在本申请实施例中,位置信息还可以包括相对位置信息、位置偏移量信息和定位格式信息。相对位置信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。Optionally, in the embodiment of the present application, the location information may further include relative location information, location offset information, and positioning format information. The relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
可选地,在本申请实施例中,用户设备130还可以包括发送单元430,用于发送待传输数据。Optionally, in the embodiment of the present application, the user equipment 130 may further include a sending unit 430, configured to send data to be transmitted.
在本申请实施例中,如图4所示,该用户设备还可以包括存储单元440,用于存储接收到的QoS规则。需要说明的是,存储单元440可以为存储器。In the embodiment of the present application, as shown in FIG. 4, the user equipment may further include a storage unit 440, configured to store the received QoS rules. It should be noted that the storage unit 440 can be a memory.
当用户设备需要传输上行数据时,用户设备的处理单元420将所要传输的上行数据与包过滤器进行匹配,具体匹配过程请参数图2中S240的描述,为简洁描述,在这里不再赘述。When the user equipment needs to transmit the uplink data, the processing unit 420 of the user equipment matches the uplink data to be transmitted with the packet filter. For the specific matching process, please refer to the description of S240 in FIG. 2 for brevity, and details are not described herein again.
当上行数据与包过滤器匹配成功时,用户设备的发送单元430将所述上行数据通过匹配的包过滤器对应的承载进行传输,完成数据流的分流,完成了结构化数据包的QoS保障。When the uplink data is successfully matched with the packet filter, the sending unit 430 of the user equipment transmits the uplink data through the bearer corresponding to the matched packet filter, completes the offloading of the data stream, and completes the QoS guarantee of the structured data packet.
可选地,在本申请实施例中,QoS规则还包括包过滤器的匹配优先级信息,匹配优先级信息用于指示用户设备按照所述包过滤器的匹配优先级信息对上行数据进行匹配。Optionally, in the embodiment of the present application, the QoS rule further includes matching priority information of the packet filter, where the matching priority information is used to indicate that the user equipment matches the uplink data according to the matching priority information of the packet filter.
图5为本申请实施例提供的另一种装置,该装置可以用户面节点,该节点可以为图1中的用户面节点140。如图5所示,该用户面节点可以包括接收单元510和处理单元520。在本申请实施例中,接收单元510可以为接收器,处理单元520可以为处理器,发送单元530可以为发送器。FIG. 5 is another apparatus provided by an embodiment of the present application. The device may be a user plane node, and the node may be the user plane node 140 in FIG. 1 . As shown in FIG. 5, the user plane node may include a receiving unit 510 and a processing unit 520. In the embodiment of the present application, the receiving unit 510 may be a receiver, the processing unit 520 may be a processor, and the sending unit 530 may be a transmitter.
接收单元510,用于接收数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。
The receiving unit 510 is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
当用户面节点传输下行数据时,处理单元520位置信息和所述过滤条件将待传输数据分配到满足匹配关系的QoS传输处理机制进行发送。When the user plane node transmits downlink data, the processing unit 520 location information and the filtering condition allocate the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship.
在本申请实施例中,接收单元510接收控制面节点发送的QoS规则,该QoS规则可以为多个,每个QoS规则均包括与之对应的包过滤器,包过滤器中可以包括至少一个包过滤规则,每个包过滤规则包括位置信息、运算信息和匹配信息,以用于对传输的下行数据进行匹配,实现下行数据的QoS保障。In the embodiment of the present application, the receiving unit 510 receives the QoS rule sent by the control plane node, where the QoS rule may be multiple, each QoS rule includes a packet filter corresponding thereto, and the packet filter may include at least one packet. Filtering rules, each packet filtering rule includes location information, operation information, and matching information, which are used to match the transmitted downlink data to implement QoS guarantee for downlink data.
可选地,在本申请实施例中,用户面节点140还可以包括发送单元530,用于发送待传输数据。Optionally, in the embodiment of the present application, the user plane node 140 may further include a sending unit 530, configured to send data to be transmitted.
在本申请实施例中,如图5所示,用户面节点还可以包括存储单元540,用于存储接收单元510接收的QoS规则。在本申请实施例中,存储单元540可以为存储器。In the embodiment of the present application, as shown in FIG. 5, the user plane node may further include a storage unit 540 for storing the QoS rule received by the receiving unit 510. In the embodiment of the present application, the storage unit 540 may be a memory.
当用户面节点需要传输下行数据时,用户面节点的处理单元520将下行数据与包过滤器进行匹配,具体匹配过程请参见图2中S260的具体描述,为简洁描述,在这里不再赘述。When the user plane node needs to transmit the downlink data, the processing unit 520 of the user plane node matches the downlink data with the packet filter. For the specific matching process, refer to the detailed description of S260 in FIG. 2, which is not described here for brevity.
当下行数据与包过滤器匹配成功时,用户设备的发送单元530将下行数据通过匹配的包过滤器对应的承载进行传输,完成数据流的分流,实现了结构化数据包的QoS保障。When the downlink data is successfully matched with the packet filter, the sending unit 530 of the user equipment transmits the downlink data through the bearer corresponding to the matched packet filter, completes the offloading of the data stream, and implements the QoS guarantee of the structured data packet.
可选地,在本申请实施例中,QoS规则还包括包过滤器的匹配优先级信息,匹配优先级信息用于指示用户设备按照所述包过滤器的匹配优先级信息对上行数据进行匹配。Optionally, in the embodiment of the present application, the QoS rule further includes matching priority information of the packet filter, where the matching priority information is used to indicate that the user equipment matches the uplink data according to the matching priority information of the packet filter.
图6为本申请实施例提供的一种控制面节点的结构示意图。如图6所示,该控制面节点可以包括接收器610和发送器620。FIG. 6 is a schematic structural diagram of a control plane node according to an embodiment of the present application. As shown in FIG. 6, the control plane node may include a receiver 610 and a transmitter 620.
接收器610,用于获取数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The receiver 610 is configured to obtain a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
发送器620,用于向数据传输装置发送所述数据包过滤器,所述数据包过滤器用于所述数据传输装置将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。a transmitter 620, configured to send the data packet filter to a data transmission apparatus, where the data packet filter is configured to send, by the data transmission apparatus, the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship .
在本发明实施例中,数据传输装置可以包括用户设备和/或用户面节点。In an embodiment of the invention, the data transmission device may comprise a user equipment and/or a user plane node.
在本申请实施例中,接收器610可以接收策略功能设备,如图1所示的策略功能设备110,发送的QoS规则,该规则中可以包括配置好的包过滤器,并将收到的QoS规则发送给用户设备和用户面节点,以便于用户设备或用户面节点采用包过滤器对传输的数据进行过滤,以实现对传输数据的QoS控制。In the embodiment of the present application, the receiver 610 may receive a policy function device, such as the policy function device 110 shown in FIG. 1, and send a QoS rule, where the rule may include a configured packet filter and the received QoS. The rules are sent to the user equipment and the user plane node, so that the user equipment or the user plane node filters the transmitted data by using a packet filter to implement QoS control on the transmission data.
在本申请实施例中,采用包过滤器中的位置信息、运算信息和匹配信息对传输数据进行包过滤的具体过程请参见图2中S240和S260的具体描述,为简洁描述,在这里不再赘述。In the embodiment of the present application, the specific process of performing packet filtering on the transmission data by using the location information, the operation information, and the matching information in the packet filter, refer to the specific descriptions of S240 and S260 in FIG. 2, for the sake of brevity, no longer here. Narration.
需要说明的是,本申请实施例提供的控制面节点可以完成图2中S210、S220和S230的方法步骤。而且,图3提供的控制面节点可以通过图6的控制面节点完成图2的方法步骤S210、S220和S230。It should be noted that the control plane node provided by the embodiment of the present application may complete the method steps of S210, S220, and S230 in FIG. Moreover, the control plane node provided in FIG. 3 can perform the method steps S210, S220, and S230 of FIG. 2 through the control plane node of FIG.
可选地,在本申请实施例中,位置信息可以包括相对位置信息、位置偏移量信息
和定位格式信息。相对位置信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。Optionally, in the embodiment of the present application, the location information may include relative location information and location offset information.
And positioning format information. The relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
采用本申请提供的技术方案可以加快确定位置信息所对应的数据,进一步加快数据的传输。The technical solution provided by the application can speed up the determination of the data corresponding to the location information, and further accelerate the data transmission.
可选地,在本申请实施例中,QoS规则还可以包括包过滤器的匹配优先级信息,用于指示用户设备或用户面节点按照包过滤器的匹配优先级信息对数据进行匹配。保证了优先级别较高的业务数据的QoS。Optionally, in the embodiment of the present application, the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the user equipment or the user plane node matches the data according to the matching priority information of the packet filter. The QoS of the higher priority business data is guaranteed.
图7为本申请实施例提供的一种用户设备的结构示意图。如图7所示,该用户设备可以包括接收器710,处理器720和发送器730。FIG. 7 is a schematic structural diagram of a user equipment according to an embodiment of the present disclosure. As shown in FIG. 7, the user equipment can include a receiver 710, a processor 720, and a transmitter 730.
接收器710,用于接收数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定所述位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The receiver 710 is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the data to be transmitted and the QoS transmission processing mechanism corresponding to the location information.
当用户设备传输上行数据时,处理器720根据所述位置信息和所述过滤条件将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。When the user equipment transmits the uplink data, the processor 720 allocates the to-be-transmitted data to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
其中,发送器730用于发送待传输数据。The transmitter 730 is configured to send data to be transmitted.
在本申请实施例中,包过滤器可以包括位置信息、运算信息和匹配信息,以便于用户设备根据包过过滤器包括的位置信息、运算信息和匹配信息对上行数据进行过滤,具体匹配的过程可以参见图2中S240的具体描述,为简洁描述,在这里不再赘述。通过本申请实施例提供的用户设备可以采用包过滤器对上行数据进行过滤,无需考虑上行数据的协议类型,直接根据包过滤器的指示信息,即位置信息、运算信息和匹配信息对上行数据进行过滤,保证了结构化数据的QoS。In the embodiment of the present application, the packet filter may include location information, operation information, and matching information, so that the user equipment filters the uplink data according to the location information, the operation information, and the matching information included in the packet, and the specific matching process is performed. For details, refer to the detailed description of S240 in FIG. 2, and details are not described herein again. The user equipment provided by the embodiment of the present application can filter the uplink data by using a packet filter, and does not need to consider the protocol type of the uplink data, and directly performs uplink data according to the indication information of the packet filter, that is, the location information, the operation information, and the matching information. Filtering ensures QoS for structured data.
需要说明的是,图7提供的用户设备可以完成图2中S240和S250的方法/步骤。且图4提供的用户设备中的各个单元也可以通过图7提供的用户设备完成图2中S240和S250的方法/步骤,为简洁描述,在这里不再赘述。It should be noted that the user equipment provided in FIG. 7 can complete the methods/steps of S240 and S250 in FIG. 2. The method and the steps of S240 and S250 in FIG. 2 are also completed by the user equipment provided in FIG. 7 for the sake of brevity, and are not described herein again.
可选地,在本申请实施例中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,待传输数据和所述待比较数据的关系符合运算信息中规定的逻辑关系时为满足过滤条件,也可称为满足匹配条件。Optionally, in the embodiment of the present application, the filtering condition includes the operation information and the matching information, and the matching information includes the data to be compared, and the filtering is satisfied when the relationship between the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information. Conditions can also be referred to as satisfying matching conditions.
可选地,在本申请实施例中,包过滤器可以包括至少一个包过滤规则,每个包过滤规则包括所述位置信息、所述运算信息和所述匹配信息。Optionally, in the embodiment of the present application, the packet filter may include at least one packet filtering rule, where each packet filtering rule includes the location information, the operation information, and the matching information.
可选地,在本申请实施例中,位置信息可以包括相对位置信息、位置偏移量信息和定位格式信息。相对位置信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。Optionally, in the embodiment of the present application, the location information may include relative location information, location offset information, and positioning format information. The relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
采用本申请提供的技术方案可以加快确定位置信息所对应的数据,进一步加快数据的传输。The technical solution provided by the application can speed up the determination of the data corresponding to the location information, and further accelerate the data transmission.
可选地,在本申请实施例中,QoS规则还可以包括包过滤器的匹配优先级信息,用于指示用户设备或用户面节点按照包过滤器的匹配优先级信息对数据进行匹配。保证了优先级别较高的业务数据的QoS。
Optionally, in the embodiment of the present application, the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the user equipment or the user plane node matches the data according to the matching priority information of the packet filter. The QoS of the higher priority business data is guaranteed.
图8为本申请实施例提供的一种用户面节点的结构示意图。如图8所示,该用户面节点可以包括接收器810,处理器820和发送器830。FIG. 8 is a schematic structural diagram of a user plane node according to an embodiment of the present application. As shown in FIG. 8, the user plane node may include a receiver 810, a processor 820, and a transmitter 830.
接收器810,用于接收数据包过滤器,数据包过滤器包括位置信息和过滤条件,过滤条件用于规定位置信息对应的待传输数据与QoS传输处理机制的匹配关系。The receiver 810 is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and the QoS transmission processing mechanism.
当用户面节点传输下行数据时,处理单元820位置信息和所述过滤条件将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。When the user plane node transmits downlink data, the processing unit 820 location information and the filtering condition allocate the data to be transmitted to a QoS transmission processing mechanism that satisfies the matching relationship.
其中,发送器830用于发送待传输数据。。The transmitter 830 is configured to send data to be transmitted. .
在本申请实施例中,包过滤器可以包括位置信息、运算信息和匹配信息,以便于用户设备根据包过滤器包括的位置信息、运算信息和匹配信息对下行数据进行过滤,具体匹配的过程可以参见图2中S260的具体描述,为简洁描述,在这里不再赘述。In the embodiment of the present application, the packet filter may include location information, operation information, and matching information, so that the user equipment filters the downlink data according to the location information, the operation information, and the matching information included in the packet filter, and the specific matching process may be performed. Referring to the detailed description of S260 in FIG. 2, for brevity, it will not be repeated here.
通过本申请实施例提供的用户面节点可以采用包过滤器对下行数据进行过滤,无需考虑下行数据的协议类型,直接根据包过滤器的指示信息,即位置信息、运算信息和匹配信息对下行数据进行过滤,保证了结构化数据的QoS。The user plane node provided by the embodiment of the present application can filter the downlink data by using a packet filter, and does not need to consider the protocol type of the downlink data, and directly according to the indication information of the packet filter, that is, the location information, the operation information, and the matching information to the downlink data. Filtering ensures QoS for structured data.
需要说明的是,图8提供的用户设备可以完成图2中S260和S270的方法/步骤。且图5提供的用户面节点中的各个单元也可以通过图8提供的用户面节点完成图2中S260和S270的方法/步骤,为简洁描述,在这里不再赘述。It should be noted that the user equipment provided in FIG. 8 can complete the methods/steps of S260 and S270 in FIG. 2. The method and the steps of S260 and S270 in FIG. 2 are also completed by the user plane nodes provided in FIG. 8 for the sake of brevity, and are not described herein again.
可选地,在本申请实施例中,过滤条件包括运算信息和匹配信息,匹配信息包括待比较数据,待传输数据和待比较数据的关系符合运算信息中规定的逻辑关系时为满足过滤条件,也可称为满足匹配条件。Optionally, in the embodiment of the present application, the filtering condition includes the operation information and the matching information, where the matching information includes the data to be compared, and the filtering condition is met when the relationship between the data to be transmitted and the data to be compared meets the logical relationship specified in the operation information. It can also be said to satisfy the matching condition.
可选地,在本申请实施例中,包过滤器可以包括至少一个包过滤规则,每个包过滤规则可以包括所述位置信息、所述运算信息,以及所述匹配信息。Optionally, in the embodiment of the present application, the packet filter may include at least one packet filtering rule, and each packet filtering rule may include the location information, the operation information, and the matching information.
可选地,在本申请实施例中,位置信息可以包括相对位置信息、位置偏移量信息和定位格式信息。相对位置信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;相对位置信息用于指示数据位于数据包的位置;定位顺序格式信息用于指示数据相对于数据包所在位置的排列顺序。Optionally, in the embodiment of the present application, the location information may include relative location information, location offset information, and positioning format information. The relative position information is used to indicate the 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 to indicate the location of the data relative to the location of the data packet. Order.
采用本申请提供的技术方案可以加快确定位置信息所对应的数据,进一步加快数据的传输。The technical solution provided by the application can speed up the determination of the data corresponding to the location information, and further accelerate the data transmission.
可选地,在本申请实施例中,QoS规则还可以包括包过滤器的匹配优先级信息,用于指示用户设备或用户面节点按照包过滤器的匹配优先级信息对数据进行匹配。保证了优先级别较高的业务数据的QoS。Optionally, in the embodiment of the present application, the QoS rule may further include matching priority information of the packet filter, and is used to indicate that the user equipment or the user plane node matches the data according to the matching priority information of the packet filter. The QoS of the higher priority business data is guaranteed.
应理解,图7提供的用户设备和图8提供的用户面节点中的处理器720/820可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the user equipment provided in FIG. 7 and the processor 720/820 in the user plane node provided in FIG. 8 may be a central processing unit (CPU), and may be other general-purpose processors, digital signal processors ( DSP), application specific integrated circuit (ASIC), off-the-shelf programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
另外,图6提供的控制面节点可以包括存储器630,用于存储接收器610接收到的QoS规则。图7提供的用户设备可以包括存储器740,用于存储控制面节点发送的QoS规则。图8提供的用户面节点可以包括存储器840,用于存储控制面节点发送的QoS规则。
Additionally, the control plane node provided in FIG. 6 can include a memory 630 for storing QoS rules received by the receiver 610. The user equipment provided in FIG. 7 may include a memory 740 for storing QoS rules sent by the control plane node. The user plane node provided in FIG. 8 may include a memory 840 for storing QoS rules sent by the control plane node.
存储器630/740/840可以包括只读存储器和随机存取存储器,并向处理器520/620提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。Memory 630/740/840 can include read only memory and random access memory and provides instructions and data to processor 520/620. A portion of the memory may also include a non-volatile random access memory.
在本申请实施例中,应该理解到,所揭露的数据传输的方法、控制面节点、用户设备和用户面节点,可以通过其它的方式实现。例如,以上所描述的控制面节点、用户设备和用户面节点实施例仅仅是示意性的,例如,该单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In the embodiment of the present application, it should be understood that the disclosed data transmission method, control plane node, user equipment, and user plane node may be implemented in other manners. For example, the control plane node, user equipment, and user plane node embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division, and the actual implementation may have another division manner, for example, Multiple units or components may be combined or integrated into another system, or some features may be omitted or not implemented. In addition, the units described as separate components may or may not be physically separated, and the components displayed as the units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present application. In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above set unit can be implemented in the form of hardware or in the form of a software functional unit.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。
The foregoing is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any equivalent modifications are conceivable within the technical scope of the present disclosure. These changes or substitutions are intended to be included within the scope of the present application. Therefore, the scope of protection of this application should be determined by the scope of protection of the claims.
Claims (31)
- 一种数据传输的控制方法,其特征在于,所述方法包括:A method for controlling data transmission, characterized in that the method comprises:获取数据包过滤器,所述数据包过滤器包括位置信息和过滤条件,所述过滤条件用于规定所述位置信息对应的待传输数据与QoS传输处理机制的匹配关系;Acquiring a packet filter, where the packet filter includes location information and a filter condition, where the filter condition is used to specify a matching relationship between the data to be transmitted corresponding to the location information and a QoS transmission processing mechanism;向数据传输装置发送所述数据包过滤器,所述数据包过滤器用于所述数据传输装置将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。Transmitting the packet filter to a data transmission device, the packet filter being configured to transmit, by the data transmission device, the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship.
- 根据权利要求1所述的方法,其特征在于,所述过滤条件包括运算信息和匹配信息,所述匹配信息包括待比较数据,所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The method according to claim 1, wherein the filtering condition comprises operation information and matching information, the matching information includes data to be compared, and the matching relationship is satisfied as the data to be transmitted and the to-be-sent The relationship of the comparison data conforms to the logical relationship specified in the operation information.
- 根据权利要求1或2所述的方法,其特征在于,所述数据包过滤器包括至少一个包过滤规则,每个所述数据包过滤器包括所述位置信息、所述运算信息,以及所述匹配信息。The method according to claim 1 or 2, wherein the packet filter includes at least one packet filtering rule, each of the packet filters including the location information, the operation information, and the Match information.
- 根据权利要求1至3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 3, wherein the method further comprises:获取所述数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述数据传输装置对所述待传输数据的进行优先匹配的顺序;Obtaining matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;向所述数据传输装置发送所述匹配优先级信息,所述匹配优先级信息用于指示所述数据传输装置按照所述数据包过滤器的匹配优先级信息对所述待传输数据进行匹配。Sending the matching priority information to the data transmission device, where the matching priority information is used to instruct the data transmission device to match the to-be-transmitted data according to the matching priority information of the data packet filter.
- 根据权利要求1至4任一项所述的方法,其特征在于,所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。The method according to any one of claims 1 to 4, wherein the location information comprises at least one of relative location information, location offset information, and positioning sequence format information; And indicating an offset of the location of the data to be transmitted relative to a start position of the data packet header; the relative location information is used to indicate that the to-be-transmitted data is located at a location of the data packet; and 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 data packet.
- 根据权利要求1至5任一项所述的方法,其特征在于,所述数据传输装置包括用户设备或用户面节点。Method according to any of the claims 1 to 5, characterized in that the data transmission means comprise user equipment or user plane nodes.
- 一种数据传输的控制方法,其特征在于,所述方法包括:A method for controlling data transmission, characterized in that the method comprises:用户设备接收数据包过滤器,所述数据包过滤器包括位置信息和过滤条件,所述过滤条件用于规定所述位置信息对应的待传输数据与QoS传输处理机制的匹配关系;The user equipment receives a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the data to be transmitted corresponding to the location information and a QoS transmission processing mechanism;当所述用户设备传输待传输数据时,所述用户设备根据所述位置信息和所述过滤条件将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。When the user equipment transmits data to be transmitted, the user equipment allocates the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
- 根据权利要求7所述的方法,其特征在于,The method of claim 7 wherein:所述过滤条件包括运算信息和匹配信息,所述匹配信息包括待比较数据,所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The filter condition includes operation information and matching information, the matching information includes data to be compared, and the matching relationship is that the relationship between the data to be transmitted and the data to be compared meets the logic specified in the operation information. relationship.
- 根据权利要求7或8所述的方法,其特征在于,所述数据包过滤器包括至少一个包过滤规则,每个所述包过滤规则包括所述位置信息、所述运算信息,以及所述匹配信息。 The method according to claim 7 or 8, wherein said packet filter includes at least one packet filtering rule, each of said packet filtering rules including said location information, said operation information, and said matching information.
- 根据权利要求7至9任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 7 to 9, wherein the method further comprises:接收所述数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述数据传输装置对所述待传输数据的进行优先匹配的顺序;Receiving matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;当所述用户设备传输待传输数据时,所述用户设备按照所述数据包过滤器的匹配优先级信息对所述待传输数据进行匹配。When the user equipment transmits data to be transmitted, the user equipment matches the data to be transmitted according to the matching priority information of the data packet filter.
- 根据权利要求7至10任一项所述的方法,其特征在于,所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。The method according to any one of claims 7 to 10, wherein the location information comprises at least one of relative location information, location offset information, and positioning sequence format information; And indicating an offset of the location of the data to be transmitted relative to a start position of the data packet header; the relative location information is used to indicate that the to-be-transmitted data is located at a location of the data packet; and 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 data packet.
- 一种数据传输的控制方法,其特征在于,所述方法包括:A method for controlling data transmission, characterized in that the method comprises:用户面节点接收数据包过滤器,所述数据包过滤器包括位置信息和过滤条件,所述过滤条件用于规定所述位置信息对应的待传输数据与QoS传输处理机制的匹配关系;当所述用户面节点传输待传输数据时,所述用户面节点根据所述位置信息和所述过滤条件将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。The user plane node receives a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the data to be transmitted corresponding to the location information and a QoS transmission processing mechanism; When the user plane node transmits the data to be transmitted, the user plane node allocates the to-be-transmitted data to the QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
- 根据权利要求12所述的方法,其特征在于,The method of claim 12 wherein:所述过滤条件包括运算信息和匹配信息,所述匹配信息包括待比较数据,所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The filter condition includes operation information and matching information, the matching information includes data to be compared, and the matching relationship is that the relationship between the data to be transmitted and the data to be compared meets the logic specified in the operation information. relationship.
- 根据权利要求12或13所述的方法,其特征在于,所述数据包过滤器包括至少一个包过滤规则,每个所述包过滤规则包括所述位置信息、所述运算信息,以及所述匹配信息。15、根据权利要求12至14任一项所述的方法,其特征在于,所述方法还包括:The method according to claim 12 or 13, wherein said packet filter includes at least one packet filtering rule, each of said packet filtering rules including said location information, said operation information, and said matching information. The method according to any one of claims 12 to 14, wherein the method further comprises:接收所述数据包包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述数据传输装置对所述待传输数据的进行优先匹配的顺序;Receiving matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;当所述用户面节点传输待传输数据时,所述用户面节点按照所述数据包过滤器的匹配优先级信息对所述待传输数据进行匹配。When the user plane node transmits data to be transmitted, the user plane node matches the to-be-transmitted data according to the matching priority information of the data packet filter.
- 根据权利要求12至15任一项所述的方法,其特征在于,所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示数据位于数据包的位置;所述定位顺序格式信息用于指示数据相对于所述数据包所在位置的排列顺序。The method according to any one of claims 12 to 15, wherein the location information comprises at least one of relative location information, location offset information, and positioning sequence format information; And indicating an offset of the location of the data relative to a start position of the packet header; the relative location information is used to indicate that the data is located at a location of the data packet; and the positioning sequence format information is used to indicate that the data is located relative to the data packet The order in which the positions are arranged.
- 一种装置,其特征在于,所述装置为控制面节点,所述控制面节点包括:An apparatus, wherein the apparatus is a control plane node, and the control plane node comprises:获取单元,用于获取数据包过滤器,所述数据包过滤器包括位置信息和过滤条件,所述过滤条件用于规定所述位置信息对应的待传输数据与QoS传输处理机制的匹配关系; An obtaining unit, configured to acquire a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the to-be-transmitted data corresponding to the location information and a QoS transmission processing mechanism;发送单元,用于向数据传输装置发送所述数据包过滤器,所述数据包过滤器用于所述数据传输装置将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。And a sending unit, configured to send the data packet filter to the data transmission device, where the data packet filter is used by the data transmission device to allocate the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship.
- 根据权利要求17所述的装置,其特征在于,所述过滤条件包括运算信息和匹配信息,所述匹配信息包括待比较数据,所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The apparatus according to claim 17, wherein the filtering condition comprises operation information and matching information, the matching information includes data to be compared, and the matching relationship is satisfied as the data to be transmitted and the to-be-sent The relationship of the comparison data conforms to the logical relationship specified in the operation information.
- 根据权利要求17或18所述的装置,其特征在于,所述数据包过滤器包括至少一个包过滤规则,每个所述数据包过滤器包括所述位置信息、所述运算信息,以及所述匹配信息。The apparatus according to claim 17 or 18, wherein said packet filter includes at least one packet filtering rule, each of said packet filters including said location information, said operation information, and said Match information.
- 根据权利要求17至18任一项所述的装置,其特征在于,Apparatus according to any one of claims 17 to 18, wherein所述获取单元,还用于获取所述数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述数据传输装置对所述待传输数据的进行优先匹配的顺序;The obtaining unit is further configured to acquire matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;所述发送单元,还用于向所述数据传输装置发送所述匹配优先级信息,所述匹配优先级信息用于指示所述数据传输装置按照所述数据包过滤器的匹配优先级信息对所述待传输数据进行匹配。The sending unit is further configured to send the matching priority information to the data transmission device, where the matching priority information is used to indicate that the data transmission device matches the matching priority information of the data packet filter. The transmission data is referred to for matching.
- 根据权利要求17至20任一项所述的装置,其特征在于,所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。The apparatus according to any one of claims 17 to 20, wherein the location information comprises at least one of relative location information, location offset information, and positioning order format information; And indicating an offset of the location of the data to be transmitted relative to a start position of the data packet header; the relative location information is used to indicate that the to-be-transmitted data is located at a location of the data packet; and 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 data packet.
- 根据权利要求17至21任一项所述的装置,其特征在于,所述数据传输装置包括用户设备或用户面节点。Apparatus according to any one of claims 17 to 21, wherein said data transmission means comprises a user equipment or a user plane node.
- 一种装置,其特征在于,所述装置为用户设备,所述用户设备包括:接收单元,处理单元和发送单元;An apparatus, wherein the apparatus is a user equipment, and the user equipment comprises: a receiving unit, a processing unit, and a sending unit;所述接收单元,用于接收数据包过滤器,所述数据包过滤器包括位置信息和过滤条件,所述过滤条件用于规定所述位置信息对应的待传输数据与QoS传输处理机制的匹配关系;The receiving unit is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the data to be transmitted and the QoS transmission processing mechanism corresponding to the location information. ;当所述用户设备传输待传输数据时,所述处理单元根据所述位置信息和所述过滤条件将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。When the user equipment transmits data to be transmitted, the processing unit allocates the to-be-transmitted data to a QoS transmission processing mechanism that satisfies the matching relationship according to the location information and the filtering condition.
- 根据权利要求24所述的装置,其特征在于,所述过滤条件包括运算信息和匹配信息,所述匹配信息包括待比较数据,所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The apparatus according to claim 24, wherein the filtering condition comprises operation information and matching information, the matching information includes data to be compared, and the matching relationship is satisfied as the data to be transmitted and the to-be-sent The relationship of the comparison data conforms to the logical relationship specified in the operation information.
- 根据权利要求23或24所述的装置,其特征在于,所述数据包过滤器包括至少一个包过滤规则,每个所述包过滤规则包括所述位置信息、所述运算信息,以及所述匹配信息。The apparatus according to claim 23 or 24, wherein said packet filter includes at least one packet filtering rule, each of said packet filtering rules including said location information, said operation information, and said matching information.
- 根据权利要求19或20所述的装置,其特征在于,Device according to claim 19 or 20, characterized in that所述接收单元,还用于接收所述数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述数据传输装置对所述待传输数据的进行优先匹配的顺序; The receiving unit is further configured to receive the matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;当所述用户设备传输待传输数据时,所述处理单元按照所述数据包过滤器的匹配优先级信息对所述待传输数据进行匹配。When the user equipment transmits data to be transmitted, the processing unit matches the to-be-transmitted data according to matching priority information of the data packet filter.
- 根据权利要求23至26任一项所述装置,其特征在于,所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。The apparatus according to any one of claims 23 to 26, wherein said location information comprises at least one of relative location information, location offset information, and positioning order format information; said location offset information is used for And indicating an offset of the location of the data to be transmitted relative to a start position of the data packet header; the relative location information is used to indicate that the to-be-transmitted data is located at a location of the data packet; and the positioning sequence format information is used to indicate The order in which the transmission data is arranged relative to the location of the data packet is described.
- 一种装置,其特征在于,所述装置为用户面节点,所述用户面节点包括接收单元,处理单元和发送单元;An apparatus, wherein the apparatus is a user plane node, and the user plane node comprises a receiving unit, a processing unit, and a sending unit;所述接收单元,用于接收数据包过滤器,所述数据包过滤器包括位置信息和过滤条件,所述过滤条件用于规定所述位置信息对应的待传输数据与QoS传输处理机制的匹配关系;The receiving unit is configured to receive a data packet filter, where the data packet filter includes location information and a filtering condition, where the filtering condition is used to specify a matching relationship between the data to be transmitted and the QoS transmission processing mechanism corresponding to the location information. ;当所述用户面节点传输待传输数据时,所述处理单元所述位置信息和所述过滤条件将所述待传输数据分配到满足所述匹配关系的QoS传输处理机制进行发送。When the user plane node transmits data to be transmitted, the processing unit, the location information and the filtering condition, respectively, that the to-be-transmitted data is allocated to a QoS transmission processing mechanism that satisfies the matching relationship.
- 根据权利要求28所述的装置,其特征在于,所述过滤条件包括运算信息和匹配信息,所述匹配信息包括待比较数据,所述满足所述匹配关系为所述待传输数据和所述待比较数据的关系符合所述运算信息中规定的逻辑关系。The apparatus according to claim 28, wherein the filtering condition comprises operation information and matching information, the matching information includes data to be compared, and the matching relationship is satisfied as the data to be transmitted and the to-be-sent The relationship of the comparison data conforms to the logical relationship specified in the operation information.
- 根据权利要求28或29所述的装置,其特征在于,所述数据包过滤器包括至少一个包过滤规则,每个所述包过滤规则包括所述位置信息、所述运算信息,以及所述匹配信息。The apparatus according to claim 28 or 29, wherein said packet filter includes at least one packet filtering rule, each of said packet filtering rules including said location information, said operation information, and said matching information.
- 根据权利要求28至30任一项所述的装置,其特征在于,Device according to any one of claims 28 to 30, characterized in that所述接收单元,还用于接收所述数据包过滤器的匹配优先级信息,所述匹配优先级信息用于规定所述数据传输装置对所述待传输数据的进行优先匹配的顺序;The receiving unit is further configured to receive the matching priority information of the data packet filter, where the matching priority information is used to specify an order in which the data transmission device preferentially matches the data to be transmitted;当所述用户面节点传输待传输数据时,所述处理单元按照所述数据包过滤器的匹配优先级信息对所述待传输数据进行匹配。When the user plane node transmits the data to be transmitted, the processing unit matches the to-be-transmitted data according to the matching priority information of the data packet filter.
- 根据权利要求28至31任一项所述的装置,其特征在于,所述位置信息包括相对位置信息、位置偏移量信息和定位顺序格式信息中的至少一个;所述位置偏移量信息用于指示所述待传输数据所在位置相对于数据包包头起始位置的偏移量;所述相对位置信息用于指示所述待传输数据位于数据包的位置;所述定位顺序格式信息用于指示所述待传输数据相对于所述数据包所在位置的排列顺序。 The apparatus according to any one of claims 28 to 31, wherein the location information comprises at least one of relative location information, location offset information, and positioning sequence format information; And indicating an offset of the location of the data to be transmitted relative to a start position of the data packet header; the relative location information is used to indicate that the to-be-transmitted data is located at a location of the data packet; and 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 data packet.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/070681 WO2018126488A1 (en) | 2017-01-09 | 2017-01-09 | Data transmission control method and data transmission device |
PCT/CN2017/097399 WO2018126692A1 (en) | 2017-01-09 | 2017-08-14 | Method and apparatus for controlling data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/070681 WO2018126488A1 (en) | 2017-01-09 | 2017-01-09 | Data transmission control method and data transmission device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018126488A1 true WO2018126488A1 (en) | 2018-07-12 |
Family
ID=62788903
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/070681 WO2018126488A1 (en) | 2017-01-09 | 2017-01-09 | Data transmission control method and data transmission device |
PCT/CN2017/097399 WO2018126692A1 (en) | 2017-01-09 | 2017-08-14 | Method and apparatus for controlling data transmission |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/097399 WO2018126692A1 (en) | 2017-01-09 | 2017-08-14 | Method and apparatus for controlling data transmission |
Country Status (1)
Country | Link |
---|---|
WO (2) | WO2018126488A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267312A (en) * | 2019-06-17 | 2019-09-20 | 腾讯科技(深圳)有限公司 | Method, equipment and the medium of method, management service quality stream that data are transmitted |
WO2020088601A1 (en) * | 2018-11-02 | 2020-05-07 | 华为技术有限公司 | Method and device for controlling terminal and network connection |
CN111601299A (en) * | 2020-05-09 | 2020-08-28 | 恒安嘉新(北京)科技股份公司 | Information association backfill system under 5G framework |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109167847B (en) * | 2018-08-09 | 2021-04-06 | 中国联合网络通信集团有限公司 | IPv6 address generation method, SMF and communication system |
CN114423026A (en) | 2019-02-18 | 2022-04-29 | 华为技术有限公司 | Communication method, device and system |
CN112672364B (en) * | 2019-10-16 | 2024-03-19 | 中国移动通信有限公司研究院 | Policy configuration method, device, related equipment and storage medium |
CN113079541B (en) * | 2020-01-06 | 2023-05-05 | 华为技术有限公司 | Report information sending method, device and system |
CN115412507B (en) * | 2021-05-28 | 2025-01-21 | 中国移动通信有限公司研究院 | Data processing, information determination method and device, storage medium |
CN113395213B (en) * | 2021-06-10 | 2022-11-18 | 哲库科技(北京)有限公司 | Routing table item configuration method, storage medium, electronic equipment and mobile terminal |
CN117692117A (en) * | 2022-09-09 | 2024-03-12 | 维沃移动通信有限公司 | Methods, devices, communication equipment and readable storage media for determining the end of data transmission |
CN116889006A (en) * | 2023-04-27 | 2023-10-13 | 北京小米移动软件有限公司 | Communication control method, device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674606A (en) * | 2009-09-25 | 2010-03-17 | 华为技术有限公司 | Data transmission method and device |
CN102325350A (en) * | 2011-07-20 | 2012-01-18 | 大唐移动通信设备有限公司 | Service filtering method and device based on default bearer |
CN102611616A (en) * | 2012-02-21 | 2012-07-25 | 杭州华三通信技术有限公司 | Method and equipment for identifying message ToS field |
US20140160924A1 (en) * | 2012-12-06 | 2014-06-12 | At&T Intellectual Property I, L.P. | Advertising network layer reachability information specifying a quality of service for an identified network flow |
US9219694B2 (en) * | 2013-03-15 | 2015-12-22 | Wisconsin Alumni Research Foundation | Content addressable memory with reduced power consumption |
US20160344638A1 (en) * | 2015-05-20 | 2016-11-24 | Intel IP Corporation | Quality of service for a universal serial bus |
-
2017
- 2017-01-09 WO PCT/CN2017/070681 patent/WO2018126488A1/en active Application Filing
- 2017-08-14 WO PCT/CN2017/097399 patent/WO2018126692A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674606A (en) * | 2009-09-25 | 2010-03-17 | 华为技术有限公司 | Data transmission method and device |
CN102325350A (en) * | 2011-07-20 | 2012-01-18 | 大唐移动通信设备有限公司 | Service filtering method and device based on default bearer |
CN102611616A (en) * | 2012-02-21 | 2012-07-25 | 杭州华三通信技术有限公司 | Method and equipment for identifying message ToS field |
US20140160924A1 (en) * | 2012-12-06 | 2014-06-12 | At&T Intellectual Property I, L.P. | Advertising network layer reachability information specifying a quality of service for an identified network flow |
US9219694B2 (en) * | 2013-03-15 | 2015-12-22 | Wisconsin Alumni Research Foundation | Content addressable memory with reduced power consumption |
US20160344638A1 (en) * | 2015-05-20 | 2016-11-24 | Intel IP Corporation | Quality of service for a universal serial bus |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020088601A1 (en) * | 2018-11-02 | 2020-05-07 | 华为技术有限公司 | Method and device for controlling terminal and network connection |
US11895533B2 (en) | 2018-11-02 | 2024-02-06 | Huawei Technologies Co., Ltd. | Method for controlling connection between terminal and network, and related apparatus |
CN110267312A (en) * | 2019-06-17 | 2019-09-20 | 腾讯科技(深圳)有限公司 | Method, equipment and the medium of method, management service quality stream that data are transmitted |
CN110267312B (en) * | 2019-06-17 | 2023-09-19 | 腾讯科技(深圳)有限公司 | Data transmission method, equipment and medium for managing service quality stream |
CN111601299A (en) * | 2020-05-09 | 2020-08-28 | 恒安嘉新(北京)科技股份公司 | Information association backfill system under 5G framework |
CN111601299B (en) * | 2020-05-09 | 2023-04-14 | 中国联合网络通信有限公司广东省分公司 | Information association backfill system under 5G framework |
Also Published As
Publication number | Publication date |
---|---|
WO2018126692A1 (en) | 2018-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018126488A1 (en) | Data transmission control method and data transmission 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 | |
US11595300B2 (en) | Traffic shaping and end-to-end prioritization | |
US11533669B2 (en) | Enterprise network fabric extension across mobile networks | |
US11343192B2 (en) | Packet processing method, and device | |
JP6619815B2 (en) | Access control apparatus, system, and method | |
US11770309B2 (en) | On-demand probing for quality of experience metrics | |
CN107079015B (en) | System and method for stream-based addressing in a mobile environment | |
CN113259238B (en) | Method and device for processing segment identifiers | |
CN105814941B (en) | Integrated sublayer for multi-link communication | |
JP6501967B2 (en) | Data transmission method, related apparatus, and system | |
CN113206787B (en) | Method and device for processing segment identification | |
JP5966092B2 (en) | Content-based overload protection | |
CN102318284A (en) | Apparatus and method for dynamic host configuration protocol version 6 extensions for configuring hosts with multiple interfaces | |
WO2019101054A1 (en) | Aggregation rate control method, device and system | |
WO2016197689A1 (en) | Method, apparatus and system for processing packet | |
WO2015192705A1 (en) | Access device and method implemented by access device for allowing user equipment to access network | |
JP2018511275A (en) | Method and system for scheduling packets in bundling scenarios based on TCP tunnel and native TCP information | |
CN108617008B (en) | A kind of method and apparatus of business data processing | |
CN114205291B (en) | Data packet transmission method and device | |
CN108471633A (en) | A kind of communication means and communication system | |
WO2017193363A1 (en) | Service data stream transmission method and device | |
KR100863129B1 (en) | Packet Header Configuration Method Using Radio Resource Allocation Information in Mobile Internet Network and Packet Delivery Method Using the Same | |
WO2024045537A1 (en) | Message transmission method and network device |
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: 17890374 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: 17890374 Country of ref document: EP Kind code of ref document: A1 |